Skip to content
Snippets Groups Projects
Unverified Commit 17fd343c authored by Xavier Robin's avatar Xavier Robin
Browse files

Document To and From String functions for Alignments and Sequences

parent bec213b0
No related branches found
No related tags found
No related merge requests found
......@@ -236,6 +236,15 @@ Loading sequence or alignment files
:exc:`~ost.io.IOException` if the import fails due to an erroneous or
inexistent file.
.. function:: AlignmentFromString(data, format)
.. function:: SequenceFromString(data, format)
.. function:: SequenceListFromString(data, format)
Load alignment, sequence or list of sequences from string.
The format argument is mandatory. For a list of supported formats,
see :doc:`sequence_formats`.
Saving Sequence Data
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
......@@ -278,6 +287,14 @@ Saving Sequence Data
For a list of file formats supported by :func:`SaveAlignment` see
:doc:`sequence_formats`.
.. function:: AlignmentToString(ali, format)
.. function:: SequenceToString(seq, format)
.. function:: SequenceListToString(seq_list, format)
Return alignment, sequence or sequence list as a string.
The format argument is mandatory. For a list of supported formats
see :doc:`sequence_formats`.
.. _img-io:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment