37 std::toupper(c)) ) > 3;
51 std::toupper(nucleotide));
55 return ( d > 3 && d < 14 );
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.
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
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.
bool operator()(const char &nucleotide) const