Biofilms are a highly successful microbial lifestyle adaptation and these interphase-associated and matrix-enclosed communities of microorganisms dominate microbial life in natural and industrial settings1,2. There, biofilms form complex architectures, such as elongated streamers3, ripples4 or mushroom-like caps5 with important consequences for biofilm growth, structural stability and resistance to stress6. While much about biofilm structural differentiation has been learned from work on mono-species cultures grown in miniature flow chambers, most biofilms are highly complex communities often including members of all domains of life6. Appreciating these complex biofilms as microbial landscapes7 and understanding how biofilm structure and function interact in complex communities is thus at the forefront of biofilm research.
A mechanistic understanding of the morphogenesis of complex biofilms in response to environmental cues requires carefully designed experiments in conjunction with spatially and temporally resolved observations of biofilm physical structure across relevant scales8. However, the non-destructive observation of biofilm growth in experimental systems has been severely limited by logistic constraints such as the need to move samples (e.g., to a microscope) often damaging the delicate biofilm structure.
The protocol presented here introduces a fully automated system based on optical coherence tomography (OCT), which allows the in situ, non-invasive monitoring of biofilm morphogenesis at the mesoscale (mm range). OCT is an emerging imaging technique in biofilm research with applications in water treatment and biofouling research, medicine9 and stream ecology10. In OCT, a low coherence light source is split into a sample and reference arm; the interference of the light reflected and scattered by the biofilm (sample arm) and the light of the reference arm is analyzed. A series of axial intensity profiles (A-scans) which contains depth-resolved structural information is acquired and merged into a B-scan (a cross section). A series of adjacent B-scans composes the final 3D volume scan10. OCT provides a lateral optical resolution in the range of approximately 10 µm and is therefore well suited to study mesoscopic structural differentiation of biofilms10,12. For a more detailed description of OCT, refer to Drexler and Fujimoto13and Fercher and colleagues14. Although the field-of-view of a single OCT xy-scan reaches up to hundreds of square micrometers, larger-scale patterns cannot be quantified by means of OCT in a single scan. With respect to biofilms in natural habitats such as streams and rivers, this currently limits our ability to assess biofilm morphogenesis at scales matching the physical and hydraulic template of the habitat.
In order to surpass these spatial limits and to acquire OCT scans automatically, a spectral-domain OCT imaging probe was mounted on a 3-axis positioning system. The installation permits the acquisition of several OCT scans in an overlapping mosaic pattern (tile scan), effectively achieving the tomographic imaging of surface areas up to 100 cm2. Furthermore, the high positioning precision of this system enables to reliably monitor the growth and development of biofilm features in specific sites during long-term experiments. The system is modular and individual components (i.e., positioning device and OCT) of the installation can be used as standalone solutions or flexibly combined. Figure 1 provides an overview of the hard- and software components of the installation.
The system was tested with a commercially available GRBL-controlled CNC positioning device (Table of Materials). The operating distances of this specific positioning platform are 600×840×140 mm, with a manufacturer-indicated accuracy of +/- 0.05 mm and a programmable resolution of 0.005 mm. GRBL is an open-source (GPLv3 License), high-performance motion control for CNC devices. Therefore, every GRBL-based (version > 1.1) positioning device should be compatible with the guidelines and software packages presented here. Moreover, the software could be adapted to other stepmotor controllers with STEP-DIR input type with few modifications.
The OCT device used to assess the performance of the system (Table of Materials) features a low coherence light source with a center wavelength of 930 nm (bandwidth = 160 nm) and adjustable reference arm length and intensity. In the example presented here, an immersion adapter for dipping the OCT probe into flowing water was also used (Table of Materials). The software package developed here for automated OCT scan acquisition critically depends on the SDK provided together with the specific OCT system, however, OCT systems from the same manufacturer with different scan lenses and central wavelengths should be readily compatible.
The GRBL device is controlled by a web server installed on a single-board computer (Figure 1). This grants remote control of the device from any computer with local network or internet access. The OCT device is controlled by a separate computer, allowing the operation of the OCT system aside the automated experimental setup. Finally, the software packages include libraries to synchronize OCT probe positioning and OCT scan acquisition (i.e., to automatically acquire 3D imaging datasets in a mosaic pattern or in a set of defined positions). Defining the position of the OCT probe in 3D effectively allows to adjust the focal plane specifically for (regional) sets of scans. Specifically, on uneven surfaces, different focal planes (i.e., different positions in z direction) can be specified for each OCT scan.
A set of software packages was developed to process raw OCT scans (Table 1). Navigation of the positioning device, OCT scan acquisition and dataset processing are performed with Python-coded Jupyter notebooks, which allow remarkable flexibility in the development and optimization of the software. Two worked and annotated examples of such notebooks (for image acquisition and processing, respectively) are available from https://gitlab.com/FlumeAutomation/automated-oct-scans-acquisition.git They are intended as starting points for customization of the method. A Jupyter notebook is a web browser based application which contain cells with annotated Python code. Each step is contained in a cell of the notebook, which can be executed separately. Due to the different length of the light path through the scan lens (spherical aberration)15, the raw OCT scans appear distorted (Figure 2A). We developed an algorithm to automatically correct for this distortion in acquired OCT scans (contained in ImageProcessing.ipynb, Supplementary File 1). Furthermore, biofilm morphology can be visualized as a 2D elevation map, as was previously used in membrane systems16, and we illustrate how elevation maps obtained from scans taken in a tiling array can be stitched.
Finally, the functionality of the described laboratory installation is illustrated using a flume experiment in which phototrophic stream biofilm is exposed to a gradient of flow velocity.