Cytoscape is an open source software platform for visualizing complex networks and integrating these with any type of attribute data. With Cytoscape, you can load molecular and genetic interaction data sets in many standards formats, project and integrate global datasets and functional annotations, establish powerful visual mappings across these data, perform advanced analysis and modeling and visualize and analyze human-curated pathway datasets.
This application requires a graphical connection. You can either use NoMachine or the browser-based Graphical Session on HPC OnDemand
Allocate an interactive session from Biowulf using a graphical connection (we recommend NX) and run the program. Sample session:
[user@biowulf]$ sinteractive --cpus-per-task=6 salloc.exe: Pending job allocation 46116226 salloc.exe: job 46116226 queued and waiting for resources salloc.exe: job 46116226 has been allocated resources salloc.exe: Granted job allocation 46116226 salloc.exe: Waiting for resource configuration salloc.exe: Nodes cn3144 are ready for job
To use Cytoscape, you must load the module. Type:
module load Cytoscape Cytoscape&
Cytoscape will create a configuration directory inside the user's home directory. This is usually /home/$USER/CytoscapeConfiguration. We have observed two potential issues around this:
Several batch jobs that automate task(s) in Cytoscape, usually running via an API, can write many files to the configuration directory. In some cases this can exceed the 16GB quota on the user's home directory causing many problems to the user and running jobs. A possible solution is to reset JAVA_OPTIONS and change the configuration directory location. For example, run the following before starting Cytoscape:
export JAVA_OPTIONS="-Duser.home=/data/$USER/CytoscapeConfiguration"
If user's switch between different versions of the Cytoscape module, they may encounter some incompatibilities since the same configuration directory is used regardless of which Cytoscape version is started. This could be especially true for Cytoscape plugins (apps) that are incompatible with certain versions of Cytoscape. Use the same solution as listed above or rename the previous configuration directory.
Cytoscape functionality can be extended using plugins, called Cytoscape Apps. There is an "app store" from where users can download, install, and manage these apps. However, to use the app store from a compute node on Biowulf (i.e. from an interactive session) Cytoscape must be configured to use the node's http proxy. Here are the steps on how to do this:
Allocate an sinteractive session as usual and run the following before starting Cytoscape:
echo $http_proxyAn example of the output you should see after running the above command is: http://dtn05-e0:3128. Here the proxy server is dtn05-e0 and port is 3128. You will likely see different values. Note them down.
If you want to install and manage Cytoscape apps in a different sinteractive session, you will may need to redo step 1. This is because the proxy server may be different between different compute nodes.