Skip to content
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

Fix insertion with n consequence type #3

Merged
merged 2 commits into from
Oct 2, 2023

Conversation

awab-ahmed
Copy link
Owner

4.12.5 introduced a bug where insertion variants > 50bp with N in the reference are classified as MNVs and therefore their consequeneTypes are miscalculated.

E.g of variant: 11:68410141:N:TGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGTGN

In this PR the conditions in VariantAnnotationUtils.getVariantType are changed so that such variants are classified as insertions so that the correct ConsequenceTypeCalculator gets assigned.

Approved here: opencb#672

@awab-ahmed awab-ahmed merged commit 9bc4e8c into release-4.12.x Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant