-
Notifications
You must be signed in to change notification settings - Fork 18
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-HCS Compatibility with vizarr #118
Comments
Hello there - thank you for your interest in using and improving vizarr! I do not work on My guess is that vizzar makes some assumptions about the metadata structure that reflect OME-NGFF published by the IDR (since these have been examples we work with primarily), and our HCS metadata traversal can be improved. If you have example data to share, that would help get to the bottom of this quickly. Here is the part of the code where metadata-traversal begins. The node passed to the viewer is inspected to see if it adheres to the well, plate, or multiscales attrs Lines 111 to 124 in 1585a03
|
Hi Cam, Line 110 in 1585a03
We only load the first Well to get the path from a Well to an Image (instead of loading all the Wells in the plate).
That 'imgPath' is then applied to all the other
For this to work for your data, we'd need to get an Do you want to try coding this up? Will. |
Part of the problem is the complexity of the HCS spec, which others have also noted. If you're able to contribute to that discussion it would be great to find improvements that work for as many use-cases as possible. |
Thanks @will-moore I see the PR but if you still need more help let me know! I will look over the discussion and contribute with our team's inputs. |
Hello!
I feel as though I should properly introduce myself as I have been active recently on ImageSC regarding ome-zarr data format.
I am an RA at the Chan-Zuckerberg Biohub working on optimizing our computational pipelines and we are now migrating towards the OME-zarr format for all of our raw/processed data. I would like to help you all optimize these viewers (vizarr + ome-zarr-py) as our team starts to use them heavily, so I may start to post some issues here more frequently.
One Issue that I am coming across right away, and it's due to the lack of insight into how the ome-zarr HCS metadata is parsed, has to do with inflexible key structures. I'll outline below:
Consider the OME-Zarr Dataset tree below, with the level above
Fake_Row
beingPlate.zarr
The metadata at the associated levels is as such:
"Plate Metadata" at
Plate.zarr.attrs
"Well Metadata" at
Plate.zarr['Fake_Row']['Fake_Col_{i}'].attrs
"omero / multi-scales" metadata at
Plate.zarr['Fake_Row']['Fake_Col_0']['Pos_000'].attrs
This structure makes the most sense for our data, as we like to keep track of the position index in
Pos_000
, etc as we move through rows and columns. However I am running into the issue while using vizarr such that if this indexing doesn't start back at 0 (Pos_000) beneath every "well" then the viewer raises this error:I am really not sure why it is searching for a path (
Fake_Row/Fake_Col_1/Pos_000
) that isn't referenced in the metadata (or maybe it is and I missed it?). However when I rename all of the "Pos_00{i}" to "Pos_000" and update the "well" metadata to these names then the viewer works accordingly. Can someone show me where this ome-metadata is being parsed or why this might be the case?I am happy to help investigating / solving these issues if you are looking for development help. Same goes for ome-zarr-py + napari-ome-zarr (which seems a bit more buggy than vizarr) which would be our preferred viewer.
Thanks for your help here.
Best,
Cam
The text was updated successfully, but these errors were encountered: