Skip to content
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

ome-zarr mobie samples #98

Open
constantinpape opened this issue Jan 11, 2023 · 10 comments
Open

ome-zarr mobie samples #98

constantinpape opened this issue Jan 11, 2023 · 10 comments

Comments

@constantinpape
Copy link
Contributor

Here is an overview of current MoBIE projects, which have ome.zarr data and samples:

Spatial Transcriptomics Data

https://github.com/mobie/mouse-embryo-spatial-transcriptomics-project

This contains 40 or so positions, each with image data (stored as ome.zarr on the ebi-s3) and transcriptomics data stored as csv.
The data for the first position is available here:

The image data has 4 channels.

Covid HTM Data

https://github.com/mobie/covid-if-project

This contains data from a HTM screen for covid antibodies and contains a few hundred image positions.
Here are the addresses for one of the positions:

Platynereis Data

The raw data and cell segmentation from https://github.com/mobie/platybrowser-project is also available as ome.zarr (the data for the project itself is stored as n5):

@will-moore
Copy link

Hi @constantinpape - I tried to open a few of those Covid HTM samples in ome-ngff-validator, and in neuroglancer but I'm getting CORs errors. E.g. https://ome.github.io/ome-ngff-validator/?source=https://s3.embl.de/covid-if-project/20200406_164555_328/images/ome-zarr/nuclei_WellE06_0000.ome.zarr
The Spatial Transcriptomics are working 👍

@constantinpape
Copy link
Contributor Author

I tried to open a few of those Covid HTM samples in ome-ngff-validator, and in neuroglancer but I'm getting CORs errors.

Yes, some option is not enabled by default on the EMBL S3 and we have run into this issue before. @tischi do you remember how this was fixed by Josep? I think you also solved this with him recently.

@tischi
Copy link
Contributor

tischi commented Jan 26, 2023

Which bucket?
What is the exact error message?
I think I have to ask Josep to fix this.

@will-moore
Copy link

https://ome.github.io/ome-ngff-validator/?source=https://s3.embl.de/covid-if-project/20200406_164555_328/images/ome-zarr/nuclei_WellE06_0000.ome.zarr fails to load https://s3.embl.de/covid-if-project/20200406_164555_328/images/ome-zarr/nuclei_WellE06_0000.ome.zarr/.zattrs

Access to fetch at 'https://s3.embl.de/covid-if-project/20200406_164555_328/images/ome-zarr/nuclei_WellE06_0000.ome.zarr/.zattrs' from origin 'https://ome.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Same for https://s3.embl.de/i2k-2020/platy-raw.ome.zarr/.zattrs

@tischi
Copy link
Contributor

tischi commented Jan 26, 2023

@will-moore could you please try again?

@will-moore
Copy link

will-moore commented Jan 26, 2023

Looks good 👍 thanks.
However, the validator is reporting Dimension separator must be / for version 0.4.
https://ome.github.io/ome-ngff-validator/?source=https://s3.embl.de/covid-if-project/20200406_164555_328/images/ome-zarr/nuclei_WellE06_0000.ome.zarr
I believe this will be relaxed in future versions (ome/ngff#161) but currently that won't be read by ome-zarr-py (see fix in ome/ome-zarr-py#235)

@tischi
Copy link
Contributor

tischi commented Jan 26, 2023

Wow, I am surprised that this data is so ancient that we still have . separator...

@tischi
Copy link
Contributor

tischi commented Jan 26, 2023

@constantinpape once you have more time again, maybe good to double check this.

@constantinpape
Copy link
Contributor Author

Yes, I can confirm:

$ mc ls embl/covid-if-project/20200406_164555_328/images/ome-zarr/nuclei_WellE06_0000.ome.zarr/s0
[2021-11-19 14:35:32 CET]   271B STANDARD .zarray
[2021-11-19 14:35:32 CET]    31B STANDARD .zattrs
[2021-11-19 14:35:32 CET] 856KiB STANDARD 0.0
[2021-11-19 14:35:32 CET] 859KiB STANDARD 0.1
[2021-11-19 14:35:32 CET] 705KiB STANDARD 1.0
[2021-11-19 14:35:32 CET] 700KiB STANDARD 1.1

I think that stems from a bug when creating this data that has since been fixed. (And technically the current data is not valid; it specifies format version 0.4, but uses .). -> This should be fixed and it's in principle easy to write something that does that on the fly, but I don't have time for that right now, maybe next week.

@titansmc
Copy link

The CORS error is gone now, we had one migration done and I have dissallowed the ome.github.io domain. It is back now.
Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants