public class BestScoreAmbiguityAlignmentFilter extends AbstractAlignmentEntryFilter
| Constructor and Description |
|---|
BestScoreAmbiguityAlignmentFilter(int k,
int maxNumberOfReads,
int minQueryIndex)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getShouldWrite()
Number of entries that will pass the filter.
|
int |
getWillSkip() |
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 |
setHeader(AlignmentReader reader) |
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 BestScoreAmbiguityAlignmentFilter(int k,
int maxNumberOfReads,
int minQueryIndex)
k - The maximum number of alignment at best score.maxNumberOfReads - the maximum number of POSSIBLE reads we could encounterpublic int getShouldWrite()
public void setHeader(AlignmentReader reader)
public 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 AbstractAlignmentEntryFilterpublic int getWillSkip()
Copyright © 2018 Campagne Laboratory. All rights reserved.