__init__(self,
database,
format,
parser=None)
(Constructor)
| source code
|
Initialize an NCBI dictionary to retrieve sequences.
Create a new Dictionary to access GenBank. Valid values for database
are 'nucleotide' and 'protein'. Valid values for format are 'genbank'
(for nucleotide genbank and protein genpept) and 'fasta'. dely and retmax
are old options kept only for compatibility -- do not bother to set them.
parser is an optional parser object to change the results into another
form. If unspecified, then the raw contents of the file will be
returned.
|