Fixed Umapped misspelling
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5196 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
03f265d8bd
commit
0ad1ea4aa1
|
|
@ -202,7 +202,7 @@ public class Alignment {
|
||||||
read.setMateAlignmentStart(SAMRecord.NO_ALIGNMENT_START);
|
read.setMateAlignmentStart(SAMRecord.NO_ALIGNMENT_START);
|
||||||
|
|
||||||
if(alignment != null) {
|
if(alignment != null) {
|
||||||
read.setReadUmappedFlag(false);
|
read.setReadUnmappedFlag(false);
|
||||||
read.setReferenceIndex(alignment.getContigIndex());
|
read.setReferenceIndex(alignment.getContigIndex());
|
||||||
read.setAlignmentStart((int)alignment.getAlignmentStart());
|
read.setAlignmentStart((int)alignment.getAlignmentStart());
|
||||||
read.setReadNegativeStrandFlag(alignment.isNegativeStrand());
|
read.setReadNegativeStrandFlag(alignment.isNegativeStrand());
|
||||||
|
|
|
||||||
|
|
@ -164,7 +164,7 @@ public class ArtificialSAMUtils {
|
||||||
record.setBaseQualities(q);
|
record.setBaseQualities(q);
|
||||||
|
|
||||||
if (refIndex == SAMRecord.NO_ALIGNMENT_REFERENCE_INDEX) {
|
if (refIndex == SAMRecord.NO_ALIGNMENT_REFERENCE_INDEX) {
|
||||||
record.setReadUmappedFlag(true);
|
record.setReadUnmappedFlag(true);
|
||||||
}
|
}
|
||||||
return record;
|
return record;
|
||||||
}
|
}
|
||||||
|
|
@ -189,7 +189,7 @@ public class ArtificialSAMUtils {
|
||||||
rec.setReadBases(bases);
|
rec.setReadBases(bases);
|
||||||
rec.setBaseQualities(qual);
|
rec.setBaseQualities(qual);
|
||||||
if (refIndex == -1) {
|
if (refIndex == -1) {
|
||||||
rec.setReadUmappedFlag(true);
|
rec.setReadUnmappedFlag(true);
|
||||||
}
|
}
|
||||||
return rec;
|
return rec;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue