Package htsjdk.samtools.filter
Class SolexaNoiseFilter
- java.lang.Object
-
- htsjdk.samtools.filter.SolexaNoiseFilter
-
- All Implemented Interfaces:
SamRecordFilter
public class SolexaNoiseFilter extends Object implements SamRecordFilter
Filter to determine whether a read is "noisy" due to a poly-A run that is a sequencing artifact. Currently we filter out only reads that are composed entirely of As. $Id$
-
-
Constructor Summary
Constructors Constructor Description SolexaNoiseFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
filterOut(SAMRecord record)
Determines whether a SAMRecord matches this filterboolean
filterOut(SAMRecord first, SAMRecord second)
Determines whether a pair of SAMRecord matches this filter
-
-
-
Method Detail
-
filterOut
public boolean filterOut(SAMRecord record)
Determines whether a SAMRecord matches this filter- Specified by:
filterOut
in interfaceSamRecordFilter
- Parameters:
record
- the SAMRecord to evaluate- Returns:
- true if the SAMRecord matches the filter, otherwise false
-
filterOut
public boolean filterOut(SAMRecord first, SAMRecord second)
Determines whether a pair of SAMRecord matches this filter- Specified by:
filterOut
in interfaceSamRecordFilter
- Parameters:
first
- the first SAMRecord to evaluatesecond
- the second SAMRecord to evaluate- Returns:
- true if the SAMRecords matches the filter, otherwise false
-
-