ID translation, taxonomy, orthology and reference lists for molecular biology
Project description
Utilities for molecular prior-knowledge processing
ID translation, taxonomy, reference lists, orthologous genes, and more. Also available as a web service: https://utils.omnipathdb.org/
For most users: use omnipath-client
If you just want to translate IDs, resolve organisms, or access reference lists, install the lightweight client:
pip install omnipath-client
from omnipath_client.utils import map_name, translate_column
map_name('TP53', 'genesymbol', 'uniprot') # {'P04637'}
The client queries the utils.omnipathdb.org web service -- no database setup required, same API as the local package.
Install omnipath-utils directly only if you need to run the service
locally or build the database yourself.
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
The package is under the GNU GPLv3 license. This doesn't affect the web service and data, where each original resource carries its own license, and is potentially available for commercial use.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omnipath_utils-0.1.1.tar.gz.
File metadata
- Download URL: omnipath_utils-0.1.1.tar.gz
- Upload date:
- Size: 379.9 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc9c4e2a2b8ba85b1e45e4a966b8bb7d66811ab7cd06895eab7abf8028532d52
|
|
| MD5 |
de18b08763fd58384d55ab571b41e98b
|
|
| BLAKE2b-256 |
fcb6ab015559cf0dd121f3457b3f3b7ace365a947f418ec6c253a972181919f4
|
File details
Details for the file omnipath_utils-0.1.1-py3-none-any.whl.
File metadata
- Download URL: omnipath_utils-0.1.1-py3-none-any.whl
- Upload date:
- Size: 92.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1a7e2e88195b33c35064d9c4a5c9e5ecbc08de2bdeda6533be061a211e7c487
|
|
| MD5 |
bc0442bf8b4422a0073f56ad72af4cfd
|
|
| BLAKE2b-256 |
6a4208423240cd2a5c86a76ef6a66ffa732e0ff8d8225d8c79c495f98f5c67d3
|