FLAG-X: Hybrid machine learning workflows for automated gating of clinical flow cytometry data
Journal:
bioRxiv
Published Date:
Jun 9, 2026
Abstract
Flow cytometry analysis is widespread practice in cell biology, immunology and hematology. Cell populations of interest are typically identified by consecutively examining the expression levels of antigen marker pairs. Since this manual gating process lacks standardization and is time-consuming, several machine learning (ML) methods for automated gating of flow cytometry data have been proposed in recent years. However, their translation into routine workflows has been limited. To address this, we developed the Python package FLAG-X (''flow cytometry automated gating toolbox''), which supports two novel workflows that integrate manual with ML-based gating, using labeled and unlabeled training data. We selected state-of-the-art ML methods developed for automated gating for inclusion in FLAG-X, based on their gating performance in comparison to manual expert annotations. FLAG-X provides a unified interface for top-performing methods and enables seamless integration with standard software for manual gating by exporting results as FCS files. To demonstrate its practical utility, we applied FLAG-X to representative cases from clinical practice. FLAG-X is available at https://anaconda.org/channels/bioconda/packages/flagx/overview