Skip to content

Actually output the corrected bases in the ReadErrorCorrector #6366

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

Merged
merged 1 commit into from
Jan 21, 2020

Conversation

jamesemery
Copy link
Collaborator

See #6365

Copy link
Contributor

@droazen droazen left a comment

Choose a reason for hiding this comment

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

Nice catch! Think we need a test to cover this change, however.

correctedRead.setBaseQualities(inputRead.getBaseQualities());
correctedRead.setBases(inputRead.getBases());
correctedRead.setBaseQualities(correctedQuals);
correctedRead.setBases(correctedBases);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a test that fails before this change, and passes after it?

@droazen droazen assigned jamesemery and unassigned davidbenjamin Jan 9, 2020
@davidbenjamin
Copy link
Contributor

Looks good!

@droazen
Copy link
Contributor

droazen commented Jan 21, 2020

@davidbenjamin How do you feel about merging this quick fix as-is while we're waiting for the next-gen error corrector to be merged?

@davidbenjamin
Copy link
Contributor

@droazen I think we should definitely merge the quick fix.

@droazen droazen merged commit 8b36f21 into master Jan 21, 2020
@droazen droazen deleted the je_makeReadErrorCorrectorActuallyCorrectReads branch January 21, 2020 18:17
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.

3 participants