🚧 Work in Progress
SpatialHub is currently in pre-release and under active development. Although we have taken great care to ensure its quality and reliability, bugs and breaking changes may still occur. Please use it with caution and report any issues by opening a GitHub issue.
SpatialHub¶
spatialhub is a collection of modular pipelines for the processing of spatial transcriptomics data, compatible with the scverse ecosystem.
Currently supports analysis of CosMx and VisiumHD data. Support for Xenium coming soon.
Overview
The supported platforms, the data formats used throughout, and how the pipelines connect from raw output to analysis.
Installation
Installing SpatialHub on the BMRC cluster, configuring the environment and verifying the installation.
Pipelines
Build SpatialData objects
cosmx_makeZarrOne Zarr store per CosMx sample, with or without Ashlar stitchingvisiumhd_makeZarrOne Zarr store per Visium HD capture area, via Space Ranger countvisiumhd_prepareBin2CellBin2Cell intermediate files up to the StarDist step
Create AnnData objects
extractH5ADExtract an existing table to H5AD, typically for Visium HDaggregateH5ADAggregate points and shapes into H5AD, typically for CosMx
Cell-type deconvolution
runRCTDDeconvolution with RCTD against a single-cell referencerunCell2LocationDeconvolution with Cell2Location against a single-cell reference