Package htsjdk.samtools.filter
Class SecondaryAlignmentFilter
java.lang.Object
htsjdk.samtools.filter.SecondaryAlignmentFilter
- All Implemented Interfaces:
SamRecordFilter
- Direct Known Subclasses:
NotPrimaryAlignmentFilter
SamRecordFilter that filters out secondary alignments, but not supplemental alignments.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SecondaryAlignmentFilter
public SecondaryAlignmentFilter()
-
-
Method Details
-
filterOut
Returns true if the read is marked as secondary.- Specified by:
filterOutin interfaceSamRecordFilter- Parameters:
record- the SAMRecord to evaluate- Returns:
- true if the SAMRecord matches the filter, otherwise false
-
filterOut
Returns true if either read is marked as secondary.- Specified by:
filterOutin interfaceSamRecordFilter- Parameters:
first- the first SAMRecord to evaluatesecond- the second SAMRecord to evaluate- Returns:
- true if the pair of records matches filter, otherwise false
-