public class CodonUsage extends Object
Modifier and Type | Field and Description |
---|---|
static String |
XML_BIAS_ATT |
static String |
XML_CODON_USAGE |
static String |
XML_FREQ_PER_1000_ATT |
static String |
XML_NUMBER_ATT |
Constructor and Description |
---|
CodonUsage() |
CodonUsage(XMLTag inXMLTag) |
Modifier and Type | Method and Description |
---|---|
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.
|
Float |
getFreqPer1000()
Returns the frequency (per 1000 codons) that this codon was observed in the set of sequences.
|
Integer |
getNumber()
Returns the number of times this codon was observed in the set of sequences.
|
CodonUsage |
setBias(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(Float inValue)
Specifies the frequency (per 1000 codons) that this codon was observed in the set of sequences.
|
CodonUsage |
setNumber(Integer inValue)
Specifies the number of times this codon was observed in the set of sequences.
|
XMLTag |
toXMLTag() |
public static final String XML_CODON_USAGE
public static final String XML_NUMBER_ATT
public static final String XML_FREQ_PER_1000_ATT
public static final String XML_BIAS_ATT
public CodonUsage()
public CodonUsage(XMLTag inXMLTag)
public CodonUsage setNumber(Integer inValue)
inValue
- the number of times this codon was observed in the set of sequencespublic Integer getNumber()
public CodonUsage setFreqPer1000(Float inValue)
inValue
- the frequency (per 1000 codons) that this codon was observed in the set of sequencespublic Float getFreqPer1000()
public CodonUsage setBias(Float inValue)
inValue
- the fraction of this codon's use out of the total for all codons coding for the same amino acidpublic Float getBias()