bioRxiv Science⌕ Search

bioRxiv · 10.1101/411538

Hybrid Automata Library

Abstract

The Hybrid Automata Library (HAL) is a Java Library developed for use in mathematical oncology modeling. It is made of simple, efficient, generic components that can be used to model complex spatial systems. HALs components can broadly be classified into: on- and off-lattice agent containers, finite difference diffusion fields, a GUI building system, and additional tools and utilities for computation and data collection. These components are designed to operate independently and are standardized to make them easy to interface with one another. As a demonstration of how modeling can be simplified using our approach, we have included a complete example of a hybrid model (a spatial model with interacting agent-based and PDE components). HAL is a useful asset for researchers who wish to build efficient 1D, 2D and 3D hybrid models in Java, while not starting entirely from scratch. It is available on github at https://github.com/torococo/HAL under the MIT License. HAL requires at least Java 8 or later to run, and the Java JDK version 1.8 or later to compile the source code.\n\n1 Author SummaryIn this paper we introduce the Hybrid Automata Library (HAL) with the purpose of simplifying the implementation and sharing of hybrid models for use in mathematical oncology. Hybrid modeling is used in oncology to create spatial models of tissue, typically by modeling cells using agent-based techniques, and by modeling diffusible chemicals using partial differential equations (PDEs). HALs key components are designed to run agent-based models, PDEs, and visualization. The components are standardized and are completely decoupled, so models can be built with any combination of them. We first explore the philosophy behind HAL, then summarize the components. Lastly we demonstrate how the components work together with an example of a hybrid model, and a walk-through of the code used to construct it. HAL is open-source and will produce identical results on any machine that supports Java 8 and above, making it highly portable. We recommend HAL to modelers interested in spatial dynamics, even those outside of mathematical oncology, as the components are general enough to facilitate a variety of model types. A community page that provides a download link and online documentation can be found at https://halloworld.org [1].

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Bravo, R. R., Robertson-Tessi, M., Anderson, A. R. A.. 2018-09-10. Hybrid Automata Library. https://doi.org/10.1101/411538

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

KEEP EXPLORING

Related preprints

TROP2 and immune gene expression by African ancestry in triple-negative breast cancer

Purpose: TROP2 is a treatment target in triple-negative breast cancer (TNBC). TACSTD2 encodes TROP2, while PDCD1 encodes the immune protein PD-1. We investigated whether these genes differ by race or African genetic ancestry and whether the reported link between higher TACSTD2 and lower immune-gene expression partly reflects the mixture of cells in tumor samples. Methods: We analyzed TNBC tumors from TCGA (n = 107) and GSE268851 (n = 253; ancestry data for 229), together with spatial, normal-breast, and protein datasets. Regression models adjusted for age, tumor stage, and a score based on epithelial gene expression. We compared TACSTD2 with other epithelial markers using paired bootstrap analysis. Results: TACSTD2 was detected in nearly all tumors, with no significant differences by race or ancestry. Higher African ancestry was linked to higher PDCD1 expression in TCGA (P = 0.00039), but not in GSE268851. In GSE268851, higher TACSTD2 remained associated with lower CD8A, GZMB, and cytotoxic score after epithelial adjustment (all q < 0.003). These associations were stronger than those for EPCAM; the CD8A association was also stronger than that for KRT8. TACSTD2 was 1.55-fold higher in TNBC than in normal breast and correlated with TROP2 protein (Spearman rho = 0.74). Conclusion: TACSTD2 was widely expressed in the TNBC groups studied, while the ancestry-PDCD1 association differed between cohorts. Epithelial gene expression did not fully explain some negative TACSTD2-immune associations, and some were stronger than those for other epithelial markers such as EPCAM.

cancer biology↗

Quantifying subcellular organization from localization to co-occurrence with InSpace

Cell identity and function depend not only on molecular abundance, but also on how molecules are organized within cells. Although spatial transcriptomics now resolves individual RNA molecules within cells, routine computational workflows reduce these measurements to cell-by-gene count matrices, retaining abundance while discarding information about intracellular localization and molecular co-occurrence. This loss of spatial information creates a need for scalable methods that preserve subcellular detail and enable comparisons across diverse cellular morphologies. Therefore, we present InSpace, a scalable framework for quantifying these complementary dimensions of subcellular organization. InSpace-R maps transcripts onto a continuous radial coordinate anchored to nuclear and cell boundaries, while InSpace-C measures distance-dependent co-occurrence or depletion of molecular pairs. Simulations and orthogonal biochemical references support accurate measurements, with scalability demonstrated on datasets containing 275 million transcripts. RNA-RNA and RNA-DNA analyses recover organelle-linked neighbourhoods and associations between nascent transcripts and their genomic origins. Analysis of B and plasma cells across 58 tumour datasets spanning 12 cancer types reveals that reduced MHC-II transcript abundance accompanies more peripheral localization and stronger mutual co-occurrence, separating these transcripts from a program enriched for ER-targeted proteins. InSpace makes intracellular organization accessible alongside abundance, enabling discovery of spatial programs that distinguish cellular states and generate hypotheses about their functional specialization.

cancer biology↗

Age-based shifts in multicellular community organization and abundance in HPV-Negative Head and Neck Cancer

Aging represents a fundamental driver of cancer risk and progression, yet the mechanisms by which aging reshapes the tumor microenvironment remain incompletely understood. To interrogate how aging alters cellular and microenvironmental organization in cancer, we developed an integrated single-cell atlas of HPV-negative head and neck squamous cell carcinoma (HNSCC) encompassing 73 patients aged 18-91 years. Using a multi-layered computational framework combining NMF-based module discovery and partial correlation network analysis, we reveal that age-associated differences in tumor composition are driven primarily by selective shifts in cell type abundance and organization rather than widespread age-dependent transcriptional rewiring. We identify an age-enriched cellular community centered on basal-like squamous epithelial states linked to epithelial-mesenchymal transition, matrix-associated myofibroblast-like CAFs, and FOLR2+ macrophages, which secrete immunosuppressive and ECM-remodeling factors. Cross-dataset in-silico validation via TCGA transcriptomes, spatial transcriptomics, and mouse tumor models confirms the correlation of these cell types across patients, specific ligand-receptor usage, and increased proportions of epithelial and stromal cells in aged mouse models. Among epithelial cell-intrinsic age-associated transcriptional changes, midkine (MDK) emerges as a rare but robust tumor-derived signal linked to stromal remodeling, immunosuppression, and invasive epithelial programs. These findings reveal conserved mechanisms of age-dependent cellular reorganization in the tumor microenvironment and identify MDK and associated stromal-remodeling pathways as potential intervention points for age-stratified cancer therapy.

cancer biology↗