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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
df390f16
Commit
df390f16
authored
6 years ago
by
Gerardo Tauriello
Browse files
Options
Downloads
Patches
Plain Diff
Doc: fixed alignment i/o examples.
parent
20ac05ea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide 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,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 align
ed fasta files use
aln = io.LoadAlignment('algnm.aln',format="clustal")
# or for multiple align
ments (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 align
ed fasta files
io.SaveAlignment(aln,'al
gnm.aln',format="clu
sta
l"
)
io.SaveSequenceList(seqlist,
'seqlist.fasta')
# or
for
multiple align
ments (here in FASTA format)
io.SaveAlignment(aln,
'al
n.fa
sta
'
)
For a list of file formats supported by :func:`SaveSequence` see
: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
register
or
sign in
to comment