Table of Contents

Module: SCOP Bio/WWW/SCOP.py

SCOP.py

Provides code to access SCOP over the WWW. The main SCOP web page is available at: http://scop.mrc-lmb.cam.ac.uk/scop/

Functions: search Access the main CGI script. _open

Imported modules   
from Bio import File
import string
import urllib
Functions   
_open
search
  _open 
_open (
        cgi,
        params={},
        get=1,
        )

_open(cgi, params={}, get=1) -> UndoHandle

Open a handle to SCOP. cgi is the URL for the cgi script to access. params is a dictionary with the options to pass to it. get is a boolean that describes whether a GET should be used. Does some simple error checking, and will raise an IOError if it encounters one.

  search 
search (
        pdb=None,
        key=None,
        sid=None,
        disp=None,
        dir=None,
        loc=None,
        cgi='http://scop.mrc-lmb.cam.ac.uk/scop/search.cgi',
        **keywds,
        )

search(pdb=None, key=None, sid=None, disp=None, dir=None, loc=None, cgi=http://scop.mrc-lmb.cam.ac.uk/scop/search.cgi, **keywds)

Access search.cgi and return a handle to the results. See the online help file for an explanation of the parameters: http://scop.mrc-lmb.cam.ac.uk/scop/help.html

Raises an IOError if there's a network error.


Table of Contents

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