Search bioRxiv⌕ Search

Biology subjects

Rattray, M.

Publications and source records attributed to Rattray, M..

At least 19 recordsLinked to original sources

NexuST: A Hierarchical Foundation Model for Spatial Transcriptomics

Spatial transcriptomics captures molecular states within cells and their organisation in tissue. However, integrating fine-grained gene information with spatial context at scale remains challenging for existing foundation models. Here we present NexuST, a hierarchical foundation model that repeatedly interleaves gene-level molecular modelling with cell-level spatial modelling, allowing the two levels to refine one another during end-to-end pretraining. For pretraining, we curated HumanST-46M, comprising 45.7 million human cells from 72 datasets across 11 organs and three imaging-based platforms. Across four held-out datasets totalling approximately 2.6 million cells, NexuST achieved state-of-the-art or competitive performance in cell-type annotation, region prediction, gene recovery and neighbourhood-composition prediction. We find that cell-intrinsic expression remains informative even for spatial tasks, as shown by an expression-only PCA baseline, while NexuST shows particularly strong gains where spatial context is essential. Overall, NexuST establishes a hierarchical framework that can serve as a general backbone for future spatial transcriptomics foundation models.

bioinformatics↗

SIMOFF: Discovering the metabolic objective of the cell

There are huge variations in metabolic complexity between the different kingdoms of life. Whilst it has been shown that some simple, unicellular organisms such as E. coli direct their energetic resources towards maximising proliferation, the metabolic goals of more complex organisms are unclear. This is an especially important topic for engineered organisms, such as Chinese Hamster Ovary (CHO) cells, that have been modified to produce therapeutically relevant compounds. This metabolic goal is reflected in the objective function of a constraint-based model (CBM) and has a direct impact on the metabolic flux distribution that is predicted using Flux Balance Analysis (FBA). However, there is no broadly applicable approach to infer this objective function from experimental data, to ensure CBMs represent real growth conditions. Here, we developed SIMOFF (SIMulated annealing Objective Function Finder) to infer the most appropriate objective function from minimal experimental flux data. Our applications of SIMOFF to S. cerevisiae demonstrated that the most suitable objective function is dependent on key metabolic phenotypes, even when the same organism and conditions are being modelled. Furthermore, we demonstrated the translatability of SIMOFF through application to CHO cells, where we showed that a SIMOFF-inferred objective function improved the accuracy of gene essentiality simulations, resulting in more reliable experimental target predictions.

Systems Biology↗

Proteomics-constrained deconvolution reveals spatial cell-type programs in tumours

Accurately resolving cell-type mixtures in spatial transcriptomics remains challenging, particularly in heterogeneous tumours where cell populations are intermixed and matched single-cell references may be unavailable or poorly aligned. Current deconvolution approaches either require high-quality scRNA-seq references, suffer from scalability limitations, or lack interpretability. We introduce PISTACHIO, a proteomics-informed spatial transcriptomics deconvolution framework based on constrained non-negative matrix factorization with a negative-binomial likelihood. Rather than using probabilistic priors, PISTACHIO incorporates spatial cell-type constraints derived from paired Imaging Mass Cytometry, enforcing biologically grounded sparsity and explicit spatial feasibility of cell-type presence. PISTACHIO improved recovery of spatial cell-type distributions compared with Cell2location and STdeconvolve across synthetic and real tumour datasets. Our approach remains robust under cell-type assignment errors, maintaining high correlation with ground-truth under moderate noise, and achieves fast runtime on standard hardware, enabling practical large-scale deployment.

bioinformatics↗

CellTypeAI: Automated cell identification for scRNA-seq using local generative-AI

Single-cell RNA sequencing (scRNA-seq) cell annotation techniques rely on the matching of known defining marker genes to a given cell population. However, these methods may lack robustness to dynamic fluctuations in cell marker expression between patients, samples and pathologies. The advent of easy-to-implement predictive technologies, like generative-AI (gen-AI), has facilitated the introduction of computational workflows that improve otherwise inaccurate context-dependent cell type annotation. Here, we introduce CellTypeAI, a streamlined, scalable program developed for tissue context-dependent cell annotation of scRNA-seq datasets using modern gen-AI models, enhanced by retrieval augmented generation methods. Our implementation builds upon local gen-AI hosting technologies and directly integrates into scRNA-seq analysis pipelines. We show that CellTypeAI provides improved annotation accuracy compared to current conventional annotation methods and nascent cloud-based gen-AI approaches. As CellTypeAI leverages locally-run AI models, it can be applied to sensitive datasets, unlike approaches utilising online gen-AI tools such as ChatGPT, DeepSeek, or Claude. CellTypeAI presents a novel solution for tissue-specific cell type identification, overcoming traditional marker-based limitations via locally-deployed generative-AI models. Contactjohn.grainger-2@manchester.ac.uk; magnus.rattray@manchester.ac.uk

bioinformatics↗

Genomic foundation models reveal RNA-binding proteins regulating translation and mRNA degradation during Drosophila development

BackgroundThe regulation of mRNA decay and translation is crucial for cellular function and development; however, the complex interplay of RNA-binding proteins (RBPs) regulating these processes remains incompletely understood. Recent advances in genomic foundation models present new opportunities for decoding the regulatory grammar embedded within mRNA untranslated regions (UTRs). Here, we leverage explainable artificial intelligence to systematically identify RBP motifs that influence translation and mRNA decay during Drosophila melanogaster development. ResultsWe extended the training of GENA-LM Fly, a genomic foundation model, on all 5 and 3 UTR pairs from the D. melanogaster genome. We separately fine-tuned it using ribosome density (RD) and mRNA decay (half-life) data from the embryonic maternal-to-zygotic transition (MZT). Using SHapley Additive exPlanations (SHAP) analysis, we identified the sequence regions most influential for prediction and performed motif enrichment analysis to discover associated RBP binding sites. We identified 42 unique RBPs associated with increasing (n=23; e.g., Rnp4f, Mxt) or decreasing (n=19; e.g., Aret/Bruno, Rox8, Sxl, Orb2) RD and 18 unique RBPs associated with increasing (n=6) and decreasing (n=12; e.g., Cnot4, Rbp9, Rox8) mRNA half-life. Using publicly available PAR-CLIP data, we validated our Orb2 signal in a Drosophila cell line. Furthermore, feature ablation and shuffling experiments revealed the contributions of different sequence components to model performance. Our approach significantly outperformed naive high-versus-low RD comparisons, demonstrating the power of model explainability in biological discovery. ConclusionsThis study demonstrates that genomic foundation models, when combined with explainability methods, can discover meaningful biology even without drastically improving the underlying prediction accuracy. The identified RBP motifs provide new insights into post-transcriptional regulatory elements that govern RD and decay during early development.

bioinformatics↗

metaAPA: a tool for integration of PolyA site predictions from single-cell and spatial transcriptomics

MotivationSingle-cell 3-tagging sequencing, such as that provided by 10x Genomics, can be utilized to study alternative polyadenylation (APA). APA can affect RNA function, stability, and subcellular localization, thereby influencing development and disease processes. Currently, computational tools based on various algorithms, such as Sierra, polyApipe, and SCAPE, have been developed to infer polyA site positions from scRNA-seq data. However, these methods exhibit significant differences in the number of predicted sites and positional inconsistencies in the sites identified for the same gene, leading to divergent conclusions when analyzing the same data with different tools. ResultsWe designed two strategies to integrate the outputs of alternative APA tools, enabling users to select appropriate polyA site sets based on their specific needs. Our method can be used to extract high confidence sites, supported by all methods, as well as putative sites supported by a subset of methods. We find that methods with high sensitivity for detecting APA sites can be usefully augmented by methods with higher positional accuracy but lower sensitivity. We show that our method obtains the expected number of high-confidence sites and that these sites exhibit the expected biological sequence characteristics. Availability and Implementationhttps://github.com/ManchesterBioinference/metaAPA Contactqian.zhao@manchester.ac.uk; magnus.rattray@manchester.ac.uk

bioinformatics↗

Decoding the Spatial and Epigenetic Logic of Early Skin Development

The embryonic epidermis originates from a simple single-layered ectoderm that undergoes precise transcriptional and morphological transitions to generate a self-replenishing, multi-layered epidermis. A key early milestone is the emergence of the periderm; a transient, protective layer whose disruption underlies a series of devastating human congenital disorders. Despite its importance, the gene regulatory networks that drive periderm formation remain poorly defined. Here, we integrate single-cell multiome profiling with high-resolution spatial transcriptomics analysis in wild-type and transcription factor p63 mutant (Trp63-/-) embryos to dissect the transcriptional and epigenetic programs driving epidermal lineage diversification. We resolve the cellular repertoire of early embryonic skin, define epithelial subpopulations and reconstruct the transcriptional dynamics underlying the periderm emergence. We show that p63 sits at the core of a multilayered enhancer-gene regulatory network, demonstrate how this network is perturbed in vivo, and functionally validate key targets using comparative cellular models. Together, these findings delineate the gene regulatory architecture of early skin development and establish a framework for understanding epithelial-associated congenital disorders.

developmental biology↗

DeepPathway: Predicting Pathway Expression from Histopathology Images

Spatial transcriptomics (ST) technologies provide spatially resolved gene expression along with image data, allowing the integrative analysis of complex tissue microenvironments. Despite their potential, the widespread adoption of ST remains limited due to high costs, and methodological challenges in data acquisition. Thus, there have been recent efforts to develop deep learning methods capable of inferring spatial gene expression from the much cheaper and easily available haematoxylin and eosin (H&E) images. These methods demonstrate promising results in reconstructing transcriptomic landscapes within tissue sections. While existing approaches predominantly focus on gene-level predictions, biological processes are often regulated at the pathway level through coordinated activity among functionally related genes. We present DeepPathway, a contrastive learning-based approach trained on ST data to predict pathway expression from H&E-stained sections. We compute input pathway expression by summarizing the expression of constituent genes using established pathway definitions. We evaluate the performance of our method on two prostate cancer datasets and validate our approach on the H&E images acquired from The Cancer Genome Atlas (TCGA) clearly differentiating between normal and tumour tissues. Finally, we apply our method to predict hypoxia signatures using H&Es of brain tumour samples where hypoxia staining with pimonidazole was available as ground truth. Implementation code for DeepPathway is available at https://github.com/aahsan045/DeepPathway.

bioinformatics↗

Cell-ECM Graphs: A Graph-Based Method for Joint Analysis of Cells and the Extracellular Matrix

Spatial proteomics technologies now profile cells and the extracellular matrix (ECM) together in situ. Yet analysis tools remain cell-centric, despite the ECM playing an essential role in health and disease. Here we present Mantpy, a framework that represents the ECM, and its interface with cells, as spatial graphs. Mantpy builds ECM graphs directly from matrix markers and links them with cell graphs for joint cell-ECM analysis, supporting graph statistics, explainable graph deep learning and visualisation. From a single ECM marker to multiplexed panels of ECM and cellular markers, Mantpy recovers layered tissue architecture in human intestine, resolves disease-associated matrix composition and organisation in infected mouse liver, and characterises cell-matrix associations in mouse lung. Released with ECM-inclusive datasets and interoperating with the scverse ecosystem, Mantpy extends the unit of spatial analysis beyond the cell, to the matrix that surrounds it.

bioinformatics↗

One-Hot News: Drug Synergy Models Take a Shortcut

Combinatorial drug therapy holds great promise for tackling complex diseases, but the vast number of possible drug combinations makes exhaustive experimental testing infeasible. Computational models have been developed to guide experimental screens by assigning synergy scores to drug pair-cell line combinations, where they take input structural and chemical information on drugs and molecular features of cell lines. The premise of these models is that they leverage this biological and chemical information to predict synergy measurements. In this study, we demonstrate that replacing drug and cell line representations with simple one-hot encodings results in comparable or even slightly improved performance across diverse published drug combination models. This unexpected finding suggests that current models use these representations primarily as identifiers and exploit covariation in the synergy labels. Our synthetic data experiments show that models can learn from the true features; however, when drugs and cell lines recur across drug-drug-cell triplets, this repeating structure impairs feature-based learning. While the current synergy prediction models can still aid in prioritizing drug pairs within a panel of tested drugs and cell lines, our results highlight the need for better strategies to learn from intended features and generalize to unseen drugs and cell lines.

bioinformatics↗

Spatially regulated mRNA decay sharpens expression patterns in the Drosophila embryo

The regulation of mRNA decay is important for numerous cellular and developmental processes. Here, we use the patterning gene even-skipped (eve) in the early Drosophila embryo to investigate the contribution of mRNA decay to shaping the mature striped expression pattern. Using mathematical models to analyse live and fixed imaging data, we show that for eve stripes 2 and 4, spatially regulated degradation rates outperform models with constant or mRNA age-dependent decay. Uniform mRNA decay rates perturb definition of eve stripes 2 and 4 in silico, and we show that altering eve mRNA numbers in vivo by changing the UTR results in dysregulation of the anterior-posterior pair-rule network and embryo segmentation defects. Overall, these data demonstrate how eve mRNA instability can function with transcriptional regulation to define sharp expression domain borders. We suggest that spatially regulated mRNA stability may be widely used to sculpt expression patterns during development.

developmental biology↗

Exploiting the SunTag system to study the developmental regulation of mRNA translation

The ability to quantitatively study mRNA translation using SunTag imaging is transforming our understanding of the translation process. Here, we expand the SunTag method to study new aspects of translation regulation in Drosophila. Repression of the maternal hunchback (hb) mRNA in the posterior of the Drosophila embryo is a textbook example of translational control. Using SunTag imaging to quantitate translation of maternal SunTag-hb mRNAs, we show that repression in the posterior is leaky as [~]5% of SunTag-hb mRNAs are translated. In the anterior of the embryo, the maternal and zygotic SunTag-hb mRNAs show similar translation efficiency despite having different UTRs. We demonstrate that the SunTag-hb mRNA can be used as a reporter to study ribosome pausing at single-mRNA resolution, by exploiting the conserved xbp1 mRNA and A60 pausing sequences. Finally, we adapt the detector component of the SunTag system to visualise and quantitate translation of the short gastrulation (sog) mRNA, encoding an essential secreted extracellular BMP regulator, at the endoplasmic reticulum in fixed and live embryos. Together, these tools will facilitate the future dissection of translation regulatory mechanisms during development.

developmental biology↗

DeepSynBa: Actionable Drug Combination Prediction with Complete Dose-Response Profiles

Many cancer monotherapies demonstrate limited clinical efficacy, making combination therapies a relevant treatment strategy. The extensive number of potential drug combinations and context-specific response profiles complicates the prediction of drug combination responses. Existing computational models are typically trained to predict a single aggregated synergy score, which summarises drug responses across different dosage combinations, such as Bliss or Loewe scores. This oversimplification of the drug-response surface leads to high prediction uncertainty and limited actionability, as these models fail to distinguish between potency and efficacy. We introduce DeepSynBa, an actionable model that predicts the complete dose-response matrix of drug pairs instead of relying on an aggregated synergy score. This is achieved by predicting parameters describing the response surface as an intermediate layer in the model. Evaluated on the NCI-ALMANAC and the ONeil datasets, DeepSynBa outperforms the state-of-the-art methods in the dose-response matrix prediction task across most evaluation scenarios, including testing on novel drug combinations, cell lines, and drugs, across nine different tissue types. We also show that DeepSynBa yields reliable synergy score predictions. More importantly, DeepSynBa can predict drug combination responses across different dosages for untested combinations. The intermediate dose-response parameter layer enables the separation of efficacy from potency, informing the selection of dosage ranges that optimise efficacy while limiting off-target toxicity in experimental screens. The predictive capability and the downstream actionability make DeepSynBa a powerful tool for advancing drug combination research beyond the limitations of the current approaches. The code and the dataset for DeepSynBa are available at https://github.com/hikuru/DeepSynBa.

bioinformatics↗

Guidelines for alternative polyadenylation identification tools using single-cell and spatial transcriptomics data

BackgroundMany popular single-cell and spatial transcriptomics platforms exhibit 3 bias, making it challenging to resolve all transcripts but potentially more feasible to resolve alternative polyadenylation (APA) events. Despite the development of several tools for identifying APA events in scRNA-seq data, a neutral benchmark is lacking, complicating the choice for biologists. ResultsWe categorized existing APA analysis tools into three main classes, with the alignment-based class being the largest and we further divided this category into four sub-types. We compared the performance of methods from each algorithmic subtype in terms of site identification, quantification, and differential expression analysis across four single-cell and spatial transcriptomic datasets, using matched nanopore data as ground truth. No single method showed absolute superiority in all comparisons. Therefore, we selected representative methods (Sierra, scAPAtrap, and SCAPE) to deeply analyze the impact of different algorithmic choices on performance. SCAPE which is based on the distance estimation demonstrated less sensitivity to changes in read length and sequencing depth. It identified the most sites and achieved high recall but does not account for the impact of alternative splicing on site identification, leading to a loss in precision. Sierra that fits a coverage distribution is sensitive to changes in sequencing depth and identifies relatively fewer sites, but it considers the impact of junction reads on site identification and this results in relatively high precision. scAPAtrap combines peak calling and soft clipping, both of which are sensitive to sequencing depth. Moreover, soft clipping is particularly sensitive to read length, with increased read length leading to more false positive sites. Quantification consistency was affected by Cell Ranger versions and parameters, influencing downstream analysis but having less effect on differential expression between cell types. ConclusionsEach method has unique strengths. SCAPE is recommended for low-coverage data, scAPAtrap for moderate read lengths including intergenic sites, and Sierra for high-depth data with alternative splicing considerations. Filtering low-confidence sites, choosing appropriate mapping tools, and optimizing window size can improve performance.

bioinformatics↗

Extracellular matrix phenotyping by imaging mass cytometry defines distinct cellular matrix environments associated with allergic airway inflammation.

The extracellular matrix (ECM) forms the scaffold in which cells reside and interact. The composition of this scaffold guides the development of local immune responses and tissue function. With the advent of multiplexed spatial imaging methodologies, investigating the intricacies of cellular spatial organisation are more accessible than ever. However, the relationship between cellular organisation and ECM composition has been broadly overlooked. Using imaging mass cytometry, we investigated the association between cellular niches and their surrounding matrix environment during allergic airway inflammation in two commonly used mouse strains. By first classifying cells according to their canonical intracellular markers and then by developing a novel analysis pipeline to independently characterise a cells ECM environment, we integrated analysis of both intracellular and extracellular data. Applying this methodology to three distinct tissue regions we reveal disparate and restricted responses. Recruited neutrophils were dispersed within the alveolar parenchyma, alongside a loss of alveolar type I cells and an expansion of alveolar type II cells. This activated parenchyma was associated with increased proximity to hyaluronan and chondroitin sulphate. In contrast, infiltrating CD11b+ and MHCII+ cells accumulated in the adventitial cuff and aligned with an expansion of the subepithelial layer. This expanded subepithelial region was enriched for closely interacting stromal and CD11b+ immune cells which overlaid regions enriched for type-I and type-III collagen. The cell-cell and cell-matrix interactions identified here will provide a greater understanding of the mechanisms and regulation of allergic disease progression across different inbred mouse strains and provide specific pathways to target aspects of remodelling during allergic pathology. Graphical Abstract O_FIG O_LINKSMALLFIG WIDTH=200 HEIGHT=135 SRC="FIGDIR/small/623782v2_ufig1.gif" ALT="Figure 1"> View larger version (58K): org.highwire.dtl.DTLVardef@dcaf56org.highwire.dtl.DTLVardef@7b5d7forg.highwire.dtl.DTLVardef@1376d4eorg.highwire.dtl.DTLVardef@1e95801_HPS_FORMAT_FIGEXP M_FIG C_FIG

immunology↗

UVAE: Integration of Heterogeneous Unpaired Data with Imbalanced Classes

We introduce the Unbiasing Variational Autoencoder (UVAE), a computational framework for the integration of unpaired biomedical data streams such as clinical flow cytometry. UVAE addresses batch effect correction and data alignment by training a semi-supervised model on partially labelled datasets, enabling simultaneous normalisation and integration of diverse data within a shared latent space. The framework implements a probabilistic model for batch effect normalisation and balances class contents during training to ensure accurate representation of underlying cell composition. We apply UVAE to integrate heterogeneous clinical flow cytometry data from COVID-19 patients. The integrated data enhances the statistical signal of cell types associated with disease severity, enables clustering of subpopulations without the impediment of batch effects, and improves the performance of longitudinal regression for predicting peak disease severity from temporal patient samples.

bioinformatics↗

Hierarchical Gaussian process models explore the dark meltome of thermal proteome profiling experiments.

Thermal proteome profiling (TPP) is a proteome wide technology that enables unbiased detection of protein drug interactions as well as changes in post-translational state of proteins between different biological conditions. Statistical analysis of temperature range TPP (TPP-TR) datasets relies on comparing protein melting curves, describing the amount of non-denatured proteins as a function of temperature, between different conditions (e.g. presence or absence of a drug). However, state-of-the-art models are restricted to sigmoidal melting behaviours while unconventional melting curves, representing up to 50% of TPP-TR datasets, have recently been shown to carry important biological information. We present a novel statistical framework, based on hierarchical Gaussian process models and named GPMelt, to make TPP-TR datasets analysis unbiased with respect to the melting profiles of proteins. GPMelt scales to multiple conditions, and extension of the model to deeper hierarchies (i.e. with additional sub-levels) allows to deal with complex TPP-TR protocols. Collectively, our statistical framework extends the analysis of TPP-TR datasets for both protein and peptide level melting curves, offering access to thousands of previously excluded melting curves and thus substantially increasing the coverage and the ability of TPP to uncover new biology. Author summaryProteins interactions with other proteins, nucleic acids or metabolites, are key to all biological processes. Being able to detect these interactions is essential to understand biological systems. Thermal proteome profiling is a proteome-wide biological assay able to capture these interactions. It consists in analysing the effect of heat treatment on proteins. Indeed, proteins, under physiological conditions, are folded. This folding gets disrupted as the temperature increases. The way this unfolding happens, called the melting profile of the protein, informs on the interactions of proteins. For example, the interaction of a protein with another protein can increase (thermally stabilise) or decrease (thermally destabilise) the temperature at which this protein starts unfolding. In this work, we present a new statistical method, named GPMelt, to analyse these melting profiles. Notably, GPMelt allows to analyse any melting profiles, independently of their shapes. The proposed improvements over previously published methods allow to investigate more robustly the melting profiles of more proteins, hence increasing the ability of thermal proteome profiling assays to discover new protein interactions. We anticipate that these advancements will aid in unravelling complex biological phenomena.

bioinformatics↗

CellPie: a fast spatial transcriptomics topic discovery method via joint factorization of gene expression and imaging data

Spatially resolved transcriptomics has enabled the study of expression of genes within tissues while retaining their spatial identity. Most spatial transcriptomics technologies generate a matched histopathological image as part of the standard pipeline, providing morphological information that can complement the transcriptomics data. Here we present CellPie, a fast, unsupervised factor discovery method, based on joint non-negative matrix factorisation of spatial RNA transcripts and histological image features.CellPie employs the accelerated hierarchical least squares method to significantly reduce the computational time, enabling efficient application to high-dimensional spatial transcriptomics datasets. We assessed CellPie on two different human cancer types and spatial resolutions, showing an improved performance against published factorisation methods. Additionally, we applied CellPie to a highly resolved Visium HD dataset, demonstrating its high computational efficiency compared to standard non-negative matrix factorisation and other existing methods. Availabilityhttps://github.com/ManchesterBioinference/CellPie

bioinformatics↗