-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't read re-segmented Xenium data #195
Comments
Hi thanks for reporting. The code branch that is executed detects that the data is versioned with a number < 2.0.0. It could be that using XR 2.0.0.12 changes some specific data to the newest version but not the global data versioning. I would suggest to manually parse the data in this case; you can see information and tutorials on how to proceed in the linked issue #150, and you could use the |
Hi, thanks for the reply. I'll try adapting the code from FWIW, I had a look at how the version is detected by spatialdata_io.readers.xenium, and it's technically being detected correctly, as this is what the relevant parts of my experiment.xenium file look like:
|
Thanks for sharing the details. Maybe a fix could involve looking for |
I managed to read in the data by adapting the code from Caveats: 1) I didn't read in the transcripts as I don't need them for my current analysis 2) although I didn't get any errors/warnings, I don't know for sure that all the output is correct as I'm not super familiar with the data structures. |
@liz-is I fixed it! It looks like a decent future-proof fix. It was reading in a new line from the I just have to tidy up the if statement a little bit, something wasn't working correctly. I will submit a pull request, some point soon (possibly this weekend), unless someone else does this. |
Hello,
I have re-run cell segmentation for my Xenium data using Xenium Ranger version 2.0.0.12 to benefit from its improved segmentation algorithm. I can't read the re-segmented data with
spatialdata_io.xenium()
, even though the original output can be read. I have spatialdata-io version 0.1.4.Error message
Is this related to #150 ? i.e. is Xenium Ranger reanalysis not supported?
Thanks in advance for your help with this.
The text was updated successfully, but these errors were encountered: