Class Insertion
java.lang.Object
htsjdk.samtools.cram.encoding.readfeatures.Insertion
- All Implemented Interfaces:
ReadFeature
,Serializable
A read feature representing a multi-base insertion.
- See Also:
-
Field Details
-
operator
public static final byte operator- See Also:
-
-
Constructor Details
-
Insertion
public Insertion(int position, byte[] sequence)
-
-
Method Details
-
getOperator
public byte getOperator()Description copied from interface:ReadFeature
Read features are distinguished by operator, similar to cigar operator.- Specified by:
getOperator
in interfaceReadFeature
- Returns:
- type of the read feature
-
getPosition
public int getPosition()- Specified by:
getPosition
in interfaceReadFeature
- Returns:
- zero-based position in the read
-
getSequence
public byte[] getSequence() -
toString
-
equals
-
hashCode
public int hashCode()
-