public interface ComputeCountInterface
| Modifier and Type | Method and Description |
|---|---|
void |
accumulate()
Accumulate start and end counts to produce cumulative start and end count.
|
void |
baseCount()
Calculates base counts.
|
void |
baseCount(CountsWriterI writerI)
Calculate base counts and write the result to the specified CountsWriter.
|
it.unimi.dsi.fastutil.ints.IntList |
getCountKeys()
Return a list of positions on the reference sequence that have non-zero counts.
|
Map |
getCountPerBase()
Returns a map from position on the reference sequence to count per base.
|
void |
populate(int startPosition,
int endPosition,
boolean forwardStrand)
This implementation ignores strand, but some sub-classes need this information.
|
void |
populate(int startPosition,
int endPosition,
boolean forwardStrand,
int queryIndex)
Populate this data structure with a read.
|
void |
startPopulating()
This method must be called before calling the populate method.
|
void startPopulating()
void accumulate()
void baseCount(CountsWriterI writerI) throws IOException
writerI - A CountsWriter to write the counts to.IOExceptionvoid baseCount()
Map getCountPerBase()
it.unimi.dsi.fastutil.ints.IntList getCountKeys()
void populate(int startPosition,
int endPosition,
boolean forwardStrand,
int queryIndex)
startPosition - position where the read starts on the reference.endPosition - position where the read ends on the reference.forwardStrand - True when the read matches the forward strand.queryIndex - Index of the read/query.void populate(int startPosition,
int endPosition,
boolean forwardStrand)
startPosition - Start position of a read.endPosition - End position of a read.forwardStrand - True when the read matches the forward strand, false otherwise.Copyright © 2017 Campagne Laboratory. All rights reserved.