Skip to content
Edit this page

SBML4Humans

CI/CD PyPI version Python versions Documentation MIT License DOI

SBML4Humans renders SBML models as interactive, human readable reports. Give it a model and it gives you a page which shows what the model contains: its compartments, species, reactions, rules and events, the mathematics of the model as typeset formulas, the units it computes from the file, the references between the elements, and the annotations resolved to the entries they point at. It reads SBML of every level and version libsbml reads, and the four Level 3 packages comp, fbc, qual and distrib, so a hierarchical model, a genome scale reconstruction, a logical model and a model whose values carry their uncertainty are shown with everything the package adds to them.

Repressilator simulation in SBML4Humans. Open the MP4 demo.

Why it exists

SBML is the de facto standard for the representation and exchange of mathematical models of biological systems, from a single process to a multi-scale model, and it is read and written by a large ecosystem of software. Its information is organized as lists of components, such as compartments, species, parameters and reactions, written in XML.

XML is written for programs. A model file states everything and shows nothing: the mathematics is content MathML, a unit is a product of base units spread over several elements, a species is a line of attributes among thousands of other lines, and an annotation is a URI in an RDF block. Reading a model in a text editor means reassembling it in your head, and a model of a genome scale reconstruction cannot be read that way at all. Tools are needed which provide an abstraction layer to interact with the SBML objects and the relationships between them.

SBML4Humans provides that layer: an interactive and reactive report which allows humans, experts as well as novices, to comprehend the content of a model. It is the view of a model which the file itself does not give you. For supported ordinary differential equation (ODE) models, browser simulation connects the model’s structure and equations to its behavior. Experimental inputs leave the source file unchanged.

It is written for the people who have to read models rather than write them:

  • modellers who open a model they did not build, or their own model after a year, and need to know what is in it
  • reviewers and curators who check whether a model is annotated, whether its units are consistent and whether it says what the paper says
  • students and lecturers who learn what SBML is, because the report explains its types, the columns of its tables and the attributes of its inspector where it shows them

What a report shows

Explore connects the network, element tables, equations and Details. Selecting an element opens its attributes, notes and annotations in the left column. XML shows the original source for that object. The links and labels explain the types, attributes and table columns where they appear. For supported ODE models, the Simulation panel below Details plots the time course and links values to the tables, equations and network.

The report carries the data model of the file rather than a summary of it. The objects a file nests inside another are elements of the report like the species and the reactions, each with a page of its own in the reference: the trigger, the priority and the delay of an event, the participation of a species in a reaction, the deletions and replacements of a hierarchical model, the tree of genes a reaction needs, the terms of a transition and the measures of an uncertainty. A reference between two elements is a link a reader follows in both directions, from the element which states it to the element it names and back.

Reading a report walks through all of it.

Where to start

Open the repressilator (BIOMD0000000012) in Examples to see an automatic 0–10 preview in model time. Change a simulation input in Tables, then play or scrub the time course to watch the linked values update. Try the simulation

Open sbml4humans.de to explore your own model. Choose one of the model inputs or browse the examples.

  • open an SBML file or a COMBINE archive from your computer
  • give the url of a model, for example of an entry of BioModels
  • paste the content of an SBML file

Loading a model explains the inputs, the formats which are accepted and what happens when a file cannot be read.

If a term of a report is unfamiliar, the reference explains it: one page per element type with every attribute the report shows, the kinds of links between the elements, and what the report computes on top of the model. SBML is the background: what the format is, how a model is built from its elements, and what the Level 3 packages add.

How to cite

DOI

If you use SBML4Humans please cite the archived software on Zenodo:

König, M., & Das, S. (2026). SBML4Humans: interactive reports of SBML models (Version 0.15.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.24689316

@software{koenig_sbml4humans,
  author    = {König, Matthias and Das, Sankha},
  title     = {SBML4Humans: interactive reports of SBML models},
  year      = {2026},
  month     = nov,
  version   = {0.15.0},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.24689316},
  url       = {https://doi.org/10.5281/zenodo.24689316},
}

Funding and license

SBML4Humans is developed at github.com/matthiaskoenig/sbml4humans. Its first version was written in 2021 by Sankha Das as the project "Interactive SBML report for Humans", mentored by Matthias König and Ralf Steuer, with the National Resource for Network Biology (NRNB) as the mentoring organisation and funded by Google Summer of Code 2021.

Matthias König is supported by the Federal Ministry of Education and Research (BMBF, Germany) within the research network Systems Medicine of the Liver (LiSyM, grant number 031L0054) and by the German Research Foundation (DFG) within the Research Unit Programme FOR 5151 "QuaLiPerF (Quantifying Liver Perfusion-Function Relationship in Complex Resection - A Systems Medicine Approach)" by grant number 436883643.

The source code is under the MIT license, this documentation under CC BY-SA 4.0.

The sources this documentation is written from are listed under References.