question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stable Ensembl ID

See original GitHub issue

Hi, 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:open
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
iskandrcommented, Oct 10, 2016

It seems that ENSG00000129277 hasn’t been in Ensembl since the switch from GRCh37 to GRCh38, maybe you should be using EnsemblRelease(75)?

1reaction
iskandrcommented, Oct 10, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found