- Notifications
You must be signed in to change notification settings - Fork4
Jupyter widget for the dynamic and static visualizations of systems biology models written in PySB, BNGL, and SBML
License
LoLab-MSM/pyvipr
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
PyViPR is a Jupyter widget that generates network dynamic and static visualizations ofPySB,Tellurium,BNGL,SBML, andEcell4models usingCytoscape.js. Additionally, it can be used to visualize networks encoded in the graphml,sif, sbgn xml, cytoscape json, gexf, gml and yaml formats.
To try out PyViPR interactively in your web browser, just click on the binderlink below:
> conda install pyvipr -c ortegas> conda install pyvipr -c ortegas> jupyter labextension install @jupyter-widgets/jupyterlab-manager> jupyter labextension install pyvipr
> pip install pyvipr> pip install pyvipr> jupyter labextension install @jupyter-widgets/jupyterlab-manager> jupyter labextension install pyvipr
$ git clone https://github.com/LoLab-VU/pyvipr.git$cd pyvipr$ pip install.
After installing the widget, it can be used by importing it in the Jupyter notebook. The widget is simple to use with PySBmodels,SimulationResultobjects,Tellurium models and BNGL & SBML files.
PyViPR has three main interfaces: Graph formats, PySB, and a Tellurium.
This interface leverages NetworkX and Cytoscape.js to generate network visualizations of graphs encoded in differentfile formats.
importpyvipr.network_vizasnviznviz.graphml_view('path_to_file/mygraph.graphml',layout_name='fcose')
PySB is needed to visualize PySB models and it is needed if you want to use the pyvipr.pysb_viz module:
Installing PySB from pip:
> pip install pysbWhen using pip theinstallation of PySBrequires to manually install BioNetGen into the default path for your platform(/usr/local/share/BioNetGen on Mac and Linux, c:\Program Files\BioNetGen on Windows),or set the BNGPATH environment variable to the BioNetGen path on your machine.
Installing PySB from conda:
> conda install pysb -c alubbockimportpyvipr.pysb_vizaspvizfrompyvipr.examples_models.lopez_embeddedimportmodelpviz.sp_comm_louvain_view(model,random_state=1,layout_name='klay')
importpyvipr.pysb_vizaspvizfrompyvipr.examples_models.mm_two_paths_modelimportmodelfrompysb.simulatorimportScipyOdeSimulatorimportnumpyasnptspan=np.linspace(0,1000,100)sim=ScipyOdeSimulator(model,tspan).run()pviz.sp_dyn_view(sim)
Tellurium is needed to visualize Tellurium models and it is needed if you want to use the pyvipr.tellurium_viz module:
Installing Tellurium from pip:
> pip install telluriumimporttelluriumasteimportpyvipr.tellurium_vizastvizmodel=te.loadSBMLModel("https://www.ebi.ac.uk/biomodels-main/download?mid=BIOMD0000000001")tviz.sp_view(model)
To get started with usingPyViPR, check out the full documentation
https://pyvipr.readthedocs.io/
To cite PyViPR, please cite the iScience paper:
Interactive Multiresolution Visualization of Cellular Network Processes
Ortega O and Lopez C
About
Jupyter widget for the dynamic and static visualizations of systems biology models written in PySB, BNGL, and SBML
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors6
Uh oh!
There was an error while loading.Please reload this page.




