Spindle: Scalable Indexing of Spatial-Omics Data for Fast Querying
Souvik Ghosh, Stavros Sintos, Anrin Chakraborti, Hirak SarkariD
Abstract
Spatial transcriptomics (ST) has unlocked new avenues for biological discovery by jointly capturing gene expression and spatial context. ST datasets are typically stored as gene expression matrices paired with spatial coordinates, supporting queries based on expression levels at individual locations. However, characterizing how genes vary together requires representations of relationships between genes, such as covariance matrices computed over spatial neighborhoods. These gene--gene co-expression patterns capture coordinated biological variation and can reveal spatially localized gene programs. As datasets grow to atlas scale, efficiently searching for such patterns becomes a central computational bottleneck due to the combination of high dimensionality, extreme sparsity, and variability in gene expression across large numbers of spatial regions. Such searches require repeated access to second-order statistics, motivating a compact, searchable representation of spatial co-expression. We address this problem with Spindle, a platform-agnostic indexing algorithm for efficiently searching spatial gene co-expression patterns. Spindle exploits the approximate block-diagonal structure of gene--gene covariance matrices over spatial regions, in which covariances between blocks are small in magnitude, to selectively store informative components while compactly representing recurring covariance patterns. This yields a compressed yet searchable index suitable for atlas-scale spatial datasets. Across multiple real-world biological datasets (87,000--817,000 cells), Spindle indexes are 113--197 times smaller than the whole covariance matrices. A complete query, including query preprocessing, takes 2.8--28 ms on one CPU core, 5.1--16 times faster than a scan over the whole covariance matrices, and the tiles it returns recover a median of 81% of the exact near neighbors. In breast cancer, the regions retrieved by covariance search closely match the cell-type composition of the query (median cell-type composition difference 0.15, compared with 0.54 for random regions). Spindle supports both partial covariance queries and queries specified as gene lists, as well as retrieval across measurement platforms.
02 /Specification & Classification
Click any tag to browse matching papersReproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- SpaCoEx: Sparse Gene Selection for Spatially Varying Co-expression in Spatial Transcriptomics
Michale Jian, Shaojun Pei, Gil Alterovitz·bioRxiv·Sep 14, 2026
- SpaceX: Gene Co-expression Network Estimation for Spatial Transcriptomics
Satwik Acharyya, Xiang Zhou, Veerabhadran Baladandayuthapani·BioinformaticsPeer-reviewed·Sep 30, 2022
- Smoothie: Efficient Inference of Spatial Co-expression Networks from Denoised Spatial Transcriptomics Data
Chase Holdener, Iwijn De Vlaminck·Communications BiologyPeer-reviewed·Mar 26, 2026
- An information theoretic approach to detecting spatially varying genes
Daniel C. Jones, Patrick J. Danaher, … Evan William Newell·Cell Reports MethodsPeer-reviewed·Jun 1, 2023
- LRSPAT: A low-rank framework for spatial omics statistics
Hildreth Robert Frost·bioRxiv·Aug 31, 2026
- SparseAEH: Scalable autoregressive expression histology discovery in spatial transcriptomics via sparse Gaussian kernels
Tianjie Wang, Lingyu Li, Yuanhua Huang·bioRxiv·Jan 23, 2026