Skip to content

scverse/spatialdata

SpatialData banner

SpatialData: an open and universal framework for processing spatial omics data.

Tests pre-commit.ci status codecov documentation badge DOI Downloads

SpatialData is a data framework that comprises a FAIR storage format and a collection of python libraries for performant access, alignment, and processing of uni- and multi-modal spatial omics datasets. This repository contains the core spatialdata library. See the links below to learn more about other packages in the SpatialData ecosystem.

The spatialdata project uses a consensus based governance model and is fiscally sponsored by NumFOCUS. Consider making a tax-deductible donation to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.

The spatialdata project also received support by the Chan Zuckerberg Initiative.


SpatialDataOverview

  • The library is currently under review. We expect there to be changes as the community provides feedback. We have an announcement channel for communicating these changes, please see the contact section below.
  • The SpatialData storage format is built on top of the OME-NGFF specification.

Getting started

Please refer to the documentation. In particular:

Another useful resource to get started is the source code of the spatialdata-io package, which shows example of how to read data from common technologies.

Installation

Check out the docs for more complete installation instructions. To get started with the "batteries included" installation, you can install via pip:

pip install "spatialdata[extra]"

or via conda:

mamba install -c conda-forge spatialdata napari-spatialdata spatialdata-io spatialdata-plot

Limitations

  • Code only manually tested for Windows machines. Currently the framework is being developed using Linux, macOS and Windows machines, but it is automatically tested only for Linux and macOS machines.

Contact

To get involved in the discussion, or if you need help to get started, you are welcome to use the following options.

Finally, especially relevant for for developers that are building a library upon spatialdata, please follow this channel for:

  • Announcements on new features and important changes Zulip.

Citation

Marconato, L., Palla, G., Yamauchi, K.A. et al. SpatialData: an open and universal data framework for spatial omics. Nat Methods (2024). https://doi.org/10.1038/s41592-024-02212-x