Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/spatialdata_io/readers/steinbock.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,24 @@ def steinbock(

- `Steinbock pipeline <https://bodenmillergroup.github.io/steinbock/latest/>`_.

Current mandatory outputs of the Steinbock toolkit
----------
- one comprehensive anndata object labeled as 'cells.h5ad' in the main working directory
- an 'ome' folder containing the steinbock ome.tiff exported tiff images
- masks directory labeled as either 'masks_deepcell' or 'masks_ilastik'

Users have to carefully construct the andata object with steinbock using the images.csv table.
Constructing the anndata object without the images.csv table will leave the anndata without
'adata.obs.images' which will subsequently result in an error (see line 99)
Therefore, currently users are adviced to start their steinbock analyses from .mcd files.
A possible workaround for this would be to handcraft the images.csv table according to steinbock format
if users want to start from tiff images in steinbock
(https://bodenmillergroup.github.io/steinbock/latest/cli/preprocessing/)

The andata tables, masks and ome.tiffs have to be named accordingly so the
spatialdata.io steinbock reader correctly assigns all instances.


Parameters
----------
path
Expand Down
Loading