SeqAn3  3.0.3
The Modern C++ library for sequence analysis.
seqan3::detail::trim_fn Struct Reference

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

#include <seqan3/range/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. More...
 
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 views::take_until.

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: