CytoscapeRPC install

From BioAssist
Revision as of 20:38, 13 January 2011 by Jjbot (Talk | contribs)

Jump to: navigation, search

Install

  • Download and install Cytoscape
  • Install the plugin via the Cytoscape plugin manager
  • Now install a XML-RPC client for a programming language that you are familiar with and use the examples to create your first Cytoscape application.

Test

A method of testing Cytoscape using Python.

  • Open Cytoscape and activate the plug-in (Plugins->Cytoscape RPC->Activate CytoscapeRPC) keep the default port and click 'OK'.
  • Open a python shell
  • Type in the following commands:
  1. import xmlrpclib
  2. server = xmlrpclib.ServerProxy('http://localhost:9000')
  3. server.Cytoscape.test()

The shell should now display 'It works!'