Package Bio :: Package SeqIO :: Module SeqXmlIO :: Class SeqXmlIterator
[hide private]
[frames] | no frames]

Class SeqXmlIterator

source code

XMLRecordIterator --+
                    |
                   SeqXmlIterator

Breaks seqXML file into SeqRecords.

Assumes valid seqXML please validate beforehand.

Instance Methods [hide private]
 
__init__(self, handle)
Create the object.
source code
 
_attr_seqXML(self, attr_dict, record)
Parse the document metadata.
source code
 
_attr_property(self, attr_dict, record)
Parse key value pair properties and store them as annotations.
source code
 
_attr_species(self, attr_dict, record)
Parse the species information.
source code
 
_attr_entry(self, attr_dict, record)
New entry set id and the optional entry source.
source code
 
_elem_DNAseq(self, node, record)
Parse DNA sequence.
source code
 
_elem_RNAseq(self, node, record)
Parse RNA sequence.
source code
 
_elem_AAseq(self, node, record)
Parse protein sequence.
source code
 
_elem_description(self, node, record)
Parse the description.
source code
 
_attr_DBRef(self, attr_dict, record)
Parse a database cross reference
source code

Inherited from XMLRecordIterator: __iter__

Inherited from XMLRecordIterator (private): _attributes

Method Details [hide private]

__init__(self, handle)
(Constructor)

source code 
Create the object.

Overrides: XMLRecordIterator.__init__