Forgot to say that the mate is unmapped too. This is necessary to prevent SAM-JDK from yelling at me about an invalid SAM file.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@759 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
96e73e496a
commit
505f588768
|
|
@ -180,6 +180,7 @@ public class AnnotateSecondaryBase extends CommandLineProgram {
|
|||
SAMRecord sr = new SAMRecord(sfh);
|
||||
|
||||
sr.setReadName(runBarcode + ":" + rr.getReadKey() + "#0");
|
||||
sr.setMateUnmappedFlag(true);
|
||||
sr.setReadUmappedFlag(true);
|
||||
sr.setReadString(rr.getSequenceAsString());
|
||||
sr.setBaseQualities(rr.getQuals());
|
||||
|
|
|
|||
Loading…
Reference in New Issue