Skip to main content

ID translation, taxonomy, orthology and reference lists for molecular biology

Project description

omnipath-utils

ID translation, taxonomy, and reference lists for molecular biology.

Tests

Quick Start

from omnipath_utils.mapping import map_name, map_names
from omnipath_utils.taxonomy import ensure_ncbi_tax_id
from omnipath_utils.reflists import is_swissprot

# Translate gene symbol to UniProt
map_name('TP53', 'genesymbol', 'uniprot')
# {'P04637', ...}

# Translate multiple
map_names(['TP53', 'EGFR'], 'genesymbol', 'uniprot')
# {'P04637', 'P00533', ...}

# Resolve organism
ensure_ncbi_tax_id('human')   # 9606
ensure_ncbi_tax_id('hsapiens') # 9606

# Check if reviewed
is_swissprot('P04637')  # True

Installation

pip install omnipath-utils

With database and web service:

pip install "omnipath-utils[server]"

Web Service

omnipath-utils build --organisms 9606
omnipath-utils serve --port 8082
curl "http://localhost:8082/mapping/translate?identifiers=TP53,EGFR&id_type=genesymbol&target_id_type=uniprot"

Documentation

https://saezlab.github.io/omnipath-utils

License

GPL-3.0-or-later

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omnipath_utils-0.1.0.tar.gz (359.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omnipath_utils-0.1.0-py3-none-any.whl (77.3 kB view details)

Uploaded Python 3

File details

Details for the file omnipath_utils-0.1.0.tar.gz.

File metadata

  • Download URL: omnipath_utils-0.1.0.tar.gz
  • Upload date:
  • Size: 359.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"26.05","id":"yarara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for omnipath_utils-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8c760d2c486376c017f337bc3b4a09a9b1c5904dda8ccd1051b11fc920b33e14
MD5 7a75d2798f8250a97c8cd8a91f9b6415
BLAKE2b-256 60221142e9d23fa113e539c69a10fa3bd63c04b39cdfdb64d34bc54c1ef2d4ff

See more details on using hashes here.

File details

Details for the file omnipath_utils-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: omnipath_utils-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 77.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"26.05","id":"yarara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for omnipath_utils-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 152ce62e7fae002a33fc34d9b6c4aa446cfd81557ce576a4723a61b5a02d326f
MD5 73816da284aeb645046bb462014ce844
BLAKE2b-256 04055c855473f4730bf4283ef08211e9f802930657dbc8f08a00e0c9b0e7958f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page