This preprint outlines the results of the “2nd SpatialData Hackathon” organised by the scverse and Bioconductor teams. The event gathered experts to advance spatial omics through four hackathon tracks: (i) R interoperability, (ii) accessibility and performance of visualization tools, (iii) design modernization for the SpatialData framework, and (iv) file formats and transformations (NGFF).Key achievements include extending the SpatialData, Zarr and bioimaging frameworks to R/Bioconductor ecosystem, improving visualization with 2.5D/3D rendering and a chunked multiscale point representation, introducing cloud-based IO and prototypes for lazy file linking and bidirectional element-table relationships, and developing a language-agnostic conformance test suite for OME-NGFF coordinate transformations. The hackathon fostered collaboration, creating infrastructure prototypes and identifying interoperability challenges. Documented on GitHub, these efforts brought together 24 participants from the US and Europe, promoting a FAIR ecosystem of spatial omics and imaging tools.

Figures

Comparison of Zarr, bioimaging and single-cell/spatial omics packages across scverse and Bioconductor ecosystems that inte...
Comparison of Zarr, bioimaging and single-cell/spatial omics packages across scverse and Bioconductor ecosystems that...Comparison of Zarr, bioimaging and single-cell/spatial omics packages across scverse and Bioconductor ecosystems that interface with SpatialData objects on disk (“Database-icon” by Zahra Ibrahem is licensed under CC BY-SA 4.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-sa/4.0/?ref=openverse.)
a) Left: SpatialData object representation in R. Middle: Spatial plot of cell centroids from Xenium breast cancer tissue s...
a) Left: SpatialData object representation in R. Middle: Spatial plot of cell centroids from Xenium breast cancer tis...a) Left: SpatialData object representation in R. Middle: Spatial plot of cell centroids from Xenium breast cancer tissue section colored by cell type assignment; black = bounding box query. Right: Image cropped to bounding box, including transcripts falling within another bounding box query, colored by in nucleus (pink) or not (hidden). The full-resolution image is ~25x35k pixels, and there are ~42M molecules; the visualization takes about 3 seconds, realizing only a small low-resolution array and a few thousand points into memory. b) Schematic of the anndataR roundtrip testing approach. An AnnData object containing a specific element for testing is generated in Python and saved to disk. This file is then re-read in R and saved to a new file. In the final step, the R output is read by Python and compared to the Python output. The reverse process where data is generated in R is also tested. c) Output of the plot.ome_zarr() method in the romeo R package. The top image applied a Z-stack operation to merge all channels and the bottom image shows all channels within separate panels. Image from a Breast cancer imaging mass cytometry (IMC) dataset .
Annotation of the invasive tumor of a breast cancer tissue in a Jupyter Widget using anybioimage.
Annotation of the invasive tumor of a breast cancer tissue in a Jupyter Widget using anybioimage.
Gallery of spatialdata-plot examples with copy-able code. Visium breast cancer dataset (right) was visualized .
Gallery of spatialdata-plot examples with copy-able code. Visium breast cancer dataset (right) was visualized .
Benchmark results for multiscale, chunked point representations on 10M points across five query types (Q1–Q4), comparing s...
Benchmark results for multiscale, chunked point representations on 10M points across five query types (Q1–Q4), compar...Benchmark results for multiscale, chunked point representations on 10M points across five query types (Q1–Q4), comparing spatial first, gene first, and baseline (unindexed) parquet layouts.
SpatialData.js labels layer with interactive element picking and tooltip display, using Xenium Human Pancreas dataset .
SpatialData.js labels layer with interactive element picking and tooltip display, using Xenium Human Pancreas dataset .
Overview of the cloud-based IO architecture for SpatialData, supporting remote object stores via UPath and fsspec.
Overview of the cloud-based IO architecture for SpatialData, supporting remote object stores via UPath and fsspec.
Schematic of Prototype 1 for bidirectional element-table linking in SpatialData.
Schematic of Prototype 1 for bidirectional element-table linking in SpatialData.
Schematic of Prototype 1 for soft-linking external files within SpatialData via LazyContainer.
Schematic of Prototype 1 for soft-linking external files within SpatialData via LazyContainer.
a) OME-Zarr test cases for each transformation stored in ome_zarr_transformations_conformance. b) Transformations from an ...
a) OME-Zarr test cases for each transformation stored in ome_zarr_transformations_conformance. b) Transformations fro...a) OME-Zarr test cases for each transformation stored in ome_zarr_transformations_conformance. b) Transformations from an OME-Zarr implementation tested on given coordinates.
a) Field of view images of CosMx datasets before stitching. b) Proposed fuse_spatialdata_images function fusing image elem...
a) Field of view images of CosMx datasets before stitching. b) Proposed fuse_spatialdata_images function fusing image...a) Field of view images of CosMx datasets before stitching. b) Proposed fuse_spatialdata_images function fusing image elements that are backed by dask arrays or in memory. c) napari view of the stitched image elements. The demo uses a subset of a CosMx example dataset .

Version history

VersionPostedDOILinks
2 (this page) 10.37044/osf.io/s6bph_v2 PDF · Europe PMC
1 10.37044/osf.io/s6bph_v1 PDF · Europe PMC