Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
df390f16
Commit
df390f16
authored
Aug 7, 2018
by
Gerardo Tauriello
Browse files
Options
Downloads
Patches
Plain Diff
Doc: fixed alignment i/o examples.
parent
20ac05ea
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/io/doc/io.rst
+6
-6
6 additions, 6 deletions
modules/io/doc/io.rst
with
6 additions
and
6 deletions
modules/io/doc/io.rst
+
6
−
6
View file @
df390f16
...
@@ -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 align
ed fasta files use
# or for multiple align
ments (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 align
ed fasta files
# or
for
multiple align
ments (here in FASTA format)
io.SaveAlignment(aln,'al
gnm.aln',format="clu
sta
l"
)
io.SaveAlignment(aln,
'al
n.fa
sta
'
)
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`.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment