Provides functions for translating a triplet of nucleotides into an amino acid. More...
#include <tuple>
#include <seqan3/alphabet/aminoacid/aa27.hpp>
#include <seqan3/alphabet/aminoacid/translation_genetic_code.hpp>
#include <seqan3/alphabet/aminoacid/translation_details.hpp>
#include <seqan3/core/type_traits/range.hpp>
Go to the source code of this file.
Namespaces | |
seqan3 | |
The main SeqAn3 namespace. | |
Functions | |
template<genetic_code gc = genetic_code::CANONICAL, nucleotide_alphabet nucl_type> | |
constexpr aa27 | seqan3::translate_triplet (nucl_type const &n1, nucl_type const &n2, nucl_type const &n3) noexcept |
Translate one nucleotide triplet into single amino acid (single nucleotide interface). More... | |
template<genetic_code gc = genetic_code::CANONICAL, std::ranges::input_range range_type> | |
constexpr aa27 | seqan3::translate_triplet (range_type &&input_range) |
Translate one nucleotide triplet into single amino acid (range interface). More... | |
template<genetic_code gc = genetic_code::CANONICAL, std::ranges::random_access_range rng_t> | |
constexpr aa27 | seqan3::translate_triplet (rng_t &&input_range) |
Translate one nucleotide triplet into single amino acid (range interface, input range allows random access). More... | |
template<genetic_code gc = genetic_code::CANONICAL, typename tuple_type > | |
constexpr aa27 | seqan3::translate_triplet (tuple_type const &input_tuple) noexcept |
Translate one nucleotide triplet into single amino acid (tuple interface). More... | |
Provides functions for translating a triplet of nucleotides into an amino acid.