Back

SPACKLE: A spatial-first framework for multi-layer spatial transcriptomic analysis

Maynard, T. M.

2026-05-29 bioinformatics
10.64898/2026.05.26.727917 bioRxiv
Show abstract

BackgroundThe emergence of accessible spatial transcriptomic platforms such as 10x Genomics Visium HD and Xenium has created demand for analysis tools that can handle the complexity and scale of spatial datasets. Current frameworks approach spatial data primarily as an extension of single-cell RNA-seq pipelines, where spatial coordinates are retained as metadata rather than treated as a first-class organizing principle. As a result, common tasks such as multi-modal data alignment, region-of-interest selection, and cross-resolution visualization require manually managing disparate data types, coordinates, and scales, making spatial analysis unnecessarily time-consuming and error-prone. ResultsWe present SPACKLE (Spatial Platform for Analysis of Composite stacKs and Layered data Extraction), a Python-based "spatial-first" framework that treats absolute physical micron coordinates as the organizing principle for all data types. All data - morphology images, transcript point clouds, expression matrices, segmented cells, and user-defined regions - are stored as typed objects ("Channels") that carry their own spatial metadata, keeping all layers in automatic registration regardless of platform, resolution, or analysis operation. Two complementary interfaces simplify access to underlying data: the ViewPort, a compositing engine for efficient multi-channel visualization, and the DataPort, which extracts raw data in its native format for downstream analysis. A set of spatial analysis tools demonstrates the practical benefits of the framework, including ROI-based expression binning, cortical unfolding, and sub-micron fine alignment of transcript and image data. The use of modern Python data management methods helps maintain the efficiency of the framework, allowing for quick visualizations and analysis with a low memory footprint. ConclusionsSPACKLE is designed to complement rather than replace widely used tools in the spatial analysis ecosystem (Scanpy, Squidpy, CellPose, StarDist), by handling the spatial mechanics of large datasets so that the analyst can focus on the biology. SPACKLE is freely available under the MIT license at https://github.com/maynardt/spackle.

Matching journals

The top 4 journals account for 50% of the predicted probability mass.

1
Bioinformatics
1204 papers in training set
Top 0.6%
30.6%
2
GigaScience
212 papers in training set
Top 0.1%
10.9%
3
Bioinformatics Advances
203 papers in training set
Top 0.4%
7.8%
4
BMC Bioinformatics
457 papers in training set
Top 1%
6.6%
50% of probability mass above
5
PLOS Computational Biology
1863 papers in training set
Top 7%
5.5%
6
Genome Biology
637 papers in training set
Top 3%
4.8%
7
NAR Genomics and Bioinformatics
242 papers in training set
Top 2%
3.1%
8
Journal of Open Source Software
25 papers in training set
Top 0.1%
2.6%
9
Nucleic Acids Research
1281 papers in training set
Top 8%
2.1%
10
PLOS ONE
5266 papers in training set
Top 45%
2.1%
11
Biological Imaging
15 papers in training set
Top 0.1%
1.9%
12
Nature Methods
385 papers in training set
Top 4%
1.7%
13
Frontiers in Genetics
230 papers in training set
Top 3%
1.4%
14
SoftwareX
15 papers in training set
Top 0.2%
1.1%
15
Scientific Reports
3612 papers in training set
Top 70%
1.0%
16
F1000Research
88 papers in training set
Top 4%
0.8%
17
Computational and Structural Biotechnology Journal
242 papers in training set
Top 8%
0.6%
18
BMC Genomics
406 papers in training set
Top 10%
0.6%
19
Nature Biotechnology
172 papers in training set
Top 5%
0.6%
20
Briefings in Bioinformatics
354 papers in training set
Top 8%
0.6%
21
Nature Communications
5641 papers in training set
Top 60%
0.6%
22
Journal of Bioinformatics and Systems Biology
15 papers in training set
Top 0.4%
0.6%