NetworkInfoTranslator is a python tool. Using either the already-included or auto-generated information about Layout and Render extensions of an SBML model, NetworkInfoTranslator helps you:
-
render a static illustration of the biological network of the SBML model through matplotlib,
-
generate a
.json
file containing the elements and styles information required to render a dynamic illustration of the biological network of the model through cytoscape.js.
NetworkInfoTranslator can be installed from TestPyPI using pip as:
pip install -i https://test.pypi.org/simple/ NetworkInfoTranslator
Once that is done, it is possible to import NetworkInfoTranslator
in your script and make use of its methods.
A simple script which shows how to read an SBML (xml) file, export a static illustration of its network in .pdf
format, and generate the .json
file that can be used by cytoscape.js to render the network of the model is contained in testcases
directory.
NOTE: You can follow this tutorial to see how to visualize the network of your model using the generated .json
file.
libsbne, matplotlib, numPy,