Package Bio :: Package Blast :: Module NCBIStandalone :: Class Iterator
[show private | hide private]
[frames | no frames]

Class Iterator


Iterates over a file of multiple BLAST results.

Methods: next Return the next record from the stream, or None.
Method Summary
  __init__(self, handle, parser)
__init__(self, handle, parser=None)
  __iter__(self)
  next(self)
next(self) -> object

Method Details

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

__init__(self, handle, parser=None)

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)

next(self) -> object

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

Generated by Epydoc 2.1 on Wed Jan 31 09:59:43 2007 http://epydoc.sf.net