Configuration¶
Click any command card below to expand its full parameter reference.
Info
Note that all cards below are auto-generated from EuBIBridge methods and Pydantic config models. Types, defaults, and valid ranges are extracted directly from the source.
configure cluster — Update cluster / concurrency parameters. Omitted arguments keep their current values
Usage:
Optional arguments
Type: Default: Number of parallel file-level worker processes (default 4).--max_workersintdefault# Set the default number of parallel worker processes
eubi configure cluster --max_workers 8
Type: Default: Internal write-queue depth per worker (default 4).--queue_sizeintdefault# Allow each worker to buffer more write tasks
eubi configure cluster --queue_size 8
Type: Default: Region size in MB for spatial partitioning (default 256).--region_size_mbintdefault# Process larger spatial regions per task (reduces overhead on large arrays)
eubi configure cluster --region_size_mb 512
Type: Default: Memory limit accepted by SLURM / LocalCluster, e.g. --memory_per_workerstrdefault'8GB' (default '1GB').# Allocate 8 GB per worker (relevant for SLURM / LocalCluster)
eubi configure cluster --memory_per_worker 8GB
Type: Default: TensorStore write concurrency per worker (default 4).--max_concurrencyintdefault# Allow TensorStore to issue 8 write operations concurrently per worker
eubi configure cluster --max_concurrency 8
Type: Default: Parallel scenes within one file (default 1). Increase only when writing a multi-scene file to a large store.--max_concurrent_scenesintdefault# Convert 2 scenes within a single file simultaneously
eubi configure cluster --max_concurrent_scenes 2
Type: Default: Number of downscaled pyramid layers written concurrently per scene (default 3).--max_concurrent_downscale_layersintdefaulteubi to_zarr /data/input /data/output --max_concurrent_downscale_layers 2
Type: boolean flag Default: Valid values: Use a Dask LocalCluster backend (default False).--on_local_clusterdefault--on_local_cluster to enable · --on_local_cluster False to disable# Use a Dask LocalCluster as the scheduler
eubi configure cluster --on_local_cluster
Type: boolean flag Default: Valid values: Submit jobs to a SLURM cluster (default False).--on_slurmdefault--on_slurm to enable · --on_slurm False to disable# Submit workers to SLURM and set partition + account
eubi configure cluster --on_slurm --slurm_account myaccount --slurm_partition gpu
Type: boolean flag Default: Valid values: Use ThreadPool instead of ProcessPool (default False).--use_threadingdefault--use_threading to enable · --use_threading False to disable# Switch from ProcessPool to ThreadPool (useful when GIL is not a bottleneck)
eubi configure cluster --use_threading
Type: Default: TensorStore internal copy threads (default 4).--tensorstore_data_copy_concurrencyintdefault# Allow TensorStore to copy data with 8 internal threads
eubi configure cluster --tensorstore_data_copy_concurrency 8
Type: Default: Retries on broken worker process (default 10).--max_retriesintdefault# Retry failed workers up to 5 times before aborting
eubi configure cluster --max_retries 5
Type: Default: Dask thread count for parallel bfio tile reads (default 4). --bf_read_concurrencyintdefaultNone lets dask choose (cpu_count).
Type: Default: Tile size budget in MB for bfio tiled reading (default 512).--bf_tile_size_mbfloatdefault
Type: Default: Maximum JVM heap for Bio-Formats, e.g. --jvm_memorystrdefault'8GB', '4GB'. Accepts 'NGB' / 'NMB' (like memory_per_worker) and normalises internally to JVM format ('Ng' / 'Nm'). Default '2g'.
Type: Default: SLURM job wall-clock limit, e.g. --slurm_timestrdefault'24:00:00' (used only when on_slurm=True).# Set SLURM wall-clock limit to 48 hours
eubi configure cluster --on_slurm --slurm_time 48:00:00
Type: Default: SLURM account/allocation to charge (default None).--slurm_accountstrdefault# Charge SLURM jobs to 'myproject'
eubi configure cluster --on_slurm --slurm_account myproject
Type: Default: SLURM partition/queue to submit to (default None).--slurm_partitionstrdefault# Submit to the 'gpu' partition
eubi configure cluster --on_slurm --slurm_partition gpu
Type: Default: Seconds to wait for SLURM workers to start (default 300).--slurm_worker_timeoutintdefault# Wait up to 10 minutes for SLURM workers to start
eubi configure cluster --on_slurm --slurm_worker_timeout 600
Type: Default: Path to an Apptainer/Singularity SIF image to run workers in (default None).--slurm_sif_pathstrdefaulteubi to_zarr /data/input /data/output --on_slurm --slurm_sif_path /apps/eubi.sif
configure conversion — Update Zarr conversion parameters. Omitted arguments keep their current values
Usage:
Optional arguments
Type: Default: OME-Zarr (NGFF) version to write, e.g. --ome_zarr_versionstrdefault'0.4' or '0.5'. This is the preferred control and supersedes zarr_format (the zarr container format is derived from it).# Default to OME-Zarr 0.5 (Zarr v3, enables sharding)
eubi configure conversion --ome_zarr_version 0.5
# Default to OME-Zarr 0.4 (Zarr v2)
eubi configure conversion --ome_zarr_version 0.4
Type: Default: DEPRECATED zarr container version — --zarr_formatintdefault2 (default) or 3. Used only when ome_zarr_version is unset/unrecognised; prefer ome_zarr_version.# Deprecated — prefer 'ome_zarr_version'. Switch to Zarr v3 (supports sharding)
eubi configure conversion --zarr_format 3
Type: boolean flag Default: Valid values: Read TIFF files via zarr's native aszarr backend instead of dask. Faster for large TIFFs; ignored for non-TIFF formats.--skip_daskdefault--skip_dask to enable · --skip_dask False to disable# Use zarr's native TIFF backend instead of dask (faster for large TIFFs)
eubi configure conversion --skip_dask
Type: boolean flag Default: Valid values: Auto-compute chunk shape from array size (default True).--auto_chunkdefault--auto_chunk to enable · --auto_chunk False to disable# Disable auto-chunking and set chunk sizes manually
eubi configure conversion --auto_chunk False --z_chunk 64 --y_chunk 256 --x_chunk 256
Type: Default: Target chunk size in MB when auto_chunk is True.--target_chunk_mbfloatdefault# Target 4 MB uncompressed chunks when auto_chunk is on
eubi configure conversion --target_chunk_mb 4.0
Type: Default: Manual per-axis chunk sizes (used when auto_chunk is False).--time_chunkintdefault# Process one time point per chunk
eubi configure conversion --auto_chunk False --time_chunk 1
Type: Default: Chunk size along the channel axis. Applies only when --channel_chunkintdefaultauto_chunk=False.# Process one channel per chunk
eubi configure conversion --auto_chunk False --channel_chunk 1
Type: Default: Chunk size along the z axis. Applies only when --z_chunkintdefaultauto_chunk=False.# Set manual z chunk size (requires auto_chunk False)
eubi configure conversion --auto_chunk False --z_chunk 64
Type: Default: Chunk size along the y axis. Applies only when --y_chunkintdefaultauto_chunk=False.# Set manual y chunk size (requires auto_chunk False)
eubi configure conversion --auto_chunk False --y_chunk 256
Type: Default: Chunk size along the x axis. Applies only when --x_chunkintdefaultauto_chunk=False.# Set manual x chunk size (requires auto_chunk False)
eubi configure conversion --auto_chunk False --x_chunk 256
Type: Default: Shard-to-chunk multipliers for Zarr v3 sharding (default 3 on spatial axes).--time_shard_coefintdefault# Shard = 1 × time chunk (no sharding on time axis)
eubi configure conversion --ome_zarr_version 0.5 --time_shard_coef 1
Type: Default: Shard size = chunk × coef for the channel axis. Zarr v3 only — ignored for v2.--channel_shard_coefintdefault# Shard = 1 × channel chunk
eubi configure conversion --ome_zarr_version 0.5 --channel_shard_coef 1
Type: Default: Shard size = chunk × coef for the z axis. Zarr v3 only — ignored for v2.--z_shard_coefintdefault# Shard = 5 × z chunk on the z axis
eubi configure conversion --ome_zarr_version 0.5 --z_shard_coef 5
Type: Default: Shard size = chunk × coef for the y axis. Zarr v3 only — ignored for v2.--y_shard_coefintdefault# Shard = 5 × y chunk on the y axis
eubi configure conversion --ome_zarr_version 0.5 --y_shard_coef 5
Type: Default: Shard size = chunk × coef for the x axis. Zarr v3 only — ignored for v2.--x_shard_coefintdefault# Shard = 5 × x chunk on the x axis
eubi configure conversion --ome_zarr_version 0.5 --x_shard_coef 5
Type: Default: Crop ranges as --time_rangeintdefault"start,stop" strings applied before writing.# Keep only time frames 0–9 (start inclusive, stop exclusive)
eubi configure conversion --time_range "0,10"
Type: Default: Crop the channel axis. Same format as --channel_rangeintdefaulttime_range, e.g. "0,2" keeps the first two channels.# Keep only the first two channels
eubi configure conversion --channel_range "0,2"
Type: Default: Crop the z axis. Same format as --z_rangeintdefaulttime_range, e.g. "5,50" keeps z-slices 5–49.# Keep z-slices 5 through 49
eubi configure conversion --z_range "5,50"
Type: Default: Crop the y axis. Same format as --y_rangeintdefaulttime_range.# Crop y to the first 512 pixels
eubi configure conversion --y_range "0,512"
Type: Default: Crop the x axis. Same format as --x_rangeintdefaulttime_range.# Crop x to the first 512 pixels
eubi configure conversion --x_range "0,512"
Type: Default: Compression codec — --compressorstrdefault'blosc' (default), 'gzip', 'zstd', 'bz2', or 'none'.# Use zstd compression (good balance of speed and ratio)
eubi configure conversion --compressor zstd
# Disable compression entirely
eubi configure conversion --compressor none
Type: Default: Dict of codec parameters, e.g. --compressor_paramsdictdefault{'cname': 'lz4', 'clevel': 5}.# Use blosc with lz4 codec at compression level 9
eubi configure conversion --compressor blosc --compressor_params '{"cname": "lz4", "clevel": 9}'
Type: boolean flag Default: Valid values: Overwrite existing output zarr (default False).--overwritedefault--overwrite to enable · --overwrite False to disable# Allow overwriting an existing OME-Zarr at the output path
eubi configure conversion --overwrite
Type: boolean flag Default: Valid values: Replace output channel labels with the --override_channel_namesdefault--override_channel_names to enable · --override_channel_names False to disablechannel_tag values. For aggregative conversions with a tuple channel_tag only.# Replace channel labels with the channel_tag values from filenames
eubi configure conversion --override_channel_names
Type: Default: How to set OMERO window limits — --channel_intensity_limitsLiteral['from_dtype', 'from_array', 'auto']default'from_dtype' (default) uses dtype min/max, 'from_array' computes per-channel min/max from pixel data, 'auto' lets the viewer decide.# Compute display window limits from actual pixel data
eubi configure conversion --channel_intensity_limits from_array
# Let the viewer compute limits automatically
eubi configure conversion --channel_intensity_limits auto
Type: Default: Metadata backend — --metadata_readerstrdefault'bfio' (default) or 'bioformats'.# Use the Java BioFormats backend for metadata (more formats supported)
eubi configure conversion --metadata_reader bioformats
Type: boolean flag Default: Valid values: Write a companion OME-XML file alongside the zarr (default True).--save_omexmldefault--save_omexml to enable · --save_omexml False to disable# Disable OME-XML sidecar file generation
eubi configure conversion --save_omexml False
Type: boolean flag Default: Valid values: Remove singleton dimensions before writing (default True).--squeezedefault--squeeze to enable · --squeeze False to disable# Keep length-1 dimensions instead of removing them
eubi configure conversion --squeeze False
Type: Default: Output dtype — --dtypestrdefault'auto' keeps the source dtype, or any NumPy dtype string such as 'uint16'.# Cast pixel values to uint8 on write (reduces file size)
eubi configure conversion --dtype uint8
# Keep the source dtype
eubi configure conversion --dtype auto
Type: boolean flag Default: Valid values: Log verbose progress output (default False).--verbosedefault--verbose to enable · --verbose False to disable# Enable verbose per-chunk progress logging
eubi configure conversion --verbose
configure downscale — Update downscale parameters. Omitted arguments keep their current values
Usage:
Optional arguments
Type: Default: Number of downscale pyramid levels to generate. --n_layersintdefaultNone (default) auto-derives the count from min_dimension_size.# Generate 5 pyramid levels
eubi configure downscale --n_layers 5
Type: Default: Stop adding levels when the smallest spatial dimension falls below this pixel count (default 64).--min_dimension_sizeintdefault# Stop downscaling when the smallest spatial dimension is below 32 px
eubi configure downscale --min_dimension_size 32
Type: Default: Downscale factor along the time axis (default 1, i.e. no downscaling).--time_scale_factorintdefault# Disable time-axis downscaling (value 1 = no downscaling)
eubi configure downscale --time_scale_factor 1
Type: Default: Downscale factor along the channel axis (default 1).--channel_scale_factorintdefault# Disable channel-axis downscaling
eubi configure downscale --channel_scale_factor 1
Type: Default: Downscale factor along the z axis (default 2).--z_scale_factorintdefault# Isotropic downscaling on all spatial axes
eubi configure downscale --z_scale_factor 2 --y_scale_factor 2 --x_scale_factor 2
# Anisotropic — skip z downscaling for thick sections
eubi configure downscale --z_scale_factor 1 --y_scale_factor 2 --x_scale_factor 2
Type: Default: Downscale factor along the y axis (default 2).--y_scale_factorintdefaulteubi configure downscale --y_scale_factor 2
Type: Default: Downscale factor along the x axis (default 2).--x_scale_factorintdefaulteubi configure downscale --x_scale_factor 2
Type: Default: Pixel aggregation method for downscaling — one of 'simple', 'mean', 'median', 'min', 'max', 'mode' (default 'simple').--downscale_methodstrdefault# Use mean aggregation (recommended for fluorescence images)
eubi configure downscale --downscale_method mean
# Use nearest-neighbour striding (fastest, recommended for label images)
eubi configure downscale --downscale_method simple
Type: boolean flag Default: Valid values: If the input format already carries its own multiscale pyramid (e.g. --keep_existing_resolutionsdefault--keep_existing_resolutions to enable · --keep_existing_resolutions False to disable.ims, .zarr), write each existing resolution level straight to the output OME-Zarr instead of rebuilding the pyramid with the above scale factors (default False).# Copy a source pyramid (.ims / .zarr) verbatim instead of rebuilding it
eubi configure downscale --keep_existing_resolutions
Type: boolean flag Default: Valid values: Make the first pyramid level use automatically-computed factors that drive the voxels toward isotropy (default False).--apply_smart_downscalingdefault--apply_smart_downscaling to enable · --apply_smart_downscaling False to disable# Pick per-axis downscale factors automatically from voxel anisotropy
eubi configure downscale --apply_smart_downscaling
Type: Default: Per-axis override for smart downscaling on the time axis (default None = auto).--time_smart_scale_factorintdefaulteubi to_zarr /data/input /data/output --apply_smart_downscaling --time_smart_scale_factor 1
Type: Default: Per-axis smart-downscaling override for z.--z_smart_scale_factorintdefaulteubi to_zarr /data/input /data/output --apply_smart_downscaling --z_smart_scale_factor 1
Type: Default: Per-axis smart-downscaling override for y.--y_smart_scale_factorintdefaulteubi to_zarr /data/input /data/output --apply_smart_downscaling --y_smart_scale_factor 2
Type: Default: Per-axis smart-downscaling override for x.--x_smart_scale_factorintdefaulteubi to_zarr /data/input /data/output --apply_smart_downscaling --x_smart_scale_factor 2
configure readers — Update file-reader parameters. Omitted arguments keep their current values
Usage:
Optional arguments
Type: boolean flag Default: Valid values: Treat tiled acquisitions as a stitched mosaic (default False).--as_mosaicdefault--as_mosaic to enable · --as_mosaic False to disable# Stitch tiled acquisitions into a single mosaic array on read
eubi configure readers --as_mosaic
Type: Default: View index for multi-view formats (default 0). Pass --view_indexintdefault'all' or a comma-separated list (e.g. '0,2') to expose multiple views.# Write each view separately
eubi configure readers --view_index all
# Select only the second view
eubi configure readers --view_index 1
Type: Default: Phase index (default 0).--phase_indexintdefault# Select phase index 1
eubi configure readers --phase_index 1
Type: Default: Illumination index (default 0). Pass --illumination_indexintdefault'all' or a comma-separated list to expose multiple illuminations.# Write each illumination separately
eubi configure readers --illumination_index all
# Select only the second illumination
eubi configure readers --illumination_index 1
Type: Default: Scene / series index to read. Pass an integer, --scene_indexintdefault'all', or a comma-separated list such as '0,2,4' (default 0).# Always read scene 2 from multi-scene files
eubi configure readers --scene_index 2
# Convert each scene to a separate OME-Zarr group
eubi configure readers --scene_index all
# Convert only scenes 0, 2 and 4
eubi configure readers --scene_index 0,2,4
Type: Default: Rotation index (default 0).--rotation_indexintdefault# Select rotation index 0
eubi configure readers --rotation_index 0
Type: Default: Mosaic tile index. Pass an integer, --mosaic_tile_indexintdefault'all', or a comma-separated list (default None = all tiles).# Write every tile separately (default)
eubi configure readers --mosaic_tile_index all
# Write only tiles 0 and 2
eubi configure readers --mosaic_tile_index 0,2
Type: Default: Sample index (default 0).--sample_indexintdefault# Select sample index 0
eubi configure readers --sample_index 0
Type: boolean flag Default: Valid values: Force bfio tiled path even for natively-supported formats.--force_bioformatsdefault--force_bioformats to enable · --force_bioformats False to disable# Always route reads through the Java Bio-Formats reader
eubi configure readers --force_bioformats
Type: boolean flag Default: Valid values: Stack multiple views along the channel axis instead of writing separate OME-Zarr outputs (default False).--concat_viewsdefault--concat_views to enable · --concat_views False to disable# Always stack views onto the channel axis
eubi configure readers --concat_views
Type: boolean flag Default: Valid values: Stack multiple illuminations along the channel axis instead of writing separate OME-Zarr outputs (default False).--concat_illuminationsdefault--concat_illuminations to enable · --concat_illuminations False to disable# Always stack illuminations onto the channel axis
eubi configure readers --concat_illuminations
configure concatenation — Update aggregative (concatenation) parameters. Omitted arguments keep their current values
Usage:
Optional arguments
Type: Default: Axes along which to concatenate files. Pass a string of axis letters such as --concatenation_axesstr or int or Nonedefault'tc' or 'z', or an integer axis index. None disables aggregative mode entirely.# Concatenate files along the channel axis
eubi configure concatenation --concatenation_axes c --channel_tag raw,mask
# Concatenate along both z and channel axes simultaneously
eubi configure concatenation --concatenation_axes zc --z_tag slices --channel_tag raw,mask
Type: Default: Filename substring (or tuple of substrings) that identifies a file as contributing to the time axis.--time_tagstr or tuple or Nonedefault# Identify three time-point files by substrings in their names
eubi configure concatenation --concatenation_axes t --time_tag t001,t002,t003
Type: Default: Filename substring (or tuple of substrings) identifying the channel axis.--channel_tagstr or tuple or Nonedefault# Two channels — raw fluorescence and segmentation mask
eubi configure concatenation --concatenation_axes c --channel_tag raw,mask
# Single channel — DAPI only
eubi configure concatenation --concatenation_axes c --channel_tag DAPI
Type: Default: Filename substring (or tuple of substrings) identifying the z axis.--z_tagstr or tuple or Nonedefault# Multiple z-slices acquired as separate files
eubi configure concatenation --concatenation_axes z --z_tag slice001,slice002,slice003
Type: Default: Filename substring (or tuple of substrings) identifying the y axis.--y_tagstr or tuple or Nonedefault# Two rows of a tile scan
eubi configure concatenation --concatenation_axes y --y_tag row_top,row_bottom
Type: Default: Filename substring (or tuple of substrings) identifying the x axis.--x_tagstr or tuple or Nonedefault# Two columns of a tile scan
eubi configure concatenation --concatenation_axes x --x_tag col_left,col_right