1 #ifndef __SEQUENCE_SEQALPHABETS_HPP__ 3 #define __SEQUENCE_SEQALPHABETS_HPP__ 50 extern const alphabet_t::size_type
POLYEOS;
59 bool isDNA(
const char & ch);
91 bool operator()(
const char & nucleotide)
const;
bool isDNA(const char &ch)
test if character is part of Sequence::dna_alphabet
std::array< const char, 16 > alphabet_t
Container type for nucleotide alphabets.
Tests if a character is in the set A,G,C,T.
The namespace in which this library resides.
const alphabet_t dna_alphabet
Alphabet for DNA sequences Valid DNA characters. Upper-case only. Only - is accepted as gap character...
bool operator()(const char &c) const
This functor can be used to determine if a range contains characters that the SNP analysis routines i...
const alphabet_t::size_type NOTPOLYCHAR
An index from dna_poly_alphabet >= this is not a valid character for variation analysis.
const alphabet_t dna_poly_alphabet
Alphabet for polymorphism (SNP) analysis. 16 characters are used so that we may encode 2 nucleotides ...
const alphabet_t::size_type POLYEOS
The value of terminating an encoded string of SNP data.