-
Notifications
You must be signed in to change notification settings - Fork 602
HaplotypeCaller doesn't detect alternate alleles with 1 bp intervals #6495
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
Comments
Hi @jemunro, |
Hi @ldgauthier , I can confirm that the alt alleles are genotyped as '1' using v4.1.4.1, see output below.
Looking for the corresponding first site using the v4.1.5.0 output gives the following:
Also note that adding
|
That definitely looks like a bug to me. I can poke around, but it will go much faster if you can upload a little snippet of the bam you're calling on to our FTP server: https://gatk.broadinstitute.org/hc/en-us/articles/360035889671 |
@ldgauthier I've uploaded the snippet to the FTP server in a file named 'gatk_issue_6495.tar.gz', let me know if you have any issues. |
Great, I will try to take a look this week. |
It looks like #6358 caused a regression. I'm going to try to figure it out, but we might have to enlist @davidbenjamin |
It's this line here that's causing problems Line 188 in 9f459ff
Because the specified intervals are just 1bp, the intersection yields a 1bp interval, which might be fine, but all the reads are being throw away later on because they're now only 1bp long. This is probably the part of HaplotypeCaller that I'm the least familiar with, but I'll give it a shot. |
@ldgauthier Since this is most likely my fault, should it also be my responsibility? I'm not so incapacitated by school closings that I can't fix bugs. |
@ldgauthier I'm about to submit a bug fix PR. In the line you found the I replicated @jemunro's error in the branch, fixed it (of course), and wrote an equivalent regression test that fails before and passes after the PR. The rest is just the usual annoying updating of integration test files, which as of right now I'm in the middle of. |
Bug Report
Affected tool(s) or class(es)
HaplotypeCaller
Affected version(s)
4.1.5.0
Description
HaplotypeCaller doesn't detect alternate alleles when 1 bp intervals are provided. With v4.1.4.1 on the same inputs, 361 sites with alternate alleles are detected. When no intervals are provided to v4.1.5.0, the sites are also detected.
Steps to reproduce
Content of targets.list (32652 sites):
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: