Table of Contents

Module: __init__ Bio/sources/__init__.py

Base code for representing a database source of sequences.

This module contains code which can be used to describe a specialized location where sequence information is available from. The code here covers the basic cases (ie. a CGI script to retrieve information from) as classes (CGI, in our example) which need to be supplied the database specific information. So, if you want to programmatically describe a database, this is the place to start looking for useful classes.

Imported modules   
from Bio import StdHandler, SeqRecord
from Bio.ReseekFile import ReseekFile
from Bio.Tools.MultiProc.copen import copen_fn
from Bio.WWW import RequestLimiter
from Martel import Parser
import StringIO
import operator
import time
import urllib
Functions   
_my_urlencode
  _my_urlencode 
_my_urlencode ( params )

urllib only handles key=value pairs. However, some CGI scripts also contain parameters that are passed without the key= part. Thus, search through the params for empty strings (or None), and handle these myself.

Classes   
BioCorba

Represent a BioCorba BioSequenceCollection for SeqRecord objects.

BioSQL

Represent a BioSQL-style database to retrieve SeqRecord objects.

CGI

cgi

IndexedFile

Return SeqRecord objects from an indexed file.

Source

Base class for representing a database source.


Table of Contents

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