Difference between revisions of "CytoscapeRPC install"

From BioAssist
Jump to: navigation, search
(Install)
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 (all dependencies are now included in the plugin itself)
+
# Install CytoscapeRPC, this can either be done via the plugin manager or by manually downloading the plugin:
* 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.
+
## Plugin manager: Start Cytoscape and go to Plugins -> Manage Plugins. Under 'Available for install' open 'Communication and Scripting'. Select the latest version of CytoscapeRPC and click 'Install'.
 +
## Manual download: Go to the [http://chianti.ucsd.edu/cyto_web/plugins/ Cytoscape plugins site] or [https://trac.nbic.nl/cytoscaperpc/downloads NBIC Trac] and download the latest version. Copy the downloaded jar file into the plugins directory of your Cytoscape folder.
 +
# After installation restart Cytoscape.
 +
 
 +
=Start=
 +
# Start Cytoscape.
 +
# Go to Plugins -> CytoscapeRPC and choose 'Start CytoscapeRPC'.
  
 
=Test=
 
=Test=

Revision as of 17:02, 16 March 2011

Install

  1. Download and install Cytoscape
  2. Install CytoscapeRPC, this can either be done via the plugin manager or by manually downloading the plugin:
    1. Plugin manager: Start Cytoscape and go to Plugins -> Manage Plugins. Under 'Available for install' open 'Communication and Scripting'. Select the latest version of CytoscapeRPC and click 'Install'.
    2. Manual download: Go to the Cytoscape plugins site or NBIC Trac and download the latest version. Copy the downloaded jar file into the plugins directory of your Cytoscape folder.
  3. After installation restart Cytoscape.

Start

  1. Start Cytoscape.
  2. Go to Plugins -> CytoscapeRPC and choose 'Start CytoscapeRPC'.

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