This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Fetch HGNC id from gene symbol in python

Hi, I am having thousands of gene symbols and I want to get their HGNC id's. I tried downloading HGNC rdf file from bioportal and used sparql to fetch most of the gene id's. However, the HGNC rdf from bioportal was last updated almost 10 years back. Is their more efficient way to get gene id's from gene symbols?

python hgnc sparql

1 answer

HGNC has a REST API https://www.genenames.org/help/rest/

Log in to answer this question.