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