bioRxivBiophysicsPreprint
An Accessible Python Framework for Real-Time Magnetic Tweezers Microscope Control and Image Processing
James A. LondoniD, Abhishek K. SinghiD, Teague C. Svendsen, Naciye Esma TirtomiD, Zachary Root, Richard A. FisheliD
Abstract
Magnetic tweezers are a popular biophysical instrument for manipulating and measuring single molecules. Most groups rely on custom-built setups tailored to specific experiments, making it challenging to implement and share software. Typically, image acquisition and hardware control are automated via LabVIEW, while real-time video processing is implemented in C++/CUDA libraries. Live processing can eliminate the need to store raw video, enabling high throughput, fast acquisition rates, and simplified experimental workflows. However, no open-source general-purpose software framework currently unifies these capabilities for magnetic tweezers experiments. Here, we introduce MagTrack and MagScope open-source Python-based tools designed to fill this gap. MagTrack is an image-processing library that efficiently determines bead positions from magnetic-tweezers videos using CPU or GPU computation. MagScope is a comprehensive software framework offering a graphical user interface, real-time hardware control, data acquisition, and video processing. It is built on a multiprocessing architecture for responsive, high-throughput computation. Together, MagTrack and MagScope offer a fully customizable, end-to-end, open-source Python alternative to proprietary or fragmented systems, enabling laboratories to adapt and extend the framework according to their experimental needs.
- assay: imaging
- assay: fluorescence / live-cell microscopy
- research focus: software / tool
- research focus: benchmarking
- approach: experimental assay
- approach: microscopy & imaging analysis
- Citations
- 1
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
- Python-Microscope: A new open source Python library for the control of microscopes
D. M. M. S. Susano Pinto, M. A. Phillips, … I. M. Dobbie·bioRxiv·Jan 18, 2021
- Magnetic Tweezers with Magnetic Flux Density Feedback Control
W. I. Moghram, A. Kruger, … J. C. Selby·bioRxiv·Dec 3, 2020
- DySTrack: a modular smart microscopy tool for live tracking of dynamic samples on modern commercial microscopes
Zimeng Wu, Octavian Voiculescu, … Jonas Hartmann·Journal of Cell SciencePeer-reviewed·Apr 24, 2026
- CALISTO: A Standardized and Open-Source Software for Magnetic Tweezer Force Calibration
Stefanie D. Pritzl, Alptuğ Ulugöl, … Jan Lipfert·bioRxiv·Oct 19, 2026
- Utilizing Social Media and Video Games to Control #DIY Microscopes
Maxime Leblanc-Latour, Craig Bryan, Andrew Pelling·bioRxiv·May 15, 2016
- TracktorLive: an integrated real-time object tracking and response system
Pranav Minasandra, Vivek H. Sridhar, … Isaac Planas‐Sitjà·bioRxiv·May 26, 2026