19namespace seqan3::detail::adl_only
23template <
typename... args_t>
28struct to_phred_cpo :
public detail::customisation_point_object<to_phred_cpo, 2>
31 using base_t = detail::customisation_point_object<to_phred_cpo, 2>;
39 template <
typename alphabet_t>
48 template <
typename alphabet_t>
57 template <
typename alphabet_t>
59 std::forward<alphabet_t>(
alphabet).to_phred()
103inline constexpr auto to_phred = detail::adl_only::to_phred_cpo{};
111template <
typename alphabet_type>
123namespace seqan3::detail::adl_only
127template <
typename... args_t>
132struct assign_phred_to_cpo :
public detail::customisation_point_object<assign_phred_to_cpo, 2>
135 using base_t = detail::customisation_point_object<assign_phred_to_cpo, 2>;
137 using base_t::base_t;
152 template <
typename alphabet_t>
153 static constexpr auto
172 template <
typename alphabet_t>
173 static constexpr auto
188 template <
typename alphabet_t>
189 static constexpr auto
191 static_cast<alphabet_t
>(
alphabet.assign_phred(phred))
Core alphabet concept and free function/type trait wrappers.
A "pretty printer" for most SeqAn data structures and related types.
Definition debug_stream_type.hpp:79
#define SEQAN3_CPO_OVERLOAD(...)
A macro that helps to define a seqan3::detail::customisation_point_object.
Definition customisation_point.hpp:104
constexpr auto to_phred
The public getter function for the Phred representation of a quality score.
Definition alphabet/quality/concept.hpp:97
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 alphabet/quality/concept.hpp:109
constexpr auto assign_phred_to
Assign a Phred score to a quality alphabet object.
Definition alphabet/quality/concept.hpp:225
@ qual
The qualities, usually in Phred score notation.
The generic alphabet concept that covers most data types used in ranges.
A concept that indicates whether an alphabet represents quality scores.
Refines seqan3::alphabet and adds assignability.
A concept that indicates whether a writable alphabet represents quality scores.
The main SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
A type that can be specialised to provide customisation point implementations so that third party typ...
Definition alphabet/concept.hpp:46