Skip to content
Snippets Groups Projects
Commit df390f16 authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Doc: fixed alignment i/o examples.

parent 20ac05ea
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ Loading sequence or alignment files ...@@ -142,7 +142,7 @@ Loading sequence or alignment files
myseq = io.LoadSequence('seq.fasta') myseq = io.LoadSequence('seq.fasta')
# for obtaining a SequenceList # for obtaining a SequenceList
seqlist = io.LoadSequenceList('seqs.fasta') seqlist = io.LoadSequenceList('seqs.fasta')
# or for multiple aligned fasta files use # or for multiple alignments (here from CLUSTAL)
aln = io.LoadAlignment('algnm.aln', format="clustal") aln = io.LoadAlignment('algnm.aln', format="clustal")
For a list of file formats supported by :func:`LoadSequence` see For a list of file formats supported by :func:`LoadSequence` see
...@@ -215,8 +215,8 @@ Saving Sequence Data ...@@ -215,8 +215,8 @@ Saving Sequence Data
io.SaveSequence(myseq, 'seq.fasta') io.SaveSequence(myseq, 'seq.fasta')
# for saving a SequenceList # for saving a SequenceList
io.SaveSequenceList(seqlist, 'seqlist.fasta') io.SaveSequenceList(seqlist, 'seqlist.fasta')
# or multiple aligned fasta files # or for multiple alignments (here in FASTA format)
io.SaveAlignment(aln,'algnm.aln',format="clustal") io.SaveAlignment(aln, 'aln.fasta')
For a list of file formats supported by :func:`SaveSequence` see For a list of file formats supported by :func:`SaveSequence` see
:doc:`sequence_formats`. :doc:`sequence_formats`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment