Conversion¶
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.
Tip: Named-config chaining
Prefix any command with with_config NAME to use a saved config profile:
to_zarr — Convert image data to OME-Zarr format
Usage:
An option eubi-bridge does not know raises ValueError (a misspelled one would otherwise be ignored, and the run give a wrong result with exit code 0).
Required arguments
Type: Default: required File path, directory, or table (.csv/.tsv/.xlsx) of paths.--input_pathstr or Patheubi to_zarr /data/input /data/output
CLI-only options
Type: Default: — Destination directory. Required unless input_path is a table that already contains an output_path column.--output_pathstr or Path or Noneeubi to_zarr /data/input /data/output
Type: Default: — Comma-separated filename patterns to include (glob-style).--includesstr or None# Include only files whose name contains "EMPIAR"
eubi to_zarr /data/input /data/output --includes "EMPIAR"
# Multiple patterns — comma-separated, no spaces around commas
eubi to_zarr /data/input /data/output --includes "EMPIAR,scan_001,confocal"
Type: Default: — Comma-separated filename patterns to exclude (glob-style).--excludesstr or None# Exclude all files in a subdirectory named 'backup'
eubi to_zarr /data/input /data/output --excludes "backup"
# Exclude multiple patterns at once
eubi to_zarr /data/input /data/output --excludes "backup,temp,preview"
Type: Default: — Pre-computed AggregativePlan from validate_aggregative().--planAggregativePlan or None# Step 1 — validate without converting to inspect the plan
eubi validate_aggregative /data/input /data/output --concatenation_axes c --channel_tag raw,mask
# Step 2 — a plan is a Python object: pass it in Python, with the settings it was made with
(the command line cannot take one; it plans the run itself)¶
plan = EuBIBridge().validate_aggregative(inp, out, concatenation_axes='c', channel_tag='raw,mask')¶
EuBIBridge().to_zarr(inp, out, concatenation_axes='c', channel_tag='raw,mask', plan=plan)¶
Type: Default: Where this run's log is also written, line by line, so it survives a crash: --log_filebool or strTrueTrue (default) a new file in the logs folder of the config folder (the newest 20 are kept), a path, or False for none. The run's first line names the file.eubi to_zarr /data/input /data/output --log_file /data/logs/run1.log
Type: boolean flag Default: Valid values: Mirror the folders given as inputs (default False): each output goes to --keep_folder_structureFalse--keep_folder_structure to enable · --keep_folder_structure False to disable<output_path>/<folder name>/<the folders below it>, where its file was, instead of all into output_path. Files given one by one still go into output_path. A plate's output goes beside its folder; a joined output into the deepest folder its files share. The GUI sets it for checked folders.
Cluster overrides
Type: boolean flag Default: Valid values: Submit jobs to a SLURM cluster (the full eubi-bridge only).--on_slurmFalse--on_slurm to enable · --on_slurm False to disable# Submit all file workers to SLURM
eubi to_zarr /data/input /data/output --on_slurm --slurm_account myaccount --slurm_partition gpu
Type: boolean flag Default: Valid values: Use a ThreadPool instead of a ProcessPool.--use_threadingFalse--use_threading to enable · --use_threading False to disableeubi to_zarr /data/input /data/output --use_threading
Type: Default: Valid values: ≥ 1, ≤ 256 Override the configured max_processes (images converted at once) for this run. Formerly --max_processesint4max_workers, which still works.eubi to_zarr /data/input /data/output --max_processes 8
Type: Default: Size of one read region in MB, or --region_size_mbfloat or strautoauto (default): each scene's write budget over 3 x its threads, 8 to 256 MB.eubi to_zarr /data/input /data/output --region_size_mb 512
Type: Default: Threads per conversion, each reading and writing one region at a time; scenes converted at once share them (formerly --max_threadsint or autoautomax_concurrency).eubi to_zarr /data/input /data/output --max_threads 8
Type: Default: Valid values: ≥ 1 Parallel scenes per file (default 1); they share --max_concurrent_scenesint1max_threads.eubi to_zarr /data/input /data/output --max_concurrent_scenes 2
Type: Default: The memory eubi may use on this machine, e.g. --memory_budgetstrauto16GB, or auto (default): half the memory free when it starts (inside a SLURM job or a container: what its memory limit leaves). Shared out between the conversions running at once, and in each between reading and the scenes converted at once. Runs started side by side (several batches, the GUI and the command line) share one budget, the smallest of theirs; a run with auto that starts beside others takes the budget they share.eubi to_zarr /data/input /data/output --memory_budget 16GB
Type: Default: micro-reader's decoding memory per process, e.g. --decode_memorystrauto1GB, or auto (default): what the file's compressed blocks need.
Type: Default: Each SLURM worker's memory (the SLURM job's), shared by its conversions (formerly --slurm_worker_memorystr3GBmemory_per_worker).
Type: Default: Valid values: ≥ 0, ≤ 100 Override the configured max_retries.--max_retriesint10eubi to_zarr /data/input /data/output --max_retries 3
Type: Default: Valid values: ≥ 1 Threads for parallel Bio-Formats tile reads (formerly --bioformats_threadsint or None4bf_read_concurrency).
Type: Default: micro-reader's decode threads per worker process (formerly --decode_threadsint or autoautomicro_read_concurrency).
Type: Default: Maximum JVM heap for Bio-Formats, e.g. --jvm_memorystr or None1g8GB or 4GB (default 1g).
Type: Default: SLURM wall-clock limit, e.g. '24:00:00'.--slurm_timestr24:00:00eubi to_zarr /data/input /data/output --on_slurm --slurm_time 48:00:00
Type: Default: — SLURM account name.--slurm_accountstr or Noneeubi to_zarr /data/input /data/output --on_slurm --slurm_account myaccount
Type: Default: — SLURM partition / queue.--slurm_partitionstr or Noneeubi to_zarr /data/input /data/output --on_slurm --slurm_partition gpu
Type: Default: Valid values: > 0 Seconds to wait for SLURM workers to start.--slurm_worker_timeoutint300eubi to_zarr /data/input /data/output --on_slurm --slurm_worker_timeout 600
Type: Default: — Path to an Apptainer/Singularity --slurm_sif_pathstr or None.sif image to run SLURM workers inside (optional).eubi to_zarr /data/input /data/output --on_slurm --slurm_sif_path /apps/eubi.sif
Conversion overrides
Type: boolean flag Default: Valid values: Log verbose per-chunk progress output.--verboseFalse--verbose to enable · --verbose False to disableeubi to_zarr /data/input /data/output --verbose
Type: Default: — OME-Zarr (NGFF) version to write: --ome_zarr_versionstr or None0.4 (backed by Zarr v2) or 0.5 (backed by Zarr v3, which enables sharding). This is the preferred control and supersedes zarr_format — the underlying zarr container format is derived from it.# Write OME-Zarr 0.4 (Zarr v2, the default)
eubi to_zarr /data/input /data/output --ome_zarr_version 0.4
# Write OME-Zarr 0.5 (Zarr v3 — required for sharding)
eubi to_zarr /data/input /data/output --ome_zarr_version 0.5
Type: Default: Deprecated — use --zarr_format2 or 32ome_zarr_version instead. Zarr container version: 2 = OME-Zarr 0.4 (classic chunk-based); 3 = OME-Zarr 0.5 (sharding support).eubi to_zarr /data/input /data/output --zarr_format 3
Type: boolean flag Default: Valid values: Auto-compute chunk shape to approximate --auto_chunkTrue--auto_chunk to enable · --auto_chunk False to disabletarget_chunk_mb. When False, the manual *_chunk values below are used.eubi to_zarr /data/input /data/output --auto_chunk False --z_chunk 64 --y_chunk 256 --x_chunk 256
Type: Default: Valid values: > 0.0 Target uncompressed chunk size in MB when --target_chunk_mbfloat1auto_chunk=True.eubi to_zarr /data/input /data/output --target_chunk_mb 4.0
Type: Default: Valid values: ≥ 1 Chunk size along the time axis. Applies only when --time_chunkint1auto_chunk=False.eubi to_zarr /data/input /data/output --auto_chunk False --time_chunk 1
Type: Default: Valid values: ≥ 1 Chunk size along the channel axis. Applies only when --channel_chunkint1auto_chunk=False.eubi to_zarr /data/input /data/output --auto_chunk False --channel_chunk 1
Type: Default: Valid values: ≥ 1 Chunk size along the z axis. Applies only when --z_chunkint96auto_chunk=False.eubi to_zarr /data/input /data/output --auto_chunk False --z_chunk 64
Type: Default: Valid values: ≥ 1 Chunk size along the y axis. Applies only when --y_chunkint96auto_chunk=False.eubi to_zarr /data/input /data/output --auto_chunk False --y_chunk 256
Type: Default: Valid values: ≥ 1 Chunk size along the x axis. Applies only when --x_chunkint96auto_chunk=False.eubi to_zarr /data/input /data/output --auto_chunk False --x_chunk 256
Type: Default: Valid values: ≥ 1 Shard size = chunk × coef for the time axis. Zarr v3 only — ignored for v2.--time_shard_coefint1eubi to_zarr /data/input /data/output --ome_zarr_version 0.5 --time_shard_coef 1
Type: Default: Valid values: ≥ 1 Shard size = chunk × coef for the channel axis. Zarr v3 only — ignored for v2.--channel_shard_coefint1eubi to_zarr /data/input /data/output --ome_zarr_version 0.5 --channel_shard_coef 1
Type: Default: Valid values: ≥ 1 Shard size = chunk × coef for the z axis. Zarr v3 only — ignored for v2.--z_shard_coefint3eubi to_zarr /data/input /data/output --ome_zarr_version 0.5 --z_shard_coef 5
Type: Default: Valid values: ≥ 1 Shard size = chunk × coef for the y axis. Zarr v3 only — ignored for v2.--y_shard_coefint3eubi to_zarr /data/input /data/output --ome_zarr_version 0.5 --y_shard_coef 5
Type: Default: Valid values: ≥ 1 Shard size = chunk × coef for the x axis. Zarr v3 only — ignored for v2.--x_shard_coefint3eubi to_zarr /data/input /data/output --ome_zarr_version 0.5 --x_shard_coef 5
Type: Default: — Crop the time axis before writing. Pass as a --time_rangeAny or None"start,stop" string (e.g. "0,10" to keep frames 0–9).eubi to_zarr /data/input /data/output --time_range "0,10"
Type: Default: — Crop the channel axis. Same format as --channel_rangeAny or Nonetime_range, e.g. "0,2" keeps the first two channels.eubi to_zarr /data/input /data/output --channel_range "0,2"
Type: Default: — Crop the z axis. Same format as --z_rangeAny or Nonetime_range, e.g. "5,50" keeps z-slices 5–49.eubi to_zarr /data/input /data/output --z_range "5,50"
Type: Default: — Crop the y axis. Same format as --y_rangeAny or Nonetime_range.eubi to_zarr /data/input /data/output --y_range "0,512"
Type: Default: — Crop the x axis. Same format as --x_rangeAny or Nonetime_range.eubi to_zarr /data/input /data/output --x_range "0,512"
Type: Default: Axis order string for the output array (default --dimension_orderstrtczyxtczyx).
Type: Default: Valid values: v2: Compression codec.--compressorstr or Nonebloscblosc, bz2, gzip, none, zstd; v3: blosc, gzip, none, zstdeubi to_zarr /data/input /data/output --compressor zstd
Type: Default: Codec-specific parameters dict. When omitted, sensible defaults are used (e.g. for blosc: --compressor_paramsdict{}{'cname': 'lz4', 'clevel': 5, 'shuffle': 1}).eubi to_zarr /data/input /data/output --compressor blosc --compressor_params '{"cname": "lz4", "clevel": 9}'
Type: boolean flag Default: Valid values: Overwrite existing output zarr if it already exists.--overwriteFalse--overwrite to enable · --overwrite False to disableeubi to_zarr /data/input /data/output --overwrite
Type: Default: —--zip_outputoff or zip or ozxoff
Type: boolean flag Default: Valid values: Write a companion OME-XML sidecar file alongside the zarr.--save_omexmlTrue--save_omexml to enable · --save_omexml False to disableeubi to_zarr /data/input /data/output --save_omexml False
Type: Default: — Write acquisition metadata NGFF has no field for (view / illumination indices, objective NA, per-channel emission) into the --export_acquisition_metadatabool or Noneeubi_bridge attributes. Unset = automatic: on when one acquisition is split into several outputs.
Type: boolean flag Default: Valid values: Remove length-1 dimensions before writing.--squeezeTrue--squeeze to enable · --squeeze False to disableeubi to_zarr /data/input /data/output --squeeze False
Type: Default: --dtypestr or Noneautoauto preserves the source dtype; pass any NumPy dtype string (e.g. uint16, float32) to cast on write.eubi to_zarr /data/input /data/output --dtype uint8
Type: Default: The bytes backend ome_zarr_pyramid writes with: --io_backendtensorstore or zarristatensorstoretensorstore (default) or zarrista (pip install "dyna-zarr[zarrista]"). With either, shards larger than the region budget are written chunk by chunk in bounded memory (local outputs).
Downscale overrides
Type: Default: Valid values: ≥ 1 Downscale factor for the time axis per pyramid level.--time_scale_factorint1eubi to_zarr /data/input /data/output --time_scale_factor 1
Type: Default: Valid values: ≥ 1 Downscale factor for the channel axis.--channel_scale_factorint1eubi to_zarr /data/input /data/output --channel_scale_factor 1
Type: Default: Valid values: ≥ 1 Downscale factor for the z axis.--z_scale_factorint2# Isotropic downscaling on all spatial axes
eubi to_zarr /data/input /data/output --z_scale_factor 2 --y_scale_factor 2 --x_scale_factor 2
# Anisotropic — skip z downscaling for thick sections
eubi to_zarr /data/input /data/output --z_scale_factor 1 --y_scale_factor 2 --x_scale_factor 2
Type: Default: Valid values: ≥ 1 Downscale factor for the y axis.--y_scale_factorint2eubi to_zarr /data/input /data/output --y_scale_factor 2
Type: Default: Valid values: ≥ 1 Downscale factor for the x axis.--x_scale_factorint2eubi to_zarr /data/input /data/output --x_scale_factor 2
Type: Default: — Number of pyramid levels (None = auto).--n_layersint or Noneeubi to_zarr /data/input /data/output --n_layers 5
Type: Default: Valid values: > 0 Stop downscaling when smallest dimension reaches this size.--min_dimension_sizeint64eubi to_zarr /data/input /data/output --min_dimension_size 32
Type: Default: Valid values: --downscale_methodsimple or mean or median or min or max or modesimplesimple · mean · median · min · max · modesimple = stride/nearest (fastest). mean / median / min / max / mode = aggregation methods passed to TensorStore.# Use mean aggregation (recommended for fluorescence images)
eubi to_zarr /data/input /data/output --downscale_method mean
# Use nearest-neighbour striding (fastest, recommended for label images)
eubi to_zarr /data/input /data/output --downscale_method simple
Type: boolean flag Default: Valid values: If the input already carries its own multiscale pyramid (e.g. --keep_existing_resolutionsFalse--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 (default False).# Copy an .ims / .zarr input's own pyramid levels instead of rebuilding them
eubi to_zarr /data/input /data/output --keep_existing_resolutions
Type: boolean flag Default: Valid values: Choose per-axis downscale factors automatically from the pixel anisotropy so the pyramid approaches isotropy, instead of using the fixed --apply_smart_downscalingFalse--apply_smart_downscaling to enable · --apply_smart_downscaling False to disable*_scale_factor values (default False).# Let EuBI-Bridge pick per-axis factors from the voxel anisotropy
eubi to_zarr /data/input /data/output --apply_smart_downscaling
Type: Default: — Override the smart-downscaling factor for the time axis (used when --time_smart_scale_factorint or Noneapply_smart_downscaling=True).eubi to_zarr /data/input /data/output --apply_smart_downscaling --time_smart_scale_factor 1
Type: Default: — Override the smart-downscaling factor for the z axis (used when --z_smart_scale_factorint or Noneapply_smart_downscaling=True).eubi to_zarr /data/input /data/output --apply_smart_downscaling --z_smart_scale_factor 1
Type: Default: — Override the smart-downscaling factor for the y axis (used when --y_smart_scale_factorint or Noneapply_smart_downscaling=True).eubi to_zarr /data/input /data/output --apply_smart_downscaling --y_smart_scale_factor 2
Type: Default: — Override the smart-downscaling factor for the x axis (used when --x_smart_scale_factorint or Noneapply_smart_downscaling=True).eubi to_zarr /data/input /data/output --apply_smart_downscaling --x_smart_scale_factor 2
Reader overrides
Type: boolean flag Default: Valid values: Stitch a file's mosaic tiles into one image at their stored positions (the default): nothing is registered or blended, where tiles overlap one tile gives the pixel. --as_mosaicTrue--as_mosaic to enable · --as_mosaic False to disable--as_mosaic False writes one OME-Zarr per tile, for stitching elsewhere.# Keep every tile as its own OME-Zarr, for stitching elsewhere
eubi to_zarr /data/input /data/output --as_mosaic False
Type: Default: — —--as_platebool or None# One store per image instead of one plate store
eubi to_zarr /data/plate /data/output --as_plate False
Type: Default: View(s) to read. Pass an integer, --view_indexint or strallall, or comma-separated integers; each selected view becomes a separate OME-Zarr (named _view{N}) unless --concat_views stacks them along the channel axis.# Write each view as its own OME-Zarr
eubi to_zarr /data/input /data/output --view_index all
# Concatenate all views along the channel axis into one output
eubi to_zarr /data/input /data/output --view_index all --concat_views
Type: Default: Valid values: ≥ 0 Phase index.--phase_indexint0eubi to_zarr /data/input /data/output --phase_index 1
Type: Default: Illumination(s) to read. Pass an integer, --illumination_indexint or strallall, or comma-separated integers; each selected illumination becomes a separate OME-Zarr (named _illu{N}) unless --concat_illuminations stacks them along the channel axis.# Write each illumination as its own OME-Zarr
eubi to_zarr /data/input /data/output --illumination_index all
# Concatenate all illuminations along the channel axis into one output
eubi to_zarr /data/input /data/output --illumination_index all --concat_illuminations
Type: Default: Series index to read (a series is what some formats call a scene). Pass an integer for a single series, --series_indexint or strallall to convert each series to a separate zarr group, or comma-separated integers (e.g. 0,2,4) for a subset of series. The outputs are still named _scene{N}. Formerly scene_index, which still works, with a warning.# Convert only series 2 from a multi-series file
eubi to_zarr /data/input /data/output --series_index 2
# Convert every series to a separate OME-Zarr group
eubi to_zarr /data/input /data/output --series_index all
# Convert series 0, 2 and 4 only
eubi to_zarr /data/input /data/output --series_index 0,2,4
Type: Default: Valid values: ≥ 0 Rotation index.--rotation_indexint0eubi to_zarr /data/input /data/output --rotation_index 0
Type: Default: Mosaic tile(s) to read when not stitching. Pass an integer, --mosaic_tile_indexint or str or Noneallall, or comma-separated integers; each selected tile becomes a separate OME-Zarr (named _tile{N}). Use --as_mosaic instead to stitch tiles into one output. Composes with series / view / illumination selection (cartesian product).# Write every tile as its own OME-Zarr
eubi to_zarr /data/input /data/output --as_mosaic False
# Write only tiles 0 and 2 (each as a separate output)
eubi to_zarr /data/input /data/output --mosaic_tile_index 0,2
# Stitch the tiles into one mosaic (the default)
eubi to_zarr /data/input /data/output --as_mosaic
Type: Default: Valid values: ≥ 0 Sample index.--sample_indexint0eubi to_zarr /data/input /data/output --sample_index 0
Type: boolean flag Default: Valid values: Force the Java Bio-Formats reader even for formats EuBI-Bridge reads natively (CZI, ND2, LIF, IMS…). Useful as a fallback when a native read fails.--force_bioformatsFalse--force_bioformats to enable · --force_bioformats False to disableeubi to_zarr /data/input /data/output --force_bioformats
Type: Default: Where the pixels come from: --pixel_readerstandard or micromicromicro (micro-reader, the default; a file it does not read falls back to the standard reader with a warning) or standard (the format's usual reader).
Type: boolean flag Default: Valid values: When reading multiple views, stack them along the channel axis into one output (cartesian product with existing channels) instead of writing one OME-Zarr per view.--concat_viewsFalse--concat_views to enable · --concat_views False to disable# Stack every view onto the channel axis (cartesian with existing channels)
eubi to_zarr /data/input /data/output --view_index all --concat_views
Type: boolean flag Default: Valid values: When reading multiple illuminations, stack them along the channel axis into one output (cartesian product with existing channels) instead of writing one OME-Zarr per illumination.--concat_illuminationsFalse--concat_illuminations to enable · --concat_illuminations False to disable# Stack every illumination onto the channel axis (cartesian with existing channels)
eubi to_zarr /data/input /data/output --illumination_index all --concat_illuminations
Metadata overrides
Type: Default: Valid values: Where the image metadata comes from: --metadata_readerstrmicromicro (default) · bfio · bioiomicro (micro-reader, the default; a file it does not read falls back to the standard reader), bfio or bioio.eubi to_zarr /data/input /data/output --metadata_reader bfio
Type: boolean flag Default: Valid values: Replace output channel labels with the --override_channel_namesFalse--override_channel_names to enable · --override_channel_names False to disablechannel_tag values. For aggregative conversions with a tuple channel_tag only.eubi to_zarr /data/input /data/output --concatenation_axes c --channel_tag raw,mask --override_channel_names
Type: Default: Valid values: Strategy for OMERO display-window limits.--channel_intensity_limitsfrom_dtype or from_array or autofrom_dtypefrom_dtype · from_array · autoeubi to_zarr /data/input /data/output --channel_intensity_limits from_array
Type: Default: Per-channel colour overrides as --channel_colorsstr"""0,FF0000;1,00FF00". Channels left out keep their source colour, or get one automatically.
Type: Default: Per-channel name overrides as --channel_labelsstr"""0,DAPI;1,GFP".
Type: Default: — Valid values: > 0 Physical size of one time step. Unset keeps what the source file states.--time_scalefloat or None
Type: Default: — Valid values: > 0 Physical pixel size along z (e.g. --z_scalefloat or None0.5). Unset keeps the source value.
Type: Default: — Valid values: > 0 Physical pixel size along y. Unset keeps the source value.--y_scalefloat or None
Type: Default: — Valid values: > 0 Physical pixel size along x. Unset keeps the source value.--x_scalefloat or None
Type: Default: — Unit for --time_unitstr or Nonetime_scale (e.g. second).
Type: Default: — Unit for --z_unitstr or Nonez_scale (e.g. micrometer).
Type: Default: — Unit for --y_unitstr or Noney_scale.
Type: Default: — Unit for --x_unitstr or Nonex_scale.
Concatenation overrides
Type: Default: — Axes to concatenate across files, e.g. --concatenation_axesstr or int or None'tc'. If omitted the config value is used; None means unary conversion.# Concatenate files along the channel axis
eubi to_zarr /data/input /data/output --concatenation_axes c --channel_tag raw,mask
# Concatenate along both z and channel axes simultaneously
eubi to_zarr /data/input /data/output --concatenation_axes zc --z_tag slices --channel_tag raw,mask
Type: Default: — Filename tag identifying the time axis (aggregative only).--time_tagstr or List or None# Three time points identified by substrings in each filename
eubi to_zarr /data/input /data/output --concatenation_axes t --time_tag t001,t002,t003
Type: Default: — Filename tag identifying the channel axis.--channel_tagstr or List or None# Two channels — raw fluorescence and segmentation mask
eubi to_zarr /data/input /data/output --concatenation_axes c --channel_tag raw,mask
# Single channel — assign a label without concatenating
eubi to_zarr /data/input /data/output --concatenation_axes c --channel_tag DAPI
Type: Default: — Filename tag identifying the z axis.--z_tagstr or List or None# Multiple z-slices acquired as separate files
eubi to_zarr /data/input /data/output --concatenation_axes z --z_tag slice001,slice002,slice003
Type: Default: — Filename tag identifying the y axis.--y_tagstr or List or Noneeubi to_zarr /data/input /data/output --concatenation_axes y --y_tag row_top,row_bottom
Type: Default: — Filename tag identifying the x axis.--x_tagstr or List or Noneeubi to_zarr /data/input /data/output --concatenation_axes x --x_tag col_left,col_right
Type: Default: — Name prefixed to the concatenated output, so several concatenated outputs stay distinguishable. In a conversion table, rows sharing this value are concatenated together and a blank one converts on its own. Prefer short labels such as --aggregative_groupstr or Nonegr1 or A: it becomes part of the output filename.
validate_aggregative — Dry-run an aggregative conversion and print the resource plan
Usage:
eubi validate_aggregative INPUT_PATH [OPTIONS]
eubi with_config NAME validate_aggregative INPUT_PATH [OPTIONS]
Determines output groups and worker allocation without reading any pixel data. Prints a human-readable summary and returns the plan object so it can be passed to :meth:to_zarr to skip re-planning.
Required arguments
Type: Default: required File path, directory, or table of paths.--input_pathstr or Patheubi validate_aggregative /data/input /data/output --concatenation_axes c --channel_tag raw,mask
CLI-only options
Type: Default: — Destination directory.--output_pathstr or Path or Noneeubi validate_aggregative /data/input /data/output --concatenation_axes c --channel_tag raw,mask
Type: Default: — Comma-separated filename patterns to include.--includesstr or None# Plan the conversion but only include files matching "scan"
eubi validate_aggregative /data/input /data/output --concatenation_axes c --channel_tag raw,mask --includes "scan"
Type: Default: — Comma-separated filename patterns to exclude.--excludesstr or None# Exclude preview files from the plan
eubi validate_aggregative /data/input /data/output --concatenation_axes c --channel_tag raw,mask --excludes "preview"
Cluster overrides
Type: boolean flag Default: Valid values: Submit to a SLURM cluster.--on_slurmFalse--on_slurm to enable · --on_slurm False to disable# Submit all file workers to SLURM
eubi to_zarr /data/input /data/output --on_slurm --slurm_account myaccount --slurm_partition gpu
Type: boolean flag Default: Valid values: Use ThreadPool instead of ProcessPool.--use_threadingFalse--use_threading to enable · --use_threading False to disableeubi to_zarr /data/input /data/output --use_threading
Type: Default: Valid values: ≥ 1, ≤ 256 Images converted at once, one per worker process (formerly --max_processesint4max_workers).eubi to_zarr /data/input /data/output --max_processes 8
Type: Default: Size of one read region in MB, or --region_size_mbfloat or strautoauto (default): each scene's write budget over 3 x its threads, 8 to 256 MB.eubi to_zarr /data/input /data/output --region_size_mb 512
Type: Default: Threads per conversion, each reading and writing one region at a time; scenes converted at once share them (formerly --max_threadsint or autoautomax_concurrency).eubi to_zarr /data/input /data/output --max_threads 8
Type: Default: Valid values: ≥ 1 Parallel scenes per file (default 1); they share --max_concurrent_scenesint1max_threads.eubi to_zarr /data/input /data/output --max_concurrent_scenes 2
Type: Default: The memory eubi may use on this machine, e.g. --memory_budgetstrauto16GB, or auto (default): half the memory free when it starts (inside a SLURM job or a container: what its memory limit leaves). Shared out between the conversions running at once, and in each between reading and the scenes converted at once. Runs started side by side (several batches, the GUI and the command line) share one budget, the smallest of theirs; a run with auto that starts beside others takes the budget they share.eubi to_zarr /data/input /data/output --memory_budget 16GB
Type: Default: micro-reader's decoding memory per process, e.g. --decode_memorystrauto1GB, or auto (default): what the file's compressed blocks need.
Type: Default: Each SLURM worker's memory (the SLURM job's), shared by its conversions (formerly --slurm_worker_memorystr3GBmemory_per_worker).
Type: Default: Valid values: ≥ 0, ≤ 100 Retries on a broken worker process.--max_retriesint10eubi to_zarr /data/input /data/output --max_retries 3
Type: Default: Valid values: ≥ 1 Threads for parallel Bio-Formats tile reads (formerly --bioformats_threadsint or None4bf_read_concurrency).
Type: Default: micro-reader's decode threads per worker process (formerly --decode_threadsint or autoautomicro_read_concurrency).
Type: Default: Maximum JVM heap for Bio-Formats, e.g. --jvm_memorystr or None1g8GB or 4GB (default 1g).
Type: Default: SLURM wall-clock limit, e.g. '24:00:00'.--slurm_timestr24:00:00eubi to_zarr /data/input /data/output --on_slurm --slurm_time 48:00:00
Type: Default: — SLURM account name.--slurm_accountstr or Noneeubi to_zarr /data/input /data/output --on_slurm --slurm_account myaccount
Type: Default: — SLURM partition / queue.--slurm_partitionstr or Noneeubi to_zarr /data/input /data/output --on_slurm --slurm_partition gpu
Type: Default: Valid values: > 0 Seconds to wait for SLURM workers to start.--slurm_worker_timeoutint300eubi to_zarr /data/input /data/output --on_slurm --slurm_worker_timeout 600
Type: Default: — Path to an Apptainer/Singularity --slurm_sif_pathstr or None.sif image to run SLURM workers inside (optional).eubi to_zarr /data/input /data/output --on_slurm --slurm_sif_path /apps/eubi.sif
Reader overrides
Type: boolean flag Default: Valid values: Stitch a file's mosaic tiles into one image at their stored positions (the default): nothing is registered or blended, where tiles overlap one tile gives the pixel. --as_mosaicTrue--as_mosaic to enable · --as_mosaic False to disable--as_mosaic False writes one OME-Zarr per tile, for stitching elsewhere.# Keep every tile as its own OME-Zarr, for stitching elsewhere
eubi to_zarr /data/input /data/output --as_mosaic False
Type: Default: — —--as_platebool or None# One store per image instead of one plate store
eubi to_zarr /data/plate /data/output --as_plate False
Type: Default: View(s) to read. Pass an integer, --view_indexint or strallall, or comma-separated integers; each selected view becomes a separate OME-Zarr (named _view{N}) unless --concat_views stacks them along the channel axis.# Write each view as its own OME-Zarr
eubi to_zarr /data/input /data/output --view_index all
# Concatenate all views along the channel axis into one output
eubi to_zarr /data/input /data/output --view_index all --concat_views
Type: Default: Valid values: ≥ 0 Phase index.--phase_indexint0eubi to_zarr /data/input /data/output --phase_index 1
Type: Default: Illumination(s) to read. Pass an integer, --illumination_indexint or strallall, or comma-separated integers; each selected illumination becomes a separate OME-Zarr (named _illu{N}) unless --concat_illuminations stacks them along the channel axis.# Write each illumination as its own OME-Zarr
eubi to_zarr /data/input /data/output --illumination_index all
# Concatenate all illuminations along the channel axis into one output
eubi to_zarr /data/input /data/output --illumination_index all --concat_illuminations
Type: Default: Series index to read (a series is what some formats call a scene). Pass an integer for a single series, --series_indexint or strallall to convert each series to a separate zarr group, or comma-separated integers (e.g. 0,2,4) for a subset of series. The outputs are still named _scene{N}. Formerly scene_index, which still works, with a warning.# Convert only series 2 from a multi-series file
eubi to_zarr /data/input /data/output --series_index 2
# Convert every series to a separate OME-Zarr group
eubi to_zarr /data/input /data/output --series_index all
# Convert series 0, 2 and 4 only
eubi to_zarr /data/input /data/output --series_index 0,2,4
Type: Default: Valid values: ≥ 0 Rotation index.--rotation_indexint0eubi to_zarr /data/input /data/output --rotation_index 0
Type: Default: Mosaic tile(s) to read when not stitching. Pass an integer, --mosaic_tile_indexint or str or Noneallall, or comma-separated integers; each selected tile becomes a separate OME-Zarr (named _tile{N}). Use --as_mosaic instead to stitch tiles into one output. Composes with series / view / illumination selection (cartesian product).# Write every tile as its own OME-Zarr
eubi to_zarr /data/input /data/output --as_mosaic False
# Write only tiles 0 and 2 (each as a separate output)
eubi to_zarr /data/input /data/output --mosaic_tile_index 0,2
# Stitch the tiles into one mosaic (the default)
eubi to_zarr /data/input /data/output --as_mosaic
Type: Default: Valid values: ≥ 0 Sample index.--sample_indexint0eubi to_zarr /data/input /data/output --sample_index 0
Type: boolean flag Default: Valid values: Force the Java Bio-Formats reader even for formats EuBI-Bridge reads natively (CZI, ND2, LIF, IMS…). Useful as a fallback when a native read fails.--force_bioformatsFalse--force_bioformats to enable · --force_bioformats False to disableeubi to_zarr /data/input /data/output --force_bioformats
Type: Default: Where the pixels come from: --pixel_readerstandard or micromicromicro (micro-reader, the default; a file it does not read falls back to the standard reader with a warning) or standard (the format's usual reader).
Type: boolean flag Default: Valid values: When reading multiple views, stack them along the channel axis into one output (cartesian product with existing channels) instead of writing one OME-Zarr per view.--concat_viewsFalse--concat_views to enable · --concat_views False to disable# Stack every view onto the channel axis (cartesian with existing channels)
eubi to_zarr /data/input /data/output --view_index all --concat_views
Type: boolean flag Default: Valid values: When reading multiple illuminations, stack them along the channel axis into one output (cartesian product with existing channels) instead of writing one OME-Zarr per illumination.--concat_illuminationsFalse--concat_illuminations to enable · --concat_illuminations False to disable# Stack every illumination onto the channel axis (cartesian with existing channels)
eubi to_zarr /data/input /data/output --illumination_index all --concat_illuminations
Concatenation overrides
Type: Default: — Axes to concatenate, e.g. --concatenation_axesstr or int or None'c'.# Plan a channel concatenation
eubi validate_aggregative /data/input /data/output --concatenation_axes c --channel_tag raw,mask
# Plan a z + channel concatenation
eubi validate_aggregative /data/input /data/output --concatenation_axes zc --z_tag slices --channel_tag raw,mask
Type: Default: — Filename substring (or tuple of substrings) identifying the time axis.--time_tagstr or List or None# Plan concatenation of three time points
eubi validate_aggregative /data/input /data/output --concatenation_axes t --time_tag t001,t002,t003
Type: Default: — Filename substring (or tuple of substrings) identifying the channel axis.--channel_tagstr or List or None# Two channels — raw fluorescence and segmentation mask
eubi validate_aggregative /data/input /data/output --concatenation_axes c --channel_tag raw,mask
Type: Default: — Filename substring (or tuple of substrings) identifying the z axis.--z_tagstr or List or None# Multiple z-slices acquired as separate files
eubi validate_aggregative /data/input /data/output --concatenation_axes z --z_tag slice001,slice002,slice003
Type: Default: — Filename substring (or tuple of substrings) identifying the y axis.--y_tagstr or List or Noneeubi validate_aggregative /data/input /data/output --concatenation_axes y --y_tag row_top,row_bottom
Type: Default: — Filename substring (or tuple of substrings) identifying the x axis.--x_tagstr or List or Noneeubi validate_aggregative /data/input /data/output --concatenation_axes x --x_tag col_left,col_right
Type: Default: — Name prefixed to the concatenated output. In a conversion table, rows sharing this value are concatenated together; a blank one converts on its own. Keep it short (it becomes part of the file name).--aggregative_groupstr or None