Skip to main content

Make HGNC queries for gene symbols

Project description

hgnc_queries.py

Query HGNC for gene symbols.
Created to attempt to rescue old gene symbols because of an old excel "database" that had to be converted in a Django database

Installation

pip install hgnc_queries

Examples:

Use HGNC api to get:

# Get new symbol
python hgnc_queries.py new_symbol $gene

# Get aliases of given symbol
python hgnc_queries.py alias $gene

# Get main symbol of alias
python hgnc_queries.py main_symbol $gene

# Get previous symbol
python hgnc_queries.py prev_symbol $gene

# Get genes starting with
python hgnc_queries.py gene $gene

# Get HGNC id of given symbol
python hgnc_queries.py id $gene

# Get symbol of given id
python hgnc_queries.py id2symbol $gene_id

Project details


Release history Release notifications

Download files

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

Files for hgnc-queries, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size hgnc_queries-0.0.1-py3-none-any.whl (4.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size hgnc_queries-0.0.1.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page