__init__ (
self,
debug_level=0,
use_fuzziness=1,
feature_cleaner=utils.FeatureValueCleaner(),
)
Initialize a GenBank parser and Feature consumer.
Arguments:
o debug_level - An optional argument that species the amount of
debugging information Martel 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.
o use_fuzziness - Specify whether or not to use fuzzy representations.
The default is 1 (use fuzziness).
o feature_cleaner - A class which will be used to clean out the
values of features. This class must implement the function
clean_value. GenBank.utils has a "standard" cleaner class, which
is used by default.
|