The BioVisionCenter at the University of Zurich supports researchers who need to analyse microscopy images at a scale that desktop tools cannot handle. Its answer is Fractal, an open-source framework for processing bioimaging data in a standardised way, scaling to terabytes of images and preparing them for interactive visualisation. Since 2021, the BioVisionCenter has contracted eXact lab for the software engineering and technical implementation of the Fractal platform.
The challenge
Modern microscopes can produce terabytes of images, in a variety of vendor-specific formats. Turning them into quantitative results means chaining many steps: converting the raw data, correcting illumination, projecting and registering images, segmenting cells and nuclei, and measuring every object. Each of these steps needs to run on a cluster to finish in reasonable time, and the results have to be explored by biologists who are not HPC specialists. The platform also had to remain open, so that research groups could add their own analysis steps.
Our contribution
Fractal is built on OME-Zarr, the community’s next-generation file format for bioimaging. Raw data from a range of microscopes is converted into pyramidal OME-Zarr files, which every subsequent step reads and writes, and which modern viewers such as napari, MoBIE and ViZarr can open directly.
eXact lab co-develops the components that make up the platform:
- A Fractal server component which handles user authentication, lets the user define their tasks and workflows, and orchestrates workflow execution on the right computational resource - either locally or on SLURM clusters;
- A Fractal web client as a graphical interface where users can build, launch and monitor workflows from the browser, and get direct access to data-visualization tools;
- A lightweight data-streaming service, to enable interactive data visualization without transferring large datasets;
- A command-line interface for power users who need to automate their access to Fractal;
- The first set of core tasks, covering conversion to OME-Zarr, registration, illumination correction, maximum intensity projection, segmentation and measurements.
Since Fractal scientific tasks are modular and based on a public specification, an ecosystem of more than 100 publicly available tasks has grown around the platform, from conversion for many microscopes to multiplexed registration and object quantification.
Results
Fractal is deployed on site at research institutions, where it manages workflows on large clusters, and it is under active development. All its components are released under the BSD 3-Clause licence, with copyright held by the BioVisionCenter, so the platform can be adopted and extended by bioimaging facilities beyond Zurich.
A public demo of the Fractal platform is available at https://fractal-demo.mls.uzh.ch, where anybody can log in as a guest and explore some typical datasets and workflows.
For more information, see the Fractal-project home page or the preprint “Fractal: Towards FAIR bioimage analysis at scale with OME-Zarr-native workflows”.