-
Notifications
You must be signed in to change notification settings - Fork 46
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
bioformats2raw format change #403
Comments
cc: @andreasg123 I think this is relevant for you. |
Do you plan to maintain support for the old format? Otherwise, those images won't be viewable any more. It's not a big deal for me because we haven't started producing a large number of images. If I had many images, converting them would be painful. |
@andreasg123 I'm not sure. One option would be to start some sort of graveyard repo for the old loaders that the "community" maintains. @manzt thoughts? Out of curiosity, why did you end up going with zarr? Just curious to hear about real-world use-cases. |
Our images have multiple field-of-views and many channels and z-slices. Stitching is fastest done in parallel. Zarr images are suitable for parallel writes, unlike TIFF images. Proprietary formats such as ND2 are worse (and not supported by Viv). There may be a speed advantage in reading whole AWS S3 objects (Zarr chunks) instead of byte ranges but we haven't benchmarked that. lz4 compression is definitely faster than LZW but at the expense of larger size. As the loader is outside of core Viv, I can see that I could just copy the current |
Zarr is a very flexible format, and the output generated from
Notice how
Moving The point I want to emphasize is that the outputs of |
This separator change comes from NGFF 0.2. In can be determined from It would be great if |
I should clarify, you are totally right. The separator change will be handled because both However, there are other rapidly changing parts of |
@manzt I think we should add a note to our docs at the minimum that they are out of date and we can't read in |
As I'm just now considering using |
As mentioned to @manzt elsewhere, this has raised its head for us as well recently (cc: @davehorsfall). For my part, I will be working try to pin down the specification of the location so that in the future, changes of this form would also lead to an OME-Zarr version bump (as opposed to just a |
That's great! In that case it will make sense to implement this in Viv. In the meantime, we can discuss looking up the OME-XML metadata in our other tools (Vitessce/Vizarr), but I'd like to avoid exposing that functionality to library users until something more stable is decided. |
Bioformats2Raw is changing to
nested
storage as well as movingMETADATA.xml
.METADATA.ome.xml
under data.zarr: Move METADATA.ome.xml under data.zarr glencoesoftware/bioformats2raw#87We'll need to update our tutorial and change our
loadBioformats
utility to accommodate these changes. It's noted that thebioformats2raw
output is not a stable format, so I don't think we should worry about backward compatibility. Just need to update our LuCa example and tutorial.EDIT: Dimension order is also forced
TCZYX
by default to reflect OME-Zarr.The text was updated successfully, but these errors were encountered: