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 queries to get:
>> import hgnc_queries
>> hgnc_queries.get_new_symbol("RN5S49", verbose = False)
RNA5SP49
>> hgnc_queries.get_gene_starting_with("BRCA", verbose = False)
["BRCA1", "BRCA1P1", "BRCA2", "BRCA3"]
>> hgnc_queries.get_alias("ARID1B", verbose = False)
["KIAA1235", "ELD/OSA1", "p250R", "BAF250b", "DAN15", "6A3-5"]
>> hgnc_queries.get_main_symbol(BRAF1, verbose = False)
BRAF
>> hgnc_queries.get_prev_symbol("COL2A1", verbose = False)
["SEDC", "AOM"]
>> hgnc_queries.get_id("BRAF", verbose = False)
HGNC:1097
>>hgnc_queries.get_symbol_from_id("1097", verbose = False)
BRAF
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.2.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for hgnc_queries-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c963e7c8b4b6f4656cd8cdfd7370a4ed74c0e95ac314d324bedbf5a43751e663 |
|
MD5 | a9d75c6effd3386ee4bbc107deff1979 |
|
BLAKE2b-256 | 21a4bfb3cc2c60cb46e1c26253771c40315e22e845f77df519eeace04718d9e7 |