SeqAn3  3.0.1
The Modern C++ library for sequence analysis.
translate.hpp File Reference

Provides seqan3::views::translate and seqan3::views::translate_single. More...

+ Include dependency graph for translate.hpp:
+ This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Provides seqan3::views::translate and seqan3::views::translate_single.

Author
Sara Hetzel <sara.hetzel AT fu-berlin.de>