public class Nucleotide extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
ENDING_POSITION_TYPE |
static int |
MIDDLE_POSITION_TYPE |
static int |
STARTING_POSITION_TYPE |
| Constructor and Description |
|---|
Nucleotide() |
Nucleotide(String notation,
int postionType) |
Nucleotide(String symbol,
String notation) |
Nucleotide(String symbol,
String notation,
int postionType) |
| Modifier and Type | Method and Description |
|---|---|
static Nucleotide |
fromJSON(String json) |
Monomer |
getBaseMonomer()
get the base monomer, the return value could be null if this nucleotide
does not have a base
|
Monomer |
getBaseMonomer(MonomerStore monomerStore)
get the base monomer, the return value could be null if this nucleotide
does not have a base
|
String |
getLinkerNotation()
This method returns the HELM notation for nucleotide linker
|
String |
getNaturalAnalog()
return the natural analog of this nucleotide
|
String |
getNaturalAnalog(MonomerStore monomerStore)
return the natural analog of this nucleotide
|
String |
getNotation() |
String |
getNucleosideNotation()
This method returns the HELM notation for nucleoside
|
Monomer |
getPhosphateMonomer()
return the phosphate monomer of this nucleotide
|
Monomer |
getPhosphateMonomer(MonomerStore monomerStore)
return the phosphate monomer of this nucleotide
|
int |
getPositionType() |
Monomer |
getSugarMonomer()
get the sugar monomer, the return value could be null if the "nucleotide"
does not has a sugar
|
Monomer |
getSugarMonomer(MonomerStore monomerStore)
get the sugar monomer, the return value could be null if the "nucleotide"
does not has a sugar
|
String |
getSymbol() |
boolean |
isModified() |
void |
setModified(boolean modified)
Deprecated.
|
void |
setNaturalAnalog(String naturalAnalog)
Deprecated.
|
void |
setNotation(String notation) |
void |
setPositionType(int positionType) |
void |
setSymbol(String symbol) |
String |
toJSON() |
boolean |
unmodifiedWithoutPhosphate()
Returns true if the nucleotide is unmodified except for a missing phosphate
group.
|
public static final int STARTING_POSITION_TYPE
public static final int MIDDLE_POSITION_TYPE
public static final int ENDING_POSITION_TYPE
public Nucleotide()
public Nucleotide(String notation, int postionType)
public int getPositionType()
public void setPositionType(int positionType)
public String getSymbol()
public void setSymbol(String symbol)
public boolean isModified()
public boolean unmodifiedWithoutPhosphate()
@Deprecated public void setModified(boolean modified)
public String getNotation()
public void setNotation(String notation)
public String getNaturalAnalog()
public String getNaturalAnalog(MonomerStore monomerStore)
monomerStore - - store in which base monomer is located@Deprecated public void setNaturalAnalog(String naturalAnalog)
public Monomer getPhosphateMonomer()
public Monomer getPhosphateMonomer(MonomerStore monomerStore)
monomerStore - - store in which phosphate monomer is locatedpublic Monomer getBaseMonomer()
public Monomer getBaseMonomer(MonomerStore monomerStore)
monomerStore - - store in which base monomer is locatedpublic Monomer getSugarMonomer()
public Monomer getSugarMonomer(MonomerStore monomerStore)
monomerStore - - store in which sugar monomer is locatedpublic String getLinkerNotation()
public String getNucleosideNotation()
public static Nucleotide fromJSON(String json)
public String toJSON()
Copyright © 2017. All rights reserved.