public class AlignmentTooManyHitsReader extends Object
AlignmentTooManyHitsWriter.| Constructor and Description |
|---|
AlignmentTooManyHitsReader(String basename) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getAlignerThreshold()
The number of hits against the reference that the aligner considered was too many to report.
|
int |
getLengthOfMatch(int queryIndex)
Returns the length of match that resulted in the number of occurence againt the specific
reference sequence(s) this alignment was produced against.
|
int |
getNumberOfHits(int queryIndex)
Returns the number 'at least number of hits' reported by the alignment tool against
the reference.
|
it.unimi.dsi.fastutil.ints.IntSet |
getQueryIndices() |
boolean |
isQueryAmbiguous(int queryIndex)
Returns true if the query was considered ambiguous by the alignment tool.
|
boolean |
isQueryAmbiguous(int queryIndex,
int k)
Returns true if the query matched at least k number of locations in the reference.
|
boolean |
isQueryAmbiguous(int queryIndex,
int k,
int matchLength)
Returns true if the query matched at least k number of locations in the reference, at the
specified match length or less.
|
public AlignmentTooManyHitsReader(String basename) throws IOException
IOExceptionpublic int getAlignerThreshold()
public final int getNumberOfHits(int queryIndex)
queryIndex - The index of the query sequence.public final int getLengthOfMatch(int queryIndex)
queryIndex - The index of the query sequence.public final it.unimi.dsi.fastutil.ints.IntSet getQueryIndices()
public boolean isQueryAmbiguous(int queryIndex)
queryIndex - The index of the query sequence.public final boolean isQueryAmbiguous(int queryIndex,
int k)
queryIndex - The index of the query sequence.k - The parameter k.public final boolean isQueryAmbiguous(int queryIndex,
int k,
int matchLength)
queryIndex - The index of the query sequence.k - The parameter k.matchLength - The match length.public void close()
Copyright © 2017 Campagne Laboratory. All rights reserved.