A Python library for visualizing dynamically generated protein interactions using 3D node-link layout.
-
Clone the github repository
-
Requires
anacondaandpython=3.8conda create -n myenv python=3.8 conda activate myenv -
Install packages
cd src/ pip install -r requirements.txt
Note: You may need to install pygraphvis using conda forge:
conda install --channel conda-forge pygraphviz (This may need a restart of your command prompt or terminal)
-
The data file in dot file format should be stored in
./src/visg/static/data/ -
Start server
./start-local.sh -
Open browser (Google Chrome preferred)
http://127.0.0.1:5001/index
-
Change directory to
./srccd /path/to/project/src -
Activate conda environment
conda activate myenv -
Start server
./start-local.sh -
Open browser (Google Chrome preferred)
http://127.0.0.1:5001/index
- Libraries used: D3, Flask, 3d-force-graph