This is a guide for Python users who want to use Cytoscape via cyREST workflows in IPython Notebooks.
I assume you are a Python programmer. You should know how to use pip, IPython Notebook, etc. Also, these examples a lot of 3rd party libraries to demonstrate realistic data analysis and visualization workflows. This means you have to install all of your dependencies manually.
- Make sure your machine already has Python and related libraries, such as ipython, numpy, scipy, pandas, etc.
- Start Cytoscape (cyREST should be installed!)
- Clone the repository:
git clone https://github.com/idekerlab/cy-rest-python
- Change directory:
cd cy-rest-python
- Start IPython Notebook:
ipython notebook
- Select index.ipynb to start the example
If you don't want to install everything by yourself, you can use our Docker container instead.
docker build -t idekerlab/cyrest-demo:1.0 .
docker run -d -p 80:8888 -v $PWD:/notebooks -e "PASSWORD=cyrest" -e "USE_HTTP=1" idekerlab/cyrest-demo:1.0
and open the notebook with your web browser. Make sure youy are using correct IP address!
If you just want to see sample notebooks, you can access them from this index page.