-
Notifications
You must be signed in to change notification settings - Fork 308
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
Reverse complement negative strand reads in fastq output #737
Conversation
@@ -0,0 +1,63 @@ | |||
package org.bdgenomics.adam.cli |
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.
License header.
Other than a few nits, looks good to me! Thanks @arahuja. Also, the failing test in Jenkins appears to be
|
Imports and license cleaned up Test pasts for me locally, but possibly some weirdness in the paths on Jenkins. Updated it, let's see if it works, if not is there somewhere to view the Jenkins page? |
Jenkins, test this please. |
Looks I had to move where the test resources file were, should work now. |
Jenkins, test this please. |
Reverse complement negative strand reads in fastq output
Merged! Thanks @arahuja. |
Fixes #736
This does slightly differ from Picard.
AlignmentRecordConverter
currently ignores the negative strand flag is the read is unmapped. That would result in the read not being reverse complemented when output. I've left as is and only compared with Picard on mapped reads.This then will leave unmapped reads unaltered on output (which seems to be the correct thing to do) but I'm not sure why the aligner would mark it as negative if it was unmapped. I.E. if the aligner reverse complements but then removes the mapping (sets the
mapq
to 0) perhaps we should look at the flag?