scverse / scverse/spatialdata-io
Unique cell_ID issue with cosmx reader
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 103
- Forks
- 65
- Avg merge
- 1h 8m
- Merged PRs (30d)
- 3
Description
Hi, after having updated my spatialdata-io from version 0.1.4 to 0.1.7, I am having an issue with the cosmx reader to create a spatialdata object. Using the same data that I did not have an issue with using the older version, I am now getting an error that the cell_IDs are not unique.
This column does seem to only uniquely label cells per field of view (FOV), so indeed that column does not uniquely label each cell in the whole dataset.
Could I please get some help on using this latest version with this data, would you recommend I change these IDs to be unique across the whole dataset in each input file to satisfy this? Is this compatible with newer versions of CosMx output?
Thank you!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CosMx reader and reproduce the cell_ID uniqueness error using the same data under spatialdata-io 0.1.7, comparing it with 0.1.4. Determine whether per-FOV identifiers are expected to load, and document or verify the required handling for data whose cell_ID values repeat across FOVs.
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
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100