Search bioRxiv⌕ 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

The impacts of exogenous noise on stochastic disease dynamics

Much of the literature and intuition associated with mathematical epidemiology is driven by deterministic models, which are a reasonable assumption when the population size is large. Stochastic models, especially individual based models, are however considered vital when dealing with small population sizes, especially at times of invasion or extinction. The overwhelming majority of these models (both deterministic and stochastic) assume that the underlying parameters are fixed (or follow a regular seasonal pattern). Here, we consider an analytic framework for dealing with randomly varying parameters through the use of stochastic differential equations - thereby capturing the action of external noisy processes such as weather. In particular, we focus on when the transmission rate, {beta}, varies as the solution to a Cox-Ingersoll-Ross Model, such that {beta} is gamma distributed with autocorrelation. We consider the impact of this parameter variation on a stochastic version of the Susceptible-Infected-Recovered model, and for this 'double-stochastic' model show through simulation and analytical results that exogenous noise increases the impact of stochasticity, potentially leading to more early extinctions, wider variations in the number of cases at equilibrium, but that early growth rate can be faster or slower depending on the precise parameters.

systems biology↗

Site-resolved spatial and structural interactome of a human cell

The spatial and structural arrangement of proteins determine virtually every process in human cells. We combined gentle subcellular fractionation by differential ultracentrifugation with cross-linking mass spectrometry to systematically map this cellular proteome architecture with residue-level evidence, identifying 164,146 residue-to-residue links in HEK293 cells. These links capture spatial protein arrangement at a resolution sufficient to pinpoint protein localizations at sub-organelle level, determine protein orientations within cellular membranes, and identify inter-organelle contact sites. The residue-level information provides evidence for 18,074 direct protein-protein interactions (PPIs), which we integrate into AlphaFold-based pipelines to nominate PPI-mediating short linear motifs and generate assembly models of large protein complexes. Guided by these spatial and structural readouts, we discover new PPIs within the endomembrane system that regulate the compartmental localization of trafficking machinery. Leveraging a network topology-driven strategy, we augment our HEK293 dataset with PPI data from different cell lines and methods, expanding the spatial and structural interactome of human cells.

systems biology↗

Sensory variation and behavioural degeneracy: a framework for interpreting heterogeneity in the gut-brain axis

Gut microbiome differences are frequently interpreted as reflecting underlying biological differences between individuals. When outcomes are mediated by behaviour, however, this mapping may be fundamentally non-unique. This limits causal inference in gut-brain research, where microbiome differences in autism and depression are routinely attributed to intrinsic neurobiology despite highly variable, overlapping findings. I built a minimal agent-based model grounded in the known sensory variation across the autism spectrum. Dietary behaviour emerges from latent sensory traits, including sensory drive, predictability preference, and context sensitivity, through reinforcement learning and environmental interaction. This behaviour shapes gut microbiome composition. Behavioural variation organizes endogenously into a continuum of specialist, opportunist, and explorer strategies that maps onto the autism sensory spectrum. The system is fundamentally degenerate. Similar microbiome states arise from distinct behavioural pathways. Similar dietary patterns emerge from divergent latent traits. This many-to-one mapping reflects the structural interaction of behaviour, learning, and environmental variability, not stochasticity alone. Microbiome similarity therefore does not uniquely identify underlying cause. As such, the model provides a theoretical framework for interpreting heterogeneity in gut microbiome research, particularly in autism, and generalizes to any condition where behaviour mediates between neural processes and ecological outcomes.

systems biology↗