Package Bio :: Package Geo :: Class Iterator
[hide private]
[frames] | no frames]

Class Iterator

source code

Iterator interface to move over a file of Geo entries one at a time.

Uses the fact that each GEO record begins with a line starting ^ (caret).

Instance Methods [hide private]
 
__init__(self, handle, parser=None)
Initialize the iterator.
source code
 
next(self) source code
 
__iter__(self) source code
Method Details [hide private]

__init__(self, handle, parser=None)
(Constructor)

source code 

Initialize the iterator.

Arguments: o handle - A handle with GEO entries to iterate through. returning them. If None, then the raw entry will be returned.