Package Bio :: Package SeqIO :: Module SwissIO
[hide private]
[frames] | no frames]

Module SwissIO

source code

Bio.SeqIO support for the "swiss" (aka SwissProt/UniProt) file format.

You are expected to use this module via the Bio.SeqIO functions. See also the Bio.SwissProt module which offers more than just accessing the sequences as SeqRecord objects.

Functions [hide private]
 
SwissIterator(handle)
Breaks up a Swiss-Prot/UniProt file into SeqRecord objects.
source code
Variables [hide private]
  __package__ = 'Bio.SeqIO'
Function Details [hide private]

SwissIterator(handle)

source code 
Breaks up a Swiss-Prot/UniProt file into SeqRecord objects.

Every section from the ID line to the terminating // becomes
a single SeqRecord with associated annotation and features.

This parser is for the flat file "swiss" format as used by:
 * Swiss-Prot aka SwissProt
 * TrEMBL
 * UniProtKB aka UniProt Knowledgebase

It does NOT read their new XML file format.
http://www.expasy.org/sprot/

For consistency with BioPerl and EMBOSS we call this the "swiss"
format.