| Class Specialization Dna Alphabet for DNA.
Simple Type
SimpleType
Dna
Dna Specialization of SimpleType Implements Simple Type Metafunctions
IsSimple | Tests type to be simple. (SimpleType)
Spec | The spec of a class. (SimpleType)
Value | Type of the items in the container. (SimpleType)
Functions
assign | Assigns one object to another object. (SimpleType)
convertResidueToFrequencyDist | Coverts a residue to a frequency distribution (profile).
ordValue | Maps an alphabet 1-to-1 to the interval [0..ValueSize). (SimpleType)
Remarks The ValueSize of Dna is 4. The nucleotides are enumerated this way: 'A' = 0, 'C' = 1, 'G' = 2, 'T' = 3. Objects of type Dna can be converted to various other types and vice versa. An object that has a value not in {'A', 'C', 'G', 'T'} is converted to 'A'. Dna is typedef for SimpleType<char,_Dna>, while _Dna is a helper specialization tag class. Example Programs Alphabets See Also Dna5, DnaIterator, DnaString, ValueSize SeqAn - Sequence Analysis Library - www.seqan.de