-
Notifications
You must be signed in to change notification settings - Fork 597
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
Fixed an edge case in HaplotypeCaller where filtered alleles in the vicinity of forced-calling alleles could result in empty calls #7740
Conversation
@davidbenjamin you are on the git blame here but you might not be the one to review. A user complained about empty calls in the vicinity of force calling alleles like this: |
@jamesemery I will gladly review. If I understand the code change it seems like there was already basically the right logic to avoid this but the code was neglecting to put the force calling alleles in a representation consistent with the output VCF. And the fix is simply to compute |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is entirely sensible.
@davidbenjamin looks like i have to wait for the test to pass because travis is having problems. What was happening is that the list of alleles didn't necessarily overlap with the VC being evaluated here (the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need a test that demonstrates the issue
@droazen I added a test with some documentation about the issue and the no-calls. |
@davidbenjamin Can you look at the test? I didn't want to check in a file with the old erroneous behavior so its hard to demonstrate what this fixed but i tried to make it clear in the comments. |
…icinity of forced-calling alleles could result in empty calls
4392dce
to
4065504
Compare
@jamesemery The test looks good. I am averse to exact match tests and would prefer to just strea the VCF output and check for empty calls. Nonetheless, I understand that there's a tradition of exact match tests in some of our tools. I leave it up to you. |
Fixes #7741