Abstract
Reconstructing the three-dimensional molecular architecture of tissues from two-dimensional spatial transcriptomics slices is a central goal in spatial biology. Spatial alignment, the computational registration of multiple tissue slices using their spatial coordinates and gene expression profiles, provides the foundational framework for this integrative perspective. Although numerous alignment methods have emerged, a comprehensive benchmark to guide their application has been notably absent. Here we address this by systematically evaluating a diverse suite of leading methods. Executing 295 distinct alignment tasks across diverse datasets and technologies, our framework quantifies method accuracy, efficiency, usability and robustness, while also assessing the downstream impact of alignment quality. Crucially, our study systematically investigates performance in challenging real-world scenarios, uncovering substantial limitations in current tools. To address these bottlenecks, we propose and validate effective mitigation strategies. Finally, we provide practical guidelines to assist researchers in selecting the optimal alignment method and optimizing their analytical workflows.
This is a preview of subscription content, access via your institution
Access options
Access Nature and 54 other Nature Portfolio journals
Get Nature+, our best-value online-access subscription
$32.99 / 30 days
cancel any time
Subscribe to this journal
Receive 12 digital issues and online access to articles
$119.00 per year
only $9.92 per issue
Buy this article
- Purchase on SpringerLink
- Instant access to the full article PDF.
USD 39.95
Prices may be subject to local taxes which are calculated during checkout






Similar content being viewed by others
Data availability
Data1 to Data4 were downloaded from ref. 53 (https://doi.org/10.1186/s12864-022-08601-w). Data5 to Data9 were obtained from ref. 55 (https://doi.org/10.5061/dryad.8t8s248). Data10 to Data15 were downloaded from ref. 56 (https://doi.org/10.1016/j.cell.2020.08.043). Data16 to Data31 were obtained from https://db.cngb.org/stomics/flysta3d/. Data32 to Data33 were obtained from https://www.10xgenomics.com/cn/datasets/mouse-brain-serial-section-1-sagittal-anterior-1-standard-1-0-0 and https://www.10xgenomics.com/cn/datasets/mouse-brain-serial-section-2-sagittal-anterior-1-standard. Data 34 to Data35 were obtained from https://www.10xgenomics.com/cn/datasets/mouse-brain-serial-section-1-sagittal-posterior-1-standard-1-1-0 and https://www.10xgenomics.com/cn/datasets/mouse-brain-serial-section-2-sagittal-posterior-1-standard. Data36 to Data38 were obtained from ref. 57. Data39 to Data41 were obtained from ref. 57 (https://doi.org/10.1038/s41592-024-02215-8). Data42 to Data44 were obtained from https://info.vizgen.com/mouse-brain-data. Data45 to Data77 were obtained from ref. 58 (https://doi.org/10.1038/s41586-021-03705-x). Data78 to Data79 were obtained via GitHub at https://github.com/JinmiaoChenLab/SEDR_analyses and at https://singlecell.broadinstitute.org/single_cell/study/SCP815, respectively. Data80 to Data98 were obtained from ref. 33 (https://doi.org/10.1016/j.cell.2024.05.055). Data99 to Data227 were obtained from ref. 40 (https://doi.org/10.1038/s41586-023-06808-9). Data228 to Data230 were obtained from ref. 10 (https://doi.org/10.1038/s41467-023-43458-x). Data231 to Data240 were downloaded via ST at https://www.molecularatlas.org/st-js-viewer (21A, ref. 43), via 10x Visium at https://www.10xgenomics.com/datasets/adult-mouse-brain-coronal-section-fresh-frozen-1-standard (ref. 44), via MERFISH at https://info.vizgen.com/mouse-brain-data (S2R3, ref. 45), STARmap PLUS via Zenodo at https://doi.org/10.5281/zenodo.8327576 (well11, ref. 31), via Stereo-seq at https://mouse.digital-brain.cn/spatial-omics (T312, ref. 46), via Slide-seq at https://www.braincelldata.org/cellspatial (46, ref. 41), via Xenium at https://www.10xgenomics.com/datasets/fresh-frozen-mouse-brain-replicates-1-standard (ref. 44), via Xenium 5k at https://www.10xgenomics.com/datasets/xenium-prime-fresh-frozen-mouse-brain (ref. 44), via Visium HD at https://www.10xgenomics.com/datasets/visium-hd-cytassist-gene-expression-mouse-brain-fresh-frozen (ref. 44) and via CosMx at https://nanostring.com/products/cosmx-spatial-molecular-imager/ffpe-dataset/cosmx-smi-mouse-brain-ffpe-dataset/ (ref. 34). Source data are provided with this paper.
Code availability
The code and tutorials are available via GitHub at https://github.com/Yunzhi-Yan/SABench and via Zenodo at https://doi.org/10.5281/zenodo.18605715 (ref. 65).
References
Bressan, D., Battistoni, G. & Hannon, G. J. The dawn of spatial omics. Science 381, eabq4964 (2023).
Williams, C. G., Lee, H. J., Asatsuma, T., Vento-Tormo, R. & Haque, A. An introduction to spatial transcriptomics for biomedical research. Genome Med. 14, 68 (2022).
Moffitt, J. R., Lundberg, E. & Heyn, H. The emerging landscape of spatial profiling technologies. Nat. Rev. Genet. 23, 741–759 (2022).
10x Genomics products. 10x Genomics https://www.10xgenomics.com/ (accessed May 2025).
Rodriques, S. G. et al. Slide-seq: a scalable technology for measuring genome-wide expression at high spatial resolution. Science 363, 1463–1467 (2019).
Chen, A. et al. Spatiotemporal transcriptomic atlas of mouse organogenesis using DNA nanoball-patterned arrays. Cell 185, 1777–1792 (2022).
Chen, K. H., Boettiger, A. N., Moffitt, J. R., Wang, S. & Zhuang, X. Spatially resolved, highly multiplexed RNA profiling in single cells. Science 348, aaa6090 (2015).
Lubeck, E. & Cai, L. Single-cell systems biology by super-resolution imaging and combinatorial labeling. Nat. Methods 9, 743–748 (2012).
Wang, X. et al. Three-dimensional intact-tissue sequencing of single-cell transcriptional states. Science 361, eaat5691 (2018).
Janesick, A. et al. High resolution mapping of the tumor microenvironment using integrated single-cell, spatial and in situ analysis. Nat. Commun. 14, 8353 (2023).
Lin, Y. & Yang, J. Y. H. 3D reconstruction of spatial expression. Nat. Methods 19, 526–527 (2022).
Wang, G. et al. Construction of a 3D whole organism spatial atlas by joint modelling of multiple slices with deep neural networks. Nat. Mach. Intell. 5, 1200–1213 (2023).
Long, Y. et al. Spatially informed clustering, integration, and deconvolution of spatial transcriptomics with GraphST. Nat. Commun. 14, 1155 (2023).
Chen, J. et al. A survey on deep learning in medical image registration: new technologies, uncertainty, evaluation metrics, and beyond. Med. Image Anal. 100, 103385 (2025).
Sotiras, A., Davatzikos, C. & Paragios, N. Deformable medical image registration: a survey. IEEE Trans. Med. Imaging 32, 1153–1190 (2013).
Zeira, R., Land, M., Strzalkowski, A. & Raphael, B. J. Alignment and integration of spatial transcriptomics data. Nat. Methods 19, 567–575 (2022).
Liu, X., Zeira, R. & Raphael, B. J. Partial alignment of multislice spatially resolved transcriptomics data. Genome Res. 33, 1124–1132 (2023).
Zhou, X., Dong, K. & Zhang, S. Integrating spatial transcriptomics data across different conditions, technologies and developmental stages. Nat. Comput. Sci. 3, 894–906 (2023).
Jones, A., Townes, F. W., Li, D. & Engelhardt, B. E. Alignment of spatial genomics data using deep Gaussian processes. Nat. Methods 20, 1379–1387 (2023).
Xia, C.-R., Cao, Z.-J., Tu, X.-M. & Gao, G. Spatial-linked alignment tool (SLAT) for aligning heterogenous slices. Nat. Commun. 14, 7236 (2023).
Clifton, K. et al. STalign: alignment of spatial transcriptomics data using diffeomorphic metric mapping. Nat. Commun. 14, 8123 (2023).
Tang, Z. et al. Search and match across spatial omics samples at single-cell resolution. Nat. Methods 21, 1818–1829 (2024).
Yu, Y. & Xie, Z. Spatial transcriptomic alignment, integration, and de novo 3D reconstruction by STAIR. Preprint at Research Square https://doi.org/10.21203/rs.3.rs-3939678/v1 (2024).
Xu, H. et al. SPACEL: deep learning-based characterization of spatial transcriptome architectures. Nat. Commun. 14, 7603 (2023).
Qiu, X. et al. Spatiotemporal modeling of molecular holograms. Cell 187, 7351–7373 (2024).
Li, H. et al. SANTO: a coarse-to-fine alignment and stitching method for spatial omics. Nat. Commun. 15, 6048 (2024).
Hu, Y. et al. Benchmarking clustering, alignment, and integration methods for spatial transcriptomics. Genome Biol. 25, 212 (2024).
He, S. et al. High-plex imaging of RNA and proteins at subcellular resolution in fixed tissue by spatial molecular imaging. Nat. Biotechnol. 40, 1794–1806 (2022).
Ståhl, P. L. et al. Visualization and analysis of gene expression in tissue sections by spatial transcriptomics. Science 353, 78–82 (2016).
Chen, X., Sun, Y.-C., Church, G. M., Lee, J. H. & Zador, A. M. Efficient in situ barcode sequencing using padlock probe-based BaristaSeq. Nucleic Acids Res. 46, e22 (2018).
Shi, H. et al. Spatial atlas of the mouse central nervous system at molecular resolution. Nature 622, 552–561 (2023).
Stickels, R. R. et al. Highly sensitive spatial transcriptomics at near-cellular resolution with Slide-seqV2. Nat. Biotechnol. 39, 313–319 (2021).
Schott, M. et al. Open-ST: high-resolution spatial transcriptomics in 3D. Cell 187, 3953–3972 (2024).
CosMx SMI datasets. nanoString https://nanostring.com/products/cosmx-spatial-molecular-imager/ffpe-dataset (accessed February 2025).
Pedregosa, F. et al. Scikit-learn: machine Learning in Python. J. Mach. Learn. Res. 12, 2825–2830 (2011).
Maynard, K. R. et al. Transcriptome-scale spatial gene expression in the human dorsolateral prefrontal cortex. Nat. Neurosci. 24, 425–436 (2021).
Moffitt, J. R. et al. Molecular, spatial, and functional single-cell profiling of the hypothalamic preoptic region. Science 362, eaau5324 (2018).
Wang, C. et al. Benchmarking the translational potential of spatial gene expression prediction from histology. Nat. Commun. 16, 1544 (2025).
Yao, Z. et al. A high-resolution transcriptomic and spatial atlas of cell types in the whole mouse brain. Nature 624, 317–332 (2023).
Zhang, M. et al. Molecularly defined and spatially resolved cell atlas of the whole mouse brain. Nature 624, 343–354 (2023).
Langlieb, J. et al. The molecular cytoarchitecture of the adult mouse brain. Nature 624, 333–342 (2023).
Xu, H. et al. Unsupervised spatially embedded deep representation of spatial transcriptomics. Genome Med. 16, 12 (2024).
Ortiz, C. et al. Molecular atlas of the adult mouse brain. Sci. Adv. 6, eabb3446 (2020).
Publicly available spatial transcriptomics datasets. 10x Genomics https://www.10xgenomics.com/cn/datasets (accessed February 2025).
Available data releases program. Vizgen https://vizgen.com/data-release-program (accessed October 2020).
Han, L. et al. Spatially resolved molecular and cellular atlas of the mouse brain. Preprint at bioRxiv https://doi.org/10.1101/2023.12.03.569501 (2023).
Wang, M. et al. High-resolution 3D spatiotemporal transcriptomic maps of developing Drosophila embryos and larvae. Dev. Cell 57, 1271–1283 (2022).
Chen, W. et al. A visual–omics foundation model to bridge histopathology with spatial transcriptomics. Nat. Methods https://doi.org/10.1038/s41592-025-02707-1 (2025).
Halmos, P. et al. DeST-OT: alignment of spatiotemporal transcriptomics data. Cell Syst. 16, 101160 (2025).
Yang, F. et al. scBERT as a large-scale pretrained deep language model for cell type annotation of single-cell RNA-seq data. Nat. Mach. Intell. 4, 852–866 (2022).
Cui, H. et al. scGPT: toward building a foundation model for single-cell multi-omics using generative AI. Nat. Methods 21, 1470–1480 (2024).
Tejada-Lapuerta, A. et al. Nicheformer: a foundation model for single-cell and spatial omics. Nat. Methods 22, 2525–2538 (2025).
Pardo, B. et al. spatialLIBD: an R/Bioconductor package to visualize spatially-resolved transcriptomics data. BMC Genomics 23, 434 (2022).
Li, Z. & Zhou, X. BASS: multi-scale and multi-sample analysis enables accurate cell type clustering and spatial domain detection in spatial transcriptomic studies. Genome Biol. 23, 168 (2022).
Moffitt, J. R. et al. Data from: molecular, spatial and functional single-cell profiling of the hypothalamic preoptic region. Dryad https://doi.org/10.5061/dryad.8t8s248 (2018).
Ji, A. L. et al. Multimodal analysis of composition and spatial architecture in human squamous cell carcinoma. Cell 182, 497–514 (2020).
Yuan, Z. et al. Benchmarking spatial clustering methods with spatially resolved transcriptomics data. Nat. Methods 21, 712–722 (2024).
Zhang, M. et al. Spatially resolved cell atlas of the mouse primary motor cortex by MERFISH. Nature 598, 137–143 (2021).
Virtanen, P. et al. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nat. Methods 17, 261–272 (2020).
Edelsbrunner, H., Kirkpatrick, D. & Seidel, R. On the shape of a set of points in the plane. IEEE Trans. Inf. Theory 29, 551–559 (1983).
Zestanakis, P. alpha_shapes. GitHub https://github.com/panosz/alpha_shapes (2024).
R: a language and environment for statistical computing. The R Foundation https://www.R-project.org/ (2022).
Zuo, C. et al. Elucidating tumor heterogeneity from spatially resolved transcriptomics data by multi-view graph collaborative learning. Nat. Commun. 13, 5962 (2022).
Rosenberg, A. & Hirschberg, J. V-measure: a conditional entropy-based external cluster evaluation measure. In Proc. Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning 410–420 (ACL, 2007).
Yan, Y. Benchmarking alignment methods for spatial transcriptomics data. Zenodo https://doi.org/10.5281/zenodo.18605715 (2026).
Acknowledgements
This work is supported by the Shanghai Municipal Science and Technology Major Project (grant number 2023SHZDZX02), the National Key R&D Project of China (grant numbers 2023YFC3402501 and 2023YFC3402500) and the AI for Science Foundation of Fudan University (grant number FudanX24A1031) to B.Z.Q. Z.Y. acknowledges the support by National Nature Science Foundation of China (grant numbers 62303119 (Z.Y.) and 32470706 (Z.Y.)), Shanghai Science and Technology Development Funds (grant number 23YF1403000 (Z.Y.)), Fund of Fudan University and Cao’ejiang Basic Research (grant number 24FCA10 (Z.Y.)), the Computational Biology Program (number 25JS2850200 (Z.Y.)) of Science and Technology Commission of Shanghai Municipality (STCSM). The funders had no role in study design, data collection and analysis, decision to publish or preparation of the manuscript.
Author information
Authors and Affiliations
Contributions
Author contributions are described using CRediT roles (https://credit.niso.org/). Y.Y.: conceptualization, data curation, formal analysis, investigation, methodology, software, visualization, writing—original draft and writing—review and editing. T.G.: investigation, methodology, software and writing—review and editing. C.S.: investigation, methodology, software and writing—review and editing. Y. Zhang: investigation, methodology, software and writing—review and editing. Y.C.: investigation, methodology and software. S. Lin: software. Q.Z.: software. Y.D.: investigation. C.H.: investigation. K.K.: investigation. S. Li: investigation. Y. Zhao: investigation. Z.L.: investigation. Z.Y.: conceptualization, investigation, methodology, resources,. supervision and writing—review and editing. B.-Z.Q.: conceptualization, investigation, methodology, resources, supervision and writing—review and editing.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature Computational Science thanks Xi Jiang, Chen-Rui Xia and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available. Primary Handling Editors: Michelle Badri and Kaitlin McCardle, in collaboration with the Nature Computational Science team.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary information
Supplementary Information (download PDF )
Supplementary Notes 1 and 2 and Figs. 1–12.
Supplementary Table 1 (download XLSX )
Supplementary Table 1
Supplementary Table 2 (download XLSX )
Supplementary Table 2
Source data
Source Data Fig. 1 (download XLSX )
Source_data_Fig1.
Source Data Fig. 2 (download XLSX )
Source_data_Fig2.
Source Data Fig. 3 (download XLSX )
Source_data_Fig3.
Source Data Fig. 4 (download XLSX )
Source_data_Fig4.
Source Data Fig. 5 (download XLSX )
Source_data_Fig5.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Yan, Y., Gu, T., Sun, C. et al. Benchmarking alignment methods for spatial transcriptomics data. Nat Comput Sci (2026). https://doi.org/10.1038/s43588-026-00977-z
Received:
Accepted:
Published:
Version of record:
DOI: https://doi.org/10.1038/s43588-026-00977-z


