public class BestScoreOnlyAlignmentFilter extends AbstractAlignmentEntryFilter
| Constructor and Description |
|---|
BestScoreOnlyAlignmentFilter(int maxNumberOfReads,
int minQueryIndex)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
inspectEntry(Alignments.AlignmentEntry entry)
Inspect an entry (will be called during a first pass of reading the entries).
|
void |
postProcessing()
Post processing (after all inspectEntry's have been called).
|
void |
setTargetIdentifiers(edu.cornell.med.icb.identifier.IndexedIdentifier targets)
Give the filter access to targets of the merged alignment.
|
boolean |
shouldRetainEntry(Alignments.AlignmentEntry entry)
Determine if this entry should be retained (will be called during a second
pass of reading the entries).
|
printStatspublic BestScoreOnlyAlignmentFilter(int maxNumberOfReads,
int minQueryIndex)
maxNumberOfReads - the maximum number of POSSIBLE reads we could encounterpublic void setTargetIdentifiers(edu.cornell.med.icb.identifier.IndexedIdentifier targets)
AbstractAlignmentEntryFiltersetTargetIdentifiers in class AbstractAlignmentEntryFilterpublic void inspectEntry(Alignments.AlignmentEntry entry)
inspectEntry in class AbstractAlignmentEntryFilterentry - the entrypublic boolean shouldRetainEntry(Alignments.AlignmentEntry entry)
shouldRetainEntry in class AbstractAlignmentEntryFilterentry - the entrypublic void postProcessing()
postProcessing in class AbstractAlignmentEntryFilterCopyright © 2017 Campagne Laboratory. All rights reserved.