69 #ifdef SEQAN3_DEPRECATED_310
101 inline namespace literals
117 constexpr
phred42 operator""_phred42(
char const c) noexcept
138 for (
size_t i = 0; i < n; ++i)
139 r[i].assign_char(s[i]);
A CRTP-base that makes defining a custom alphabet easier.
Definition: alphabet_base.hpp:81
constexpr derived_type & assign_char(char_type const chr) noexcept
Assign from a character, implicitly converts invalid characters.
Definition: alphabet_base.hpp:211
Quality type for traditional Sanger and modern Illumina Phred scores.
Definition: phred42.hpp:47
constexpr phred42() noexcept=default
Defaulted.
static constexpr phred_type offset_phred
The projection offset between Phred and rank score representation.
Definition: phred42.hpp:91
constexpr phred42(phred_type const p)
Allow construction from the Phred score value.
Definition: phred42.hpp:74
static constexpr char_type offset_char
The projection offset between char and rank score representation.
Definition: phred42.hpp:97
A CRTP-base that refines seqan3::alphabet_base and is used by the quality alphabets.
Definition: phred_base.hpp:31
constexpr phred42 & assign_phred(phred_type const p) noexcept
Assign from the numeric Phred score value.
Definition: phred_base.hpp:137
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.