41 #ifndef _YEASTMITOCHONDRIALGENETICCODE_H_ 42 #define _YEASTMITOCHONDRIALGENETICCODE_H_ 45 #include "../Alphabet/NucleicAlphabet.h" 71 std::vector<int> v(2);
78 std::vector<std::string> v(2);
87 return (state == 48 || state == 50);
92 return (i == 48 || i == 50);
111 #endif //_YEASTMITOCHONDRIALGENETICCODE_H_ std::vector< std::string > getStopCodonsAsChar() const
An alphabet exception thrown when trying to specify a bad char to the alphabet.
This class implements the Invertebrate Mitochondrial genetic code as describe on the NCBI website: ht...
int charToInt(const std::string &state) const
Give the int description of a state given its string description.
size_t getNumberOfStopCodons() const
This alphabet is used to deal NumericAlphabet.
virtual YeastMitochondrialGeneticCode * clone() const
bool isStop(const std::string &state) const
Tells is a particular codon is a stop codon.
bool isAltStart(const std::string &state) const
Tells is a particular codon is an alternative start codon.
CodonAlphabet codonAlphabet_
virtual ~YeastMitochondrialGeneticCode()
bool isStop(int state) const
Tells is a particular codon is a stop codon.
std::vector< int > getStopCodonsAsInt() const
An alphabet exception thrown when trying to specify a bad int to the alphabet.
YeastMitochondrialGeneticCode(const NucleicAlphabet *alphaibet)
bool isAltStart(int state) const
Tells is a particular codon is an alternative start codon.
Partial implementation of the Transliterator interface for genetic code object.
The abstract base class for nucleic alphabets.
std::string intToChar(int state) const
Give the string description of a state given its int description.