scverse / scverse/spatialdata-io

Xenium Fails to read third party segmentation

Open
#402 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug xenium
Dominant language
Python
Stars
103
Forks
65
Avg merge
1h 8m
Merged PRs (30d)
3

Description

spatialdata_io.xenium() assumes the dataset contains both nucleus and cell segmentation masks as in the standard Xenium structure. E.g. Proseg-imported segmentation only contains a single segmentation mask and therefore cant be loaded properly. Also setting

cells_labels=False
nucleus_boundaries=False

does not solve the issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the spatialdata_io.xenium() entry point and reproduce the failure with a Proseg-imported dataset containing only one segmentation mask. Trace how cells_labels and nucleus_boundaries are handled, then verify that supported single-mask datasets load correctly without breaking standard Xenium structures.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.