Difference between revisions of "CytoscapeRPC install"

From BioAssist
Jump to: navigation, search
Line 1: Line 1:
 
=Install=
 
=Install=
 
* Download and install [http://www.cytoscape.org/ Cytoscape]
 
* Download and install [http://www.cytoscape.org/ Cytoscape]
* Download XmlRpc server packages from the [http://ws.apache.org/xmlrpc/ Apache foundation] and put the jars in the Cytoscape lib directory. If this does not work put the XmlRPC packages in the plugins directory.
+
* Install the plugin via the Cytoscape plugin manager
* Download [https://gforge.nbic.nl/projects/cytoscaperpc/ CytoscapeRPC] and put it in the Cytoscape plugin directory.
+
 
* Now install a XML-RPC client for a programming language that you are familiar with and use the [https://wiki.nbic.nl/index.php/CytoscapeRPC#Client_Code_Examples examples] to create your first Cytoscape application.
 
* Now install a XML-RPC client for a programming language that you are familiar with and use the [https://wiki.nbic.nl/index.php/CytoscapeRPC#Client_Code_Examples examples] to create your first Cytoscape application.
  

Revision as of 20:38, 13 January 2011

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!'