40 #ifndef _ECHINODERMMITOCHONDRIALGENETICCODE_H_ 41 #define _ECHINODERMMITOCHONDRIALGENETICCODE_H_ 44 #include "../Alphabet/NucleicAlphabet.h" 70 std::vector<int> v(2);
77 std::vector<std::string> v(2);
86 return (state == 48 || state == 50);
91 return (i == 48 || i == 50);
109 #endif //_ECHINODERMMITOCHONDRIALGENETICCODE_H_ This class implements the Echinoderm and Faltworms Mitochondrial genetic code as describe on the NCBI...
bool isAltStart(const std::string &state) const
Tells is a particular codon is an alternative start codon.
An alphabet exception thrown when trying to specify a bad char to the alphabet.
int charToInt(const std::string &state) const
Give the int description of a state given its string description.
This alphabet is used to deal NumericAlphabet.
std::vector< int > getStopCodonsAsInt() const
virtual ~EchinodermMitochondrialGeneticCode()
bool isStop(int state) const
Tells is a particular codon is a stop codon.
size_t getNumberOfStopCodons() const
std::vector< std::string > getStopCodonsAsChar() const
CodonAlphabet codonAlphabet_
EchinodermMitochondrialGeneticCode(const NucleicAlphabet *alphabet)
bool isAltStart(int state) const
Tells is a particular codon is an alternative start codon.
virtual EchinodermMitochondrialGeneticCode * clone() const
An alphabet exception thrown when trying to specify a bad int to the alphabet.
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.
bool isStop(const std::string &state) const
Tells is a particular codon is a stop codon.