1 #ifndef theplu_yat_omic_codon
2 #define theplu_yat_omic_codon
82 Codon(
const std::string& str);
111 bool start(
void)
const;
116 bool stop(
void)
const;
121 const std::vector<DNA>& rhs)
const;
123 typedef std::map<std::vector<DNA>, char, Compare_> Map_;
126 Map_::const_iterator iter_;
128 void add_to_map(
char aa,
const std::string& codons);
130 void init(
const std::vector<DNA>& vec);
131 void create_map(
void);
Functor comparing if two Codons translate to the same amino acid.
Definition: Codon.h:145
Codon(void)
Defaulf constructor.
bool operator()(const Codon &lhs, const Codon &rhs) const
char amino_acid(void) const
const DNA & operator()(size_t i) const
std::string amino_acid_long(void) const