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

A configuration element for the gap scheme. More...

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

+ Inheritance diagram for seqan3::align_cfg::gap< gap_scheme_t >:

Public Attributes

gap_scheme_t value
 The stored config value.
 

Related Functions

(Note that these are not member functions.)

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

Detailed Description

template<typename gap_scheme_t>
struct seqan3::align_cfg::gap< gap_scheme_t >

A configuration element for the gap scheme.

Template Parameters
gap_scheme_tThe type of the underlying gap scheme; must be of type seqan3::gap_scheme.

Configures the gap scheme for the alignment algorithm. The gap scheme determines how gaps are penalised inside of the alignment algorithm. If the gap scheme is not configured, it will default to a linear gap scheme initialised with edit distance. Note that the gap open score is used as an additional score. This means that the score for opening a gap during the affine alignment execution is the sum of the gap score and the gap open score.

Example

int main()
{
// Configuration with linear gaps.
// Configuration with affine_gaps. Score for opening a gap during the alignment algorithm will be -11.
}
See also
seqan3::gap_scheme

The documentation for this struct was generated from the following file:
gap_scheme.hpp
Provides seqan3::gap_scheme.
seqan3::gap_scheme
A scheme for representing and computing scores against gap characters.
Definition: gap_scheme.hpp:84
seqan3::gap_open_score
A strong type of underlying type score_type that represents an additional score (usually negative) th...
Definition: gap_scheme.hpp:60
align_config_gap.hpp
Provides seqan3::align_config::gap.
seqan3::gap_score
A strong type of underlying type score_type that represents the score of any character against a gap ...
Definition: gap_scheme.hpp:34
seqan3::align_cfg::gap
A configuration element for the gap scheme.
Definition: align_config_gap.hpp:42