Skip to main content

Robust protein marker to gene symbol resolution backed by SQLite.

Project description

robust-protein-gene

robust-protein-gene resolves protein marker aliases (for example ki--67, SMA, CD57) to canonical gene symbols using a local SQLite database.

Install

pip install robust-protein-gene

For development:

pip install -e ".[dev]"

Quick Start

from robust_protein_gene import GeneResolver

resolver = GeneResolver()  # creates/loads a local SQLite DB in ~/.robust_protein_gene

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

robust-protein-gene "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 "robust-protein-gene[ensembl]"

Then use robust_protein_gene.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

rpg_conv-0.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

rpg_conv-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rpg_conv-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.4

File hashes

Hashes for rpg_conv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0eab20036b37d0583ca3dc1bd718f483e85021fefe4616c69ecfbd93d68d29a2
MD5 a117ffe168fedeaa1b6ecf5995f0657c
BLAKE2b-256 51ccd2b2a6e94d38c19a0d85a0823b32f275663299f9414d8652c6cb4320426d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rpg_conv-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.4

File hashes

Hashes for rpg_conv-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca50187fc32316137d3333122ce480f3fd24f13be491300e6ea3e4158fa1cd26
MD5 4e494a26e5df5e2281cfaa67d2ead1b1
BLAKE2b-256 83a37b81f43d874ca980dea403fadbd27d899fdb6341c1d6c1b4ee828e6b1dba

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