Package Bio :: Package WWW :: Module SCOP
[hide private]
[frames] | no frames]

Module SCOP

source code

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

Functions [hide private]
 
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.
source code
UndoHandle
_open(cgi, params={}, get=1)
Open a handle to SCOP.
source code
Function Details [hide private]

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)

source code 

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.

_open(cgi, params={}, get=1)

source code 

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.

Returns: UndoHandle