public class TranscriptBestScoreAlignmentFilter extends AbstractAlignmentEntryFilter
| Constructor and Description |
|---|
TranscriptBestScoreAlignmentFilter(String geneTranscriptFile,
int kVal,
int maxNumberOfReads,
int minQueryIndex)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
inspectEntry(Alignments.AlignmentEntry entry)
Called during first pass processing of every entry.
|
void |
postProcessing()
Called after first pass (inspecEntry) processing is complete.
|
void |
printStats() |
void |
setTargetIdentifiers(edu.cornell.med.icb.identifier.IndexedIdentifier targets)
Give the filter access to targets of the merged alignment.
|
boolean |
shouldRetainEntry(Alignments.AlignmentEntry entry)
Returns true if the entry should be retained.
|
public TranscriptBestScoreAlignmentFilter(String geneTranscriptFile, int kVal, int maxNumberOfReads, int minQueryIndex) throws FileNotFoundException
geneTranscriptFile - the gene-transcripts-map file to readkVal - the k value for the filtermaxNumberOfReads - Maximum number of reads.FileNotFoundException - if the gene-transcripts-map didn't existpublic void printStats()
printStats in class AbstractAlignmentEntryFilterpublic void inspectEntry(Alignments.AlignmentEntry entry)
AbstractAlignmentEntryFilterinspectEntry in class AbstractAlignmentEntryFilterentry - the entry to inspect for candidacy in the mergepublic void postProcessing()
AbstractAlignmentEntryFilterpostProcessing in class AbstractAlignmentEntryFilterpublic boolean shouldRetainEntry(Alignments.AlignmentEntry entry)
AbstractAlignmentEntryFiltershouldRetainEntry in class AbstractAlignmentEntryFilterentry - the entry to be inspected.public void setTargetIdentifiers(edu.cornell.med.icb.identifier.IndexedIdentifier targets)
setTargetIdentifiers in class AbstractAlignmentEntryFiltertargets - Copyright © 2017 Campagne Laboratory. All rights reserved.