84 constexpr aa27(aa27
const &) =
default;
85 constexpr aa27(aa27 &&) =
default;
86 constexpr aa27 & operator=(aa27
const &) =
default;
87 constexpr aa27 & operator=(aa27 &&) =
default;
127 static constexpr std::array<rank_type, 256>
char_to_rank 131 std::array<rank_type, 256> ret{};
187 for (
size_t i = 0; i < n; ++i)
alphabet_concept && assign_char(alphabet_concept &&alph, char_type const chr)
Returns the alphabet letter's value in character representation.
detail::min_viable_uint_t< size - 1 > rank_type
The type of the alphabet when represented as a number (e.g. via to_rank()).
Definition: alphabet_base.hpp:89
std::vector< aa27 > aa27_vector
Alias for an std::vector of seqan3::aa27.
Definition: aa27.hpp:159
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:58
The twenty-seven letter amino acid alphabet.
Definition: aa27.hpp:67
Free function/metafunction wrappers for alphabets with member functions/types.
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
char_t char_type
The type of the alphabet when converted to char (e.g. via to_char()).
Definition: alphabet_base.hpp:87
static constexpr char_type rank_to_char[value_size]
Value to char conversion table.
Definition: aa27.hpp:96
Provides utilities for modifying characters.
A CRTP-base that refines seqan3::alphabet_base and is used by the amino acids.
Definition: aminoacid_base.hpp:57
static constexpr std::array< rank_type, 256 > char_to_rank
Char to value conversion table.
Definition: aa27.hpp:128
constexpr char_type to_lower(char_type const c) noexcept
Converts 'A'-'Z' to 'a'-'z' respectively; other characters are returned as is.
Definition: char_operations.hpp:107