public abstract class CountingFilter extends Object implements SamRecordFilter
Constructor and Description |
---|
CountingFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
filterOut(SAMRecord record) |
boolean |
filterOut(SAMRecord first,
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(SAMRecord record)
Return true if we are to filter this record out, false otherwise.
|
public long getFilteredRecords()
public long getFilteredBases()
public final boolean filterOut(SAMRecord record)
filterOut
in interface SamRecordFilter
public abstract boolean reallyFilterOut(SAMRecord record)
public boolean filterOut(SAMRecord first, SAMRecord second)
filterOut
in interface SamRecordFilter