Class Insertion
- java.lang.Object
-
- htsjdk.samtools.cram.encoding.readfeatures.Insertion
-
- All Implemented Interfaces:
ReadFeature,Serializable
public class Insertion extends Object implements Serializable, ReadFeature
A read feature representing a multi-base insertion.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static byteoperator
-
Constructor Summary
Constructors Constructor Description Insertion(int position, byte[] sequence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)bytegetOperator()Read features are distinguished by operator, similar to cigar operator.intgetPosition()byte[]getSequence()inthashCode()StringtoString()
-
-
-
Field Detail
-
operator
public static final byte operator
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOperator
public byte getOperator()
Description copied from interface:ReadFeatureRead features are distinguished by operator, similar to cigar operator.- Specified by:
getOperatorin interfaceReadFeature- Returns:
- type of the read feature
-
getPosition
public int getPosition()
- Specified by:
getPositionin interfaceReadFeature- Returns:
- zero-based position in the read
-
getSequence
public byte[] getSequence()
-
-