public class EquivalentIndelRegionCalculator extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
flankLeftSize |
| Constructor and Description |
|---|
EquivalentIndelRegionCalculator(RandomAccessSequenceInterface genome) |
EquivalentIndelRegionCalculator(RandomAccessSequenceInterface genome,
int[] alignmentToGenomeTargetIndices) |
| Modifier and Type | Method and Description |
|---|---|
EquivalentIndelRegion |
determine(int referenceIndex,
ObservedIndel indel)
Determine the span of equivalent indel regions for the observed indel.
|
int |
getFlankLeftSize()
Return the number of bases flanking this indel to the left.
|
int |
getFlankRightSize()
Return the number of bases flanking this indel to hte right.
|
void |
setFlankLeftSize(int flankLeftSize)
Set the number of bases to record in flank-left.
|
void |
setFlankRightSize(int flankRightSize)
Set the number of bases to record in flank-right.
|
void |
setReferenceIndexPermutation(int[] alignmentToGenomeTargetIndices)
Set an array with the permutation to convert alignment reference indices to genome reference indices.
|
public EquivalentIndelRegionCalculator(RandomAccessSequenceInterface genome, int[] alignmentToGenomeTargetIndices)
public EquivalentIndelRegionCalculator(RandomAccessSequenceInterface genome)
public void setReferenceIndexPermutation(int[] alignmentToGenomeTargetIndices)
alignmentToGenomeTargetIndices - permutation.public void setFlankRightSize(int flankRightSize)
flankRightSize - number of flanking bases on the right.public void setFlankLeftSize(int flankLeftSize)
flankLeftSize - number of flanking bases on the left.public int getFlankRightSize()
public int getFlankLeftSize()
public EquivalentIndelRegion determine(int referenceIndex, ObservedIndel indel)
referenceIndex - Index of the reference sequence where the indel is located.indel - the observed indelCopyright © 2017 Campagne Laboratory. All rights reserved.