58 template <WritableAlphabet sequence_alphabet_t, WritableQualityAlphabet quality_alphabet_t>
61 sequence_alphabet_t, quality_alphabet_t>
66 sequence_alphabet_t, quality_alphabet_t>;
101 SEQAN3_DOXYGEN_ONLY(( constexpr
qualified(component_type const alph) noexcept {} ))
103 SEQAN3_DOXYGEN_ONLY(( constexpr
qualified(indirect_component_type
const alph) noexcept {} ))
105 SEQAN3_DOXYGEN_ONLY(( constexpr
qualified & operator=(component_type const alph) noexcept {} ))
107 SEQAN3_DOXYGEN_ONLY(( constexpr
qualified &
operator=(indirect_component_type
const alph) noexcept {} ))
165 return char_is_valid_for<sequence_alphabet_type>(c);
171 template <
typename sequence_alphabet_type,
typename quality_alphabet_type>
172 qualified(sequence_alphabet_type &&, quality_alphabet_type &&)
quality_alphabet_t quality_alphabet_type
Second template parameter as member type.
Definition: qualified.hpp:72
constexpr qualified(indirect_component_type const alph) noexcept
Construction via a value of a subtype that is assignable to one of the components.
Definition: qualified.hpp:103
constexpr auto complement
Return the complement of a nucleotide object.
Definition: concept.hpp:104
constexpr auto to_char
Return the char representation of an alphabet object.
Definition: concept.hpp:285
alphabet_phred_t< quality_alphabet_type > phred_type
Equals the phred_type of the quality_alphabet_type.
Definition: qualified.hpp:77
sequence_alphabet_t sequence_alphabet_type
First template parameter as member type.
Definition: qualified.hpp:70
constexpr auto assign_char_strictly_to
Assign a character to an alphabet object, throw if the character is not valid.
Definition: concept.hpp:577
constexpr qualified & assign_phred(phred_type const c) noexcept
Assign from a phred value. This modifies the internal quality letter.
Definition: qualified.hpp:128
The main SeqAn3 namespace.
alphabet_char_t< sequence_alphabet_type > char_type
Equals the char_type of sequence_alphabet_type.
Definition: qualified.hpp:75
Joins an arbitrary alphabet with a quality alphabet.
Definition: qualified.hpp:59
constexpr char_type to_char() const noexcept
Return a character. This reads the internal sequence letter.
Definition: qualified.hpp:145
constexpr qualified & assign_char(char_type const c) noexcept
Assign from a character. This modifies the internal sequence letter.
Definition: qualified.hpp:114
static constexpr bool char_is_valid(char_type const c) noexcept
Validate whether a character is valid in the sequence alphabet.
Definition: qualified.hpp:163
constexpr auto assign_phred_to
Assign a phred score to a quality alphabet object.
Definition: concept.hpp:201
The CRTP base for a combined alphabet that contains multiple values of different alphabets at the sam...
Definition: alphabet_tuple_base.hpp:188
Provides seqan3::NucleotideAlphabet.
constexpr phred_type to_phred() const noexcept
Return the phred value. This reads the internal quality letter.
Definition: qualified.hpp:139
decltype(seqan3::to_char(std::declval< alphabet_type const >())) alphabet_char_t
The char_type of the alphabet; defined as the return type of seqan3::to_char.
Definition: concept.hpp:294
constexpr auto to_phred
The public getter function for the phred representation of a quality score.
Definition: concept.hpp:104
A concept that indicates whether an alphabet represents nucleotides.
decltype(seqan3::to_phred(std::declval< alphabet_type >())) alphabet_phred_t
The phred_type of the alphabet; defined as the return type of seqan3::to_phred.
Definition: concept.hpp:114
constexpr qualified() noexcept=default
Defaulted.
constexpr qualified complement() const noexcept requires NucleotideAlphabet< sequence_alphabet_t >
Return a qualified where the quality is preserved, but the sequence letter is complemented.
Definition: qualified.hpp:154
Provides seqan3::alphabet_tuple_base.
constexpr auto assign_char_to
Assign a character to an alphabet object.
Definition: concept.hpp:395
qualified & assign_char_strictly(char_type const c)
Strict assign from a character. This modifies the internal sequence letter.
Definition: qualified.hpp:121