Fixed hard clipping soft clipped bases after hard clips
if soft clipped bases were after a hard clipped section of the read, the hard clip was clipping the left soft clip tail as if it were a right tail. Mayhem.
This commit is contained in:
parent
1acf7945c5
commit
39b54211d0
|
|
@ -145,7 +145,7 @@ public class ReadClipper {
|
|||
cutLeft = readIndex + cigarElement.getLength() - 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (cigarElement.getOperator() != CigarOperator.HARD_CLIP)
|
||||
rightTail = true;
|
||||
|
||||
if (cigarElement.getOperator().consumesReadBases())
|
||||
|
|
|
|||
Loading…
Reference in New Issue