5 #ifndef BPP_SEQ_GENETICCODE_ECHINODERMMITOCHONDRIALGENETICCODE_H
6 #define BPP_SEQ_GENETICCODE_ECHINODERMMITOCHONDRIALGENETICCODE_H
9 #include "../Alphabet/NucleicAlphabet.h"
41 return std::vector<int>({48, 50});
46 return std::vector<std::string>({
"TAA",
"TAG"});
53 return state == 48 || state == 50;
56 bool isStop(
const std::string& state)
const
59 return i == 48 || i == 50;
This class implements the Echinoderm and Faltworms Mitochondrial genetic code as describe on the NCBI...
size_t getNumberOfStopCodons() const
virtual ~EchinodermMitochondrialGeneticCode()
bool isStop(int state) const
Tells is a particular codon is a stop codon.
bool isStop(const std::string &state) const
Tells is a particular codon is a stop codon.
EchinodermMitochondrialGeneticCode(std::shared_ptr< const NucleicAlphabet > alphabet)
bool isAltStart(const std::string &state) const
Tells is a particular codon is an alternative start codon.
virtual EchinodermMitochondrialGeneticCode * clone() const
std::vector< int > getStopCodonsAsInt() const
std::vector< std::string > getStopCodonsAsChar() const
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.
std::shared_ptr< const CodonAlphabet > codonAlphabet_
This alphabet is used to deal NumericAlphabet.