SeqAn3  3.0.1
The Modern C++ library for sequence analysis.
seqan3::search_cfg::mode< mode_t > Struct Template Reference

Configuration element to determine the search mode. More...

#include <seqan3/search/configuration/mode.hpp>

+ Inheritance diagram for seqan3::search_cfg::mode< mode_t >:

Public Attributes

mode_t value
 The stored config value.
 

Related Functions

(Note that these are not member functions.)

Type deduction guides
template<typename mode_t >
 mode (mode_t) -> mode< remove_cvref_t< mode_t >>
 Deduces search mode type from constructor argument.
 

Detailed Description

template<typename mode_t>
struct seqan3::search_cfg::mode< mode_t >

Configuration element to determine the search mode.

This configuration element can be used to determine which hits are supported. Currently these modes are available:

Mode Behaviour
seqan3::search_cfg::all Report all hits within error bounds.
seqan3::search_cfg::all_best Report all hits with the lowest number of errors within the bounds.
seqan3::search_cfg::best Report one best hit (hit with lowest error) within bounds.
seqan3::search_cfg::strata Report all hits within best + x errors.

Example

int main()
{
// Report the hit with the least number of errors (either 0 or 1 errors).
// Report all hits with best + 1 error. E.g., if the best hit has 1 error, all hits with 1 and 2 error are reported.
return 0;
}

The documentation for this struct was generated from the following file:
seqan3::search_cfg::strata
Configuration element to receive all hits with the best number of errors plus the strata value....
Definition: mode.hpp:57
seqan3::search_cfg::deletion
A strong type of underlying type uint8_t or double that represents the number or rate of deletions.
Definition: max_error_common.hpp:130
seqan3::configuration
Collection of elements to configure an algorithm.
Definition: configuration.hpp:81
seqan3::search_cfg::substitution
A strong type of underlying type uint8_t or double that represents the number or rate of substitution...
Definition: max_error_common.hpp:64
all.hpp
Meta-header for the search configuration module .
seqan3::search_cfg::total
A strong type of underlying type uint8_t or double that represents the number or rate of total errors...
Definition: max_error_common.hpp:30
seqan3::search_cfg::max_error
A configuration element for the maximum number of errors across all error types (mismatches,...
Definition: max_error.hpp:43
seqan3::search_cfg::best
constexpr detail::search_mode_best best
Configuration element to receive one best hit (with the lowest number of errors).
Definition: mode.hpp:49
seqan3::search_cfg::insertion
A strong type of underlying type uint8_t or double that represents the number or rate of insertions.
Definition: max_error_common.hpp:97
seqan3::search_cfg::mode
Configuration element to determine the search mode.
Definition: mode.hpp:86