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 byte
operator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
byte
getOperator()
Read features are distinguished by operator, similar to cigar operator.int
getPosition()
byte[]
getSequence()
int
hashCode()
void
setPosition(int position)
void
setSequence(byte[] sequence)
String
toString()
-
-
-
Field Detail
-
operator
public static final byte operator
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
setPosition
public void setPosition(int position)
- Specified by:
setPosition
in interfaceReadFeature
-
getSequence
public byte[] getSequence()
-
setSequence
public void setSequence(byte[] sequence)
-
-