Skip to content

Installation Guide

dotasek edited this page Feb 21, 2018 · 12 revisions

This page is here for legacy information. For the latest setup information please read this page instead


Installation Guide

Tested on:

  • Mac OS X 10.10.3
  • Java 8 u45
  • Cytoscape 3.2.1
  • cyREST 1.1.0

System Requirements

Installation

From App Manager

  1. Start Cytoscape
  2. Apps → App Manager
  3. Select cyREST
  4. Click install

From Cytoscape App Store

  1. Start Cytoscape
  2. Open cyREST page with your web browser
  3. Click Install button

From JAR File

  1. Download latest version as JAR file.
  2. Apps → App Manager → and click Install from file...
  3. Select the JAR file you just downloaded

From Source Code

Make sure you have:

  • Oracle JDK 8+
  • Apache Maven 3.3+
git clone https://github.com/idekerlab/cyREST.git
cd cyREST
mvn clean install

This creates new JAR file in target directory. Then, follow the instruction in From JAR File section of this document.

Test Your Installation

WARNING: Make sure you have Java 8 on your machine

  1. Make sure cyREST is up and running.
  • Click Apps → AppManager

  • Click Currently Installed tab

  • Make sure you can see Installed in the status column

  1. Open web browser
  2. Type the following URL:
    http://localhost:1234/v1
    
  3. If you get status message like the following, you are ready to use cyREST!
{
    apiVersion: "v1"
    numberOfCores: 8
    -memoryStatus: {
        usedMemory: 532
        freeMemory: 1430
        totalMemory: 1963
        maxMemory: 28217
    }
}

Change Port Number

By default, cyREST opens port 1234. This can be changed by editing Cytoscape Properties.

  1. Click Edit → Preferences → Properties...
  2. Click Add
  3. Type rest.port and click OK
  4. Type port number, like 8080, and click OK
  5. Restart Cytoscape
  6. Access the port (e.g. http://localhost:8080/v1) and make sure cyREST opens the specified port

REST Clients

cyREST provides a platform-independent API to access Cytoscape. This means you can use any programming languages and tools to access its API. Here is a list of popular clients:

For Web Browsers

Command Line Tools

For Python

For R

For Node.js