Related Experiment Video
Updated: Jun 15, 2026

Spatially Compact Arrangement of Larval Zebrafish Sections for Spatial Transcriptomic Analysis
Published on: May 16, 2025
STalign: Alignment of spatial transcriptomics data using diffeomorphic metric mapping
Kalen Clifton1,2, Manjari Anant1,3, Gohta Aihara1,2
1Center for Computational Biology, Whiting School of Engineering, Johns Hopkins University, Baltimore, MD, USA.
Abstract:
Spatial transcriptomics (ST) technologies enable high throughput gene expression characterization within thin tissue sections. However, comparing spatial observations across sections, samples, and technologies remains challenging. To address this challenge, we develop STalign to align ST datasets in a manner that accounts for partially matched tissue sections and other local non-linear distortions using diffeomorphic metric mapping. We apply STalign to align ST datasets within and across technologies as well as to align ST datasets to a 3D common coordinate framework. We show that STalign achieves high gene expression and cell-type correspondence across matched spatial locations that is significantly improved over landmark-based affine alignments. Applying STalign to align ST datasets of the mouse brain to the 3D common coordinate framework from the Allen Brain Atlas, we highlight how STalign can be used to lift over brain region annotations and enable the interrogation of compositional heterogeneity across anatomical structures. STalign is available as an open-source Python toolkit at https://github.com/JEFworks-Lab/STalign and as Supplementary Software with additional documentation and tutorials available at https://jef.works/STalign .

