-
Notifications
You must be signed in to change notification settings - Fork 95
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
c_to_p predicts "p.?" rather than "p.Met1?" for "NM_206926.1:c.1A>G" #651
Comments
I think the problem is that the code becomes very conservative in the case that the transcript has multiple stop codons and is considered as ambiguous after here: hgvs/src/hgvs/utils/altseqbuilder.py Line 244 in 394e632
|
It might make sense to drop this (IMO overly) conservative behaviour. VariantValidator is also affected for I have carried over almost all tests cases from the Python library to hgvs-rs and this did not change any test results except for the |
OK, there is nothing like running the ClinVar variant set through your software to see the corner cases. Case in point is
I realize that it may not be possible to perform correct predictions for transcripts with multiple stop codons, but perhaps the code can be extended such that it use the conservative "is ambiguous" case only for changes after the first stop codon? |
In VariantValidator, I have added a lot of code that deals with fundamentals of the variant nomenclature including the use of the Met1 syntax. Much of the additional code is outside the scope of hgvs, so the VV code is very much complementary. I am trying very hard to re-hash VariantValidator so that it can run on the latest hgvs library versions so that our users can benefit from updates and modifications. Thanks very much for ccing me in. I am pulling the issue into our issues as well so I can keep track. I am in communication with the biocommons team r.e. how to re-introduce the latest hgvs builds into vv. |
The HGVS specification prefers |
@reece please help me help you (need rights to admin these tickets). |
closing, as this is working as designed according to @larrybabb and @reece |
Environment
The following code
Will print
However, the VariantValidator correctly gives:
Note that the vvhgvs fork also predicts as
p.?
. I rather assume that the problem is fixed somewhere around here in openvar/variantValidator vvMixinInit.py.CC @Peter-J-Freeman
The text was updated successfully, but these errors were encountered: