Provides seqan3::views::translate and seqan3::views::translate_single. More...
#include <vector>
#include <stdexcept>
#include <seqan3/alphabet/nucleotide/dna5.hpp>
#include <seqan3/alphabet/aminoacid/aa27.hpp>
#include <seqan3/alphabet/aminoacid/translation.hpp>
#include <seqan3/core/add_enum_bitwise_operators.hpp>
#include <seqan3/core/type_traits/range.hpp>
#include <seqan3/range/container/small_string.hpp>
#include <seqan3/range/detail/random_access_iterator.hpp>
#include <seqan3/range/views/deep.hpp>
#include <seqan3/range/views/detail.hpp>
#include <seqan3/std/concepts>
#include <seqan3/std/ranges>
#include <seqan3/range/container/concept.hpp>
Go to the source code of this file.
Namespaces | |
seqan3 | |
The main SeqAn3 namespace. | |
seqan3::views | |
The SeqAn namespace for views. | |
Enumerations | |
enum | seqan3::translation_frames : uint8_t { seqan3::translation_frames::FWD_FRAME_0 = 1, seqan3::translation_frames::FWD_FRAME_1 = 1 << 1, seqan3::translation_frames::FWD_FRAME_2 = 1 << 2, seqan3::translation_frames::REV_FRAME_0 = 1 << 3, seqan3::translation_frames::REV_FRAME_1 = 1 << 4, seqan3::translation_frames::REV_FRAME_2 = 1 << 5, seqan3::translation_frames::FWD_REV_0 = FWD_FRAME_0 | REV_FRAME_0, seqan3::translation_frames::FWD_REV_1 = FWD_FRAME_1 | REV_FRAME_1, seqan3::translation_frames::FWD_REV_2 = FWD_FRAME_2 | REV_FRAME_2, seqan3::translation_frames::FWD = FWD_FRAME_0 | FWD_FRAME_1 | FWD_FRAME_2, seqan3::translation_frames::REV = REV_FRAME_0 | REV_FRAME_1 | REV_FRAME_2, seqan3::translation_frames::SIX_FRAME = FWD | REV } |
Specialisation values for single and multiple translation frames. More... | |
Variables | |
template<> | |
constexpr bool | seqan3::add_enum_bitwise_operators< translation_frames > = true |
Enable bitwise operators for enum translation_frames. | |
Alphabet related views | |
constexpr auto | seqan3::views::translate |
A view that translates nucleotide into aminoacid alphabet with 1, 2, 3 or 6 frames. More... | |
constexpr auto | seqan3::views::translate_single |
A view that translates nucleotide into aminoacid alphabet for one of the six frames. More... | |
Provides seqan3::views::translate and seqan3::views::translate_single.