-
Notifications
You must be signed in to change notification settings - Fork 11
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
equal treatment for supplementary alignments #137
Conversation
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. How was this problem manifesting? Bad split guesses? Is there a reasonable test we could add to show that it's fixed now?
Problem manifests when supplementary alignments have no sequence: guesser doesn't recognize a valid record start. This change just parallels an earlier commit that allowed no-sequence secondary alignments, so that supplementaries now behave the same way. |
pom.xml
Outdated
@@ -4,7 +4,7 @@ | |||
|
|||
<groupId>org.disq-bio</groupId> | |||
<artifactId>disq</artifactId> | |||
<version>0.3.6-SNAPSHOT</version> | |||
<version>0.3.7-SNAPSHOT</version> |
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.
I think you accidentally included the snapshot version change here. Could you revert that?
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.
Sure, but I thought we'd want to bump the version with this PR.
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 gets bumped automatically as part of the release process. If we bump it manually we'll end up skipping a version.
@tedsharpe Thanks for amending the test data. What happens without this change? Does it break the split guessing so it eventually runs off the end of the file without find a split? Or a crash, or a bad split that causes data corruption? I'm just curious. |
Assuming no splitting index: If the density of supplementaries without sequence is high enough that you never get a run of 10 consecutive primary lines in some partition, the partition will be empty. |
just bump back the version and good to merge |
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.
Thank you, @tedsharpe!
Allow no sequence in supplementary alignments, just as we do for secondary alignments.