Skip to content

Standards and tools

PhosKinTime describes, exchanges and simulates its models with the SBML ecosystem of Matthias König and the COMBINE community. PhosKinTime itself keeps what is specific to it: building the model from the network and the mechanism file, the data conventions, the objective, priors and bounds, and the run bundle.

What each tool does here

task tool where in PhosKinTime
the SBML model of a run (units, SBO terms, the PCHIP drive as piecewise functions) sbmlutils phoskintime/networkmodel/exchange/sbml_model.py
MIRIAM annotations checked against the identifiers.org registry; COMBINE archives pymetadata sbml_model.py, phoskintime/networkmodel/exchange/combine.py
simulation of every evaluation (CVODE) libRoadRunner phoskintime/networkmodel/simulate_sbml.py
the fit, profile likelihoods, Laplace posterior, empirical Bayes sbmlsim phoskintime/networkmodel/fit_sbmlsim.py, profiles_sbmlsim.py, posterior_sbmlsim.py
simulation experiments, global and temporal sensitivity sbmlsim phoskintime/networkmodel/exchange/experiments.py, phoskintime/networkmodel/analysis/temporal_sensitivity.py
SBGN Process Description and Activity Flow maps libsbgnpy phoskintime/networkmodel/exchange/sbgn.py
the ordinary differential equations of a model sbmlode tools/build_equations.py (the model equations pages), the standards archive
CellML sbml2cellml, libCellML phoskintime/networkmodel/exchange/cellml.py
SBML reading, writing and consistency checks libSBML throughout

The standards archive

pixi run phoskintime export standards --run <run folder> --out <folder>

writes one COMBINE archive, <folder>/phoskintime_model.omex, with the model of the run at its fitted values:

location content
model.xml (master) the SBML Level 3 Version 1 model
equations.md its ordinary differential equations
diagrams/model_pd.sbgn, model_af.sbgn SBGN Process Description and Activity Flow maps
cellml/model.cellml the model in CellML 2.0, with its metadata (model.rdf)
experiments/timecourse.json, experiments/d5_*.json sbmlsim simulations: the timecourse, and design D5 of the experiment-design report (each kinase's ck and each gene's A halved, one simulation each)
sensitivity/global_morris.csv a global sensitivity (Morris; --sensitivity sobol for Sobol indices) of the species amounts, each rate parameter uniform within ±50 % of its fitted value
petab/ the PEtab v2 problem of the fit at its fitted values, with the measurements (--no-petab leaves it out)
README.md the files, how to run them, and the citations

The export checks what it writes and records the checks in <folder>/phoskintime_model_standards_report.json; it exits with code 1 if one fails:

  • the SBML model passes libSBML's consistency checks (all categories, units included) without errors;
  • every annotation is valid in the identifiers.org registry;
  • the SBGN maps pass libsbgnpy's validation (XSD, specification rules, schematron);
  • the CellML model passes libCellML's validator and analyser without errors;
  • the archive reads back: every file is in manifest.xml with its format, and the master is the SBML model;
  • every experiment runs again in sbmlsim from the extracted archive alone and gives the same result;
  • sbmlsim reads the archive's PEtab problem (PetabReader.from_yaml) and simulates it.

Simulation experiments. sbmlsim 0.63 neither reads nor writes SED-ML. The experiments are sbmlsim's own simulations (Simulation.to_dict), which sbmlsim reads back and runs on the SBML model with no PhosKinTime code:

import json
from sbmlsim.simulation import Simulation
from sbmlsim.simulator import Simulator

simulation = Simulation.from_dict(json.load(open("experiments/timecourse.json")))
result = Simulator().simulate("model.xml", simulation)

The PEtab problem is the standard description of the fit's experiments; sbmlsim turns it into a simulation experiment (sbmlsim.fit.petab_v2.reader.PetabReader).

Unpublished data. The PEtab problem contains the run's measurements. Keep archives of unpublished data local, or export with --no-petab.

Temporal sensitivity

phoskintime analyze temporal --results-dir <run> computes Sobol indices of every protein's total amount over time with sbmlsim. It varies each kinase's ck and each TF's A, B, C and D, plus tf_scale. It replaced a SALib implementation after the two agreed within 0.02 in every total-order index on synthetic runs of all four model families.

Citing the tools

tool version role in PhosKinTime licence citation
sbmlutils (König 2026) 0.19.1 SBML model creation (R1) MIT König, M. (2026). sbmlutils: Python utilities for SBML (version 0.19.1). https://doi.org/10.5281/zenodo.24630290. all versions: https://doi.org/10.5281/zenodo.597149.
pymetadata (König 2026) 0.9.2 annotations, identifiers.org validation, COMBINE archives (R2) MIT König, M. (2026). pymetadata are python utilities for working with metadata (version 0.9.2). https://doi.org/10.5281/zenodo.24630578. all versions: https://doi.org/10.5281/zenodo.5308801.
libsbgnpy (König 2026) 0.7.3 SBGN maps and their validation (R3) MIT König, M. (2026). libsbgnpy: python library for SBGN (version 0.7.3). https://doi.org/10.5281/zenodo.24564255. all versions: https://doi.org/10.5281/zenodo.597155.
sbmlode (König 2026) 0.3.3 the models' ordinary differential equations (R4) MIT König, M. (2026). sbmlode: ordinary differential equations of SBML models (version 0.3.3). https://doi.org/10.5281/zenodo.24499802. all versions: https://doi.org/10.5281/zenodo.23179199.
sbml2cellml (König 2026) 0.6.0 CellML export (R5) MIT König, M. (2026). sbml2cellml: conversion of SBML models to CellML (version 0.6.0). https://doi.org/10.5281/zenodo.24485925. all versions: https://doi.org/10.5281/zenodo.22829187.
sbmlsim (König 2026) 0.63.0 fit, profiles, Laplace posterior, simulation experiments, sensitivity (R6) MIT König, M. (2026). sbmlsim: SBML simulation made easy (version 0.63.0). https://doi.org/10.5281/zenodo.24731998. all versions: https://doi.org/10.5281/zenodo.3597770.
sbmlsim-core (König 2026) 0.58.0 sbmlsim's simulation engine MIT (with bundled components under their own licences) König, M. sbmlsim-core (version 0.58.0). https://github.com/matthiaskoenig/sbmlsim-core (no DOI published).
libRoadRunner (Welsh et al. 2023) 2.12.0.dev757 SBML simulation (CVODE) Apache-2.0 Welsh C, Xu J, Smith L, König M, Choi K, Sauro HM. libRoadRunner 2.0: a high performance SBML simulation and analysis library. Bioinformatics. 2023;39(1):btac770 (version 2.12.0.dev757). https://doi.org/10.1093/bioinformatics/btac770.
libSBML (Bornstein et al. 2008; Bergmann et al. 2026) 5.21.2 SBML reading, writing and consistency checks LGPL-2.1-or-later Bergmann F, Hucka M, Beber ME, et al. python-libsbml (version 5.21.2). https://doi.org/10.5281/zenodo.22812584. all versions: https://doi.org/10.5281/zenodo.3975546.
libCellML (libCellML Contributors 2026) 0.7.2 CellML validation Apache-2.0 libCellML Contributors. libCellML (version 0.7.2). https://doi.org/10.5281/zenodo.23490502. all versions: https://doi.org/10.5281/zenodo.6975548.

Other tools, standards, inputs and methods PhosKinTime runs on (GitHub repository and publication):

tool or method (publication) used for documentation
SUNDIALS CVODE (Hindmarsh et al. 2005) the ODE integrator of libRoadRunner and AMICI docs
SBML (Keating et al. 2020) the model format docs
COMBINE archive (OMEX) (Bergmann et al. 2014) the standards archive docs
SBGN / LibSBGN (Le Novère et al. 2009; van Iersel et al. 2012) the model's maps docs, tutorial
CellML (Clerx et al. 2020) the CellML export docs
AMICI (Fröhlich et al. 2021) sensitivities of the second fit engine docs, tutorial
pyPESTO (Schälte et al. 2023) the second fit engine docs, tutorial
fides (Fröhlich and Sorger 2022) the optimiser of the second fit engine docs
PEtab (Schmiester et al. 2021) the fit problem's exchange format docs, tutorial
zeus (Karamanis et al. 2021; Karamanis and Beutler 2021) MCMC posterior docs, tutorial
SALib (Herman and Usher 2017; Iwanaga et al. 2022) Morris sensitivity analysis docs, tutorial
Morris method (Morris 1991) elementary-effects screening docs
Sobol indices (Sobol 2001; Saltelli et al. 2010) variance-based sensitivity docs
PCHIP interpolation (Fritsch and Carlson 1980) the kinase drive docs
SciPy (Virtanen et al. 2020) numerics and statistics docs, tutorial
NumPy (Harris et al. 2020) arrays docs, tutorial
Numba (Lam et al. 2015) compiled kernels docs, tutorial
pandas (McKinney 2010) tables docs, tutorial
Matplotlib (Hunter 2007) figures docs, tutorial
seaborn (Waskom 2021) figures docs, tutorial
NetworkX (Hagberg et al. 2008) graphs docs, tutorial
mpi4py (Dalcin and Fang 2021) parallel chains docs, tutorial
h5py chain checkpoints docs, tutorial
MyGene.info (mygene) (Xin et al. 2016) gene symbols in preprocessing docs
CollecTRI (Müller-Dott et al. 2023) TF-target interactions and their signs docs
OmniPath (Türei et al. 2016; Türei et al. 2021) enzyme-substrate data (an archived developer tool) docs, tutorial
KinOpt (Mishra 2026) kinase-phosphosite weights (external) docs
TFOpt (Normann and Mishra 2026) TF-target weights (external) docs

How to cite PhosKinTime and these works: Cite.

The release DOIs were checked on Zenodo for the versions PhosKinTime pins, the publications on Crossref and Zenodo. The tables live in phoskintime/networkmodel/exchange/credits.py, and every exported model's notes cite the tools that built it.