Table of Contents

Module: BioSeqDatabase BioSQL/BioSeqDatabase.py

Connect with a BioSQL database and load Biopython like objects from it.

This provides interfaces for loading biological objects from a relational database, and is compatible with the BioSQL standards.

Imported modules   
import BioSeq
import Loader
Functions   
open_database
  open_database 
open_database (
        driver="MySQLdb",
        *args,
        *kwargs,
        )

Main interface for loading a existing BioSQL-style database.

This function is the easiest way to retrieve a connection to a database, doing something like:

>>> from BioSeq import BioSeqDatabase >>> server = BioSeqDatabase.open_database(user = "root", db="minidb")

the various options are: driver -> The name of the database driver to use for connecting. The driver should implement the python DB API. By default, the MySQLdb driver is used. user -> the username to connect to the database with. passwd -> the password to connect with host -> the hostname of the database db -> the name of the database

Classes   
Adaptor
BioSeqDatabase
DBServer

Table of Contents

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