- Open Access
mycelyso – high-throughput analysis of Streptomyces mycelium live cell imaging data
BMC Bioinformaticsvolume 20, Article number: 452 (2019)
Streptomycetes are filamentous microorganisms of high biotechnological relevance, especially for the production of antibiotics. In submerged cultures, the productivity of these microorganisms is closely linked to their growth morphology. Microfluidic lab-on-a-chip cultivation systems, coupled with automated time-lapse imaging, generate spatio-temporal insights into the mycelium development of streptomycetes, therewith extending the biotechnological toolset by spatio-temporal screening under well-controlled and reproducible conditions. However, the analysis of the complex mycelial structure formation is limited by the extent of manual interventions required during processing of the acquired high-volume image data. These interventions typically lead to high evaluation times and, therewith, limit the analytic throughput and exploitation of microfluidic-based screenings.
We present the tool mycelyso (MYCElium anaLYsis SOftware), an image analysis system tailored to fully automated hyphae-level processing of image stacks generated by time-lapse microscopy. With mycelyso, the developing hyphal streptomycete network is automatically segmented and tracked over the cultivation period. Versatile key growth parameters such as mycelium network structure, its development over time, and tip growth rates are extracted. Results are presented in the web-based exploration tool mycelyso Inspector, allowing for user friendly quality control and downstream evaluation of the extracted information. In addition, 2D and 3D visualizations show temporal tracking for detailed inspection of morphological growth behaviors. For ease of getting started with mycelyso, bundled Windows packages as well as Docker images along with tutorial videos are available.
mycelyso is a well-documented, platform-independent open source toolkit for the automated end-to-end analysis of Streptomyces image stacks. The batch-analysis mode facilitates the rapid and reproducible processing of large microfluidic screenings, and easy extraction of morphological parameters. The objective evaluation of image stacks is possible by reproducible evaluation workflows, useful to unravel correlations between morphological, molecular and process parameters at the hyphae- and mycelium-levels with statistical power.
Bacteria of the genus Streptomyces are important producers of a wide range of pharmaceuticals, such as antibiotics, anticancer agents, and immuno-suppressants [1, 2]. Owing to their secretion ability, Streptomyces are industrial production hosts for a large variety of enzymes and heterologous proteins . Biotechnological processes with Streptomyces are predominantly performed in liquid (submerged) culture. Bioprocess optimization, although successful on a case-to-case basis, however, has hardly been found to be transferable between strains and target products . The reason lies in the complex filamentous growth morphology (cf. Additional file 1: Figure S1) of these microbes which is intimately linked to production performances and cultivation stability. The life cycle of Streptomyces begins with spore germination, followed by growth of the initial germ tube, and outgrowth of hyphae which form a branched network, the mycelium (cf. Additional file 1: Figure S1). In submerged culture the mycelium tends to agglomerate, leading to the formation of “clumps” known as pellets. Pellets are orders of magnitude larger than those of the single hyphal elements: the length of hyphae is in the scale of micrometers while pellets are up to millimeters in diameter.
The study of Streptomyces and their intricate life cycle, growth morphology, and production performances remains a field of active research [2, 5]. Traditional microscopic observation parameters in Streptomyces cultivations are the mean overall growth kinetics of the developing mycelium as derived from the increase in pellet diameter. Hence, microscopy joint with image analysis techniques have been used since the 1970s to study filamentous microorganism growth behavior and kinetics . However, for submerged cultures, these early approaches focused on snapshot analyses with pellet-level resolution.
Recently, microfluidic chip systems coupled with live-cell imaging unlocked the spatio-temporal screening of single microbial cell and colony development in monolayers under well-defined submerse and reproducible conditions. Thereby, this technology readily enables the in-depth study of morphological growth kinetics as well as the observation of the emerging heterogeneity of microbial cells at the single-cell level in hundreds to thousands picoliter-scaled growth chambers simultaneously . In turn, this technology permits the massively parallel investigation of the developing mycelial network of Streptomyces in submerged culture with spatio-temporal resolution . Precisely, the elongation kinetics of individual hypha become accessible along with the topology of the branching network allowing for the in-depth study of the mycelium fine structure development.
The high volumes of image data captured by time-lapse microscopy in microfluidic approaches, however, come with the burden of image analysis to extract meaningful bio(techno)logical metrics. To this end, specific software tools have been developed. Two recent approaches to pellet- or mycelium-level analysis of Streptomyces are the ImageJ  plugin AnaMorf  and a MATLAB & Mathematica solution by de Ulzurrun . Although the latter can handle time-lapse data, neither this software nor AnaMorf has the capability to track mycelial development at the hyphae-level over time in an automated manner. More recently MicrobeJ, a general-purpose tool for microbial image analysis became available . While the MicrobeJ software can track microscopic hyphal networks image by image, it is geared towards interactive image analysis, rather than high-throughput analysis as it is needed to comprehensively evaluate the high data volumes acquired by microfluidics-based screening platforms. Similarly, the MATLAB-based tool DSeg, aimed at time-lapse image data analysis of filamentous organisms including Streptomyces, involves manual steering of the analysis processes . In the closely related field of fungi research, several tools have been developed for the analysis of snapshot data of mycelium structures. Here, two recent representative frameworks are HyphaTracker and SParticle [14, 15]. The ImageJ toolbox HyphaTracker for ascomycete analysis focuses on mycelium-level growth metrics while the ImageJ-macro package SParticle delivers growth measures with pellet- or mycelium-fragment-level resolution. These tools follow the same concepts as the streptomycete analysis tools and share similar characteristics.
Summarizing, employing existing tools for hyphae-level feature extraction and tracking from streptomycete time-lapse image sequences involves manual interactions which remain to be laborious and extremely time consuming, since automation aspects are insufficiently addressed by available image software packages. This lack of computational solutions hampers the exploitation of the unique possibilities offered by microfluidic single-cell technologies: the assessment of heterogeneity in a variety of growth measures and the ability to follow the development of exact mycelium structures over time, which later gives rise to pellet formation.
Here we describe the automated image processing suite mycelyso for analyzing mycelial network development of Streptomyces, with special focus on the extraction of growth metrics at the hyphae-level from time-lapse images. With mycelyso, growth metrics can be automatically extracted, in a reproducible manner, such as the hyphal growth unit (total mycelium length divided by tip count), hyphal elongation rates (change in hypha length over time), and whole mycelium elongation rates (change in total mycelium length over time). A viewer is developed, to provide an effective overview over the (both summary and detailed) results. Analysis results are stored in the HDF5 format to enable flexible and convenient post-processing and analysis, even in cases of large result sets. Diverse growth metrics can be extracted, with minimal manual burden and maximal reproducibility. The utility of mycelyso has been proven in a comprehensive screening study with Streptomyces lividans TK24  where we analyzed the influence of different growth media compositions on the growth behavior from whole mycelium to individual hyphae-level.
The mycelyso analysis suite consists of two independent parts: the core command line tool analysis tool mycelyso for batch processing of phase contrast time-lapse image data, and the interactive web-based results viewer mycelyso Inspector. Both tools are written in the Python programming language, with a bundled package available for Windows, as well as a Docker image for quick and reproducible invocation. Documentation is available from the web page.
The batch-processor mycelyso
mycelyso is a cross-platform command-line tool accepting plain TIFF, OME-TIFF , Zeiss CZI or Nikon ND2 image stacks. It uses the NumPy and SciPy libraries for computational efficiency, as well as the imaging processing library scikit-image [18, 19]. Data processing is pipelined, utilizing multiple CPU cores in parallel for processing speed. Various heterogeneous results (e.g., tabular data, graph data, segmented image data) are stored in the HDF5 format for easy and flexible post-analysis. mycelyso has been developed with fully automated batch processing in mind. Nevertheless, before starting a batch analysis process, adjustment of image analysis parameters might be indicated. To this end, mycelyso can be run in a preview mode, visualizing the binarization and the hyphae network in a per-frame manner. This way, the user can first visually assess and validate the analysis quality before launching batch processing of the image stacks.
To prepare input data for mycelyso, it has to be registered (i.e. drift compensated). Depending on the on-chip growth structures present, it can be beneficial to crop images to a region of interest (ROI) to speed up processing and reduce possible artifacts. In microfluidic setups with rectangular growth chambers, such as described in Grünberger et al. , finding the region of interest with joint registration is automated in mycelyso, meaning that image stacks can be analyzed directly, as acquired from the microscope. Otherwise, cropping to a region of interest is to be performed beforehand, e.g. with standard tools like ImageJ . The cropped image stack (Fig. 1a) is then background-corrected by subtraction of a blurred version of the image.
After the pre-processing, the image data is binarized. For this, mycelyso provides both, common local thresholding functions as well as a custom segmentation approach (an adaption of the binarization by Niblack ). Minor artifacts within the image, such as foreground or background speckles up to a certain size, are removed to alleviate proper downstream analyses, leading to cleaned binarized images (Fig. 1b).
The single pixel wide skeleton is then transformed into a graph representation (Fig. 1c) by identifying branching points, i.e. junctions and tips (end-points) and their connectivity . Specifically, the graph representation is formed by junctions and tips of the mycelium structure (nodes) and their connections (edges) (Additional file 1: Figure S1). Edge weights of the graph are determined by the hypha length spanned. The connectivity of the graph is found by moving over the skeleton in a pixel-wise manner. The weights (lengths of the individual hyphal segments) are determined by adding the distances of the individual skeleton pixel coordinates, corrected by repetitive smoothing . The processing steps to derive the graph reconstruction are performed for all images of the image stack, in a parallelized manner.
Tracking the growing mycelium at the hyphae level differs from other single-cell tracking problems, in that the hyphae have to be tracked individually within their mycelial context to produce hyphae-level metrics. Therefore, once the graphs of all images in a time-lapse image stack are generated, hyphal development is tracked with the nodes of the graph representations at hand. Here, junction points are tracked by nearest-neighbor matching as they keep their position under planar growth conditions, delivering node correspondences between time frames (Fig. 1e-g). Tip tracking follows the same principle, but with a larger search radius, since the hyphae tips of Streptomyces grow by extension, thus moving forward during mycelial growth. To robustify the results, various sanity checks are applied while tracking the paths of individual hyphae. For instance, it is asserted that the paths remain connected by assuring they are connected components in the graphs in consecutive time points. Adjacent hyphae that cannot be separated in the binarized image (e.g., due to overgrowth), appear as a single edge in the graph, which might introduce “shortcuts” in the hypha tracks. To not generate artifactual growth metrics, affected hyphae are not tracked further. Once the tracking has been performed per growth chamber of the microfluidic chip (position), this information feeds in associated growth metrics, such as growth rate per position.
Growth metrics & result storage.
mycelyso provides plenty of growth and tracking metrics on hyphae, hyphae track, and position level (cf. Table 1), along various fits of time-resolved data to quickly extract growth kinetics. Values for all metrics as well as all intermediate results of the processing pipeline, such as binarization and skeletonization results, GraphML graph representations, results per position and hyphae (Fig. 1d,h) are stored in an HDF5 file, along with the processing parameters.
Visualization & post-analysis.
For visualization and exploration of the data contained in the HDF5 file, the viewer mycelyso Inspector has been developed. With mycelyso Inspector, growth rates on hyphae- and mycelium-level can be viewed (cf. next paragraph). Alternatively, two Jupyter notebooks are included in the source code repository, which show additional ways to analyze the raw data stored in the HDF5 file. One notebook shows how to explore individual hyphae lengths and graph representations. The second notebook exemplifies how length-based growth rates can be determined using custom growth models by utilizing a third-party fitting tool.
The viewer mycelyso Inspector
Automated single-cell experiments generate high-volume data sets. To overview the collected data, a tailored web-based interactive data exploration tool, mycelyso Inspector, has been developed (Fig. 2). mycelyso Inspector enables visual quality control to detect poor quality results (due to technical or biological artifacts) which is essential before reliable interpretation and downstream analysis. To make high-volume data sets easily accessible, the web-based interactive data exploration tool mycelyso Inspector relies on a HTML5-based front end being served by a Python-based back end. The different kinds of data stored in the HDF5 files can be viewed either in a tabular or graphical (i.e., plots) manner, and individual results can directly be saved in tab-separated values (TSV) format. Graph data structures and intermediate segmentation results are visualized for checking the processed results. In addition, 3D views visualizing the growing hyphal network are presented for a quick overview of the spatio-temporal hyphal development and the analysis quality (Additional file 2: Figure S2).
mycelyso has been used to analyze a large-scale screening study to quantify the impact of six different growth media compositions on the hyphae-level growth behavior of Streptomyces lividans TK24 . For the description of the imaging conditions and the biotechnological findings derived from the data, the reader is referred to the study . Within this software publication, we focus on presenting performance measures for the mycelyso software. A representative image stack acquired in the study, growth in complex medium, is available as example data set at DOI: https://dx.doi.org/10.5281/zenodo.376281. The stack contains 136 time points, and was used to assess the performance of the software. The processing of the file (1.4 GiB) took 52.5 ± 1.2 s on a quad core Intel Core i7 4790 (3.6 GHz) with 32 GB RAM under Linux (approx. 2.5 frames per second, parallelized). Automated analysis directly yields important second-order metrics, such as the total mycelium growth rate, μ=0.45 h−1, derived from the mycelium length in one cultivation chamber (Fig. 1d), or the germination delay of 11.8 h, derived from the first occurring hypha among the tracked hyphae (Fig. 1h). These individual hyphae-level tracks further provide intra-mycelium growth parameters, such as a tip growth rates of 16.33±6.91 µ m·h−1. In comparison, the overall growth rate taking multiple on-chip positions (n=10) into account was determined to be 0.38±0.11 h−1 , and the germination delay 10.0±2.4 h.
Hyphae-level metrics unravel the precise kinetics of growth and response of the organism to the selected cultivation conditions, and provide insights into the formation of macroscopic phenotypes. In the larger study , from which the example dataset was taken, six different media compositions (one complex medium and five different minimal media) were imaged over time frames of 24–48 h. This setup yielded 675 image stacks in total. The image stacks were processed with mycelyso as described before and generated the biotechnological key parameters needed for the study in an automated manner. On this basis, we were able to draw statistically sound comparisons between the employed conditions without manual adaption of the processing. mycelyso contains specific developments for the task of streptomycete analysis, such as an adapted segmentation routine, as well as an individual hyphae-tracking approach for taking the mycelial network (graph) structure into account.
mycelyso is an open source, ready-to-use platform independent analysis software for all steps of the analysis of time-lapse image stacks of growing hyphae networks of microfluidic Streptomyces cultivations. The end-to-end suite is designed for high-throughput hyphae tracking in a fully automated manner, and comes with the dedicated viewer mycelyso Inspector for visualizing the extracted results. mycelyso was successfully applied to evaluate a microfluidic Streptomyces growth study (, a screening of growth behavior under different media compositions, compared to micro-titer plate cultivation), which encompassed automated processing of ≈680 GiB image data, more than 600 individual image stacks consisting of 100-200 time points each. Microfluidic systems in combination with time-lapse microscopy and mycelyso, thus, facilitate the reproducible routine study of various aspects in growth and development of Streptomyces  and pave the way for further screening applications.
Data at hyphae-level is valuable to foster the understanding of growth mechanisms of Streptomyces and their relation to production performances, e.g., for validating morphology models that aim to predict the effect of changes in media compositions on bioreactor-scale cultivations. Although designed for the analysis of Streptomyces, the well-documented and modular software may be a useful starting point for analyses of other filamentous growing organisms.
Availability and requirements
Project name: mycelyso
Project home page: https://github.com/modsim/mycelyso
Operating systems: Platform independent, Windows bundles and Docker images available additionally.
Programming language: Python 3
Other requirements: NumPy, SciPy, scikit-image, matplotlib, pandas, networkx, and other various dependency libraries, which can automatically be installed using setup.py.
Any restrictions to use by non-academics: none
Availability of data and materials
A demo dataset is available at DOI https://doi.org/10.5281/zenodo.376281.
Hwang K-S, Kim HU, Charusanti P, Palsson BØ, Lee SY. Systems biology and biotechnology of Streptomyces species for the production of secondary metabolites. Biotechnol Adv. 2014; 32(2):255–68. https://doi.org/10.1016/j.biotechadv.2013.10.008.
Chater K. Recent advances in understanding Streptomyces [version 1; referees: 4 approved]. F1000Research. 2016;5(2795). https://doi.org/10.12688/f1000research.9534.1.
Anné J., Economou A, Bernaerts K. In: Bagnoli F, Rappuoli R, (eds).Protein Secretion in Gram-Positive Bacteria: From Multiple Pathways to Biotechnology. Cham: Springer; 2017, pp. 267–308. https://doi.org/10.1007/82_2016_49.
Barka EA, Vatsa P, Sanchez L, Gaveau-Vaillant N, Jacquard C, Meier-Kolthoff JP, Klenk H-P, Clément C, Ouhdouch Y, van Wezel GP. Taxonomy, physiology, and natural products of actinobacteria. Microbiol Mol Biol Rev. 2016; 80(1):1–43. https://doi.org/10.1128/MMBR.00019-15.
van Dissel D, Claessen D, van Wezel GP. Morphogenesis of Streptomyces in submerged cultures. Adv Appl Microbiol. 2014; 89:1–45. https://doi.org/10.1016/B978-0-12-800259-9.00001-9.
Metz B. From pulp to pellet: An engineering study on the morphology of moulds.PhD thesis, TU Delft, University of Technology; 1976.
Grünberger A, Probst C, Helfrich S, Nanda A, Stute B, Wiechert W, von Lieres E, Nöh K, Frunzke J, Kohlheyer D. Spatiotemporal microbial single-cell analysis using a high-throughput microfluidics cultivation platform. Cytometry A. 2015; 87(12):1101–15. https://doi.org/10.1002/cyto.a.22779.
Schlimpert S, Flärdh K, Buttner MJ. Fluorescence time-lapse imaging of the complete S. venezuelae life cycle using a microfluidic device. J Vis Exp. 2016; 108:e53863. https://doi.org/10.3791/53863.
Abràmoff MD, Magalhães PJ, Ram SJ. Image processing with ImageJ. Biophot Int. 2004; 11(7):36–42.
Barry DJ, Williams GA, Chan C. Automated analysis of filamentous microbial morphology with AnaMorf. Biotechnol Progr. 2015; 31(3):849–52. https://doi.org/10.1002/btpr.2087.
de Ulzurrun GV-D, Baetens JM, den Bulcke JV, Lopez-Molina C, Windt ID, Baets BD. Automated image-based analysis of spatio-temporal fungal dynamics. Fungal Genet Biol. 2015; 84:12–25. https://doi.org/10.1016/j.fgb.2015.09.004.
Ducret A, Quardokus EM, Brun YV. MicrobeJ, a tool for high throughput bacterial cell detection and quantitative analysis. Nat Microbiol. 2016; 1:16077. https://doi.org/10.1038/nmicrobiol.2016.77.
Zhang H, Söderholm N, Sandblad L, Wiklund K, Andersson M. Dseg: A dynamic image segmentation program to extract backbone patterns for filamentous bacteria and hyphae structures. Microsc Microanal:1–9. https://doi.org/10.1017/S1431927619000308.
Brunk M, Sputh S, Doose S, van de Linde S, Terpitz U. Hyphatracker: An Imagej toolbox for time-resolved analysis of spore germination in filamentous fungi. Sci Rep. 2018; 8(1):605. https://doi.org/10.1038/s41598-017-19103-1.
Willemse J, Büke F., van Dissel D, Grevink S, Claessen D, van Wezel GP. Sparticle, an algorithm for the analysis of filamentous microorganisms in submerged cultures. Anton Leeuwenhoek. 2018; 111(2):171–82. https://doi.org/10.1007/s10482-017-0939-y.
Koepff J, Sachs CC, Wiechert W, Kohlheyer D, Nöh K, Oldiges M, Grünberger A. Germination and growth analysis of Streptomyces lividans at the single-cell level under varying medium compositions. Front Microbiol. 2018; 9:2680. https://doi.org/10.3389/fmicb.2018.02680.
Linkert M, Rueden CT, Allan C, Burel J-M, Moore W, Patterson A, Loranger B, Moore J, Neves C, MacDonald D, Tarkowska A, Sticco C, Hill E, Rossner M, Eliceiri KW, Swedlow JR. Metadata matters: access to image data in the real world. J Cell Biol. 2010; 189(5):777–82. https://doi.org/10.1083/jcb.201004104.
van der Walt S, Colbert SC, Varoquaux G. The NumPy array: A structure for efficient numerical computation. Comput Sci Eng. 2011; 13(2):22–30. https://doi.org/10.1109/MCSE.2011.37.
van der Walt S, Schönberger JL, Nunez-Iglesias J, Boulogne F, Warner JD, Yager N, Gouillart E, Yu T. scikit-image: Image processing in Python. PeerJ. 2014; 2:453. https://doi.org/10.7717/peerj.453.
Niblack W. An Introduction to Digital Image Processing. London: Prentice-Hall International (UK) Ltd; 1986, pp. 115–6. Chap. 5.1 Thresholding.
Zhang TY, Suen CY. A fast parallel algorithm for thinning digital patterns. Commun ACM. 1984; 27(3):236–9. https://doi.org/10.1145/357994.358023.
Hitchcock D, Glasbey CA, Ritz K. Image analysis of space-filling by networks: Application to a fungal mycelium. Biotechnol Tech. 1996; 10(3):205–210. https://doi.org/10.1007/BF00158947.
Cornelisse JTWA, van den Berg TJTP. Profile boundary length can be overestimated by as much as 41% when using a digitizer tablet. J Microsc. 1984; 136(3):341–4. https://doi.org/10.1111/j.1365-2818.1984.tb00544.x.
This work was supported by the Deutsche Forschungsgemeinschaft [WI 1705/16-2], the European Commission’s Seventh Framework Programme [FP7/2007-2013; grant number 613877], and the Helmholtz Association postdoc grant [PD-311]. The funding bodies played no role in design of the study, or collection, analysis and interpretation of the data, and in writing the manuscript.
Ethics approval and consent to participate
Consent for publication
The authors declare that they have no competing interests.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
- High-throughput analysis
- Filamentous growth
- Time-lapse imaging
- Microfluidic cultivation
- Mycelium network
- Hyphae tracking
- Reproducible science
- Open source