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

Sets the scoring scheme for the alignment algorithm. More...

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

+ Inheritance diagram for seqan3::align_cfg::scoring< scoring_scheme_t >:

Public Attributes

scoring_scheme_t value
 The stored config value.
 

Related Functions

(Note that these are not member functions.)

Type deduction guides
template<typename scheme_t >
 scoring (scheme_t) -> scoring< remove_cvref_t< scheme_t >>
 Deduces the scoring scheme type from the constructor argument.
 

Detailed Description

template<typename scoring_scheme_t>
struct seqan3::align_cfg::scoring< scoring_scheme_t >

Sets the scoring scheme for the alignment algorithm.

Template Parameters
scoring_scheme_tThe type of the scoring scheme. Must satisfy seqan3::scoring_scheme.

The scoring scheme allows to specify how two symbols of an alphabet are scored inside of the alignment algorithm. The scheme depends on the alphabet type of the passed sequences and must be chosen accordingly. During the configuration of the pairwise alignment algorithm a static assert is triggered if the scoring scheme is not compatible with the given alphabet types. Accordingly, this configuration cannot be defaulted since it depends on the sequences and must be given as a minimal configuration.

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