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

Sets the alignment mode. More...

#include <seqan3/alignment/configuration/align_config_mode.hpp>

+ Inheritance diagram for seqan3::align_cfg::mode< mode_type >:

Public Attributes

mode_type value
 The stored config value.
 

Related Functions

(Note that these are not member functions.)

Type deduction guides
template<typename mode_type >
 mode (mode_type) -> mode< mode_type >
 Deduces the alignment mode from the given constructor argument.
 

Detailed Description

template<typename mode_type>
struct seqan3::align_cfg::mode< mode_type >

Sets the alignment mode.

Template Parameters
mode_typeThe type of the alignment mode.

The alignment algorithm can be categorised in different modes. For example, the local and the global alignment are two different modes, while the semi-global alignment is a variation of the global alignment. This differentiation makes it possible to define a subset of configurations that can work with a particular mode. Since it is not possible to guess what the desired mode for a user is, this configuration must be provided for the alignment algorithm and cannot be defaulted.

Example


The documentation for this struct was generated from the following file:
debug_stream.hpp
Provides seqan3::debug_stream and related types.
dna4.hpp
Provides seqan3::dna4, container aliases and string literals.
align_pairwise.hpp
Provides pairwise alignment function.
seqan3::align_cfg::mode
Sets the alignment mode.
Definition: align_config_mode.hpp:94
seqan3::nucleotide_scoring_scheme
A data structure for managing and computing the score of two nucleotides.
Definition: nucleotide_scoring_scheme.hpp:37
align_config_scoring.hpp
Provides seqan3::align_cfg::scoring.
nucleotide_scoring_scheme.hpp
Provides seqan3::nucleotide_scoring_scheme.
seqan3::align_pairwise
constexpr auto align_pairwise(sequence_t &&seq, alignment_config_t const &config)
Computes the pairwise alignment for a pair of sequences or a range over sequence pairs.
Definition: align_pairwise.hpp:139
std::tie
T tie(T... args)
seqan3::align_cfg::scoring
Sets the scoring scheme for the alignment algorithm.
Definition: align_config_scoring.hpp:41
seqan3::mismatch_score
A strong type of underlying type score_type that represents the score two different characters.
Definition: scoring_scheme_base.hpp:67
seqan3::debug_stream
debug_stream_type debug_stream
A global instance of seqan3::debug_stream_type.
Definition: debug_stream.hpp:39
align_config_mode.hpp
Provides global alignment configurations.
seqan3::match_score
A strong type of underlying type score_type that represents the score of two matching characters.
Definition: scoring_scheme_base.hpp:42
seqan3::global_alignment
constexpr detail::global_alignment_type global_alignment
Helper variable to select the global alignment.
Definition: align_config_mode.hpp:54