90 inline namespace literals
106 constexpr
phred63 operator""_phred63(
char const c) noexcept
122 inline std::vector<phred63>
operator""_phred63(
char const * s, std::size_t n)
124 std::vector<phred63> r;
127 for (
size_t i = 0; i < n; ++i)
128 r[i].assign_char(s[i]);
A CRTP-base that makes defining a custom alphabet easier.
Definition: alphabet_base.hpp:57
constexpr derived_type & assign_char(char_type const chr) noexcept
Assign from a character, implicitly converts invalid characters.
Definition: alphabet_base.hpp:165
std::conditional_t< std::same_as< char_t, void >, char, char_t > char_type
The char representation; conditional needed to make semi alphabet definitions legal.
Definition: alphabet_base.hpp:72
Quality type for traditional Sanger and modern Illumina Phred scores.
Definition: phred63.hpp:47
static constexpr char_type offset_char
The projection offset between char and rank score representation.
Definition: phred63.hpp:86
static constexpr phred_type offset_phred
The projection offset between Phred and rank score representation.
Definition: phred63.hpp:80
constexpr phred63() noexcept=default
Defaulted.
A CRTP-base that refines seqan3::alphabet_base and is used by the quality alphabets.
Definition: phred_base.hpp:31
int8_t phred_type
The integer representation of the quality score.
Definition: phred_base.hpp:40
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
Provides seqan3::phred42 quality scores.