-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HGVS using ENSEMBL ID is not working #621
Comments
There are several reasons this doesn't work. The first is that the ensembl data in UTA are very stale. That transcript isn't there. The reasons for this are in biocommons/uta#233. You capture an exception but just return False. When you do that, you're burying the message that likely would have explained what's happening. At the very least, print or log the exception before ignoring it. You may want to see this old talk about the origins of UTA and some of the dark corners of the false equivalence of some transcripts. |
Hi, as well as the transcript, the sequence is not in SeqRepo:
To resolve it, you can use the cdot library/data to provide the transcript mapping coordinates and sequence Install via
Output:
|
How come parsing a variant in HGVS notation with an ENSEMBL Identifier (EBI) does not work when the HGVS notation explicitly states that they can be used as a reference sequence in HGVS?
The HGVS documentation even recommends the use of Ensembl transcripts.
HGVS Reference Sequences
It first has to be converted from ENSEMBL (ENST..) to a RefSeq ID (NM.. ) in order to work. Even tools such as Mutalyzer or VariantValidator are unable to validate or even parse them.
Just a short code snippet that explains what i mean. First we run the code on a variant with a RefSeq ID (NM_007313.2:c.1001C>T) and then we run the same code with the corresponding ENS ID (ENST00000372348.2:c.1001C>T).
The mapping should be correct as it has been done by using a local copy of the ENSEMBLEDB (ensembldb.ensembl.org). You can also use their RESP API to check for yourself: rest.ensembl.org
What am i missing here? Maybe someone can help me out :)
The text was updated successfully, but these errors were encountered: