htsjdk.samtools.filter.SamRecordFilter
CountingDuplicateFilter
, CountingMapQFilter
, CountingPairedFilter
public abstract class CountingFilter extends Object implements htsjdk.samtools.filter.SamRecordFilter
Constructor | Description |
---|---|
CountingFilter() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
filterOut(htsjdk.samtools.SAMRecord record) |
|
boolean |
filterOut(htsjdk.samtools.SAMRecord first,
htsjdk.samtools.SAMRecord second) |
|
long |
getFilteredBases() |
Gets the number of bases that have been filtered out thus far.
|
long |
getFilteredRecords() |
Gets the number of records that have been filtered out thus far.
|
abstract boolean |
reallyFilterOut(htsjdk.samtools.SAMRecord record) |
Return true if we are to filter this record out, false otherwise.
|
public long getFilteredRecords()
public long getFilteredBases()
public final boolean filterOut(htsjdk.samtools.SAMRecord record)
filterOut
in interface htsjdk.samtools.filter.SamRecordFilter
public abstract boolean reallyFilterOut(htsjdk.samtools.SAMRecord record)
public boolean filterOut(htsjdk.samtools.SAMRecord first, htsjdk.samtools.SAMRecord second)
filterOut
in interface htsjdk.samtools.filter.SamRecordFilter