Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Apr 22;13(1):2199.
doi: 10.1038/s41467-022-29888-z.

Enabling reactive microscopy with MicroMator

Affiliations

Enabling reactive microscopy with MicroMator

Zachary R Fox et al. Nat Commun. .

Abstract

Microscopy image analysis has recently made enormous progress both in terms of accuracy and speed thanks to machine learning methods and improved computational resources. This greatly facilitates the online adaptation of microscopy experimental plans using real-time information of the observed systems and their environments. Applications in which reactiveness is needed are multifarious. Here we report MicroMator, an open and flexible software for defining and driving reactive microscopy experiments. It provides a Python software environment and an extensible set of modules that greatly facilitate the definition of events with triggers and effects interacting with the experiment. We provide a pedagogic example performing dynamic adaptation of fluorescence illumination on bacteria, and demonstrate MicroMator's potential via two challenging case studies in yeast to single-cell control and single-cell recombination, both requiring real-time tracking and light targeting at the single-cell level.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Fig. 1
Fig. 1. MicroMator overview.
a Modular software architecture. MicroMator consists of a core software that handles user-defined events and of an extensible set of modules that control various hardware and software aspects of microscopy experiments. It is written in the high-level programming language Python. It takes as inputs Python files defining events and Micro-Manager configuration files providing positions of interest and an imaging backbone. b Event-based reactive microscopy workflow. Imaging can be followed by online analysis of the samples. This typically involves segmentation, tracking, quantification of cell properties, and possibly advanced additional computations. Effects may then be triggered based on the result of the analysis. These may include the physical actuation of the hardware or the initiation of communications or of additional computations.
Fig. 2
Fig. 2. Adaptive exposure preserves imaging quality.
a Left: Classic constant exposure experiment, in which the same amount of light is sent throughout the experiment. Right: adaptive experiment, in which bacteria are segmented after each frame and the exposure is increased or decreased depending on the measured fluorescence. b Imaging C. glutamicum in brightfield and fluorescence with Wag31 fused to mNeonGreen and localized to the poles (GFP), and with red nile stain. c Left: In the constant exposure experiment, the fluorescence decays. For the adaptive experiment, fluorescence tracks the target value of 3000 arb. units. The experiment is performed in two fields of view (FOV) in parallel. Center: The exposure settings as a function of experiment time. Right: Signal-to-noise ratio as defined by the intracellular fluorescence divided by the background fluorescence as a function of the experiment time. A less severe degradation is obtained with the adaptative strategy.
Fig. 3
Fig. 3. Control gene expression at the single cell level in yeast.
a The red fluorescent protein mScarletI is placed under the control of the light-responsive transcription factor EL222. b To efficiently characterize cell responses to light stimulations, cells in the field of view are partitioned in three groups, each group being stimulated with a different temporal profile. Bright-field images are segmented and cells are tracked. Then, based on their groups, cells are stimulated during the appropriate time with eroded masks (see Supplementary Fig. 5). Therefore, characterization experiments are run in parallel thanks to the DMD and our capacity to segment and track cells in real time. The temporal evolution of the mean mScarletI fluorescence of the cells in the three groups is shown with envelopes indicating one standard deviation. Single-cell trajectories and replicates are provided in Supplementary Fig. 6. c Open-loop control experiment in which a model of the response of the cell population is used to precompute a light stimulation profile that drives the cell population to the target behavior. The application of the light profile leads to significant deviations from the target of the individual cell trajectories. d Closed-loop control experiment in which the same model is used jointly with real-time observations of the population state to decide which light profile to apply to all cells, using a receding horizon strategy. e A stochastic model of individual cell response is used jointly with single-cell observations to decide which light profile to apply to each cell. f The different strategies have similar performances to drive the mean fluorescence to its target, but the single-cell feedback strategy is significantly better to drive individual cells to their target profiles. Box plots indicate the lower quartile, the median, and the upper quartile of the target error, with the whiskers corresponding to 1.5 interquartile ranges. Each control experiment was replicated two times.
Fig. 4
Fig. 4. Patterns of recombined yeast cells.
a Upon light exposure, the Cre recombinase is expressed and triggers recombination, leading to the expression of ATAF1 and then of Far1M-mCerulean. Stars indicate nuclear localization of the protein. b Targeted cells are stimulated for 1 s every 6 min until the end of the experiment. Fluorescence levels emitted by targeted cells can be recorded. At the end of the experiment, all cells are imaged and a recombined or non-recombined phenotype is attributed. c A ring-like region in the field of view is selected at the beginning of the experiment and all cells entering the designated region at some time point are targeted for recombination. The distributions of the fluorescence levels of the targeted and non-targeted cells can be computed at the end of the experiment. The vast majority of cells present the expected phenotype and outliers can be further analyzed. d Cells are dynamically selected such that no target cells are close to each other. Cell lineages of targeted and non-targeted cells can be manually reconstructed and statistics can be extracted.

References

    1. Eisenstein M. Smart solutions for automated imaging. Nat. Methods. 2020;17:1075–1079. doi: 10.1038/s41592-020-00988-2. - DOI - PubMed
    1. Strack R. Deep learning in imaging. Nat. Methods. 2019;16:17–17. doi: 10.1038/s41592-018-0267-9. - DOI - PubMed
    1. Conrad C, et al. Micropilot: Automation of fluorescence microscopy-based imaging for systems biology. Nat. Methods. 2011;8:246–249. doi: 10.1038/nmeth.1558. - DOI - PMC - PubMed
    1. Carro A, Perez-Martinez M, Soriano J, Pisano DG, Megias D. iMSRC: Converting a standard automated microscope into an intelligent screening platform. Sci. Rep. 2015;5:10502. doi: 10.1038/srep10502. - DOI - PMC - PubMed
    1. Pinkard H, Stuurman N, Corbin K, Vale R, Krummel MF. Micro-Magellan: Open-source, sample-adaptive, acquisition software for optical microscopy. Nat. Methods. 2016;13:807–809. doi: 10.1038/nmeth.3991. - DOI - PMC - PubMed

Publication types

LinkOut - more resources