public final class TranscriptsAlignmentFilter extends AbstractAlignmentEntryFilter
Alignments.AlignmentEntry values when merging
transcript-based alignments.| Constructor and Description |
|---|
TranscriptsAlignmentFilter(String geneTranscriptFile,
int kVal)
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)
Set the new / updated header that is being used when filtering these entries.
|
boolean |
shouldRetainEntry(Alignments.AlignmentEntry entry)
Determine if this entry should be retained (will be called during a second
pass of reading the entries).
|
printStatspublic TranscriptsAlignmentFilter(String geneTranscriptFile, int kVal) throws FileNotFoundException
geneTranscriptFile - the gene-transcripts-map file to readkVal - the k value for the filterFileNotFoundException - if the gene-transcripts-map didn't existpublic void setTargetIdentifiers(edu.cornell.med.icb.identifier.IndexedIdentifier targets)
setTargetIdentifiers in class AbstractAlignmentEntryFiltertargets - targets of the merged alignment.public void postProcessing()
postProcessing in class AbstractAlignmentEntryFilterpublic void inspectEntry(Alignments.AlignmentEntry entry)
inspectEntry in class AbstractAlignmentEntryFilterentry - the entrypublic boolean shouldRetainEntry(Alignments.AlignmentEntry entry)
shouldRetainEntry in class AbstractAlignmentEntryFilterentry - the entryCopyright © 2018 Campagne Laboratory. All rights reserved.