-
Notifications
You must be signed in to change notification settings - Fork 6
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
Parse multiplexing datasets into Fractal #34
Comments
Regarding how data containing multiple acquisitions is structured in the OME-Zarr file: In that logic, we would save multiple "field_of_views" / folders of images per well, instead of just one image folder per well. Each image folder would then contain the images for a given acquisition. I'm not sure yet how the downstream reading of this would work, I don't think the napari-ome-zarr plugin would display this correctly (it currently just displays the first field of view per well, so would potentially just ignore the other cycles if we save it that way??). It also is a somewhat complicated mix of having multiple images per well (when FOVs are saved separately, which we aren't doing) and multiple acquisitions per well. |
I started a discussion on loading multiple acquisitions here: ome/ome-zarr-py#225 Big picture, I think it would be promising to use the acquisition metadata and save an OME-Zarr image per cycle for each well. If that's where the OME-NGFF community is going and we can add support for that to ome-zarr-py, then proceeding with this logic would be a good plan. Should make it quite easy to handle the parsing, but require a bit of work on the ome-zarr-py side to support visualization on a plate level. |
Main take-aways from the discussion:
Each Image at the well level is its own acquisition with the correct metadata. See https://ngff.openmicroscopy.org/latest/#well-md for an example of a well with 2 acquisitions (they also have multiple images per acquisition, which we don't do). Also, the plate metadata contains information about all the acquisitions that are present, see here: https://ngff.openmicroscopy.org/latest/#plate-md
|
The Multiplex dataset in fractal-analytics-platform/fractal-client#213 is a bit too large (1G per cycle). It's even better if it could include some differences between cycles (e.g. the two cycles have different number/names of channels), so that we can discuss about the correct way to store this information. |
Ok, I'll create a smaller test set like the tiny test that has the following: Channel names will be a mix of distinct and not (each cycle has a Given you want them < 1GB, let's do 2 FOVs, 2 Z planes Do we need a second tiny one to test the multi-well version of this? |
Test set is now available here:
|
Version |
Great! |
This example should work: (reminder: you should modify the INPUT_PATH variable) |
This is working with #223 and the 0.4.6 core tasks release :) |
A typical multiplexing dataset will consist of multiple input folders. Each folder contains the images of a multiplexing cycle.
They all belong to the same physical plate though. Thus, if we parse multiplexing data, we want to parse multiple folders into a single Zarr file, give the user the ability to name every channel for each cycle and retain the cycle information in metadata somewhere.
I created a tiny example dataset for this:
/data/active/fractal/3D/PelkmansLab/CardiacMultiplexing/Multiplex_2x2_singleWell
It is structured the following way:
Both cycles contain the same B03 well & 2x2 sites, channels C01, C02 & C03. When parsed to OME-Zarr, I would expect to have channels 0-5 (with some names based on user inputs). The sites in both channels are basically the same (except for very small shifts between cycles)
The text was updated successfully, but these errors were encountered: