net.sf.picard.filter
Class WholeReadClippedFilter

java.lang.Object
  extended by net.sf.picard.filter.WholeReadClippedFilter
All Implemented Interfaces:
SamRecordFilter

public class WholeReadClippedFilter
extends Object
implements SamRecordFilter

Filter SAMRecords so that only those that have at least one un-clipped base are returned. $Id$

Author:
ktibbett@broadinstitute.org

Constructor Summary
WholeReadClippedFilter()
           
 
Method Summary
 boolean filterOut(SAMRecord record)
          Determines whether a SAMRecord matches this filter
 boolean filterOut(SAMRecord first, SAMRecord second)
          Determines whether a paired of SAMRecord matches this filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WholeReadClippedFilter

public WholeReadClippedFilter()
Method Detail

filterOut

public boolean filterOut(SAMRecord record)
Determines whether a SAMRecord matches this filter

Specified by:
filterOut in interface SamRecordFilter
Parameters:
record - the SAMRecord to evaluate
Returns:
true if the SAMRecord matches the filter, and should be filtered out, otherwise false

filterOut

public boolean filterOut(SAMRecord first,
                         SAMRecord second)
Determines whether a paired of SAMRecord matches this filter

Specified by:
filterOut in interface SamRecordFilter
Parameters:
first - the first SAMRecord to evaluate
second - the second SAMRecord to evaluate
Returns:
true if the SAMRecords matches the filter, otherwise false