|
(Note that these are not member functions.)
|
template<arithmetic score_t> |
constexpr detail::score_type< score_t > | using_score_type {} |
| Helper variable used to configure the score type for the alignment algorithm. More...
|
|
constexpr detail::with_alignment_type | with_alignment {} |
| Helper Variable used to select trace computation.
|
|
constexpr detail::with_back_coordinate_type | with_back_coordinate {} |
| Helper variable used to select end-position computation.
|
|
constexpr detail::with_front_coordinate_type | with_front_coordinate {} |
| Helper variable used to select begin position computation.
|
|
constexpr detail::with_score_type | with_score {} |
| Helper variable used to select score-only computation.
|
|
|
template<typename alignment_result_tag_t > |
| result (alignment_result_tag_t) -> result< alignment_result_tag_t > |
| Deduces the alignment result from the given constructor argument.
|
|
template<typename alignment_result_tag_t , arithmetic score_t> |
| result (alignment_result_tag_t, detail::score_type< score_t >) -> result< alignment_result_tag_t, score_t > |
| Deduces the alignment result from the given constructor arguments.
|
|
template<typename alignment_result_tag_t = detail::with_score_type, typename score_t = int32_t>
class seqan3::align_cfg::result< alignment_result_tag_t, score_t >
Sets the result of the alignment computation.
- Template Parameters
-
alignment_result_tag_t | The type used to specify which feature should be computed during the pairwise alignment. Defaults to seqan3::detail::with_score_type. |
The output of the pairwise alignment can be configured using this result configuration element. Depending on the settings, the most efficient implementation is chosen to compute the result. Currently four different modes can be configured (first constructor parameter):
- computing only the score,
- computing in addition the end position,
- computing in addition the begin position,
- and finally also computing the alignment.
These settings will directly affect the contents of the seqan3::alignment_result object which is returned by the alignment algorithm. For example, if you chose the alignment feature, your result object will contain the score, end point, begin point and the alignment.
In addition, you can specify the score type with the second constructor argument (see example).
By default, the alignment algorithm will only compute the score with score type int32_t
.
Example