Class Specialization
Iupac
Iupac code for DNA.
Iupac
Specialization of
Implements
Metafunctions
IsSimpleTests type to be simple. (SimpleType)
SpecThe spec of a class. (SimpleType)
ValueType of the items in the container. (SimpleType)
Functions
assignAssigns one object to another object. (SimpleType)
ordValueMaps an alphabet 1-to-1 to the interval [0..ValueSize). (SimpleType)
Remarks
The ValueSize of Iupac is 16. The nucleotides are enumerated from 0 to 15 in this order: 'U'=0, 'T', 'A', 'W', 'C', 'Y', 'M', 'H', 'G', 'K', 'R', 'D', 'S', 'B', 'V', 'N'=15.
Objects of type Iupac can be converted to various other types and vice versa. Unkown values are converted to 'N'.
Iupac is typedef for SimpleType<char,_Iupac>, while _Iupac is a helper specialization tag class.
Example Programs
SeqAn - Sequence Analysis Library - www.seqan.de