Bug fix for RR: don't let the softclip start position be less than 1
This commit is contained in:
parent
d5ed184691
commit
67932b357d
|
|
@ -397,6 +397,9 @@ public class GATKSAMRecord extends BAMRecord {
|
||||||
else if (op != CigarOperator.HARD_CLIP)
|
else if (op != CigarOperator.HARD_CLIP)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( softStart < 1 )
|
||||||
|
softStart = 1;
|
||||||
}
|
}
|
||||||
return softStart;
|
return softStart;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue