-
Notifications
You must be signed in to change notification settings - Fork 21
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
Variant causing server error #518
Comments
@leicray, we need a test suite for these. I think that if the boundary is correct, but just badly numbered by the user in terms of the direction they went into the intron, it is valid to correct |
Hello, I think these are very good fixes. Thank you also for the explanation for the UCSC Genome Browser link. It is now clear why those chr16:28,480,676-28,483,512 coordinates are shown. This is also now clear in the browser since you can see where the actual variant is. Without the VariantValidator track I just expected that the whole view is the variant, which would have been incorrect. Thank you! |
Could you elaborate on what is needed regarding a "test suite"? |
We need a few examples where the user has specified a base in an intron but has counted in the wrong direction, like the example above. I will then add tests to make sure VV handles these correctly. The example above shows the used defining the incorrect start position but a correct exon boundary (791) and counting backwards into the intron (791-X) when they should have counted forwards into the intron (790+X). So the reciprocal would be a variant in the back half of an intron but the user has counted forwards from the (790+X) when they should have counted backwards (791-X). I think we only need one example. I can then use these 2 examples and embed them into the variant end position to create 4 separate tests to take care of all eventualities. Actually, do we need tests where both the start and end of the variant are ill defined do you think @leicray ? |
Here are some test descriptions: Valid variants near splice sites:
These each validate correctly. Invalid variants near splice sites:
An invalid variant with an unclear error message:
The issue here is that the intron length downstream of c,2559 is 88 nucleotides. The +54 position does not formally exist, but there perhaps ought to be automatic correction of the variant description to |
Thanks @leicray. To clarify, you are happy with the warnings here
but 2599+54 should be 2560-34del That's ideal because we are already handling NM_000086.2(CLN3):c.791-802_1056+1445del and warning
So, we should also be catching
I can make appropriate tests from these. Thanks |
I am happy with the error messages that you listed as a group. The example that you give for locations either side of an intron mid point suggests that the correction works in one direction, at present, but not the other. |
Yes, think that is currently the case. I have set the code up, but the flow seems to be broken. Fixing now. Thanks for the examples. Can make it happen now |
NM_000086.2:c.791-802_1056+1445del
NM_000088.4:c.2559_2559+54del
NM_000086.2:c.790_791-802del
NM_000088.4:c.2559+54_2560del
NM_000088.4:c.2559+54_2559+55del
NM_000086.2:c.791-803_791-802del
|
All looks good to me. |
Ace. Writing tests then will link in the push and close |
Describe the bug
The text was updated successfully, but these errors were encountered: