EuBI-Bridge¶
EuBI-Bridge is a tool for distributed conversion of microscopic image collections to the OME-Zarr format (v0.4 or v0.5). It can run on the command line or as part of a Python script.
A key feature of EuBI-Bridge is aggregative conversion, which concatenates multiple images along specified dimensions—particularly useful for handling large datasets stored as TIFF file collections.
Input files are read with micro-reader by default, without Java.
A file micro-reader cannot read falls back to other readers (bioio- and Bio-Formats-based) for that file.
OME-Zarr output is written by ome_zarr_pyramid on dyna-zarr, region by region within a memory budget;
dask-distributed is used only for SLURM clusters.
Key Features¶
- Parallelised batch conversion to OME-Zarr version 0.4 or 0.5 (with sharding)
- Conversion with multi-dimensional concatenation
- Distributed conversion on HPC clusters
- N-dimensional chunking/sharding
- N-dimensional downscaling
- Options for displaying/updating pixel metadata
- A graphical interface (
eubi-gui) next to the command line - Memory-bounded conversion within a memory budget (default: half the free memory, or of what a SLURM job's limit leaves)
eubi-bridge-lite: the same tool without Java and Bio-Formats
Installation
The following steps can be followed to install EuBI-Bridge:
-
Create a conda environment with the required dependencies:
mamba create -n eubizarr openjdk=11.* maven python=3.12ℹ️ Specify either python=3.11 or python=3.12. EuBI-Bridge is currently only compatible with Python 3.11 or 3.12 due to conflicting dependencies. We are working on supporting a wider range of Python versions in future releases.
-
Activate the environment and install EuBI-Bridge via pip:
conda activate eubizarr pip install --no-cache-dir eubi-bridge eubi reset_config
ℹ️ Linux users: the graphical interface needs Qt's system libraries, whichpipdoes not install. Ifeubi-guistops withlibEGL.so.1: cannot open shared object file, install them withsudo apt install libegl1 libgl1 libxkbcommon-x11-0 libdbus-1-3 libxcb-cursor0(Debian/Ubuntu), or addpyqt6to themamba createcommand above so conda supplies them. Theeubicommand-line interface works without them.
Additional Notes¶
- EuBI-Bridge is in the beta stage, and significant updates may be expected.
- Community support: Questions and contributions are welcome! Please report any issues.