Definition of the range adaptor object type for seqan3::views::translate and seqan3::views::translate_single.
More...
#include <seqan3/alphabet/views/translate.hpp>
|
template<std::ranges::range urng_t> |
constexpr friend auto | operator| (urng_t &&urange, translate_fn const &me) |
| This adaptor is usable without setting the frames parameter in which case the default is chosen.
|
|
template<bool single>
struct seqan3::detail::translate_fn< single >
Definition of the range adaptor object type for seqan3::views::translate and seqan3::views::translate_single.
- Template Parameters
-
◆ operator()()
template<bool single>
template<std::ranges::range urng_t>
Directly return an instance of the view, initialised with the given parameters.
- Parameters
-
[in] | urange | The underlying range. |
[in] | tf | The frame that should be used for translation. |
- Returns
- A range of translated sequence(s).
◆ default_frames
Initial value:=
@ single
The text is a single range.
Definition search/fm_index/concept.hpp:90
@ forward_frame0
The first forward frame starting at position 0.
The default frames parameter for the translation view adaptors.
The documentation for this struct was generated from the following file: