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


Download files

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

Source Distribution

hgnc_queries-0.0.1.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

hgnc_queries-0.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

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