Difference between revisions of "CytoscapeRPC install"
From BioAssist
Line 1: | Line 1: | ||
=Install= | =Install= | ||
* Download and install [http://www.cytoscape.org/ Cytoscape] | * Download and install [http://www.cytoscape.org/ 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 [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:
import xmlrpclib
server = xmlrpclib.ServerProxy('http://localhost:9000')
server.Cytoscape.test()
The shell should now display 'It works!'