Class Specialization
Iupac code for amino acids.
Include Headers
The ValueSize of AminoAcid is 24.
The amino acids are enumerated from 0 to 15 in this order:
'A'=0, 'R', 'N', 'D', 'C', 'Q', 'E', 'G', 'H', 'I', 'L', 'K', 'M', 'F', 'P', 'S', 'T', 'W', 'Y', 'V'=19.
The remaining 4 symbols are:
'B'=20 (Aspartic Acid, Asparagine), 'Z'=21 (Glutamic Acid, Glutamine), 'X'=22 (unknown), '*'=23 (terminator)
Objects of type AminoAcid can be converted to char and vice versa. Unkown values are converted to 'X'.
AminoAcid is typedef for SimpleType<char,AminoAcid_>, while AminoAcid_ is a helper specialization tag class.
Specialization of
IsSimpleTests type to be simple. (SimpleType)
SpecThe spec of a class. (SimpleType)
ValueType of the items in the container or behind an iterator. (SimpleType)
assignAssigns one object to another object. (SimpleType)
convertResidueToFrequencyDistCoverts a residue to a frequency distribution (profile).
ordValueMaps an alphabet 1-to-1 to the interval [0..ValueSize). (SimpleType)
Example Programs
SeqAn - Sequence Analysis Library -

Page built @2013/07/11 09:12:38