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

Fix BAMSplitGuesser to check that read name is of length one or more. #25

Merged
merged 1 commit into from Oct 22, 2015

Conversation

tomwhite
Copy link
Member

This fixes a bug when reading BAM files without an index that was found in broadinstitute/gatk#1005. The problem is that the heuristics in BAMSplitGuesser are not strong enough and in some cases can return a position that is not the start of a BAM record. The test in this PR fails for the existing BAMSplitGuesser; it passes with the fix.

ilveroluca added a commit that referenced this pull request Oct 22, 2015
Fix BAMSplitGuesser to check that read name is of length one or more.
@ilveroluca ilveroluca merged commit 3e11eba into HadoopGenomics:master Oct 22, 2015
@ilveroluca
Copy link
Contributor

Thanks Tom.

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.

None yet

2 participants