88 constexpr
rna4(
rna4 const &) =
default;
90 constexpr
rna4 & operator=(
rna4 const &) =
default;
91 constexpr
rna4 & operator=(
rna4 &&) =
default;
116 static constexpr std::array<rank_type, 256> char_to_rank = dna4::char_to_rank;
119 static const std::array<rna4, value_size> complement_table;
142 constexpr
rna4 operator""_rna4(
char const c) noexcept
161 for (
size_t i = 0; i < n; ++i)
172 constexpr std::array<rna4, rna4::value_size> rna4::complement_table
The four letter DNA alphabet of A,C,G,T.
Definition: dna4.hpp:73
alphabet_concept && assign_char(alphabet_concept &&alph, char_type const chr)
Returns the alphabet letter's value in character representation.
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:58
constexpr rna4(dna4 const &r) noexcept
Allow implicit construction from dna/rna of the same size.
Definition: rna4.hpp:97
constexpr rna4 & assign_rank(rank_type const c) noexcept
Assign from a numeric value.
Definition: alphabet_base.hpp:189
static detail::min_viable_uint_t< size > constexpr value_size
The size of the alphabet, i.e. the number of different values it can take.
Definition: alphabet_base.hpp:198
Provides seqan3::nucleotide_base.
char_t char_type
The type of the alphabet when converted to char (e.g. via to_char()).
Definition: alphabet_base.hpp:87
The four letter RNA alphabet of A,C,G,U.
Definition: rna4.hpp:71
A CRTP-base that refines seqan3::alphabet_base and is used by the nucleotides.
Definition: nucleotide_base.hpp:65
Contains seqan3::dna4, container aliases and string literals.
std::vector< rna4 > rna4_vector
Alias for an std::vector of seqan3::rna4.
Definition: rna4.hpp:128