Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Jan 1;39(1):btad044.
doi: 10.1093/bioinformatics/btad044.

SBML2HYB: a Python interface for SBML compatible hybrid modeling

Affiliations

SBML2HYB: a Python interface for SBML compatible hybrid modeling

José Pinto et al. Bioinformatics. .

Abstract

Summary: Here, we present sbml2hyb, an easy-to-use standalone Python tool that facilitates the conversion of existing mechanistic models of biological systems in Systems Biology Markup Language (SBML) into hybrid semiparametric models that combine mechanistic functions with machine learning (ML). The so-formed hybrid models can be trained and stored back in databases in SBML format. The tool supports a user-friendly export interface with an internal format validator. Two case studies illustrate the use of the sbml2hyb tool. Additionally, we describe HMOD, a new model format designed to support and facilitate hybrid models building. It aggregates the mechanistic model information with the ML information and follows as close as possible the SBML rules. We expect the sbml2hyb tool and HMOD to greatly facilitate the widespread usage of hybrid modeling techniques for biological systems analysis.

Availability and implementation: The Python interface, source code and the example models used for the case studies are accessible at: https://github.com/r-costa/sbml2hyb.

Supplementary information: Supplementary data are available at Bioinformatics online.

PubMed Disclaimer

Figures

Fig. 1.
Fig. 1.
SBML compatible hybrid modeling pipeline. (A) Overview of the sbml2hyb pipeline. Stored SBML (mechanistic) models in databases are converted to the HMOD format by the sbml2hyb tool. The user inputs the information of the ML component in the sbml2hyb interface (input/output variables and Keras neural network file in H5 format), which is then automatically added to the HMOD file. The resulting hybrid model HMOD file is reconverted to SBML. The hybrid model in SBML format is stored back in databases; (B) Simplified illustration of a hybrid model in SBML format generated by Cytoscape with the cy3sbml app (Konig et al., 2012). On the mechanistic side of the model (left of the image), the larger circles represent the different species of the model, the black squares represent the reactions and the large rectangle refers to the single compartment in this case. On the machine learning side (right of the image), each of the small green circles is a calculation carried out by the ANN, while each blue diamond represents the results of those calculations (hidden and output layers). The small blue circles are the final output of the network, which, in this case, is the value that is assigned to each of the reaction rates

References

    1. Antonakoudis A. et al. (2020) The era of big data: genome-scale modelling meets machine learning. Comput. Struct. Biotechnol., 18, 3287–3300. - PMC - PubMed
    1. Bornstein B.J. et al. (2008) LibSBML: an API library for SBML. Bioinformatics, 24, 880–881. - PMC - PubMed
    1. Carinhas N. et al. (2011) Hybrid metabolic flux analysis: combining stoichiometric and statistical constraints to model the formation of complex recombinant products. BMC Syst. Biol., 5(34). - PMC - PubMed
    1. Chassagnole C. et al. (2001) Control of the threonine-synthesis pathway in Escherichia coli: a theoretical and experimental approach. Biochem. J., 356, 433–444. - PMC - PubMed
    1. Ferreira A.R. et al. (2011) Projection to latent pathways (PLP): a constrained projection to latent variables (PLS) method for elementary flux modes discrimination. BMC Syst. Biol., 5(181). - PMC - PubMed

Publication types