public class ComputeStartCount extends ComputeCount
| Modifier and Type | Field and Description |
|---|---|
static int |
BOTH_STRAND |
static int |
POSITIVE_STRAND_ONLY |
static int |
REVERSE_STRAND_ONLY |
countKeys, countPerBase, endKeys, ends, startKeys, startPopulateInitialized| Constructor and Description |
|---|
ComputeStartCount(int focusOnStrand) |
| Modifier and Type | Method and Description |
|---|---|
void |
accumulate()
Accumulate start and end counts to produce cumulative start and end count.
|
void |
baseCount(CountsWriterI writerI)
Accumulate the number of reads that start at a given position.
|
void |
populate(int startPosition,
int endPosition,
boolean forwardStrand)
This implementation ignores strand, but some sub-classes need this information.
|
accumulateOneMap, baseCount, getCountKeys, getCountPerBase, getNumberOfReadsWithEndAt, getNumberOfReadsWithStartAt, populate, populate, populate, startPopulating, totalCountOnReferencepublic static final int POSITIVE_STRAND_ONLY
public static final int REVERSE_STRAND_ONLY
public static final int BOTH_STRAND
public ComputeStartCount(int focusOnStrand)
focusOnStrand - Indicates which strand(s) should be inspected.public void accumulate()
ComputeCountaccumulate in interface ComputeCountInterfaceaccumulate in class ComputeCountpublic void populate(int startPosition,
int endPosition,
boolean forwardStrand)
ComputeCountpopulate in interface ComputeCountInterfacepopulate in class ComputeCountstartPosition - Start position of a read.endPosition - End position of a read.forwardStrand - True when the read matches the forward strand, false otherwise.public void baseCount(CountsWriterI writerI) throws IOException
baseCount in interface ComputeCountInterfacebaseCount in class ComputeCountwriterI - IOExceptionCopyright © 2018 Campagne Laboratory. All rights reserved.