Skip to content

Commit

Permalink
[DOC] Fix alignment_result doc
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler committed Nov 2, 2023
1 parent 999c0bf commit 4fdf506
Showing 1 changed file with 34 additions and 6 deletions.
40 changes: 34 additions & 6 deletions include/seqan3/alignment/pairwise/alignment_result.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,15 @@ class alignment_result
}

/*!\brief Returns the end position of the first sequence of the alignment.
* \return The calculated alignment end of sequence 1 (inclusive).
* \return The calculated alignment end of sequence 1 (exclusive).
* \details
*
* \if DEV
* The return type (default: `size_t`) is deduced from
* seqan3::detail::alignment_result_value_type::end_positions_t::first.
* \else
* The return type is `size_t`.
* \endif
*
* \note This function is only available if the end position of the first sequence was requested via the
* alignment configuration (see seqan3::align_cfg::output_end_position).
Expand All @@ -247,7 +255,15 @@ class alignment_result
}

/*!\brief Returns the end position of the second sequence of the alignment.
* \return A pair of positions in the respective sequences, where the calculated alignment ends (inclusive).
* \return The calculated alignment end of sequence 2 (exclusive).
* \details
*
* \if DEV
* The return type (default: `size_t`) is deduced from
* seqan3::detail::alignment_result_value_type::end_positions_t::second.
* \else
* The return type is `size_t`.
* \endif
*
* \note This function is only available if the end position of the second sequence was requested via the
* alignment configuration (see seqan3::align_cfg::output_end_position).
Expand All @@ -261,10 +277,16 @@ class alignment_result
}

/*!\brief Returns the begin position of the first sequence of the alignment.
* \return A pair of positions in the respective sequences, where the calculated alignment starts.
*
* \return The calculated alignment begin of sequence 1 (inclusive).
* \details
*
* \if DEV
* The return type (default: `size_t`) is deduced from
* seqan3::detail::alignment_result_value_type::begin_positions_t::first.
* \else
* The return type is `size_t`.
* \endif
*
* Guaranteed to be smaller than or equal to `sequence1_end_position()`.
*
* \note This function is only available if the begin position of the first sequence was requested via the
Expand All @@ -279,10 +301,16 @@ class alignment_result
}

/*!\brief Returns the begin position of the second sequence of the alignment.
* \return A pair of positions in the respective sequences, where the calculated alignment starts.
*
* \return The calculated alignment begin of sequence 2 (inclusive).
* \details
*
* \if DEV
* The return type (default: `size_t`) is deduced from
* seqan3::detail::alignment_result_value_type::begin_positions_t::second.
* \else
* The return type is `size_t`.
* \endif
*
* Guaranteed to be smaller than or equal to `sequence2_end_position()`.
*
* \note This function is only available if the begin position of the second sequence was requested via the
Expand Down

0 comments on commit 4fdf506

Please sign in to comment.