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 (PRIVATE).
source code
 
_attr_property(self, attr_dict, record)
Parse key value pair properties and store them as annotations (PRIVATE).
source code
 
_attr_species(self, attr_dict, record)
Parse the species information (PRIVATE).
source code
 
_attr_entry(self, attr_dict, record)
Set new entry with id and the optional entry source (PRIVATE).
source code
 
_elem_DNAseq(self, node, record)
Parse DNA sequence (PRIVATE).
source code
 
_elem_RNAseq(self, node, record)
Parse RNA sequence (PRIVATE).
source code
 
_elem_AAseq(self, node, record)
Parse protein sequence (PRIVATE).
source code
 
_elem_description(self, node, record)
Parse the description (PRIVATE).
source code
 
_attr_DBRef(self, attr_dict, record)
Parse a database cross reference (PRIVATE).
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__