Package htsjdk.samtools.filter
Class SecondaryOrSupplementaryFilter
java.lang.Object
htsjdk.samtools.filter.SecondaryOrSupplementaryFilter
- All Implemented Interfaces:
SamRecordFilter
Filter out SAMRecords with Secondary or Supplementary flag set
This class should be viewed as a replacement for
NotPrimarySkippingIterator,
in that we did not want to change the functionality of NPSI to no longer match its name
$Id$-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SecondaryOrSupplementaryFilter
public SecondaryOrSupplementaryFilter()
-
-
Method Details
-
filterOut
Description copied from interface:SamRecordFilterDetermines whether a SAMRecord matches this filter- Specified by:
filterOutin interfaceSamRecordFilter- Parameters:
record- the SAMRecord to evaluate- Returns:
- true if the SAMRecord matches the filter, otherwise false
-
filterOut
Determines whether a pair of SAMRecord matches this filter- Specified by:
filterOutin interfaceSamRecordFilter- Parameters:
first- the first SAMRecord to evaluatesecond- the second SAMRecord to evaluate- Returns:
- true if the SAMRecords matches the filter, otherwise false
-