Skip to main content

Visualize, edit and write SBML files.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SBMLDiagrams-1.4.2.tar.gz (102.0 kB view hashes)

Uploaded Source

Built Distribution

SBMLDiagrams-1.4.2-py3-none-any.whl (105.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page