Literature DB >> 26628585

An automated workflow for parallel processing of large multiview SPIM recordings.

Christopher Schmied1, Peter Steinbach1, Tobias Pietzsch1, Stephan Preibisch2, Pavel Tomancak1.   

Abstract

UNLABELLED: Selective Plane Illumination Microscopy (SPIM) allows to image developing organisms in 3D at unprecedented temporal resolution over long periods of time. The resulting massive amounts of raw image data requires extensive processing interactively via dedicated graphical user interface (GUI) applications. The consecutive processing steps can be easily automated and the individual time points can be processed independently, which lends itself to trivial parallelization on a high performance computing (HPC) cluster. Here, we introduce an automated workflow for processing large multiview, multichannel, multiillumination time-lapse SPIM data on a single workstation or in parallel on a HPC cluster. The pipeline relies on snakemake to resolve dependencies among consecutive processing steps and can be easily adapted to any cluster environment for processing SPIM data in a fraction of the time required to collect it.
AVAILABILITY AND IMPLEMENTATION: The code is distributed free and open source under the MIT license http://opensource.org/licenses/MIT The source code can be downloaded from github: https://github.com/mpicbg-scicomp/snakemake-workflows Documentation can be found here: http://fiji.sc/Automated_workflow_for_parallel_Multiview_Reconstruction CONTACT: : schmied@mpi-cbg.de SUPPLEMENTARY INFORMATION: Supplementary data are available at Bioinformatics online.
© The Author 2015. Published by Oxford University Press.

Entities:  

Mesh:

Year:  2015        PMID: 26628585      PMCID: PMC4896369          DOI: 10.1093/bioinformatics/btv706

Source DB:  PubMed          Journal:  Bioinformatics        ISSN: 1367-4803            Impact factor:   6.937


1 Introduction

The duration and temporal resolution of 3D fluorescent imaging of living biological specimen is limited by the amount of laser light exposure the sample can survive. Selective Plane Illumination Microscopy (SPIM) alleviates this by illuminating only the imaged plane thus reducing photo damage dramatically. Additionally, SPIM achieves fast acquisition rates due to sensitive wide-field detectors and sample rotation enables complete coverage of large, non-transparent specimen. Taken together, SPIM allows imaging of developing organisms in toto at single cell resolution with unprecedented temporal resolution over long periods of time (Huisken ; Keller ). This powerful technology produces massive, terabyte size datasets that need computationally expensive and time-consuming processing before analysis. Existing software solutions implemented in Fiji (Preibisch , 2014; Schmied ; Preibisch, unpublished (https://github.com/fiji/SPIM_Registration)) or in ZEISS ZEN black are performing chained processing steps on a single computer and require user inputs via a GUI. As the spatial and temporal resolution of the light sheet data increase, such approaches become inconvenient since processing can take days. In controlled experiments, SPIM image processing is robust enough to be automated and key steps are independent from time point to time point. HPC is inherently designed for such time consuming and embarrassingly parallel tasks that require no user interaction. Therefore, we developed an automated workflow with minimum user interaction that is easily scalable to multiple datasets or time points on a cluster. In combination with the appropriate computing resources it enables for the first time processing of SPIM data that is faster than the total acquisition time required for collecting the raw images.

2 Processing workflow

The Fiji SPIM processing pipeline uses Hierarchical Data Format (HDF5) as data container for the originally generated TIFF or CZI files by custom made (Pitrone ) or commercial SPIM microscopes (Fig. 1A and B). Following format conversion, multiview registration aligns the different acquisition angles (views) within each time point (Fig. 1C), and subsequent time-lapse registration stabilizes the recording over time (Preibisch ) (Fig. 1D). Fusion combines the registered views of one time point into a single volume by averaging or multiview deconvolution (Preibisch , 2014) (Fig. 1E and F). The result is a set of HDF5 files containing registered and fused multiview SPIM data that can be examined locally or remotely using the BigDataViewer (Pietzsch ).
Fig. 1.

Automated workflow for multiview processing. Workflow for SPIM image processing (A–E) using parallelization (B, C and E). Shown on the right yz slices in the BigDataViewer of a Drosophila embryo expressing histone H2Av-mRFPruby raw (A) registered (C) and deconvolved (E). Results of deconvolution with xy , xz and xz slices through the fused volume of the same embryo (F). Scale bars represent 50 μm

Automated workflow for multiview processing. Workflow for SPIM image processing (A–E) using parallelization (B, C and E). Shown on the right yz slices in the BigDataViewer of a Drosophila embryo expressing histone H2Av-mRFPruby raw (A) registered (C) and deconvolved (E). Results of deconvolution with xy , xz and xz slices through the fused volume of the same embryo (F). Scale bars represent 50 μm All steps are implemented as plugins (Preibisch , 2014; Pietzsch ; Preibisch, unpublished (https://github.com/fiji/SPIM_Registration)), in the open-source platform Fiji (Schindelin ). We use these plugins by executing them from the command line as Fiji beanshell scripts (Supplementary Fig. 1). To overcome the legacy dependency of Fiji on the GUI we encapsulate it in a virtual framebuffer (xvfb) that simulates a monitor in the headless cluster environment (Supplementary Fig. 1). To map and dispatch the workflow logic to a single workstation or on a HPC cluster, we use the automated workflow engine snakemake (Köster and Rahmann, 2012). The workflow is defined using a Snakefile containing the name, input and output file names of each of the processing steps and python code calling the beanshell scripts (Supplementary Fig. 1). Upon invocation, the snakemake rule engine resolves the dependencies between individual processing steps based on the input files required and the output files produced during the workflow. It also creates the command that fits the input/output rule description and the template command as defined in the Snakefile. Most importantly, if single tasks on individual files are discovered to be independent, they are invoked in parallel (Supplementary Fig. 2). Each instance of snakemake for one dataset is independent and thus the workflow can be applied simultaneously to multiple dataset. The required parameters for processing are collected by the user during GUI processing of an exemplary time point and entered into a .yaml configuration file (Supplementary List 1). The workflow is executed by passing the .yaml file to snakemake on the command line (Supplementary Fig. 1). Importantly, from the user perspective the launching of the pipeline on a HPC cluster and on a local workstation appears identical and require a single command (Supplementary List 2). If the parameters are chosen correctly and the local or HPC resources are sufficient (Supplementary Table 1 and 2) no further action from the user is necessary. Snakemake supports multiple back ends to perform the command dispatch: local, cluster and Distributed Resource Management Application API (DRMAA) (Köster and Rahmann, 2012). The local back end creates a new sub shell and calls the command(s) required. The cluster back end is a general interface to HPC batch systems based on string substitution. DRMAA specifies a system library that interfaces all common batch systems based on a generalized task model, thus multiple batch systems are supported through one interface.

3 Results

We compared the performance of the pipeline on a 175 GB, single channel SPIM recording of a Drosophila embryo consisting of 90 time points and 5 views, processed either on a single computer or on a HPC cluster (Supplementary Table 1). The processing using average fusion takes almost precisely one day on a single powerful computer. In contrast, using the full cluster resource the dataset can be processed in 1 h 31 min, which represents a 16-fold speedup in processing. Since the time-lapse covers 23 h of Drosophila embryonic development the processing becomes real time with respect to the acquisition. Using deconvolution on a cluster with only 4 GPUs (Supplementary Table 1) still brings a more than 3-fold speed up (Supplementary Table 3). A dataset of 2.2 TB in size with 715 time points (Schmied ) would take an estimated week to process on a single computer. Using this method, the processing is reduced to only 13 h with typical cluster workload from other users.

4 Conclusion and outlook

The biologist‘s goal is to analyze, for instance, cellular behavior using time-lapse SPIM recordings. The steps between data acquisition and analysis are of rather technical interest. Our pipeline leverages HPC to reduce the notoriously difficult and time-consuming SPIM data processing to a single autonomous command. Similar pipelines have been developed (Amat ), however in our case the reliance on an open source platform (Fiji) allows us to execute the processing in parallel without any software associated costs. It is also possible to incorporate new algorithms from the Fiji ecosystem into the pipeline (Schmid and Huisken, 2015 and see Supplementary Note). Future improvements of the workflow will provide greater accessibility to novice users by using the UNICORE GUI framework (Almond and Snelling, 1999). Ultimately, we aim for a completely unsupervised automated processing similar to grid computing practiced in fields facing similar big data challenges such as particle physics and molecular simulation (Bird, 2011; Gesing )
  11 in total

1.  Optical sectioning deep inside live embryos by selective plane illumination microscopy.

Authors:  Jan Huisken; Jim Swoger; Filippo Del Bene; Joachim Wittbrodt; Ernst H K Stelzer
Journal:  Science       Date:  2004-08-13       Impact factor: 47.728

2.  Software for bead-based registration of selective plane illumination microscopy data.

Authors:  Stephan Preibisch; Stephan Saalfeld; Johannes Schindelin; Pavel Tomancak
Journal:  Nat Methods       Date:  2010-06       Impact factor: 28.547

3.  Efficient processing and analysis of large-scale light-sheet microscopy data.

Authors:  Fernando Amat; Burkhard Höckendorf; Yinan Wan; William C Lemon; Katie McDole; Philipp J Keller
Journal:  Nat Protoc       Date:  2015-10-01       Impact factor: 13.491

4.  Reconstruction of zebrafish early embryonic development by scanned light sheet microscopy.

Authors:  Philipp J Keller; Annette D Schmidt; Joachim Wittbrodt; Ernst H K Stelzer
Journal:  Science       Date:  2008-10-09       Impact factor: 47.728

5.  BigDataViewer: visualization and processing for large image data sets.

Authors:  Tobias Pietzsch; Stephan Saalfeld; Stephan Preibisch; Pavel Tomancak
Journal:  Nat Methods       Date:  2015-06       Impact factor: 28.547

6.  Snakemake--a scalable bioinformatics workflow engine.

Authors:  Johannes Köster; Sven Rahmann
Journal:  Bioinformatics       Date:  2012-08-20       Impact factor: 6.937

7.  Open-source solutions for SPIMage processing.

Authors:  Christopher Schmied; Evangelia Stamataki; Pavel Tomancak
Journal:  Methods Cell Biol       Date:  2014       Impact factor: 1.441

8.  Fiji: an open-source platform for biological-image analysis.

Authors:  Johannes Schindelin; Ignacio Arganda-Carreras; Erwin Frise; Verena Kaynig; Mark Longair; Tobias Pietzsch; Stephan Preibisch; Curtis Rueden; Stephan Saalfeld; Benjamin Schmid; Jean-Yves Tinevez; Daniel James White; Volker Hartenstein; Kevin Eliceiri; Pavel Tomancak; Albert Cardona
Journal:  Nat Methods       Date:  2012-06-28       Impact factor: 28.547

9.  OpenSPIM: an open-access light-sheet microscopy platform.

Authors:  Peter G Pitrone; Johannes Schindelin; Luke Stuyvenberg; Stephan Preibisch; Michael Weber; Kevin W Eliceiri; Jan Huisken; Pavel Tomancak
Journal:  Nat Methods       Date:  2013-06-09       Impact factor: 28.547

10.  Efficient Bayesian-based multiview deconvolution.

Authors:  Stephan Preibisch; Fernando Amat; Evangelia Stamataki; Mihail Sarov; Robert H Singer; Eugene Myers; Pavel Tomancak
Journal:  Nat Methods       Date:  2014-04-20       Impact factor: 28.547

View more
  9 in total

1.  A genome-wide resource for the analysis of protein localisation in Drosophila.

Authors:  Mihail Sarov; Christiane Barz; Helena Jambor; Marco Y Hein; Christopher Schmied; Dana Suchold; Bettina Stender; Stephan Janosch; Vinay Vikas K J; R T Krishnan; Aishwarya Krishnamoorthy; Irene R S Ferreira; Radoslaw K Ejsmont; Katja Finkl; Susanne Hasse; Philipp Kämpfer; Nicole Plewka; Elisabeth Vinis; Siegfried Schloissnig; Elisabeth Knust; Volker Hartenstein; Matthias Mann; Mani Ramaswami; K VijayRaghavan; Pavel Tomancak; Frank Schnorrer
Journal:  Elife       Date:  2016-02-20       Impact factor: 8.140

2.  Using Light Sheet Fluorescence Microscopy to Image Zebrafish Eye Development.

Authors:  Jaroslav Icha; Christopher Schmied; Jaydeep Sidhaye; Pavel Tomancak; Stephan Preibisch; Caren Norden
Journal:  J Vis Exp       Date:  2016-04-10       Impact factor: 1.355

3.  Multi-view light-sheet imaging and tracking with the MaMuT software reveals the cell lineage of a direct developing arthropod limb.

Authors:  Carsten Wolff; Jean-Yves Tinevez; Tobias Pietzsch; Evangelia Stamataki; Benjamin Harich; Léo Guignard; Stephan Preibisch; Spencer Shorte; Philipp J Keller; Pavel Tomancak; Anastasios Pavlopoulos
Journal:  Elife       Date:  2018-03-29       Impact factor: 8.140

4.  Probing the 3D architecture of the plant nucleus with microscopy approaches: challenges and solutions.

Authors:  Tao Dumur; Susan Duncan; Katja Graumann; Sophie Desset; Ricardo S Randall; Ortrun Mittelsten Scheid; Dimiter Prodanov; Christophe Tatout; Célia Baroux
Journal:  Nucleus       Date:  2019-12       Impact factor: 4.197

5.  SPIM workflow manager for HPC.

Authors:  Jan Kožusznik; Petr Bainar; Jana Klímová; Michal Krumnikl; Pavel Moravec; Václav Svatoň; Pavel Tomančák
Journal:  Bioinformatics       Date:  2019-10-01       Impact factor: 6.937

6.  Impact of concurrency on the performance of a whole exome sequencing pipeline.

Authors:  Daniele Dall'Olio; Nico Curti; Gastone Castellani; Enrico Giampieri; Eugenio Fonzi; Claudia Sala; Daniel Remondini
Journal:  BMC Bioinformatics       Date:  2021-02-09       Impact factor: 3.169

7.  Light-sheet microscopy for everyone? Experience of building an OpenSPIM to study flatworm development.

Authors:  Johannes Girstmair; Anne Zakrzewski; François Lapraz; Mette Handberg-Thorsager; Pavel Tomancak; Peter Gabriel Pitrone; Fraser Simpson; Maximilian J Telford
Journal:  BMC Dev Biol       Date:  2016-06-30       Impact factor: 1.978

8.  Automated 3D light-sheet screening with high spatiotemporal resolution reveals mitotic phenotypes.

Authors:  Björn Eismann; Teresa G Krieger; Jürgen Beneke; Ruben Bulkescher; Lukas Adam; Holger Erfle; Carl Herrmann; Roland Eils; Christian Conrad
Journal:  J Cell Sci       Date:  2020-06-01       Impact factor: 5.285

9.  Imaging plant germline differentiation within Arabidopsis flowers by light sheet microscopy.

Authors:  Sona Valuchova; Pavlina Mikulkova; Jana Pecinkova; Jana Klimova; Michal Krumnikl; Petr Bainar; Stefan Heckmann; Pavel Tomancak; Karel Riha
Journal:  Elife       Date:  2020-02-11       Impact factor: 8.140

  9 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.