From df390f169f9cadfa396b7dc49eff7fd58b5c5dbc Mon Sep 17 00:00:00 2001 From: Gerardo Tauriello <gerardo.tauriello@unibas.ch> Date: Tue, 7 Aug 2018 10:48:34 +0200 Subject: [PATCH] Doc: fixed alignment i/o examples. --- modules/io/doc/io.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/io/doc/io.rst b/modules/io/doc/io.rst index 580c6650a..ccff89f86 100644 --- a/modules/io/doc/io.rst +++ b/modules/io/doc/io.rst @@ -142,8 +142,8 @@ Loading sequence or alignment files myseq = io.LoadSequence('seq.fasta') # for obtaining a SequenceList seqlist = io.LoadSequenceList('seqs.fasta') - # or for multiple aligned fasta files use - aln = io.LoadAlignment('algnm.aln',format="clustal") + # or for multiple alignments (here from CLUSTAL) + aln = io.LoadAlignment('algnm.aln', format="clustal") For a list of file formats supported by :func:`LoadSequence` see :doc:`sequence_formats`. @@ -212,11 +212,11 @@ Saving Sequence Data .. code-block:: python # recognizes FASTA file by file extension - io.SaveSequence(myseq,'seq.fasta') + io.SaveSequence(myseq, 'seq.fasta') # for saving a SequenceList - io.SaveSequenceList(seqlist,'seqlist.fasta') - # or multiple aligned fasta files - io.SaveAlignment(aln,'algnm.aln',format="clustal") + io.SaveSequenceList(seqlist, 'seqlist.fasta') + # or for multiple alignments (here in FASTA format) + io.SaveAlignment(aln, 'aln.fasta') For a list of file formats supported by :func:`SaveSequence` see :doc:`sequence_formats`. -- GitLab