Converter from the Lif files (Leica Microscope) to OME-Zarr format.
Project description
Lif to OME-Zarr Converters
A collection of Fractal tasks
to convert Leica .lif files into OME-Zarr
format.
Tasks
| Task | Use case |
|---|---|
Convert Lif Plate to OME-Zarr |
Convert a .lif containing a plate-shaped tile-scan into an OME-Zarr HCS plate. |
Convert Lif Scene to OME-Zarr |
Convert a single scene (single-position, multi-position, or mosaic) into a standalone OME-Zarr image. |
Each task is a Fractal compound task: an init step parses the .lif
metadata and builds the parallelization list, and a compute step writes the
image data well-by-well (or scene-by-scene).
Installation
pip install fractal-lif-converters
Supported Lif File Plate Layouts
The following plate layouts are supported:
-
Single Position Plates
/{Project.lif} ----/{Tilescan 1}/ --------/A ------------/1 (Simple Image)/{Project.lif} ----/{Tilescan 1}/ --------/A1 (Simple Image) --------/... -
Multi Position Plates
/{Project.lif} ----/{Tilescan 1}/ --------/A ------------/1 ----------------/R1 (Simple Image) ----------------/R2 (Simple Image) ----------------/.../{Project.lif} ----/{Tilescan 1}/ --------/A1 ------------/R1 (Simple Image) ------------/R2 (Simple Image) ------------/... -
Mosaic Plates
/{Project.lif} ----/{Tilescan 1}/ --------/A ------------/1 (Mosaic Image) ------------/.../{Project.lif} ----/{Tilescan 1}/ --------/A1 (Mosaic Image) --------/...
The names in curly braces {} can be freely chosen by the user. The other
names must follow these conventions:
-
Well names are a single or double letter followed by a positive integer. Valid examples:
A1,A2,B1,AA1,AA12. -
Wells can also be hierarchically structured, e.g.
A/1,A/2,B/1,AA/1,AA/12. -
Multi-position wells use
Rfollowed by a positive integer for each position:R1,R2,R3,R12. -
For more complex layouts (e.g. FLIM), the converter ignores any data that doesn't follow the conventions above. For example:
/{Project.lif} ----/{Tilescan 1}/ --------/A/1/R1 (Converted) --------/A/1/R1/FLIM/Intensity (Ignored) --------------------/Fast Flim (Ignored) --------------------/Standard Deviation (Ignored)
Supported Lif File Image Layouts
The following image layouts are supported:
-
Single Position Image
/{Project.lif} ----/{Tilescan 1} (Simple Image) -
Multi Position Image
/{Project.lif} ----/{Tilescan 1}/ --------/Position 1 (Simple Image) --------/Position 2 (Simple Image) --------/... -
Mosaic Image
/{Project.lif} ----/{Tilescan 1} (Mosaic Image)
The names in curly braces {} can be freely chosen by the user. For
multi-position images the position names must be Position followed by a
space and a positive integer, e.g. Position 1, Position 2, Position 12.
Scans that don't follow these conventions are ignored.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fractal_lif_converters-0.6.0.tar.gz.
File metadata
- Download URL: fractal_lif_converters-0.6.0.tar.gz
- Upload date:
- Size: 31.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e349f1534267d3430992a68fd1d3b06a7112863b51ccbcb1706dcf45f4448a6
|
|
| MD5 |
4211c94cde1156cc6a3080443f8d1693
|
|
| BLAKE2b-256 |
1bc667705faa33f8ac02dad3332c71a63e9e6421754cdd29f9206908103589bc
|
Provenance
The following attestation bundles were made for fractal_lif_converters-0.6.0.tar.gz:
Publisher:
build_and_test.yml on fractal-analytics-platform/fractal-lif-converters
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fractal_lif_converters-0.6.0.tar.gz -
Subject digest:
2e349f1534267d3430992a68fd1d3b06a7112863b51ccbcb1706dcf45f4448a6 - Sigstore transparency entry: 1643988416
- Sigstore integration time:
-
Permalink:
fractal-analytics-platform/fractal-lif-converters@b940ec4e065655ceac24bb92cd323509d37d0a58 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/fractal-analytics-platform
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_and_test.yml@b940ec4e065655ceac24bb92cd323509d37d0a58 -
Trigger Event:
push
-
Statement type:
File details
Details for the file fractal_lif_converters-0.6.0-py3-none-any.whl.
File metadata
- Download URL: fractal_lif_converters-0.6.0-py3-none-any.whl
- Upload date:
- Size: 39.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7dea20ebf5b94127fe09ac8e46e5fd032b651ed67493940954d35f272d2e6fc
|
|
| MD5 |
0dbd9f78cd9da5b64ad97b9079fcc727
|
|
| BLAKE2b-256 |
7e30fcfbe82cfbe8d5bd8511fccda66748e2a52153cef83ba19bc73052d2cd0e
|
Provenance
The following attestation bundles were made for fractal_lif_converters-0.6.0-py3-none-any.whl:
Publisher:
build_and_test.yml on fractal-analytics-platform/fractal-lif-converters
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fractal_lif_converters-0.6.0-py3-none-any.whl -
Subject digest:
c7dea20ebf5b94127fe09ac8e46e5fd032b651ed67493940954d35f272d2e6fc - Sigstore transparency entry: 1643988514
- Sigstore integration time:
-
Permalink:
fractal-analytics-platform/fractal-lif-converters@b940ec4e065655ceac24bb92cd323509d37d0a58 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/fractal-analytics-platform
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_and_test.yml@b940ec4e065655ceac24bb92cd323509d37d0a58 -
Trigger Event:
push
-
Statement type: