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.xmlwith 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):
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.