idr0125-way-cellpainting
Data hosted on cellpainting-gallery s3
can be browsed at https://idr.github.io/idr0125-way-cellpainting/.
Import workflow
-
Use
scripts/s3_sync.py
to generateaws s3 sync
commands to download all OME-NGFF plates as metadata ONLY (no zarr chunks) -
Import of metadata-only NGFF plates requires ZarrReader with
--depth=100
:$ omero import --depth=100 --bulk screenA/idr0125-screenA-bulk.yml --file /tmp/idr0125.log --errs /tmp/idr0125.err
-
Need to view an image from each plate OR
omero render set Image:ID rdef.yml
for each plate, to avoid subsequent ResourceError after symlinking. Seescripts/render_set_cmd.py
-
Run
scripts/get_import_paths.py
to createimported_paths.txt
with the managed repo path for each imported plate. -
Run
scripts/symlink_cmd.py
which consumesimported_paths.txt
to output the commands to replace each plate in the managed repo with a symlink to the corresponding plate on a mounted s3 bucket. These can be saved inscripts/symlinks.bash
. Need to runsudo chmod +x symlinks.bash
thensudo -u omero-server -s
andbash symlinks.bash
. -
Run
omero render set Plate:ID
for every plate. NB: takes ~12hrs per plate? TBD: split this job between several parallel processes.