Class Deletion
java.lang.Object
htsjdk.samtools.cram.encoding.readfeatures.Deletion
- All Implemented Interfaces:
ReadFeature
,Serializable
A read feature representing a deletion of one or more bases similar to
CigarOperator.D
.- See Also:
-
Field Details
-
operator
public static final byte operator- See Also:
-
-
Constructor Details
-
Deletion
public Deletion(int position, int length)
-
-
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
-
getLength
public int getLength() -
toString
-
equals
-
hashCode
public int hashCode()
-