Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider a mode to split series into individual TIF files #79

Closed
DavidStirling opened this issue Jun 15, 2022 · 3 comments
Closed

Consider a mode to split series into individual TIF files #79

DavidStirling opened this issue Jun 15, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@DavidStirling
Copy link
Member

A recurring problem for some users has been that HCS datasets can produce huge OME-TIFF files which are tricky to work with.

It'd be nice to have the option to split an input zarr into a distinct .tif file per series. I could imagine that this could take the form of a --series argument that allows the user to specify which series to convert. How individual series should be specified is an open question (numerical index or path?).

An alternative might be a --split_series flag which would trigger individualised series export. That could involve spitting out TIF files with sequential names e.g. my_file_s{index}.ome.tif. It's perhaps a bit more messy but saves the user needing to re-run the application for every series in the zarr.

@joshmoore
Copy link
Contributor

Would having --split activate full bfconvert-style output pattern parsing be an option?

@melissalinkert
Copy link
Member

It's not not an option, but obviously more involved than what #80 does right now. If we have an immediate need for splitting individual channels, timepoints, etc. into separate files or embedding additional metadata into the file names, then I can work on that. Otherwise, I'd rather focus on what's in #80 for now so that @DavidStirling is unblocked.

For reference, bfconvert output patterns are documented here (between -crop and -compression): https://docs.openmicroscopy.org/bio-formats/6.9.1/users/comlinetools/conversion.html. Implementation is here: https://github.com/ome/bioformats/blob/develop/components/formats-api/src/loci/formats/FormatTools.java#L1109

@joshmoore
Copy link
Contributor

then I can work on that. Otherwise, I'd rather focus on what's in #80 for now so that @DavidStirling is unblocked.

Definitely understood. Guess I'm most concerned about the API stability. I guess if/when we decided to add the bfconvert like behavior, --split could be deprecated.

@melissalinkert melissalinkert added the enhancement New feature or request label Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants