Package Bio :: Package config :: Module DBRegistry :: Class IndexedFileDB
[show private | hide private]
[frames | no frames]

Class IndexedFileDB

RegisterableObject --+    
                     |    
              DBObject --+
                         |
                        IndexedFileDB


Return SeqRecord objects from an indexed file.

This module deals with both flat file and BerkeleyDB indexes. These indexed files can be created by any of the compliant indexing implementations from Biopython, BioPerl, BioJava, etc...
Method Summary
  __init__(self, name, dbname, doc)
Intialize with information about loading the database.
    Inherited from DBObject
  __getitem__(self, key)
  get(self, key, default)
S.get(key[, default]) -> data
  get_as(self, key, to_io, default)
S.get_as(key[, to_io][, default]) -> object
  set(self, key, data)

Method Details

__init__(self, name, dbname, doc='')
(Constructor)

Intialize with information about loading the database.

dbname is the name of the database to open. This will likely be a filesystem path to a database directory.
Overrides:
Bio.config.DBRegistry.DBObject.__init__

Generated by Epydoc 2.1 on Wed Jan 31 09:58:00 2007 http://epydoc.sf.net