ReadFeature, Serializablepublic class Substitution extends Object implements Serializable, ReadFeature
| Constructor | Description |
|---|---|
Substitution() |
|
Substitution(int position,
byte base,
byte referenceBase) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(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) |
|
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)