TraceSim: A Generative Simulator and Benchmark for Joint scRNA-seq and Lineage Tracing
Abstract
Single-cell lineage tracing paired with transcriptomics is transforming our understanding of cellular differentiation. However, due to immense technical difficulties and experimental complexity, paired barcoding–scRNA-seq datasets remain scarce, and CRISPR-based ones are routinely corrupted by cell- and site-level barcode dropout. Because sequencing is destructive, the continuous trajectories of differentiating cells are never observed, leaving generative simulators as the only practical route to ground-truth benchmarks. Yet most existing lineage-aware simulators generate expression as a strictly Markovian process, so early progenitors carry no coordinated signature of their eventual fate, which is precisely the signal that modern computational fate-prediction methods are designed to learn. We introduce TraceSim, a controllable multi-fate simulator that models differentiation as an overdamped Langevin process on a bifurcating Waddington landscape. Fate bias is tunable by construction: the observed transcriptome stays informative about terminal fate and clonal ancestry even after conditioning on a cell's current latent state. TraceSim further exposes asynchronous apoptosis, CRISPR barcode corruption (cell- and site-level dropout plus edit-calling error), tunable transcriptomic signal-to-noise, non-uniform fate composition, and adjustable count sparsity. We validate the generated data against the real Weinreb LARRY hematopoiesis dataset (49,116 clonally labeled cells), matching full-transcriptome zero-inflation (94.0% vs. 94.3%), median clone size and mature-lineage composition (L1 = 0.026); gene–gene covariance on a size-matched gene panel falls inside the range the real data spans, and we state which properties are fixed by design. Through a weakness-targeted evaluation, we show that TraceSim maps the predictive limits of modern fate-prediction models along axes that previous simulators cannot vary, that its barcode corruption channels stress-test phylogenetic reconstruction, and that exploiting clonal structure becomes decisive under heavy expression dropout. TraceSim is released as an open-source Python library, providing a controllable ground truth for benchmarking lineage reconstruction and early cell fate prediction.