bioRxivSystems BiologyPreprint
PyCLM: programming-free, closed-loop microscopy for real-time measurement, segmentation, and optogenetic stimulation
Abstract
In cell biology, optical techniques are increasingly used to measure cells internal states (biosensors) and to stimulate cellular responses (optogenetics). Yet the design of all-optical experiments is often manual: a pre-determined stimulus pattern is applied to cells, biosensors are measured over time, and the resulting data is processed off-line. With the advent of machine learning for segmentation and tracking, it becomes possible to envision closed-loop experiments where real-time information about cells positions and states are used to dynamically determine optogenetic stimuli to alter or control their behavior. Here, we develop PyCLM, a Python-based suite of tools to enable real-time measurement, image segmentation, and optogenetic control of thousands of cells per experiment. PyCLM is designed to be as simple for the end user as possible, and multipoint experiments can be set up that combine a wide variety of imaging, image processing, and stimulation modalities without any programming. We showcase PyCLM on diverse applications: studying the effect of epidermal growth factor receptor activity waves on epithelial tissue movement, simultaneously stimulating [~]1,000 single cells to guide tissue flows, and performing real-time feedback control of cell-to-cell fluorescence heterogeneity. This tool will enable the next generation of dynamic experiments to probe cell and tissue properties, and provides a first step toward precise control of cell states at the tissue scale.
- Citations
- 4
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Real-time feedback control microscopy for automation of optogenetic targeting
Lucien Hinderling, Alex Erich Landolt, … Olivier C. Pertz·bioRxiv·Aug 17, 2025
- All-optical closed-loop voltage clamp for precise control of muscles and neurons in live animals
Amelie C. F. Bergs, Jana Fiona Liewald, … ALEXANDER R. GOTTSCHALK·Nature CommunicationsPeer-reviewed·Apr 6, 2023
- Closed-loop Optogenetic Control in a Microplate Reader
Hari R. Namboothiri, Krishna Pochana, … Chelsea Y. Hu·ACS Synthetic BiologyPeer-reviewed·May 25, 2026
- ChipSeg: an automatic tool to segment bacteria and mammalian cells cultured in microfluidic devices
Irene de Cesare, Criseida G. Zamora-Chimal, … Lucia Marucci·ACS OmegaPeer-reviewed·Jan 19, 2021
- Outcome-Driven Microscopy: Closed-Loop Optogenetic Control of Cell Biology
Josiah B. Passmore, Alfredo Rates, … Lukas C. Kapitein·Nature CommunicationsPeer-reviewed·Dec 23, 2025
- CyberSco.Py: open-source software for event-based, conditional microscopy