Table of Contents

Class: Dictionary Bio/SwissProt/SProt.py

Accesses a SwissProt file using a dictionary interface.

Methods   
__getattr__
__getitem__
__init__
__len__
keys
  __getattr__ 
__getattr__ ( self,  name )

  __getitem__ 
__getitem__ ( self,  key )

  __init__ 
__init__ (
        self,
        indexname,
        parser=None,
        )

__init__(self, indexname, parser=None)

Open a SwissProt Dictionary. indexname is the name of the index for the dictionary. The index should have been created using the index_file function. parser is an optional Parser object to change the results into another form. If set to None, then the raw contents of the file will be returned.

  __len__ 
__len__ ( self )

  keys 
keys ( self )


Table of Contents

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