When adding a unit test to LIBS for X and = CIGAR operators, I uncovered a bug with the implementation of the ReadBackedPileup.depthOfCoverage() method.
This commit is contained in:
parent
eca9613356
commit
40f0320a1c
|
|
@ -155,7 +155,7 @@ public abstract class AbstractReadBackedPileup<RBP extends AbstractReadBackedPil
|
|||
|
||||
protected void addPileupToCumulativeStats(AbstractReadBackedPileup<RBP, PE> pileup) {
|
||||
size += pileup.getNumberOfElements();
|
||||
abstractSize += pileup.depthOfCoverage();
|
||||
abstractSize = pileup.depthOfCoverage() + (abstractSize == -1 ? 0 : abstractSize);
|
||||
nDeletions += pileup.getNumberOfDeletions();
|
||||
nMQ0Reads += pileup.getNumberOfMappingQualityZeroReads();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue