__init__ (
self,
handle,
parser=None,
has_header=0,
)
Initialize the iterator.
Arguments:
o handle - A handle with GenBank entries to iterate through.
o parser - An optional parser to pass the entries through before
returning them. If None, then the raw entry will be returned.
o has_header - Whether or not the file to iterate over has one of
those GenBank headers (ie. if you downloaded it directly from
GenBank). If so, we'll iterate over the header to get past it, and
then the iterator will be set up to return the first record in
the file.
|