Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriyzubov authored Jan 17, 2025
1 parent 82bf1a9 commit 160b769
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ This script could be used for conversion of a .tiff file to .zarr format with OM
2. install tif_to_zarr
``pip install tiff-to-zarr``
5. run script using cli:
``tiff-to-zarr --src=PATH_TO_SOURCE_DIRECTORY/input_file.tif --dest=PATH_TO_DEST_DIRECTORY/output_file.zarr --num_workers=20, --cluster=local``
``tiff-to-zarr --src=PATH_TO_SOURCE_DIRECTORY/input_file.tif((or 3D stack)) --dest=PATH_TO_DEST_DIRECTORY/output_file.zarr --num_workers=20 --cluster=local``
6. to convert a tiff file to zarr with custom metadata values, you can run smthg similar to this:
``tiff-to-zarr --src=path_to_source_tif(3d or stack) --dest=path_to_output_zarr --num_workers=20 --cluster=local(or lsf) --zarr_chunks 13 128 128 --axes x z y --scale 4.0 5.0 6.0 --translation 1.0 2.0 3.0 --units nanometer nanometer nanometer``
``tiff-to-zarr --src=path_to_source_tif(or 3D stack) --dest=path_to_output_zarr --num_workers=20 --cluster=local(or lsf) --zarr_chunks 13 128 128 --axes x z y --scale 4.0 5.0 6.0 --translation 1.0 2.0 3.0 --units nanometer nanometer nanometer``
7. To get the list of options, you may run this:
``tiff-to-zarr --help``

0 comments on commit 160b769

Please sign in to comment.