Table of Contents

Class: FeatureParser Bio/GenBank/__init__.py

Parse GenBank files into Seq + Feature objects.

Methods   
__init__
parse
  __init__ 
__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.

  parse 
parse ( self,  handle )

Parse the specified handle.


Table of Contents

This document was automatically generated on Mon Jul 1 12:02:49 2002 by HappyDoc version 2.0.1