5 #ifndef BPP_SEQ_ALPHABET_DNA_H
6 #define BPP_SEQ_ALPHABET_DNA_H
32 DNA(
bool exclamationMarkCountsAsGap =
false);
44 return new DNA(*
this);
52 std::vector<int>
getAlias(
int state)
const;
53 std::vector<std::string>
getAlias(
const std::string& state)
const;
54 int getGeneric(
const std::vector<int>& states)
const;
55 std::string
getGeneric(
const std::vector<std::string>& states)
const;
This alphabet is used to deal with DNA sequences.
std::vector< int > getAlias(int state) const
Get all resolved states that match a generic state.
DNA & operator=(const DNA &bia)
DNA(bool exclamationMarkCountsAsGap=false)
bool isResolvedIn(int state1, int state2) const
Tells if a given (potentially unresolved) state can be resolved in another resolved state.
std::string getAlphabetType() const
Identification method.
int getGeneric(const std::vector< int > &states) const
Get the generic state that match a set of states.
The abstract base class for nucleic alphabets.
NucleicAlphabet & operator=(const NucleicAlphabet &bia)
This alphabet is used to deal NumericAlphabet.