SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
seqan3::detail::trim_fn Struct Reference

The underlying type of seqan3::views::trim_quality. More...

#include <seqan3/alphabet/views/trim_quality.hpp>

Public Member Functions

template<std::ranges::input_range irng_t, typename threshold_t >
constexpr auto operator() (irng_t &&irange, threshold_t const threshold) const
 Trim based on minimum Phred score.
 
template<typename threshold_t >
constexpr auto operator() (threshold_t const threshold) const
 Store the argument and return a range adaptor closure object.
 

Detailed Description

The underlying type of seqan3::views::trim_quality.

Under the hood, this delegates to std::views::take_while.

Member Function Documentation

◆ operator()()

template<std::ranges::input_range irng_t, typename threshold_t >
constexpr auto seqan3::detail::trim_fn::operator() ( irng_t &&  irange,
threshold_t const  threshold 
) const
inlineconstexpr

Trim based on minimum Phred score.

Template Parameters
irng_tThe type of the range being processed. See seqan3::views::trim_quality for requirements.
Parameters
irangeThe range being processed.
thresholdThe minimum quality as a Phred score [integral type].

The documentation for this struct was generated from the following file:
Hide me