From cee6d09c31642aad7389ddcaf4cb8e9473dd08ff Mon Sep 17 00:00:00 2001 From: Gerardo Tauriello <gerardo.tauriello@unibas.ch> Date: Wed, 5 Apr 2017 18:20:26 +0200 Subject: [PATCH] Doc update - Copy functions for sequences. --- modules/seq/base/doc/seq.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/seq/base/doc/seq.rst b/modules/seq/base/doc/seq.rst index 5c6c38411..8b1e74105 100644 --- a/modules/seq/base/doc/seq.rst +++ b/modules/seq/base/doc/seq.rst @@ -219,6 +219,11 @@ The SequenceHandle :return: The sequence as a string. + .. method:: Copy() + + Create a deep copy of the sequence. The newly created sequence has the same + attached view (not a deep copy of the view!). + .. function:: SequenceFromChain(name, chain) :return: Sequence extracted from one letter codes in given *chain* with a @@ -390,7 +395,8 @@ an alignment: .. method:: Copy() - Create a deep copy of the alignment + Create a deep copy of the alignment by copying each contained sequence + (see :meth:`SequenceHandle.Copy`) .. method:: GetPos(seq_index, res_index) -- GitLab