PyUAT: Open-source Python framework for efficient and scalable cell tracking
Johannes Seiffarth, Katharina Nöh
TL;DR
The paper tackles uncertainty in tracking microbial cells when imaging frame rates are limited. PyUAT implements uncertainty-aware tracking (UAT) via Bayesian multi-hypotheses tracking with a particle filter, generating a distribution of cell lineage trees (CLTs) by solving an ILP-based frame-to-frame assignment between frames $t$ and $t+1$. Assignment models for appearance, disappearance, migration, and division are modular, with single-cell features modeled by univariate PDFs and combined into joint likelihoods; these are evaluated using vectorized CLT walks. Tailored model combinations (e.g., FO+DD and FO+G+O+DD) improve division F1 and maintain higher LNK across increasing imaging intervals, while tensor_walks and parallel ILP enable scalable runtimes (≤2 hours for 100k+ cells) and competitive performance against non-DL LAP trackers. PyUAT thus offers a transparent, extensible platform for uncertainty-aware lineage reconstruction in microbial systems and beyond.
Abstract
Tracking individual cells in live-cell imaging provides fundamental insights, inevitable for studying causes and consequences of phenotypic heterogeneity, responses to changing environmental conditions or stressors. Microbial cell tracking, characterized by stochastic cell movements and frequent cell divisions, remains a challenging task when imaging frame rates must be limited to avoid counterfactual results. A promising way to overcome this limitation is uncertainty-aware tracking (UAT), which uses statistical models, calibrated to empirically observed cell behavior, to predict likely cell associations. We present PyUAT, an efficient and modular Python implementation of UAT for tracking microbial cells in time-lapse imaging. We demonstrate its performance on a large 2D+t data set and investigate the influence of modular biological models and imaging intervals on the tracking performance. The open-source PyUAT software is available at https://github.com/JuBiotech/PyUAT, including example notebooks for immediate use in Google Colab.
