Bio :: GenBank :: RecordParser :: Class RecordParser
[hide private]
[frames] | no frames]

Class RecordParser

source code

object --+
         |
        RecordParser

Parse GenBank files into Record objects (OBSOLETE).

Direct use of this class is discouraged, and may be deprecated in
a future release of Biopython.

Please use the Bio.GenBank.parse(...) or Bio.GenBank.read(...) functions
instead.

Instance Methods [hide private]
 
__init__(self, debug_level=0)
Initialize the parser.
source code
 
parse(self, handle)
Parse the specified handle into a GenBank record.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, debug_level=0)
(Constructor)

source code 
Initialize the parser.

Arguments:
o debug_level - An optional argument that species the amount of
debugging information the parser should spit out. By default we have
no debugging info (the fastest way to do things), but if you want
you can set this as high as two and see exactly where a parse fails.

Overrides: object.__init__