Skip to main content
Bioinformatics logoLink to Bioinformatics
. 2021 Sep 23;38(3):864–865. doi: 10.1093/bioinformatics/btab669

The systems biology simulation core library

Hemil Panchiwala 1,, Shalin Shah 2,3,, Hannes Planatscher 4, Mykola Zakharchuk 5, Matthias König 6, Andreas Dräger 7,8,9,10,
Editor: Jinbo Xu
PMCID: PMC8756180  PMID: 34554191

Abstract

Summary

Studying biological systems generally relies on computational modeling and simulation, e.g., model-driven discovery and hypothesis testing. Progress in standardization efforts led to the development of interrelated file formats to exchange and reuse models in systems biology, such as SBML, the Simulation Experiment Description Markup Language (SED-ML) or the Open Modeling EXchange format. Conducting simulation experiments based on these formats requires efficient and reusable implementations to make them accessible to the broader scientific community and to ensure the reproducibility of the results. The Systems Biology Simulation Core Library (SBSCL) provides interpreters and solvers for these standards as a versatile open-source API in JavaTM. The library simulates even complex bio-models and supports deterministic Ordinary Differential Equations; Stochastic Differential Equations; constraint-based analyses; recent SBML and SED-ML versions; exchange of results, and visualization of in silico experiments; open modeling exchange formats (COMBINE archives); hierarchically structured models; and compatibility with standard testing systems, including the Systems Biology Test Suite and published models from the BioModels and BiGG databases.

Availability and implementation

SBSCL is freely available at https://draeger-lab.github.io/SBSCL/ and via Maven Central.

Supplementary information

Supplementary data are available at Bioinformatics online.

1 Introduction

The Systems Biology Simulation Core Library (SBSCL) is an open-source, cross-platform pure JavaTM programming library that numerically solves systems biology models in multiple mathematical frameworks. A popular file format for representing computational models in a standard way and facilitating the exchange of models between different tools is the Systems Biology Markup Language (SBML, Keating et al., 2020). SBML encodes biological models in a declarative form. The Simulation Experiment Description Markup Language (SED-ML) format defines a workflow of simulation experiments. The combination of SED-ML and SBML facilitates reproducibility of typical model workflows in insilico experiments, including the choice of interpretation framework and the post-processing of the results (Waltemath et al., 2011). SBSCL interprets the SBML models using the JSBML library (Rodriguez et al., 2015) and simulates them according to dedicated API calls. Alternatively, it extracts an in silico experimental configuration from SED-ML to simulate the SBML models. To this end, SBSCL implements and ships several solvers for a wide range of mathematical frameworks, including Ordinary Differential Equations (ODEs, Keller et al., 2013), Stochastic Differential Equations (SDEs, Erhard et al., 2008) and constraint-based analysis. SBSCL is designed as a lightweight API and intended for use as a simulation backend within end-user software. This article introduces the SBSCL library, especially the new features introduced in version 2.1, along with a brief description of all other capabilities that Figure 1 pictorially summarizes.

Fig. 1.

Fig. 1.

The capabilities of the SBSCL as an overview. Supported input model definitions include SBML, possibly with an experiment configuration file (SED-ML) or bundled in a package file (OMEX). The model is parsed using the JSBML library, and solutions are numerically computed for the corresponding ODE or SDE system over time, following the specified constraints and algorithm (e.g., Rosenbrock, Euler, Gillespie) or via linear programming. Once the simulation completes, the model results are reported either graphically using a line plot or tabular form. The results can be exported to formats such as CSV for downstream use. For testing the library, its implementation, its robustness, reliability, and efficient reproducibility of the results, open model collections such as BiGG (Norsigian et al., 2019) and BioModels (Malik-Sheriff et al., 2020) are utilized, which comprise several hundred SBML models and their SED-ML configurations

2 Description

Differential equation solver: The most fundamental feature of SBSCL is simulating ODEs. Version 2.1 adds interpreters and solvers for SDEs to support the latest SBML standards. SBSCL efficiently implements three deterministic numerical solvers (Keller et al., 2013), namely, Rosenbrock, Euler and Runge-Kutta, as well as three stochastic solvers, namely, Gillespie, Gibson-Bruck and Tau-Leaping (Erhard et al., 2008).

Constrained optimization solver: SBML Level 3 (Keating et al., 2020) combined with the fbc package added support for constrained-based models and their analysis. Typically, Flux Balance Analysis (FBA) is used for such time-invariant steady-state simulations. SBSCL performs FBA on SBML models using the SCPSolver (http://www.scpsolver.org), a linear programming API with support for various solver backends. This lightweight abstraction allows users to define model constraints and an objective function and solve the corresponding optimization problem.

Result tables and plots: Since viewing is an essential aspect of understanding the results of a simulation experiment, SBSCL provides experiment output in graphical and tabular form, which it can export in conventional formats such as Comma-Separated Values (CSV).

Archival format support: Working toward exchangeability and reproducibility, SBSCL v2.1 supports the Open Modeling EXchange format (OMEX) format as input. These archive files contain the information on running simulation experiments based on SBML and SED-ML (Bergmann et al., 2014). SBSCL uses the COMBINE Archive Simulation Experiment Management for Systems Biology (SEMS) package to read and extract the required information from the OMEX files.

Hierarchical model simulations: The SBML extension package comp enables encoding complex and coupled biological systems that can be distributed or hierarchically structured. SBSCL v2.1 efficiently supports the simulation of this addition, including the automatic assembly of models from multiple and possibly remote input files.

Tests against benchmark suites: A crucial part of implementing new features is providing robust testing of the added functionality and use-cases. SBSCL tests all newly added features against the SBML Test Suite in a continuous integration approach. SBSCL provides full testing support against the genome-scale models from the BiGG Models database and kinetic models from the BioModels database.

3 Conclusion

The open-source library SBSCL simulates complex biological models in various frameworks specified in SBML format, optionally together with their in silico experiment definition SED-ML file or wrapped within OMEX archives. Benchmarks of SBSCL using the SBML Test Suite and a broad range of published models from relevant databases ensure its correctness and reliability (see Supplementary Material). With the support for exciting new features such as constraint-based model optimization, hierarchical model decomposition, stochastic algorithms, archival input formats, this lightweight library is well suited as a simulation engine within any software with support for the Java Virtual Machine, e.g., Kotlin, Scala or Groovy. The SBSCL project aims to provide a high-quality open-source simulation library to the scientific community to push frontiers and reproducibility in biology and related fields.

Supplementary Material

btab669_Supplementary_Data

Acknowledgement

The authors acknowledge contributions by Nicolas Rodriguez, Alexander Dörr, Roland Keller and the Harvey Mudd College for the ODEToolkit.

Funding

The National Resource for Network Biology (NRNB) and Google Inc. supported this work as part of their summer of code programs (GSoC). A.D. was funded by the German Center for Infection Research (DZIF) [8020708703], and supported by infrastructural funding from the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation), Cluster of Excellence EXC 2124 Controlling Microbes to Fight Infections. M.K. was supported by the Federal Ministry of Education and Research (BMBF, Germany) within the research network Systems Medicine of the Liver [LiSyM, 031L0054] and by the DFG within the Research Unit Programme FOR 5151 ‘QuaLiPerF (Quantifying Liver Perfusion–Function Relationship in Complex Resection—A Systems Medicine Approach)’ [436883643].

Conflict of Interest: none declared.

Contributor Information

Hemil Panchiwala, Department of Computer Science and Engineering, Indian Institute of Technology, Roorkee, IN 247667, USA.

Shalin Shah, Department of Electrical and Computer Engineering, Duke University, Durham, NC 27701, USA; Bloomberg, New York, NY 10022, USA.

Hannes Planatscher, Signatope GmbH, Reutlingen 72770, Germany.

Mykola Zakharchuk, Department of Computer Science, University of Tübingen, Tübingen 72076, Germany.

Matthias König, Institute for Theoretical Biology, Humboldt University of Berlin, Berlin 10115, Germany.

Andreas Dräger, Department of Computer Science, University of Tübingen, Tübingen 72076, Germany; Computational Systems Biology of Infections and Antimicrobial-Resistant Pathogens, Institute for Bioinformatics and Medical Informatics (IBMI), University of Tübingen, Tübingen 72076, Germany; German Center for Infection Research (DZIF), Partner Site Tübingen, Tübingen 72076, Germany; Cluster of Excellence ‘Controlling Microbes to Fight Infections,’ University of Tübingen, Tübingen 72076, Germany.

References

  1. Bergmann F.T.  et al. (2014) COMBINE archive and OMEX format: one file to share all information to reproduce a modeling project. BMC Bioinformatics, 15, 369. [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Erhard F.  et al. (2008) FERN – a Java framework for stochastic simulation and evaluation of reaction networks. BMC Bioinformatics, 9, 356. [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Keating S.M.  et al. ; SBML Level 3 Community Members. (2020) SBML Level 3: an extensible format for the exchange and reuse of biological models. Mol. Syst. Biol., 16, e9110. [DOI] [PMC free article] [PubMed] [Google Scholar]
  4. Keller R.  et al. (2013) The systems biology simulation core algorithm. BMC Syst. Biol., 7, 55–57. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Malik-Sheriff R.S.  et al. (2020) BioModels—15 years of sharing computational models in life science. Nucleic Acids Res., 48, D407–D415. [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Norsigian C.J.  et al. (2019) BiGG Models 2020: multi-strain genome-scale models and expansion across the phylogenetic tree. Nucleic Acids Res, 11, D402–D406. [DOI] [PMC free article] [PubMed] [Google Scholar]
  7. Rodriguez N.  et al. (2015) JSBML 1.0: providing a smorgasbord of options to encode systems biology models. Bioinformatics, 31, 3383–3386. [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Waltemath D.  et al. (2011) Reproducible computational biology experiments with SED-ML-the simulation experiment description markup language. BMC Syst. Biol., 5, 198–110. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

btab669_Supplementary_Data

Articles from Bioinformatics are provided here courtesy of Oxford University Press

RESOURCES