CytoPy: An autonomous cytometry analysis framework

PLoS Comput Biol. 2021 Jun 8;17(6):e1009071. doi: 10.1371/journal.pcbi.1009071. eCollection 2021 Jun.

Abstract

Cytometry analysis has seen a considerable expansion in recent years in the maximum number of parameters that can be acquired in a single experiment. In response to this technological advance there has been an increased effort to develop new computational methodologies for handling high-dimensional single cell data acquired by flow or mass cytometry. Despite the success of numerous algorithms and published packages to replicate and outperform traditional manual analysis, widespread adoption of these techniques has yet to be realised in the field of immunology. Here we present CytoPy, a Python framework for automated analysis of cytometry data that integrates a document-based database for a data-centric and iterative analytical environment. In addition, our algorithm-agnostic design provides a platform for open-source cytometry bioinformatics in the Python ecosystem. We demonstrate the ability of CytoPy to phenotype T cell subsets in whole blood samples even in the presence of significant batch effects due to technical and user variation. The complete analytical pipeline was then used to immunophenotype the local inflammatory infiltrate in individuals with and without acute bacterial infection. CytoPy is open-source and licensed under the MIT license. CytoPy is available at https://github.com/burtonrj/CytoPy, with notebooks accompanying this manuscript (https://github.com/burtonrj/CytoPyManuscript) and software documentation at https://cytopy.readthedocs.io/.

Publication types

  • Research Support, Non-U.S. Gov't

MeSH terms

  • Algorithms
  • Computational Biology
  • Databases, Factual
  • Humans
  • Image Cytometry / statistics & numerical data*
  • Immunophenotyping / statistics & numerical data
  • Machine Learning
  • Peritoneal Dialysis / adverse effects
  • Peritonitis / diagnosis
  • Peritonitis / immunology
  • Peritonitis / pathology
  • Programming Languages
  • Software*
  • T-Lymphocyte Subsets / immunology
  • T-Lymphocyte Subsets / pathology