Stable Ensembl ID
See original GitHub issueHi, I’d like to use your library but I’m getting endless errors for retired ENSG ids. How should I proceed when I get errors like this one?
ensembl.gene_name_of_gene_id(“ENSG00000129277”)
“”" ValueError: No results found for query:
SELECT distinct gene_name
FROM gene
WHERE gene_id = ?
with parameters: [‘ENSG00000129277’] “”"
Thanks!
EH
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Ensembl Stable ID prefixes
Ensembl stable ID prefixes ... Stable IDs are created in the form [species prefix][feature type prefix][a unique eleven digit number]. For example a...
Read more >I have an Ensembl ID, what can I tell about it from the ID?
An Ensembl stable ID consists of five parts: ENS(species)(object type)(identifier).(version). The first part, 'ENS', tells you that it's an Ensembl ID ...
Read more >GeneTree stables ID in Compara - Ensembl
We provide stable IDs for gene trees. The IDs are kept from one release to the other depending on the genes present in...
Read more >Transcript ID History - Ensembl
Ensembl stable gene, transcript, and protein identifiers are kept the same throughout Ensembl releases unless the gene or transcript model changes dramatically.
Read more >Maintaining stable ids between GRCh37 and GRCh38
If we find a perfect match between the two gene sets, the stable id assigned to the older model will be used for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It seems that ENSG00000129277 hasn’t been in Ensembl since the switch from GRCh37 to GRCh38, maybe you should be using
EnsemblRelease(75)
?Hi @erichu8,
What would you like pyensembl to do with retired IDs? If the gene doesn’t exist in the database then I’m not sure what should be returned.