SeqAn3  3.0.0
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::ScoringScheme.

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: