Truecell reproduces R Seurat's single-cell analysis outputs natively in the Python ecosystem
Nuzla Ismail, Shanika Amarasoma, Michelle Galeas-Pena, Sarah C. Glover
Abstract
Single-cell RNA-sequencing analyses predominantly use either Seurat (R) or Scanpy (Python), with the choice often driven by programming language preference. However, by default, these tools produce divergent variable features, neighbour graphs, clusters, and marker genes. Laboratories requiring Python, which supports most deep-learning, foundation-model, and agent tools, must re-implement Seurat analyses in a framework that does not replicate Seurat's results. Truecell was developed as a Python implementation of the Seurat interface, preserving function names, arguments, default settings, and the object model to facilitate seamless transfer of analyses. In eighteen paired end-to-end evaluations against R Seurat, deterministic outputs matched to floating-point precision, and fold-change order was identical across all nine differential expression tests. In a three-arm benchmark on three datasets, with fixed user parameters and 20 seeds per tool, Truecell more closely reproduced Seurat's clustering than a Seurat-configured Scanpy in all 12 combinations of dataset and resolution settings. Truecell's marker genes and enriched pathways were also closer to Seurat's than Scanpy's were, and pseudobulk DESeq2 reproduced Seurat's gene lists with a Jaccard index ranging from 0.95 to 1.00. This agreement reflects fidelity to Seurat rather than biological correctness.
Create a lesson
Related papers
Unlocking the Regulatory Genome by ARGUS: An Evidence-Constrained Agentic Framework for Interpreting Single Nucleotide Variants
Pratik Dutta, Matthew B. Obusan, Max Chao et al.
Beyond the Transcriptome: Chromatin-Informed Prediction of Cell-State-Dependent Perturbation Responses
Jiafa Ruan, Chenyang He, Ruijie Quan et al.
HRPv2: an automated and enhanced method for full-length homology-based R-gene prediction
Giuseppe Andolfo, Thomas Holzweber, Juliane C. Dohm et al.
Tracing model-generated DNA with position-independent watermarking
Kimon Antonios Provatas1, Christos Galanopoulos, Ilias Georgakopoulos-Soares
A Unified Unsupervised Framework for Genome-Wide Association Studies in Heterogeneous Populations
Xiong Shen, Zhenshuang Tang, Yong Liao et al.
Generating eukaryotic reference genome assemblies: Earth BioGenome Project quality standards and recommendations
Kerstin Howe, Dolores R. Agius, Tyler Alioto et al.