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

Pileup-based read error corrector #6470

Merged
merged 2 commits into from
Mar 2, 2020
Merged

Conversation

davidbenjamin
Copy link
Contributor

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.

@takutosato
Copy link
Contributor

@davidbenjamin Can I assume that you didn't change NearbyKmerErrorCorrector (other than renaming and refactoring)

Copy link
Contributor

@takutosato takutosato left a 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.


for (int n = firstEdit; n <= lastEdit; n++) {
bases[edits.get(n).getLeft()] = edits.get(n).getRight();
quals[edits.get(n).getLeft()] = GOOD_QUAL;
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@davidbenjamin
Copy link
Contributor Author

@davidbenjamin Can I assume that you didn't change NearbyKmerErrorCorrector (other than renaming and refactoring)

Yes you can.

@davidbenjamin
Copy link
Contributor Author

back to @takutosato

Copy link
Contributor

@takutosato takutosato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@davidbenjamin davidbenjamin merged commit e4ef6fe into master Mar 2, 2020
@davidbenjamin davidbenjamin deleted the db_error_correction branch March 2, 2020 17:15
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.

Somatic error correction for low allele fractions
2 participants