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

Class SeqXmlIterator

source code

       object --+    
                |    
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

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, handle)
(Constructor)

source code 
Create the object.
Overrides: object.__init__