 |
SeqAn3
3.0.2
The Modern C++ library for sequence analysis.
|
|
Go to the documentation of this file.
140 ret[
'D'] = ret[
'B']; ret[
'd'] = ret[
'B'];
141 ret[
'E'] = ret[
'B']; ret[
'e'] = ret[
'B'];
142 ret[
'J'] = ret[
'I']; ret[
'j'] = ret[
'I'];
143 ret[
'L'] = ret[
'I']; ret[
'l'] = ret[
'I'];
144 ret[
'M'] = ret[
'I']; ret[
'm'] = ret[
'I'];
145 ret[
'N'] = ret[
'B']; ret[
'n'] = ret[
'B'];
146 ret[
'O'] = ret[
'K']; ret[
'o'] = ret[
'K'];
147 ret[
'Q'] = ret[
'B']; ret[
'q'] = ret[
'B'];
148 ret[
'R'] = ret[
'K']; ret[
'r'] = ret[
'K'];
149 ret[
'T'] = ret[
'S']; ret[
't'] = ret[
'S'];
150 ret[
'U'] = ret[
'C']; ret[
'u'] = ret[
'C'];
151 ret[
'V'] = ret[
'I']; ret[
'v'] = ret[
'I'];
152 ret[
'W'] = ret[
'F']; ret[
'w'] = ret[
'F'];
153 ret[
'X'] = ret[
'S']; ret[
'x'] = ret[
'S'];
154 ret[
'Y'] = ret[
'F']; ret[
'y'] = ret[
'F'];
155 ret[
'Z'] = ret[
'B']; ret[
'z'] = ret[
'B'];
183 constexpr
aa10murphy operator""_aa10murphy(
char const c) noexcept
205 for (
size_t i = 0; i < n; ++i)
206 r[i].assign_char(s[i]);
Provides seqan3::aminoacid_alphabet.
The reduced Murphy amino acid alphabet.
Definition: aa10murphy.hpp:80
static constexpr detail::min_viable_uint_t< size > alphabet_size
The size of the alphabet, i.e. the number of different values it can take.
Definition: alphabet_base.hpp:176
static constexpr std::array< rank_type, 256 > char_to_rank
Char to value conversion table.
Definition: aa10murphy.hpp:124
Provides seqan3::aminoacid_base.
constexpr derived_type & assign_char(char_type const c) noexcept
Assign from a character, implicitly converts invalid characters.
Definition: alphabet_base.hpp:142
static constexpr char_type rank_to_char[alphabet_size]
Value to char conversion table.
Definition: aa10murphy.hpp:109
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
std::conditional_t< std::same_as< char, void >, char, char > char_type
The char representation; conditional needed to make semi alphabet definitions legal.
Definition: alphabet_base.hpp:62
constexpr aa10murphy() noexcept=default
Defaulted.
A CRTP-base that refines seqan3::alphabet_base and is used by the amino acids.
Definition: aminoacid_base.hpp:30
constexpr char_type to_lower(char_type const c) noexcept
Converts 'A'-'Z' to 'a'-'z' respectively; other characters are returned as is.
Definition: transform.hpp:81