From d27c1eac0f9ebf5df6f40072794274874ad5680b Mon Sep 17 00:00:00 2001 From: Xavier Robin <xavier.robin@unibas.ch> Date: Wed, 22 May 2019 15:59:11 +0200 Subject: [PATCH] Document arguments and return type of MergePairwiseAlignments --- modules/seq/alg/doc/seqalg.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/seq/alg/doc/seqalg.rst b/modules/seq/alg/doc/seqalg.rst index ca98d1b65..8f1abfd84 100644 --- a/modules/seq/alg/doc/seqalg.rst +++ b/modules/seq/alg/doc/seqalg.rst @@ -9,8 +9,17 @@ Algorithms for Alignments .. function:: MergePairwiseAlignments(pairwise_alns, ref_seq) + :param pairwise_alns: A list of pairwise alignments + :type pairwise_alns: :class:`~ost.seq.AlignmentList` + + :param ref_seq: The reference sequence + :type ref_seq: :class:`~ost.seq.SequenceHandle` + + :returns: The merged alignment + :rtype: :class:`~ost.seq.AlignmentHandle` + Merge a list of pairwise alignments into a multiple sequence alignments. This - function uses the reference sequence as the anchor and inserts gaps where + function uses the reference sequence as the anchor and inserts gaps where needed. This is also known as the *star method*. The resulting multiple sequence alignment provides a simple way to map between -- GitLab