Package bpm :: Module faclient
[hide private]
[frames] | no frames]

Module faclient

source code

A client class for the FuncAssociate web service at

http://llama.mshri.on.ca/cgi/funcassociate/serv

The documentation of the FuncAssociate API may be found at

http://llama.mshri.on.ca/funcassociate/doc

COPYRIGHT AND LICENSE

Copyright (c) 2010, President and Fellows of Harvard College and Gabriel Berriz gberriz@hms.harvard.edu. All rights reserved.

This module is distributed as "The Program" under the Harvard University End-User License Agreement. http://llama.mshri.on.ca/license.html.

Classes [hide private]
  ServiceError
Exception raised when the response from server includes a non-null error.
  NetworkError
Exception raised when server fails to respond to a ping request.
  TimeoutError
Exception raised when response from the server fails to arrive within the prescribed time interval.
  InputError
Exception raised by functionate method upon detecting bad inputs from user.
  _fc
  FuncassociateClient
Variables [hide private]
  DEFAULT_SERVICE_HOST = 'http://llama.mshri.on.ca'
  DEFAULT_SERVICE_URL = '/cgi/funcassociate/serv'
  c = _fc()
  response = c.functionate(query= ("YBL071W-A", "YCL055W", "YCR0...
  headers = "N", "X", "LOD", "P", "P_adj", "attrib ID", "attrib ...
  info = response ["request_info"]
  reps = info ["reps"]
  below_detection_threshhold = "< %f" %(1.0/ float(reps))
  __package__ = 'bpm'
Variables Details [hide private]

response

Value:
c.functionate(query= ("YBL071W-A", "YCL055W", "YCR094W", "YDL127W", "Y\
FL029C", "YGR271C-A", "YHR099W", "YJR066W", "YKL203C", "YNL289W"), spe\
cies= "Saccharomyces cerevisiae", namespace= "sgd_systematic")

headers

Value:
"N", "X", "LOD", "P", "P_adj", "attrib ID", "attrib name"