Package Bio :: Package Sequencing :: Module Phd :: Class Iterator
[hide private]
[frames] | no frames]

Class Iterator

source code

Iterates over a file of multiple PHD records.

Methods: next Return the next record from the stream, or None.

Instance Methods [hide private]
 
__init__(self, handle, parser=None)
Create a new iterator.
source code
object
next(self)
Return the next PHD record from the file.
source code
 
__iter__(self)
Iterate over the PHY file record bt record.
source code
Method Details [hide private]

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

source code 

Create a new iterator. handle is a file-like object. parser is an optional Parser object to change the results into another form. If set to None, then the raw contents of the file will be returned.

next(self)

source code 

Return the next PHD record from the file. If no more records return None.

Returns: object