public abstract class AbstractReferencePoints<T extends AbstractReferencePoints<T>> extends SequencePartitioning
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
create(int[] points) |
boolean |
equals(java.lang.Object o) |
com.milaboratory.core.Range |
getContainingRegion() |
int |
getFirstAvailablePosition() |
int |
getLastAvailablePosition() |
int |
getLengthBetweenBoundaryPoints() |
int |
getPosition(ReferencePoint referencePoint)
Return position of specific anchor point
|
int |
hashCode() |
protected abstract int |
indexFromReferencePoint(ReferencePoint point) |
boolean |
isReversed()
Return true if sequence partitioning is defined on the reverse-complement strand of the sequence,
false if on forward strand.
|
T |
move(int offset) |
int |
numberOfDefinedPoints() |
T |
relative(com.milaboratory.core.Range range) |
java.lang.String |
toString() |
T |
without(ReferencePoint referencePoint) |
floorDiv, floorMod, getAbsolutePosition, getLength, getLength, getRange, getRange, getRanges, getRelativePosition, getRelativeRange, getTranslationParameters, getTranslationParameters, isAvailable, isAvailable, isAvailableprotected abstract T create(int[] points)
protected abstract int indexFromReferencePoint(ReferencePoint point)
public boolean isReversed()
SequencePartitioningisReversed in class SequencePartitioningpublic int numberOfDefinedPoints()
public T without(ReferencePoint referencePoint)
public T move(int offset)
public T relative(com.milaboratory.core.Range range)
public int getFirstAvailablePosition()
public int getLastAvailablePosition()
public com.milaboratory.core.Range getContainingRegion()
public int getLengthBetweenBoundaryPoints()
public int getPosition(ReferencePoint referencePoint)
SequencePartitioninggetPosition in class SequencePartitioningreferencePoint - anchor pointpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object