$ conda create --name bioformats python=3.8
$ conda activate bioformats
$ conda install -c ome bioformats2raw raw2ometiff
$ wget https://downloads.openmicroscopy.org/images/Vectra-QPTIFF/perkinelmer/PKI_scans/LuCa-7color_Scan1.qptiff
$ bioformats2raw LuCa-7color_Scan1.qptiff n5_tile_directory/
$ raw2ometiff n5_tile_directory/ LuCa-7color_Scan1.ome.tif --compression=zlib
Note the --compression=zlib flag is necessary because other TIFF codecs are not included in numcodecs
$ python zarr_reference_utils.py LuCa-7color_Scan1.ome.tif LuCa-7color_Scan1.ome.tif_offsets.json