bioRxiv Science⌕ Search

bioRxiv · 10.64898/2026.04.06.716692

UQ-PhysiCell: An extensible Python framework for uncertainty quantification and model analysis in PhysiCell

Abstract

Agent-based models (ABMs) are widely used to study complex multiscale biological systems, particularly in cancer research. However, their high-dimensional parameter spaces, stochasticity, and computational costs pose significant challenges for uncertainty quantification, calibration, and systematic comparison of competing mechanistic hypotheses. PhysiCell has evolved into a growing ecosystem of open-source tools supporting physics-based multicellular modeling, including model construction, visualization, experimental data integration (e.g., spatial multiomics), and downstream output analysis. However, despite these advances, systematic support for uncertainty-aware model analysis, scalable parameter exploration, and formal calibration workflows remains limited. Here, we introduce UQ-PhysiCell, an open-source Python package that enables uncertainty quantification, calibration, and model selection for PhysiCell models using a modular and scalable workflow. UQ-PhysiCell acts as a manager of PhysiCell simulation inputs and outputs, including parameters, initial conditions, rules, and MultiCellDS-compliant objects, and provides automated orchestration of large ensembles of simulations. The framework supports multiple levels of parallelism to accelerate the analysis, including the parallel execution of independent simulations, stochastic replicates, and downstream analysis tasks. UQ-PhysiCell integrates directly with established Python libraries for sensitivity analysis, optimization, Bayesian inference, and surrogate modeling, allowing users to construct customized pipelines that match their modeling goals and computational resource requirements. UQ-PhysiCell decouples model execution from statistical analysis and emphasizes extensibility and reproducibility. This lowers the barrier to rigorous uncertainty-aware analysis and supports systematic evaluation of PhysiCell models in biological and biomedical research. Author summaryWe developed UQ-PhysiCell to address a key challenge in agent-based modeling: the systematic quantification of uncertainty in complex stochastic simulations. PhysiCell is widely used to model multicellular biological systems, particularly in cancer research; however, practical tools for uncertainty analysis, calibration, and model comparison are often developed in an ad hoc manner. This makes the results difficult to reproduce and limits the ability to rigorously evaluate competing biological hypotheses. UQ-PhysiCell provides a flexible Python framework that manages the inputs and outputs of PhysiCell simulations and enables large-scale computational analysis. We designed the software to be modular, allowing users to build their own analysis pipelines and combine different methodologies for sensitivity analysis, calibration, and model selection. Rather than enforcing a single workflow, UQ-PhysiCell supports customization to match specific scientific questions and computational requirements. To make uncertainty-aware analyses feasible for computationally intensive agent-based models, UQ-PhysiCell implements multiple parallelism strategies, enabling the concurrent execution of simulations, stochastic replicates, and downstream analyses. UQ-PhysiCell promotes reproducibility, scalability, and methodological flexibility. This helps researchers move beyond single best-fit simulations toward more reliable and interpretable computational modeling.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

L. Rocha, H., Bucher, E., Zhang, S., Deshpande, A., Bergman, D. R., Heiland, R., Macklin, P. R.. 2026-04-08. UQ-PhysiCell: An extensible Python framework for uncertainty quantification and model analysis in PhysiCell. https://doi.org/10.64898/2026.04.06.716692

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Concentration limits and localization of hydrogen peroxide in the extracellular space of solid tissues

H2O2 released to the extracellular space (ECS) regulates diverse physiological processes, yet its concentrations and spatial distribution in tissues remain poorly defined. This uncertainty hampers mechanistic understanding of redox signaling. Here, we used reaction-diffusion modeling to estimate extracellular H2O2 concentrations and transport ranges in various scenarios. Idealized analytical models were combined with numerical models incorporating localized NADPH oxidase (NOX) clusters, ECS microstructure, membrane permeability, and the thioredoxin- and GSH-dependent clearance systems. Using maximal neutrophil and NOX superoxide/H2O2 release rates, we obtained upper bounds for extracellular H2O2. Adjacent to isolated average-sized, fully active NOX2 clusters H2O2 peaked at ~540 nM at adhesion cell-cell separations, and decreased radially over ~50-100 nm. At the receptor cell surface, peak concentration decreased inversely with intercellular separation, to <5 nM at 1 m separation. Radial decrease here, for this wide separation, was over ~2.5 m. Even the former maximal extracellular concentrations induce just a minimal, highly localized oxidation of the intracellular Prdx, Trx and GSH pools. In turn, maximally activated neutrophils carry ~2000 such NOX2 clusters, inducing 10s of M peak ECS H2O2 concentrations. These cause extensive Prdx and Trx oxidation near the exposed membranes. However, the GSH-dependent system still sustains a strong transmembrane gradient if the permeation barrier remains intact, and ECS H2O2 concentrations decay to sub-M within a few m of the source cell. Extracellular H2O2 concentrations scaled linearly with source flux in all the examined conditions. These results establish stringent constraints on autocrine, juxtacrine and next-cell paracrine H2O2 signaling.

systems biology↗

LSD-pipeline: Causal Inference of miRNA Network Effects in Alzheimer's Disease

MicroRNAs (miRNAs) are implicated in Alzheimer's disease (AD), but research has focused on individual miRNAs and direct targets. Existing approaches to miRNA regulation in AD identify associations rather than causal effects, and few methods estimate multi-stage chains from miRNAs through target genes to target transcription factor (TF) cascades. We developed the LSD pipeline (LASSO-SEM-DoWhy), integrating LASSO feature selection, multi-stage structural equation modeling, and DoWhy causal inference to identify and validate miRNA causal pathways in AD. Applying LSD to six blood miRNA and brain mRNA datasets, we identified four LSD-validated miRNAs (miR-30d-5p, miR-92a-3p, miR-296-5p, miR-193a-5p) as AD biomarkers, achieving >86% ROC accuracy in an independent validation cohort. Several miRNAs with no significant direct association with AD showed significant effects when estimated through their target networks, while others significant in direct analysis were not supported at the network level, underscoring the value of network-level analysis. Extending to the TF layer revealed complete miRNA [->] targets [->] TF cascades [->] AD causal chains, with HMGA1, NKX2-3, and PRRX2 as key intermediaries. Confirmed classic pathways converge primarily on tau pathology and synaptic dysfunction. miRNA effects were largely age-independent, suggesting miRNAs act as early initiators of AD pathogenesis. Beyond AD, the LSD pipeline provides a generalizable framework for uncovering causal regulatory mechanisms in other diseases.

systems biology↗

PyKappa: Rule-based modeling in Python

Rule-based languages have proven effective for modeling systems of interacting structured entities as typically encountered in chemistry and molecular biology. We present PyKappa, a rule-based modeling package written in Python whose interpreted nature enables interactive simulation and analysis, including by agentic AI. The package seeks to broaden the base of developers by utilizing a widely known programming language and serves as an easy-to-deploy teaching tool. Using PyKappa, we conduct a case study of phase separation.

systems biology↗