py2cytoscape
Python utilities for Cytoscape and Cytoscape.js
Science Score: 20.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
✓Committers with academic emails
3 of 16 committers (18.8%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.4%) to scientific vocabulary
Repository
Python utilities for Cytoscape and Cytoscape.js
Basic Info
- Host: GitHub
- Owner: cytoscape
- License: mit
- Language: Python
- Default Branch: develop
- Homepage: https://py2cytoscape.readthedocs.io
- Size: 5.75 MB
Statistics
- Stars: 176
- Watchers: 17
- Forks: 46
- Open Issues: 29
- Releases: 0
Metadata Files
README.md
py2cytoscape

DEPRECATION
Please note that this project has been superceded by the py4cytoscape project. py2cytoscape is not currently maintained.
Installation
py2cytoscape can be installed using conda, pip.
conda
conda installs igraph with py2cytoscape.
You do not need to install igraph by yourself.
shell
conda install -c conda-forge py2cytoscape
Latest stable release (pip)
shell
pip3 install py2cytoscape
Development version (pip)
shell
pip3 install git+https://github.com/cytoscape/py2cytoscape.git
Dependencies (extra): igraph
``` git clone https://github.com/igraph/python-igraph/ cd python-igraph
git clone https://github.com/igraph/igraph igraphcore cd igraphcore ./bootstrap.sh mkdir build && cd _build ../configure --prefix=$PWD/../install make make install cd ../../
CPPFLAGS="-I$PWD/igraphcore/install/include/igraph ${CPPFLAGS}" export CPPFLAGS LDFLAGS="-L$PWD/igraphcore/install/lib ${LDFLAGS}" export LDFLAGS PKGCONFIGPATH=igraphcore/install/lib/pkgconfig/ export PKGCONFIG_PATH
python3 setup.py install --user ```
Documentation
Package documentation can be found on https://py2cytoscape.readthedocs.io.
For contributing please check the wiki.
Full workflows can be found on the cytoscape/cytoscape-automation repo. The following workflows include cyrest usage:
Contributing
Please do all your development in our development docker image:
docker pull mpgagebioinformatics/py2cytoscape:latest
- Create a folder to map to the container's user home folder
mkdir -p ~/py2cy-container---- - Start the container from the latest version of the image
sudo docker run -d -p 8787:8787 -p 8888:8888 \ -v ~/py2cy-container:/home/mpiage --name py2cy-container \ -it mpgagebioinformatics/py2cytoscape:latest---- - Alternatively you can start the container from a specific tag/version of the image
sudo docker run -d -p 8787:8787 -p 8888:8888 \ -v ~/py2cy-container:/home/mpiage --name py2cy-container \ -it mpgagebioinformatics/py2cytoscape:<tag>---- - Connect to the running container
sudo docker exec -i -t py2cy-container /bin/bash---- - Stop the container
sudo docker stop py2cy-container---- - Jupyter
Once you have connected to the running container you can start jupyter with
module load jupyterhub
jupyter notebook --ip=0.0.0.0
A URL will be presented to you, and it should be pasted into your host's browser (Chrome recommended).
- RStudio-server
Once you have connected to the running container you can start
Rstudio serverwithmodule load rlang sudo rstudio-server startYou can then get access by connecting on your host's browser to http://localhost:8787.
For stopping the server use:
sudo rstudio-server stop
- X forward to enable Cytoscape
On a Mac install socat and xquartz:
brew install socat
brew install xquartz
Open Xquartz:
open -a Xquartz
Then navigate to XQuartz > Preferences > Security and tick the box 'Allow connections from network clients'.
Check your ip address:
IP=$(ifconfig en0 | grep inet | awk '{ print $2 }')
Start socat:
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
an then start the container by adding the -e DISPLAY=${IP}:0 argument.
Complete example call:
IP=$(ifconfig en0 | grep inet | awk '{ print $2 }') && \
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\" & \
docker run -d -e DISPLAY=${IP}:0 -p 8787:8787 -p 8888:8888 \
-v ~/py2cy-container:/home/mpiage --name py2cy-container \
-it mpgagebioinformatics/py2cytoscape:latest
- User account
User: mpiage
Pass: bioinf
Citing
Ono, K. et al. (2015) CyREST: Turbocharging Cytoscape Access for External Tools via a RESTful API. F1000Res, 4, 478
Note to repository maintainers: Please *DO NOT* move this page ... the Cytoscape Automation paper refers directly to it.
Owner
- Name: Cytoscape Consortium
- Login: cytoscape
- Kind: organization
- Website: http://www.cytoscape.org/
- Repositories: 153
- Profile: https://github.com/cytoscape
GitHub Events
Total
- Watch event: 1
- Fork event: 1
Last Year
- Watch event: 1
- Fork event: 1
Committers
Last synced: 12 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Jorge Boucas | J****s@a****e | 99 |
| Keiichiro Ono | k****o@g****m | 56 |
| Kozo Nishida | k****a@g****m | 28 |
| Zachary Juang | z****2@m****m | 6 |
| Rasmus Scholer | r****r@g****m | 3 |
| Guido Pio Mariotti | g****v@g****m | 3 |
| pkrezel | p****l@g****m | 3 |
| Daewon Lee | D****e | 3 |
| Barry Demchak | i****k@g****m | 2 |
| James Pino | j****o@v****u | 2 |
| andorsk | a****r@g****m | 1 |
| romainstuder | r****r | 1 |
| U-ICSN\elie | n****e@f****r | 1 |
| Moritz Schaefer | m****l@m****e | 1 |
| Kyle Kelley | r****k@g****m | 1 |
| Rundong Du | r****u@g****u | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 12 months ago
All Time
- Total issues: 71
- Total pull requests: 29
- Average time to close issues: 5 months
- Average time to close pull requests: 5 months
- Total issue authors: 34
- Total pull request authors: 17
- Average comments per issue: 1.63
- Average comments per pull request: 0.55
- Merged pull requests: 18
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- kozo2 (14)
- jorgeboucas (11)
- dotasek (5)
- mwang87 (4)
- Niveda-S (2)
- empet (2)
- shaaaarpy (2)
- zachary822 (2)
- brownmk (2)
- moritzschaefer (2)
- Benito-chem (2)
- keiono (1)
- cs48a (1)
- 229668880 (1)
- sauloal (1)
Pull Request Authors
- zachary822 (5)
- scholer (3)
- dwgoon (3)
- pkrezel (3)
- moritzschaefer (2)
- gmariotti (2)
- cs48a (1)
- nicolaselie (1)
- jorgeboucas (1)
- andorsk (1)
- adamlawr-cisco (1)
- DnlRKorn (1)
- rundong08 (1)
- romainstuder (1)
- JamesPino (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 4
- Total versions: 2
conda-forge.org: py2cytoscape
- Homepage: https://github.com/cytoscape/py2cytoscape
- License: MIT
-
Latest release: 0.7.1
published about 7 years ago
Rankings
Dependencies
- networkx *
- pandas *
- pydot *
- pydotplus *
- pyparsing *
- requests *