solve bug - now work also when the reads does not have mate
reads with no mate will be counted as valid reads
This commit is contained in:
parent
7a75f4ae79
commit
536d550794
|
|
@ -245,7 +245,7 @@ public class ASEReadCounter extends LocusWalker<String, Integer> {
|
|||
for (final PileupElement base : pileup) {
|
||||
rawDepth++;
|
||||
|
||||
if (!base.getRead().getProperPairFlag()){
|
||||
if (base.getRead().getReadPairedFlag() && (base.getRead().getMateUnmappedFlag() || !base.getRead().getProperPairFlag())){
|
||||
improperPairsCount++;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue