Skip to content

SunnyXu/SBMLDiagrams

Repository files navigation

SBMLDiagrams

Coverage

License: MIT PyPI version PyPI download month Funding

Introduction

SBMLDiagrams is a Python package to visualize networks embedded in SBML Level 3 models. If the SBML layout and render extension are used, the package will use this data to display the network. SBMLDiagrams can export PNG, JPG, PDF files. SBMLDiagrams can be used to add SBML layout and render to an existing valid SBML model which can subsequently be exported.

We also have an interface of SBMLDiagrams to NetworkX to exploit the variety of layout algorithms.

Note that please make sure to save a copy of your SBML file before importing into SBMLDiagrams.

Citing

If you are using any of the code, please cite the article (https://doi.org/10.1093/bioinformatics/btac730) and the PYPI web page (https://pypi.org/project/SBMLDiagrams/).

Installation

pip install SBMLDiagrams

A Figure Example

Here is a figure example visualized by SBMLDiagrams below. Users could use another GUI tool SBcoyote (https://github.com/sys-bio/SBcoyote; https://doi.org/10.1016/j.biosystems.2023.105001) together with SBMLDiagrams to adjust positions, i.e., bezier curves of reactions.

Its animation is also available at https://youtu.be/6VgjzrXLLoc. Please see more figure examples in the documentation.

Documentation

Please see the documentation at https://sys-bio.github.io/SBMLDiagrams/ for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages