-
Notifications
You must be signed in to change notification settings - Fork 596
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
Pileup-based read error corrector #6470
Conversation
@davidbenjamin Can I assume that you didn't change |
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.
Looks like PileupReadErrorCorrectorUnitTest is not working as intended. But the code itself looks good.
...va/org/broadinstitute/hellbender/tools/walkers/haplotypecaller/PileupReadErrorCorrector.java
Outdated
Show resolved
Hide resolved
...va/org/broadinstitute/hellbender/tools/walkers/haplotypecaller/PileupReadErrorCorrector.java
Outdated
Show resolved
Hide resolved
|
||
for (int n = firstEdit; n <= lastEdit; n++) { | ||
bases[edits.get(n).getLeft()] = edits.get(n).getRight(); | ||
quals[edits.get(n).getLeft()] = GOOD_QUAL; |
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 chunk doesn't get triggered by the UnitTest—why?
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.
It does now. Totally rewrote the test.
...roadinstitute/hellbender/tools/walkers/haplotypecaller/PileupReadErrorCorrectorUnitTest.java
Outdated
Show resolved
Hide resolved
...roadinstitute/hellbender/tools/walkers/haplotypecaller/PileupReadErrorCorrectorUnitTest.java
Show resolved
Hide resolved
Yes you can. |
back to @takutosato |
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.
Looks good!
Closes #4868.
@takutosato This reduces false positives and improves speed at no cost to sensitivity. I'm not quite ready to turn it on by default but I want it in the code to begin experiments, such as combining with linked de Bruijn graphs and FFPE error correction.