SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
|
Stores the alignment results and gives access to score, alignment and the front and end positions. More...
#include <seqan3/alignment/pairwise/alignment_result.hpp>
Public Member Functions | |
Access functions | |
Functions to access elements of the alignment result type. | |
constexpr sequence1_id_t | sequence1_id () const noexcept |
Returns the alignment identifier of the first sequence. | |
constexpr sequence2_id_t | sequence2_id () const noexcept |
Returns the alignment identifier of the second sequence. | |
constexpr score_t | score () const noexcept |
Returns the alignment score. | |
constexpr auto | sequence1_end_position () const noexcept |
Returns the end position of the first sequence of the alignment. | |
constexpr auto | sequence2_end_position () const noexcept |
Returns the end position of the second sequence of the alignment. | |
constexpr auto | sequence1_begin_position () const noexcept |
Returns the begin position of the first sequence of the alignment. | |
constexpr auto | sequence2_begin_position () const noexcept |
Returns the begin position of the second sequence of the alignment. | |
constexpr alignment_t const & | alignment () const noexcept |
Returns the actual alignment, i.e. the base pair matching. | |
Friends | |
template<typename > | |
struct | alignment_result_printer |
template<typename configuration_t > | |
class | detail::policy_alignment_result_builder |
Befriend alignment result builder. | |
Constructors, destructor and assignment | |
alignment_result ()=default | |
alignment_result (alignment_result const &)=default | |
Defaulted. | |
alignment_result (alignment_result &&)=default | |
Defaulted. | |
alignment_result & | operator= (alignment_result const &)=default |
Defaulted. | |
alignment_result & | operator= (alignment_result &&)=default |
Defaulted. | |
~alignment_result ()=default | |
Defaulted. | |
Stores the alignment results and gives access to score, alignment and the front and end positions.
alignment_result_value_t | The underlying value type containing the information from the alignment computation. |
This class provides read-only access to the results of a pairwise alignment computation. It always contains an alignment identifier and the resulting score. Optionally – if the user requests – also the begin and end positions within the sequences and the alignment can be calculated. When accessing a field that has not been calculated, an assertion will fail during compilation.
|
default |
Defaulted.
|
inlineconstexprnoexcept |
Returns the actual alignment, i.e. the base pair matching.
|
inlineconstexprnoexcept |
Returns the alignment score.
|
inlineconstexprnoexcept |
Returns the begin position of the first sequence of the alignment.
The return type is size_t
.
Guaranteed to be smaller than or equal to sequence1_end_position()
.
|
inlineconstexprnoexcept |
Returns the end position of the first sequence of the alignment.
The return type is size_t
.
|
inlineconstexprnoexcept |
Returns the alignment identifier of the first sequence.
|
inlineconstexprnoexcept |
Returns the begin position of the second sequence of the alignment.
The return type is size_t
.
Guaranteed to be smaller than or equal to sequence2_end_position()
.
|
inlineconstexprnoexcept |
Returns the end position of the second sequence of the alignment.
The return type is size_t
.
|
inlineconstexprnoexcept |
Returns the alignment identifier of the second sequence.