public class Nucleotide extends Molecule
Modifier and Type | Class and Description |
---|---|
static class |
Nucleotide.BaseType |
Modifier and Type | Field and Description |
---|---|
static Nucleotide |
ADENINE |
static Nucleotide |
B |
static Nucleotide |
CYTOSINE |
static Nucleotide |
D |
static Nucleotide |
GUANINE |
static Nucleotide |
H |
static Nucleotide |
K |
static Nucleotide |
M |
static Nucleotide |
N |
static Nucleotide |
R |
static Nucleotide |
S |
static Nucleotide |
THYMINE |
static Nucleotide |
URACIL |
static Nucleotide |
V |
static Nucleotide |
W |
static Nucleotide |
Y |
Constructor and Description |
---|
Nucleotide(String inName) |
Nucleotide(String inName,
char in1LetterCode) |
Nucleotide(String inName,
char in1LetterCode,
Nucleotide.BaseType inBaseType) |
Modifier and Type | Method and Description |
---|---|
Nucleotide |
addDegeneracy(Nucleotide inValue) |
Nucleotide |
clone()
Returns an unlocked copy of the Nucleotide.
|
static Nucleotide[] |
degenerateValues() |
Nucleotide.BaseType |
getBaseType() |
Nucleotide |
getComplement() |
Collection<Nucleotide> |
getDegeneracy() |
String |
getDegeneracyAsString() |
Character |
getOneLetterCode() |
boolean |
isAmbiguous() |
Nucleotide |
lock() |
Nucleotide |
register()
Puts the Nucleotide into the Set of unique Nucleotides returned by Nucleotide.values().
|
static Nucleotide |
valueOf(char inChar)
Returns the Nucleotide whose 1-letter code matches the specified String.
|
static Nucleotide |
valueOf(String inString)
Returns the Nucleotide whose name or 1-letter code matches the specified String.
|
static Nucleotide[] |
values() |
add, add, addAtom, addAtoms, addAtoms, addAtoms, addElementalComposition, addElementalComposition, addElementalComposition, addKa, addKa, calculateMassFromElementalComposition, clearAttributes, clearCalculatedProperties, clearElementalComposition, compareTo, equals, formatMassString, getAtoms, getAttribute, getAttributeNames, getAverageMass, getChemicalFormula, getChemicalFormulaWithSubscripts, getElementalComposition, getKas, getLastAtom, getMonoisotopicMass, getOrganicAverageMass, getPhysicalProperty, hasAttribute, hasAttributes, hashCode, isLocked, massesAreUserSet, name, remove, remove, removeAttribute, setAttribute, setAverageMass, setChemicalFormula, setElementalComposition, setMonoisotopicMass, setName, setOrganicAverageMass, setPhysicalProperty, toString, toXMLNode
public static final Nucleotide ADENINE
public static final Nucleotide GUANINE
public static final Nucleotide CYTOSINE
public static final Nucleotide THYMINE
public static final Nucleotide URACIL
public static final Nucleotide W
public static final Nucleotide S
public static final Nucleotide M
public static final Nucleotide K
public static final Nucleotide R
public static final Nucleotide Y
public static final Nucleotide B
public static final Nucleotide D
public static final Nucleotide H
public static final Nucleotide V
public static final Nucleotide N
public Nucleotide(String inName)
public Nucleotide(String inName, char in1LetterCode)
public Nucleotide(String inName, char in1LetterCode, Nucleotide.BaseType inBaseType)
public Nucleotide lock()
public Nucleotide register()
public static Nucleotide valueOf(String inString)
inString
- the name or 1-letter code for the Nucleotide to retrievepublic static Nucleotide valueOf(char inChar)
inChar
- the 1-letter code for the Nucleotide to retrievepublic static Nucleotide[] values()
public static Nucleotide[] degenerateValues()
public Nucleotide clone()
public Nucleotide.BaseType getBaseType()
public Character getOneLetterCode()
public Nucleotide getComplement()
public Nucleotide addDegeneracy(Nucleotide inValue)
public Collection<Nucleotide> getDegeneracy()
public String getDegeneracyAsString()
public boolean isAmbiguous()