Department of Bioengineering, University of Washington, Seattle, WA 98195, USA.
Department of Computer Science and Engineering, University of Washington, Seattle, WA 98195, USA.
Bioinformatics. 2023 Jan 1;39(1). doi: 10.1093/bioinformatics/btac730.
The systems biology markup language (SBML) is an extensible standard format for exchanging biochemical models. One of the extensions for SBML is the SBML Layout and Render package. This allows modelers to describe a biochemical model as a pathway diagram. However, up to now, there has been little support to help users easily add and retrieve such information from SBML. In this application note, we describe a new Python package called SBMLDiagrams. This package allows a user to add a layout and render information or retrieve it using a straightforward Python API. The package uses skia-python to support the rendering of the diagrams, allowing export to commons formats such as PNG or PDF.
SBMLDiagrams is publicly available and licensed under the liberal MIT open-source license. The package is available for all major platforms. The source code has been deposited at GitHub (github.com/sys-bio/SBMLDiagrams). Users can install the package using the standard pip installation mechanism: pip install SBMLDiagrams.
Supplementary data are available at Bioinformatics online.
系统生物学标记语言 (SBML) 是一种可扩展的标准格式,用于交换生化模型。SBML 的一个扩展是 SBML 布局和渲染包。这允许建模者将生化模型描述为途径图。然而,到目前为止,几乎没有支持来帮助用户轻松地从 SBML 添加和检索此类信息。在本应用说明中,我们描述了一个名为 SBMLDiagrams 的新 Python 包。该包允许用户使用简单的 Python API 添加布局和渲染信息或从中检索信息。该包使用 skia-python 支持图表的渲染,允许导出到常见格式,如 PNG 或 PDF。
SBMLDiagrams 是公开的,并根据宽松的 MIT 开源许可证获得许可。该包可用于所有主要平台。源代码已存放在 GitHub(github.com/sys-bio/SBMLDiagrams)上。用户可以使用标准的 pip 安装机制安装该包:pip install SBMLDiagrams。
补充数据可在 Bioinformatics 在线获得。