public class Substitution extends java.lang.Object implements java.io.Serializable, ReadFeature
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_CODE |
static byte |
operator |
| Constructor and Description |
|---|
Substitution() |
Substitution(int position,
byte base,
byte referenceBase) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
byte |
getBase() |
byte |
getCode() |
byte |
getOperator()
Read features are distinguished by operator, similar to cigar operator.
|
int |
getPosition() |
byte |
getReferenceBase() |
void |
setBase(byte base) |
void |
setCode(byte code) |
void |
setPosition(int position) |
void |
setReferenceBase(byte referenceBase) |
java.lang.String |
toString() |
public static final int NO_CODE
public static final byte operator
public Substitution()
public Substitution(int position,
byte base,
byte referenceBase)
public byte getCode()
public void setCode(byte code)
public byte getOperator()
ReadFeaturegetOperator in interface ReadFeaturepublic int getPosition()
getPosition in interface ReadFeaturepublic void setPosition(int position)
setPosition in interface ReadFeaturepublic byte getBase()
public void setBase(byte base)
public byte getReferenceBase()
public void setReferenceBase(byte referenceBase)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object