5 #ifndef BPP_SEQ_GENETICCODE_CILIATENUCLEARGENETICCODE_H
6 #define BPP_SEQ_GENETICCODE_CILIATENUCLEARGENETICCODE_H
9 #include "../Alphabet/NucleicAlphabet.h"
41 return std::vector<int>({56});
46 return std::vector<std::string>({
"TGA"});
56 bool isStop(
const std::string& state)
const
65 return state == 62 || state == 30;
71 return i == 62 || i == 30;
This class implements the mold, protozoan, and coelenterate mitochondrial code and the Mycoplasma/Spi...
size_t getNumberOfStopCodons() const
bool isAltStart(int state) const
Tells is a particular codon is an alternative start codon.
virtual CiliateNuclearGeneticCode * clone() const
std::vector< int > getStopCodonsAsInt() const
bool isStop(int state) const
Tells is a particular codon is a stop codon.
virtual ~CiliateNuclearGeneticCode()
bool isStop(const std::string &state) const
Tells is a particular codon is a stop codon.
std::vector< std::string > getStopCodonsAsChar() const
CiliateNuclearGeneticCode(std::shared_ptr< const NucleicAlphabet > alphabet)
bool isAltStart(const std::string &state) const
Tells is a particular codon is an alternative start codon.
Partial implementation of the Transliterator interface for genetic code object.
std::shared_ptr< const CodonAlphabet > codonAlphabet_
This alphabet is used to deal NumericAlphabet.