Robust protein marker to gene symbol resolution backed by SQLite.
Project description
rpg_conv
rpg_conv resolves protein marker aliases (for example ki--67, SMA, CD57) to canonical gene symbols using a local SQLite database.
Install
pip install rpg_conv
For development:
pip install -e ".[dev]"
Quick Start
from rpg_conv import GeneResolver
resolver = GeneResolver() # creates/loads a local SQLite DB in ~/.rpg_conv
print(resolver.resolve_one("ki--67")) # MKI67
print(resolver.resolve_one("ki67")) # MKI67
print(resolver.resolve_one("SMA")) # ACTA2
print(resolver.resolve_one("CD57")) # B3GAT1
CLI
rpg-conv "ki--67"
Data model
The SQLite database stores:
- canonical gene symbols
- aliases/synonyms
- normalized alias keys used for robust lookup
Optional Ensembl bootstrap
If you want to enrich synonyms from Ensembl:
pip install "rpg_conv[ensembl]"
Then use rpg_conv.ensembl_import.bootstrap_from_ensembl(...) in your own workflow.
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
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 rpg_conv-0.1.1.tar.gz.
File metadata
- Download URL: rpg_conv-0.1.1.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86a982d64d3cf3d35704b6523754784b394add48fc6e82df722c4c4e91aff32f
|
|
| MD5 |
e11f145cf2eeba76f18565a3dac902ba
|
|
| BLAKE2b-256 |
d7e319975415297cbde41f50d5d499ce4361fa17982f0d77cb8220156261c179
|
File details
Details for the file rpg_conv-0.1.1-py3-none-any.whl.
File metadata
- Download URL: rpg_conv-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ddf627fc92dd7506f19747e7c11b1c34826bdb6f941addef35397e61ef3fc04
|
|
| MD5 |
5bdd8aac5d60297f0856e47d91f9dfee
|
|
| BLAKE2b-256 |
6e0cbbf317e33f929e74f1b8e1882cbe4eff1d4cbbae003f765128f59a002599
|