public class CodonUsage extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XML_BIAS_ATT |
static java.lang.String |
XML_CODON_USAGE |
static java.lang.String |
XML_FREQ_PER_1000_ATT |
static java.lang.String |
XML_NUMBER_ATT |
Constructor and Description |
---|
CodonUsage() |
CodonUsage(XMLTag inXMLTag) |
Modifier and Type | Method and Description |
---|---|
java.lang.Float |
getBias()
Returns the bias - the fraction of this codon's use as compared to the other codons that
code for the same amino acid.
|
java.lang.Float |
getFreqPer1000()
Returns the frequency (per 1000 codons) that this codon was observed in the set of sequences.
|
java.lang.Integer |
getNumber()
Returns the number of times this codon was observed in the set of sequences.
|
CodonUsage |
setBias(java.lang.Float inValue)
Specifies the bias - the fraction of this codon's use as compared to the other codons that
code for the same amino acid.
|
CodonUsage |
setFreqPer1000(java.lang.Float inValue)
Specifies the frequency (per 1000 codons) that this codon was observed in the set of sequences.
|
CodonUsage |
setNumber(java.lang.Integer inValue)
Specifies the number of times this codon was observed in the set of sequences.
|
XMLTag |
toXMLTag() |
public static final java.lang.String XML_CODON_USAGE
public static final java.lang.String XML_NUMBER_ATT
public static final java.lang.String XML_FREQ_PER_1000_ATT
public static final java.lang.String XML_BIAS_ATT
public CodonUsage()
public CodonUsage(XMLTag inXMLTag)
public CodonUsage setNumber(java.lang.Integer inValue)
inValue
- the number of times this codon was observed in the set of sequencespublic java.lang.Integer getNumber()
public CodonUsage setFreqPer1000(java.lang.Float inValue)
inValue
- the frequency (per 1000 codons) that this codon was observed in the set of sequencespublic java.lang.Float getFreqPer1000()
public CodonUsage setBias(java.lang.Float inValue)
inValue
- the fraction of this codon's use out of the total for all codons coding for the same amino acidpublic java.lang.Float getBias()
[email protected]