Skip to main content
Philosophical Transactions of the Royal Society B: Biological Sciences logoLink to Philosophical Transactions of the Royal Society B: Biological Sciences
. 2025 Feb 20;380(1919):20230318. doi: 10.1098/rstb.2023.0318

A Bayesian phylodynamic inference framework for single-cell CRISPR/Cas9 lineage tracing barcode data with dependent target sites

A Zwaans 1,2, S Seidel 1,2, M Manceau 1,2, T Stadler 1,2,✉
PMCID: PMC11867110  PMID: 39976408

Abstract

Analysing single-cell lineage relationships of an organism is crucial towards understanding the fundamental cellular dynamics that drive development. Clustered regularly interspaced short palindromic repeats (CRISPR)-based dynamic lineage tracing relies on recent advances in genome editing and sequencing technologies to generate inheritable, evolving genetic barcode sequences that enable reconstruction of such cell lineage trees, also referred to as phylogenetic trees. Recent work generated custom computational strategies to produce robust tree estimates from such data. We further capitalize on these advancements and introduce GESTALT analysis using Bayesian inference (GABI), which extends the analysis of genome editing of synthetic target arrays for lineage tracing (GESTALT) data to a fully integrated Bayesian phylogenetic inference framework in software BEAST 2. This implementation allows users to represent the uncertainty in reconstructed trees and enables their scaling in absolute time. Furthermore, based on such time-scaled lineage trees, the underlying processes of growth, differentiation and apoptosis are quantified through so-called phylodynamic inference, typically relying on a birth–death or coalescent model. After validating its implementation, we demonstrate that our methodology results in robust estimates of growth dynamics characteristic of early Danio rerio development. GABI’s codebase is publicly available at https://github.com/azwaans/GABI.

This article is part of the theme issue ‘“A mathematical theory of evolution”: phylogenetic models dating back 100 years’.

Keywords: Danio rerio, BEAST 2, phylodynamics, single-cell, lineage tracing, CRISPR

1. Background

The underlying principles of multicellular growth remain a major question in biology. Understanding the dynamics of cell division is central to the study of biomedical processes ranging from healthy embryonic development, organogenesis and tissue regeneration to cancer progression and tumour growth [1]. In fact, both healthy and diseased tissues are fundamentally the result of a complex balance between the process of cell proliferation and death. Considerable efforts have been made towards gaining insights into the timing, rate and modality of these processes. Their complexity lies in the fact that cell fate is determined through the spatial and temporal integration of a plethora of factors that include endogenous pathways, long-distance hormonal or even biophysical signaling, to only name a few [2]. This is partly addressed by a growing body of experimental methods producing genomic, transcriptomic and proteomic data at the single-cell level [3]. These increasingly comprehensive, multi-omics datasets provide the resolution required to characterize individual cell states [4]. However, this molecular resolution of cells at particular time points does not give direct information on the changes of the cells through time.

A natural representation of cell populations through time are lineage trees, also referred to as phylogenetic trees, where a node depicts a sampled cell, and edges represent the ancestry of these cells, with their lengths corresponding to calendar time. Phylogenetic trees can generally be employed to estimate the parameters of the processes generating these trees; such inference of population dynamic parameters based on phylogenetic trees is also called phylodynamic inference. Starting with Yule 100 years ago [5], seminal papers demonstrated that birth and death rates in a population can be estimated from a tree with individuals sampled from the present-day population [6,7]. Translated to our single-cell application, we can estimate past division (birth) and apoptosis (death) rates or sampling intensity based on phylogenetic trees reconstructed from single-cells sampled at one time point of development [1].

The concept of observing cell lineage trees under the microscope dates back to the late nineteenth century [8]. However, microscopic observation of such lineages quickly becomes a challenge for large, non-transparent organisms, prompting the use of sequencing data as a powerful alternative to encode relatedness between cells. For cancer cells, enough changes in the genome may occur to enable lineage reconstruction [9,10], but somatic mutations in healthy cells are typically too rare to encode high-resolution lineage signal [11]. Instead, drawing on recent developments in sequencing and genome engineering technologies, cell lineage tree reconstruction now increasingly relies on sequences derived from artificial genetic constructs called lineage recorders that dynamically accumulate mutations during development. These methods, collectively termed dynamic lineage tracing [12], require generating transgenic organisms harbouring the genetic components of a genome editing strategy of choice to generate mutations. Among others [13–15], multiple methods have been developed using the growing toolbox of clustered regularly interspaced short palindromic repeats (CRISPR)/Cas9 genome editing-based technologies. There, the endogenous, error-prone DNA repair mechanisms of double-stranded breaks result in the stochastic insertion or deletion of sequences. Genome editing of synthetic target arrays for lineage tracing (GESTALT) [16], ScarTrace [17] and lineage tracing by nuclease-activated editing of ubiquitous sequences (LINNAEUS) [18]) methods all rely on this principle. These repair outcomes at engineered sites, called target sites in the following, constitute the building blocks of sequencing data generated with such methods.

The fields of macroevolution and genomic epidemiology rely on a variety of long-established, computational methodologies for the reconstruction of phylogenies from genetic sequencing data [19–23]. However, lineage recording data break traditional assumptions of these methods, in particular regarding molecular evolution [24]. Early examples of lineage trees constructed from genetic lineage tracing data have relied on generic methods such as neighbour-joining [25] or Camin–Sokal parsimony [26] for tree reconstruction, both of which do not model the exact mutation process of lineage tracing barcodes. This can result in poor accuracy in tree reconstruction as these fail to incorporate unique features of the data, such as indel states or the irreversibility of the recording process [27]. This led to recent methodological developments that more closely account for specific features of the data [28], including machine learning methods [29] and custom distance or parsimony-based methods [30,31]. While some of these methods were shown to greatly improve the accuracy of lineage tree reconstruction, they focused exclusively on reconstructing phylograms, i.e. lineage trees that are not scaled in absolute time. Time-scaled lineage trees, or chronograms, additionally hold information on the timing of lineage segregation events and, further, the underlying population dynamics of the studied cell populations [32]. Towards that goal, generating such time-scaled trees was made possible with the formulation of mechanistic models of lineage recording data, used in a Bayesian or maximum-likelihood inference framework [33–35]. In a previous paper [33], we developed a Bayesian inference method (TideTree) for lineage tracing data where mutations in the barcode, or scars, are acquired in a strictly irreversible fashion at independent genomic sites. For this type of data, we demonstrated that our phylodynamic inference framework enables the joint estimation of lineage trees and cell population dynamics parameters and showcased these properties with an analysis of mouse embryonic stem cell data from [36]. For GESTALT data, while the mutation process itself is also irreversible, scars or edits may be subsequently overwritten by large edits in adjacent sites. As such, GESTALT target sites are so-called dependent, as mutations at a certain site affect the ability to edit others. Accounting for this property, a first mechanistic model describing detailed features of the GESTALT barcode mutation process was introduced in [37] where cuts introduced by Cas9 upon recognition of the target sequences are assumed to follow a continuous time Markov chain process. The Python implementation of the phylogenetic likelihood under that model for maximum-likelihood inference, GESTALT analysis using penalized maximum likelihood (GAPML), reconstructed lineage trees with a relative timing of division times under a molecular clock assumption. This implementation however provided no scaling of branch lengths in absolute time and no straightforward way to assess uncertainty in estimates.

In this work, we describe GESTALT analysis using Bayesian inference (GABI), a software package that enables the analysis of GESTALT data for joint estimation of lineage trees scaled in absolute time and cell population dynamics, by extending and implementing the mutation model from [37] in software BEAST 2 [20]. We couple this method with the birth–death and coalescent models for tree generation [7,38], under which the posterior estimation of both the rate of cell divisions and the proportion of cells being sequenced is enabled. We validate this framework and demonstrate its use with an empirical study of Danio rerio early development from alignments of GESTALT sequences collected from dome-stage embryos. These analyses show that time-scaled embryonic lineage trees and the growth rates that underlie this embryonic stage can both be inferred using our new framework.

2. Methods

(a). Mutation model

We designed GABI to consider GESTALT barcode alignments as data for Bayesian phylogenetic inference. We enable this by re-parameterizing and implementing a phylogenetic likelihood (i.e. the probability of the sequence alignment given the tree) under the model of GESTALT barcode evolution described in [37] (called GAPML model), in BEAST 2 [20]. In the following, we briefly introduce the notations, definitions and assumptions that were used to formulate this model of GESTALT sequence evolution and underline key assumptions and approximations used for the likelihood calculation under that model.

GESTALT relies on a Cas9-based technology to generate stochastic mutations introduced at specific sites within a transgene (referred to as barcode) built into the founding cell of the population whose lineage is traced. Lineage data consist of an alignment of such modified transgenes, generated through sequencing of GESTALT barcodes after cell populations of interest undergo proliferation. The following are general notations used to describe any of the several GESTALT barcode designs introduced in [16] but also hold for all subsequent GESTALT applications and related technologies [39–44] and can be directly modelled by only adjusting the available parameters.

The GESTALT barcode is a DNA sequence that consists of an array of M (typically, up to 10) subsequences (typically each in the range of 20 bp) each containing a CRISPR/Cas9 target site. Each of these subsequences contains a protospacer adjacent motif (PAM) sequence necessary for Cas9 nuclease binding and a spacer sequence complementary to single-guide RNA (sgRNA) for specific recognition. In the presence of the Cas9 enzyme and a sgRNA complementary to the spacer sequence at a target site, mutations of GESTALT barcode sequences occur as the result of a two-step process: (i) upon sgRNA binding at a target site k, Cas9 first generates a double-strand cut at a position 3 bp upstream of PAM sequences, denoted as c(k), and (ii) this then triggers an endogenous repair mechanism that results in the introduction of insertions and deletions into the barcode at the targeted sites (see electronic supplementary material, appendix figure S1, upper half). Introducing an insertion or deletion at each of the M target sites is irreversible as it breaks complementarity with its corresponding sgRNA. Therefore, such sets of insertions and/or deletions (together referred to as 'indels') are the building blocks of characters in GESTALT sequence alignments. For such GESTALT sequencing data, [37] suggested a model of this evolution, implemented in GAPML. It contains parameters that specify target-specific cut rates, weights for the relative frequency at which double-cut events occur and factors controling the frequency of long and short deletions left and right of these cuts (see table 1 for notation). In electronic supplementary material, appendix B, we describe the precise model assumptions and how the likelihood is calculated under that model. In our implementation, we additionally introduce a clock rate r, quantifying the rate per time unit of mutations per target site (also see table 1). This distinguishes GABI from GAPML, where no such rate is assumed, which results in the length of any branch i, τi being inferred relative to total tree height. Consequently, under a transition rate matrix Q built under the GAPML model, transition probabilities are expressed as elements of the transition probability matrix P=eQτi. Instead, in GABI, we additionally provide scaling in absolute time with the clock rate, where a branch i accumulates indels at a rate of ri indels per target site per unit of time. In BEAST 2, these branch rates can then either be specified as being constant for all branches, corresponding to a strict molecular clock [45] assumption or allowed to vary across branches or clades, corresponding to a relaxed clock [46,47]. Under this implementation, transition probabilities are obtained as described in electronic supplementary material, appendix B, but substituting for the absolute branch length ti instead P=eQriti, which is the core of our novel parameterization.

Table 1.

Parameters of the GABI editing model. All parameters but r are assumed in the GAPML method; r is additionally introduced in BEAST 2 for the time-scaling of lineage trees.

GESTALT parameter

description

molecular clock rate r

rate at which the barcode acquires mutations, in indels per site per time unit

cut rate λi

rate at which an individual target i in the barcode gets cut

double-cut weight ω

weight that specifies how frequent double-cut events are relative to single-cut events

long-trim factor γ0

factor specifying how frequent long deletions are relative to short deletions, left of a cut

long-trim factor γ1

factor specifying how frequent long deletions are relative to short deletions, right of a cut

(b). Implementation

We re-parameterized and implemented the phylogenetic likelihood and the sequence simulation engine for the GESTALT model from [37] in Java for the Bayesian phylogenetic inference platform BEAST 2, as a package called GABI. This implementation enables its interaction with dozens of tree priors, molecular clock models and a growing body of tutorials to facilitate the specification of complex analyses. Its integration within BEAST 2 also ensures interoperability with software that provides visualization tools to summarize Markov chain Monte Carlo (MCMC) posterior samples and assess convergence.

Several key changes were made from the original Python framework with regard to the tree inference: GABI considers exclusively bifurcating trees and thus does not implement the scheme aimed at resolving multifurcations by creating spines and does not restrict the tree search to maximum parsimony topologies. Additionally, an advancement made in GABI is the increased speed of the likelihood calculation by caching partial likelihoods and ancestral states for unchanged parts of the lineage tree, leading to up to a 2.5-fold increase over 100 iterations of the MCMC chain with respect to a naive implementation. Overall runtime can also be further optimized by the use of threading natively supported by BEAST 2.

As outlined above, the core novel component of GABI is its ability to specify and infer a molecular clock rate, r, which denotes the rate that converts branch lengths into calendar time. This can further be extended by specifying branch or clade-specific rates when deemed appropriate. Building upon this component, our implementation of a sequence simulation engine, based on the BEAST 2 package feast [48] combined with the GAPML simulation algorithm, is the first fully integrated simulator allowing to generate GESTALT alignments along time-scaled lineage trees, while specifying branch specific mutation rates. Beyond the assessment of proper implementation as shown here, it also provides a framework for more investigations of the properties of GESTALT data with respect to its ability to encode signal for both lineage and cellular growth patterns.

While models of indel evolution in the context of classic sequence or language evolution have been implemented for BEAST 2 [49], it does not natively support indel sequences characteristic of GESTALT barcode alignments and their metadata. To enable their use, we defined a new BEAST 2 datatype format, which encodes sequences as lists of indels each characterized by their start position in the barcode, the deletion length, the target sites affected by the deletion and the insert sequence. This implementation also enables the specification of any GESTALT barcode design of interest as metadata associated with input alignments for GABI, containing the unedited barcode sequence and positions of the cut site relative to the 3′ end of each target site.

Input data compatible with GABI is generated as follows: GESTALT alleles (in the format made available in [16]) are created from consensus GESTALT barcode sequences built using unique molecular identifiers. After being aligned to the reference, unedited barcode, nucleotide sequences are converted to alleles that consist of lists of observed indels. From this starting format, additional processing of ambiguous indels is performed using the pipeline provided in [37], merging indels affecting the same site and ensuring that indels span target sites correctly. Finally, these alleles are built into an alignment compatible with GABI in BEAST 2 (see electronic supplementary material, appendix figure S2 for an example). Additional data needed for computing the likelihood, such as the unedited barcode sequence and site annotations, are provided as metadata for BEAST 2 along with the alignment. All main functions and data structures that enable the calculation of the tree likelihood in GABI interact as shown in electronic supplementary material, appendix figure S3.

(c). In silico validation

We first validate the correct implementation of the phylogenetic likelihood in GABI by comparing its output values with the previous Python implementation of GAPML. These tests are all integrated as unit tests for GABI in BEAST 2 and consist of calculations of the likelihood output for 13 datasets that cover all mutation types (unedited barcode, focal deletion or long deletions) and a range of phylogenetic structures (single branch, 3-leaf tree and 4-leaf tree). For each of them, we additionally record the runtime needed for a single, initial evaluation of the likelihood in both implementations, recorded on a computer running OSX on Intel Core i5 dual-core at 2.30 GHz.

We also validate the correct statistical properties of our implementation of the likelihood using a well-calibrated simulation study [50]. We first draw 100 sets of mutation parameters from distributions described in electronic supplementary material, appendix table S1. These distributions were centred around previously inferred maximum likelihood values on V7 GESTALT barcode data [37]. For simplified interpretation (but without loss of generality), we simulate mutations of an unedited barcode identical to V7 of the GESTALT design [16], shortened to 4 positions instead of 10 (described in electronic supplementary material, appendix table S2). For every set of mutation parameters, we simulate a dataset along one of 100 simulated trees chosen to have between 50 and 100 tips (see electronic supplementary material, appendix table S3 for parameters used for tree simulation). We chose to simulate alignments under a molecular clock rate centred around approximately 0.02 indels per site per hour, and arbitrarily assumed an experimental duration of 25 days. Together, this is consistent with a relatively low mutation rate to reflect a lower bound in recording capacity, corresponding to an average of about 0.5 indels per barcode site in each simulated GESTALT alignment. Using these simulated alignments as data, we infer the mutation parameters with the priors being equal to the distributions that were used for simulation, fixing the tree to its true value. Each dataset was used for inference using MCMC for 106 iterations and a burn-in of 30% of the iterations was discarded. Convergence was defined by reaching an effective sample size (ESS) >200 for all parameters. Coverage at a given credibility level α is calculated for each of the parameters as the proportion of times where the true parameter is contained within the inferred α % highest posterior density (HPD) interval over all simulated datasets.

(d). Phylodynamic analysis of dome-stage zebrafish Danio rerio datasets

We showcase GABI’s implementation with a phylodynamic analysis of the growth of dome-stage transgenic D. rerio embryos, from [16]. In this experiment, zebrafish embryos are harvested for sequencing of GESTALT barcodes 4.33 hours post-fertilization (hpf) (also see figure 1A). This is a well-characterized developmental stage, where embryos are known to have undergone between 12 and 14 rounds of cell division and no cell death [51]. This makes the dataset ideal as a first, proof-of-concept application of our framework for the study of cell growth dynamics using GESTALT barcode data. Based on the sequencing data, we aim to infer the time-scaled phylogenetic trees together with the division rates (birth rates) and sampling intensity, employing GABI together with the birth–death and coalescent framework in BEAST 2 [7,20,38].

Figure 1.

Phylodynamic inference pipelines using GABI.

Phylodynamic inference pipelines using GABI. (A) Using GESTALT data obtained from dome-stage transgenic zebrafish D. Rerio collected 4.33 h post-fertilization (hpf), we showcase the use of GABI using three realistic pipelines, each analysing three replicates of the dataset. (B) Pipeline 1: GABI can be applied for inference on individual experimental replicates, inferring a tree topology, branch lengths, as well as mutation and growth parameters for each replicate. A subsample of 20 sequences per replicate is used for inference. (C) Pipeline 2: when available, alignments obtained from replicates of the same experiment can be used together to obtain pooled estimates of parameters, assuming they are independent realizations of the same process. In our example, individual lineage trees are inferred for each replicate but shared growth and mutation parameters are estimated over all replicates. Here, the same 60 sequences used in pipeline 1 are re-analysed in this way. (D) One can also fix a tree topology to one inferred using other methods (here we use GAPML, but alternatives such as Phylip or Cassiopeia may be used) and apply GABI to time-scale this lineage tree and obtain parameter estimates. Here, we focus on re-analysing a sample of 100 sequences obtained for replicate 1 of the experiment.

The GESTALT barcode design used for this experiment is V7, consisting of 10 target sites of 23 bp each (see electronic supplementary material, appendix table S6 for the full, unedited barcode sequence). Editing of these barcodes is achieved by injection of Cas9 editing reagents into transgenic fertilized D. rerio eggs and is thought to taper starting after dome stage [16]. To model these editing dynamics, we assume a constant, strict molecular clock for the duration of the experiment. Prior distributions on the GESTALT editing parameters around mean values estimated previously on the same barcode design (see electronic supplementary material, appendix table S7 and §2a). We fix the mean indel length parameters in this example, which were previously inferred most consistently over different experiments using barcode V7 in [37]. This dataset consisted of 10 replicates with a median of 2000 sequences available per embryo. Thus, it constitutes an ideal case study for the first application of phylodynamics to the quantification of zebrafish embryonic development. To model embryonic growth and the harvesting process, we apply the two foundational models of population growth available for phylodynamic inference: the birth–death-sampling model [52], and the coalescent with exponential growth [38]. In the birth–death-sampling model, birth rate β corresponds to the rate of cell divisions, while death rate δ (in our applications, fixed to 0) corresponds to the rate at which cells undergo apoptosis, and ρ corresponds to the fraction of cells used in the analysis over all cells at the end of the experiment. Under this model, the expected population size after time t is N(t)=e(β−δ)t.

The coalescent with exponential growth is parameterized with a population growth rate g also corresponding here to the rate of cell divisions (assuming no apoptosis happens). Here, the model assumes a population size N(t)=egt at time t. Under both models, we report estimates of the cell division rate and the sampling proportion. For the coalescent analyses on an alignment of s cells, the sampling proportion is reported as the ratio sN(t) (see electronic supplementary material, appendix tables S8 and S9 for detailed priors).

To present different use cases of GABI, we designed three analysis pipelines for this dataset, described in figure 1B–D. In the first one, we infer the lineage tree topology, its branch lengths and growth parameters for three of the dome alignments individually (figure 1B). For this analysis, we limit the number of sequences per dataset to 20 sequences each to remain within a short runtime (in the range of hours per dataset). As these datasets are replicates of the same experiment, we additionally perform a second analysis where parameters of the GESTALT barcode, and cell population growth parameters are inferred over the same three sets of sequences (overall, 60 sequences) pooled together (figure 1C). The third analysis pipeline uses a larger subsample of 100 sequences for the first replicate, where the tree topology is fixed to a maximum-likelihood estimate obtained with GAPML (figure 1D). For this analysis, only branch lengths in the lineage tree are estimated jointly with model parameters. Each of these analyses was run for approximately 107 iterations, and approximately 20% of steps were discarded as burn-in. Convergence is confirmed for parameter estimates that reach an ESS larger than 200 (and assessed using software Tracer [53]). All trees shown in this study are maximum clade credibility (MCC) trees constructed to summarize the posterior tree sample.

All datasets analysed were obtained from the Gene Expression Omnibus repository, with query GSE81713. Specifically, the three datasets analysed are the following: GSM2171788 (dome 1), GSM2171791 (dome 2) and GSM2171791 (dome 3), where the provided GESTALT input sequences were aligned and processed with the pipeline described in [16] (see section above for processing specific to GABI).

3. Results

(a). In silico validation

To show the correct implementation of the GESTALT phylogenetic likelihood computed in GABI, we first ensured that its output coincides with its previous implementation in Python. GABI implements a special case of the Python implementation of GAPML, where only bifurcating trees are considered. Correct calculation of transition probabilities alone is first assessed by calculating likelihoods along single branches, for all possible indel types. The full likelihood calculation, which recursively calculates and combines subtree likelihoods using Felsenstein’s pruning algorithm, is then tested on three small bifurcating trees with example sequences. Figure 2A shows the equality of the log-likelihood values calculated under both implementations. Additionally, we recorded the runtime needed to calculate these likelihood values under each implementation (see figure 2B) and found that GABI outperforms the original Python code, by up to an order of approximately 100 fold (which corresponds to up to seconds).

Figure 2.

In silico validation. (a) Correctness of the likelihood implementation.

In silico validation. (A) Correctness of the likelihood implementation with a direct comparison of the likelihood values calculated in GABI and in GAPML for different test cases (see legend). The dotted line shows the expected equality between both values. (B) The log(runtime), in seconds, evaluated on single, startup iterations of the likelihood calculation under both implementations for the same test cases. (C) Correctness of the likelihood for Bayesian inference. Each dot represents the coverage obtained for credibility levels between 0.05 and 0.95. Dashed lines represent the 95% confidence interval of a binomial distribution with n=100, and probability of success between 0.05 and 0.95.

Next, we validated the correctness of the likelihood implementation within its Bayesian inference framework with a simulation-based calibration procedure. For all parameters, after ensuring convergence, consistency between the credibility level and the percentage of HPD intervals containing the true value is achieved, showing that the targeted posterior distribution is sampled by GABI (figure 2C). Additionally, we further investigated the inferential properties of the GABI framework at a credibility level of 95%. All parameters show the expected coverage at this level (within the 95% confidence interval (CI) of the binomial distribution with n = 100 trials and p=0.95, see electronic supplementary material, appendix table S4). Further quantification of the performance (root mean squared error, bias and relative HPD interval width) of the inference under these validation settings are also reported in electronic supplementary material, appendix table S5. Notably, these results are achieved with data generated under the assumption of a relatively low molecular clock rate. Therefore, we underline that the performance shown here represents a lower bound on the inferential performance of GABI as we studied its properties under a regime with low signal/little data. Higher mutation rates, leading to up to seven indels per barcode as observed in our example datasets, may provide more signal and improve GABI’s performance.

(b). Phylodynamic analysis of dome-stage zebrafish Danio rerio data

Estimates of the cell division rate and sampling proportion from dome-stage zebrafish GESTALT data under the three chosen analysis pipelines are shown in figure 3. Each compares estimates obtained under a constant birth–death model and the coalescent with exponential growth. While both model the growth of the studied population of cells as being exponential, their key difference is that the birth–death model assumes stochastic population dynamics, while the growth in the coalescent model is assumed to be deterministic. We consider both models to be potentially relevant in the context of this data. Overarching features of early embryonic development are thought to be largely deterministic, such as synchronicity until the tenth division [54,55]. However, many genetic and environmental factors, here including experimental conditions at play in generating replicates (e.g. growth conditions, handling and harvesting), are also likely to introduce some level of stochasticity in the growth of the cell populations under study [56]. As the comparative adequacy of these two models for the analysis of growing cell populations remains to be investigated (in the context of epidemiological data, see [57]), we consider estimates under each model here as equally capable of capturing dome-stage growth.

Figure 3.

Phylodynamic inference of cell division rates (left) and sampling proportions (right) for dome-stage (4.33 hpf) zebrafish D. Rerio using three inference pipelines.

Phylodynamic inference of cell division rates (left) and sampling proportions (right) for dome-stage (4.33 hpf) zebrafish D. rerio using three inference pipelines. (A) and (E) are the prior distributions chosen for both parameters of interest. We refer to the sampling proportion priors for alignments containing 20 sequences as small and for the fixed tree analysis with 100 sequences as large. (B) to (D) and (F) to (H) show posterior distribution obtained for the same parameters. In (B) and (F), we show parameters inferred independently for individual replicates of the experiment, and on alignments containing 20 sequences. In (C) and (G), we show estimates on pooled data. (D) and (H) are estimates using a fixed topology with 100 GESTALT sequences for replicate 1 (dome 1) of the experiment. On all panels vertical lines represent the median for each distribution.

Individual division rate estimates under the birth–death-sampling model are consistent across all three replicates of the experiment, with median estimates around 2.2 h−1, corresponding to cells until the dome stage dividing on average every 27 min (figure 3B). While overlapping, respective estimates of the division rate under the coalescent model suggest a faster division rate, with all three median division rates above 3.1 h−1, corresponding to divisions occurring every 20 min or less on average. Our analysis infers a consistent sampling proportion for these three datasets and across both growth models used, where the alignments are estimated to contain between 0.1 and 0.2% of total cells in the embryos (figure 3F). Comparatively, median estimates of parameters of the GESTALT mutation process are estimated with slightly more variation across replicates than population parameters but do not suggest significant differences. For example, median molecular clock rate estimates range between 0.06 and 0.08 indels per site per hour across dome embryos (figure 4C). Likewise, while site-specific cut rates vary across replicates, sites 3, 8 and 10 are consistently inferred to be the least active sites. Together, these estimates show that the V7 barcode design used in this experiment carries reproducible properties across the three replicates (see electronic supplementary material, appendix figures S4 and S5, for all pipelines).

Figure 4.

Phylogenetic inference for dome-stage (4.33 hpf) zebrafish D. rerio, under pipeline 1.

Phylogenetic inference for dome-stage (4.33 hpf) zebrafish D. rerio, under pipeline 1. (A) MCC lineage trees inferred on individual replicates of the experiment under the birth–death tree prior, where nodes sizes represent posterior probability. For each analysed cell (tip in the tree), we show the corresponding GESTALT barcode allele. (B) is the prior distribution chosen for the molecular clock rate, in number of indels inserted per site per hour, while (C) to (E) show its estimated posterior distribution under all three analysis pipelines.

We also examine the shape of the tree topologies inferred for the three datasets (figure 4A), looking at the tree imbalance, which refers to the degree to which clade sizes, or groups of related cells, differ in the lineage tree. For a tree of size 20 under a birth–death model, the expected imbalance index [58], representing the sum of the differences in clade sizes across all internal nodes, is 38.5 (95% CI (36.4, 41.1)). Interestingly, while the MCC tree for replicate 1 is within this expected range (40), for replicates 2 and 3, the inferred MCC lineage trees have lower imbalance indices (respectively, 13 and 20). The MCC trees inferred under the coalescent model (see electronic supplementary material, appendix figure S6) show a similar pattern, where trees for the second and third replicate are more balanced than the first replicate, with indices of 38 and 23 (51 for the first replicate). Under the assumption of uniform sampling of the cell population, more balanced trees correspond to an underlying process where sub-populations of cells are relatively even. This may agree with some of the assumptions of the population process under study: zebrafish embryos do not experience cell death or apoptosis until later embryonic stages and early cell divisions characteristic of zebrafish development are known to be largely synchronous until at least 3 hpf [55]. Based on this knowledge, highly balanced trees are expected to be reconstructed from such an experiment. While neither the birth–death sampling nor the coalescent models specifically allow for synchronous divisions, the lower imbalance observed in the tree estimates for the second and third replicate may hint towards these alignments containing signal for such division events.

Our second analysis pipeline showcases how experimental replicates as analysed in our first example can be leveraged within a joint inference framework instead where cell division rates and mutation parameters are assumed to be the same across replicates (described in figure 1C). In BEAST 2, this is easily achieved by multiplying the individual likelihoods for each replicate in each step of the MCMC. In figure 3C,G, we show the division rate and sampling proportion estimated jointly over all three datasets, under the birth–death and coalescent models (see figure 4D for the clock rate). For the birth–death and coalescent models alike, the cell division rate inferred over this pooled data overlaps with individual estimates but is inferred with more confidence. For example, the estimated cell division rate from pooled data under the birth–death model shows a median 95%-level HPD interval width 26% narrower than the individual analyses. Pooled estimates under the exponential growth coalescent showcase a similar behaviour, where the division rate is estimated with lower uncertainty (10% narrower 95%-level HPD interval width). Interestingly, both analyses suggest slightly elevated division rates when compared to individual replicates, with median cell division rates elevated on average by 0.18 h−1 (coalescent) and 0.19 h−1 (birth–death) and suggest lower sampling proportions (with sampling proportions of 0.06 and 0.07% for the birth–death and the coalescent, respectively).

As a third example of an analysis pipeline using GABI for phylodynamic inference, we show parameter estimates obtained using as input a fixed GAPML tree topology for the first replicate of the experiment (dome 1) (figures 3D,H and 4E). In this scenario, only branch lengths are allowed to vary, where GABI provides estimates of the timing of individual cell divisions (see electronic supplementary material, appendix figure S7 for the inferred scaled lineage trees). This is consistent with many pipelines for phylodynamic inference in both fields of macroevolution and epidemiology (e.g. [59,60]), where pre-existing, or separately inferred, fixed tree topologies are used as input to infer population dynamic parameters. This is particularly relevant in the context of Bayesian inference, where the exploration of the exponentially growing lineage tree space quickly becomes intractable. Thus, using trees reconstructed with other, heuristic-based methods is often considered to enable the analysis of larger datasets. Here, we use a maximum-likelihood tree estimated under GAPML, for an alignment of 100 sequences as input, which is faster than GABI using their parsimony-guided tree search. The estimated division rate and sampling proportion under this pipeline are shown in figure 3D,H. Under the birth–death model, the division rate inferred remains mostly consistent with both previous analyses, but akin to the pooled analysis may suggest a slightly faster rate, 2.6 h−1, with divisions occurring on average every 23 min. The division rate estimated for this dataset under the coalescent model is most shifted towards faster divisions, suggesting a median time until division of 16 min.

All three pipelines recover division rates that broadly agree with observed cell division lengths in zebrafish embryos: leading up to the mid-blastula transition (10th cycle post-fertilization), embryos undergo synchronous cell divisions every 18 min a most (from 6 min in early cell divisions to between 12.9 and 18 min starting from the sixth division [55]). After that stage, synchronicity is lost as individual cell cycles lengthen and are found to last for up to an hour. While we do not model a time-varying rate for the purpose of this analysis, our estimates, considering both posterior medians and their uncertainty, successfully capture these known average dynamics.

4. Discussion

In this paper, we described GABI, an implementation of an editing model and likelihood calculation in BEAST 2 enabling Bayesian phylodynamic inference using GESTALT data. Its first novel feature is that it allows to infer GESTALT cell lineage trees that are scaled in absolute time by incorporating a molecular clock model into the phylogenetic likelihood calculation. This feature makes GABI the only available method capable of inferring both the lineage topology and cell division times simultaneously using a mechanistic model of the GESTALT mutation process, where other methods [34,61] require a fixed tree topology as input to generate chronograms. Furthermore, GABI benefits from the advantages of Bayesian inference over other estimation methods, including maximum likelihood: it allows to directly quantify uncertainty in estimated quantities and to conveniently incorporate prior information that may help refine inference. The latter is of particular relevance as more GESTALT datasets have been generated [24,39,62] and increasing knowledge of their mutational features is available. Notably, the use of our molecular clock model, in combination with our choice of tree models, allows interpretable prior assumptions for inference, in contrast to the ad hoc penalization scheme previously implemented in GAPML. We validated our framework and presented three analysis pipelines to show its flexibility. These three pipelines are representative of most scenarios under which single-cell lineage tracing data may be analysed: GABI supports the pooled use of data from experimental replicates and enables both full phylogenetic inference and, alternatively, the use of fixed lineage topologies as input. As such, GABI’s implementation enables the application of Bayesian phylodynamics to GESTALT datasets through the variety of tree priors readily available in BEAST 2. This opens the way for a vast range of studies investigating growth, apoptosis and differentiation of cell populations through time. Thus, estimating birth and death parameters from trees, for which Yule [5] was the starting point, is here brought to the single-cell application.

Our application of GABI to study the growth dynamics characteristic of dome-stage zebrafish embryos is a first step in showcasing these new inferential avenues using GESTALT barcode data. Our pipeline inferred cell division rates of zebrafish development by incorporating relevant experimental parameters as priors in our Bayesian inference, under the birth–death-sampling and the exponential growth coalescent model and across different analysis set-ups. This analysis showcases the ability for GESTALT data to help recover not only lineage relationships but also capture signal for the growth patterns of cell populations.

While we showed a promising example of a first application, many other, more complex, datasets may require more work to accurately model certain features of both the mutation and growth processes. For example, one prominent feature of the GESTALT mutation process in zebrafish is tapering of the editing rate with time, which currently is not accounted for by the strict molecular clock model that we applied. Relaxed or time-dependent models may be more appropriate for analyses of later-stage data [33,46]. Likewise, early cell divisions are known to occur with varying levels of synchronicity, and the cell cycle length is thought to lengthen in a time-dependent manner. Both of these properties are not captured by the models used in this study. Modeling the division process with readily available time-dependent models [7] and/or relaxing the assumption of exponentially distributed waiting times of cell divisions may also need to be explored in follow-up studies [63]. Notably, both birth–death and exponential growth coalescent models do not allow for synchronous binary cell divisions known to be characteristic of early vertebrate embryonic development. Future work may need to investigate the extent to which this biases estimates of the cell division rate. This also motivates work addressing the adequacy of these existing models to capture the growth dynamics specific to cell populations and assess the need for new, custom models of cell proliferation.

GABI’s limitations lie in that the likelihood calculation becomes computationally prohibitively intensive for datasets containing more than hundreds of sequences. In these scenarios, obtaining convergence may take days (or up to weeks for the very large datasets) of runtime. This remains a major challenge, as GESTALT alignments can contain in the range of thousands of sequences. The main contributor to this issue is the ancestral state pruning algorithm, which scales poorly in the presence of large inter-target deletions that potentially mask pre-existing indels. In [37], this issue is dealt with for large trees by imposing additional constraints on the number of editing events on each branch. Implementing this feature in GABI may be one way to speed computation. Additionally, GAPML only tunes topologies that preserve the maximum parsimony score. The combined use of such heuristics, or further approximations, may alleviate runtime issues but likely at the expense of accuracy.

Phylodynamics has had a tremendous impact in the fields of macroevolution and genomic epidemiology. We demonstrated here that single-cell barcoding data show similar promises for the field of cell biology. Time-scaled trees obtained from lineage tracing data can provide estimates of cell division and apoptosis rates. Furthermore, the increasing availability of datasets that combine lineage tracing with additional modalities, such as transcriptomic data [62], and the use of more complex models to accommodate this data, such as multi-type models [64], should further allow us to infer the process of differentiation—describing with increasing levels of detail the drivers of multicellular growth into a functioning organism. Thus we envision that single-cell Bayesian phylodynamics, through implementations such as GABI, will have a similar impact in the field of cell biology as it has had on macroevolution and epidemiology.

Acknowledgements

The authors would like to thank Timothy G. Vaughan, Ugnė Stolz, Nicola Mulberry and Marcus Overwater for helpful discussions and feedback.

Contributor Information

A. Zwaans, Email: antoine.zwaans@bsse.ethz.ch.

S. Seidel, Email: sophie.seidel@bsse.ethz.ch; sophie.seidel@posteo.de.

M. Manceau, Email: marc.manceau@gmail.com.

T. Stadler, Email: tanja.stadler@bsse.ethz.ch.

Ethics

This work did not require ethical approval from a human subject or animal welfare committee.

Data accessibility

The codebase used to run all inferences shown in this article is available at https://github.com/azwaans/GABI. All code used to process data and analyse inference outputs can be found at https://github.com/azwaans/GABIanalysis. Pre-processed barcode sequences were downloaded from https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE81713.

Supplementary material available online [65].

Declaration of AI use

We have not used AI-assisted technologies in creating this article.

Authors’ contributions

A.Z.: conceptualization, data curation, formal analysis, investigation, methodology, project administration, software, validation, visualization, writing—original draft, writing—review and editing; S.S.: conceptualization, methodology, supervision, writing— review and editing; M.M.: conceptualization, methodology, supervision, writing—review and editing; T.S.: conceptualization, methodology, project administration, resources, supervision, writing—review and editing.

All authors gave final approval for publication and agreed to be held accountable for the work performed therein.

Conflict of interests

We declare we have no competing interests.

Funding

This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme grant agreement no. 101001077. M.M. was supported by a postdoctoral fellowship funded by Eidgenossische Technische Hochschule Zurich.

References

  • 1. Stadler T, Pybus OG, Stumpf MPH. 2021. Phylodynamics for cell biologists. Science 371, h6266. ( 10.1126/science.aah6266) [DOI] [PubMed] [Google Scholar]
  • 2. Casey MJ, Stumpf PS, MacArthur BD. 2020. Theory of cell fate. Wiley Interdiscip. Rev. Syst. Biol. Med. 12, e1471. ( 10.1002/wsbm.1471) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3. Vandereyken K, Sifrim A, Thienpont B, Voet T. 2023. Methods and applications for single-cell and spatial multi-omics. Nat. Rev. Genet. 24, 494–515. ( 10.1038/s41576-023-00580-2) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. Macaulay IC, Ponting CP, Voet T. 2017. Single-cell multiomics: multiple measurements from single cells. Trends Genet. 33, 155–168. ( 10.1016/j.tig.2016.12.003) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. Yule GU. 1925. A mathematical theory of evolution, based on the conclusions of Dr. JC Willis, FRS. Phil. Trans. R. Soc. B 213, 21–87. ( 10.2307/2341419) [DOI] [Google Scholar]
  • 6. Nee S, May RM, Harvey PH. 1994. The reconstructed evolutionary process. Phil. Trans. R. Soc. B 344, 305–311. ( 10.1098/rstb.1994.0068) [DOI] [PubMed] [Google Scholar]
  • 7. Stadler T, Kühnert D, Bonhoeffer S, Drummond AJ. 2013. Birth-death skyline plot reveals temporal changes of epidemic spread in HIV and hepatitis C virus (HCV). Proc. Natl Acad. Sci. USA 110, 228–233. ( 10.1073/pnas.1207965110) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8. Conklin EG. 1905. Organ-forming substances in the eggs of ascidians. Biol. Bull. 8, 205–230. ( 10.2307/1535879) [DOI] [Google Scholar]
  • 9. Borgsmüller N, Valecha M, Kuipers J, Beerenwinkel N, Posada D. 2023. Single-cell phylogenies reveal changes in the evolutionary rate within cancer and healthy tissues. Cell Genom. 3, 100380. ( 10.1016/j.xgen.2023.100380) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10. Alves JM, Prado-López S, Cameselle-Teijeiro JM, Posada D. 2019. Rapid evolution and biogeographic spread in a colorectal cancer. Nat. Commun. 10, 5139. ( 10.1038/s41467-019-12926-8) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11. Baron CS, van Oudenaarden A. 2019. Unravelling cellular relationships during development and regeneration using genetic lineage tracing. Nat. Rev. Mol. Cell Biol. 20, 753–765. ( 10.1038/s41580-019-0186-3) [DOI] [PubMed] [Google Scholar]
  • 12. McKenna A, Gagnon JA. 2019. Recording development with single cell dynamic lineage tracing. Development 146. ( 10.1242/dev.169730) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13. Sun J, Ramos A, Chapman B, Johnnidis JB, Le L, Ho YJ, Klein A, Hofmann O, Camargo FD. 2014. Clonal dynamics of native haematopoiesis. Nature 514, 322–327. ( 10.1038/nature13824) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14. Tian X, Pu WT, Zhou B. 2015. Cellular origin and developmental program of coronary angiogenesis. Circ. Res. 116, 515–530. ( 10.1161/CIRCRESAHA.116.305097) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15. He L, et al. 2017. Enhancing the precision of genetic lineage tracing using dual recombinases. Nat. Med. 23, 1488–1498. ( 10.1038/nm.4437) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16. McKenna A, Findlay GM, Gagnon JA, Horwitz MS, Schier AF, Shendure J. 2016. Whole-organism lineage tracing by combinatorial and cumulative genome editing. Science 353, aaf7907. ( 10.1126/science.aaf7907) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17. Alemany A, Florescu M, Baron CS, Peterson-Maduro J, van Oudenaarden A. 2018. Whole-organism clone tracing using single-cell sequencing. Nature 556, 108–112. ( 10.1038/nature25969) [DOI] [PubMed] [Google Scholar]
  • 18. Spanjaard B, Hu B, Mitic N, Olivares-Chauvet P, Janjuha S, Ninov N, Junker JP. 2018. Simultaneous lineage tracing and cell-type identification using CRISPR–Cas9-induced genetic scars. Nature Biotech 36, 469–473. ( 10.1038/nbt.4124) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19. Drummond AJ, Rambaut A. 2007. BEAST: Bayesian evolutionary analysis by sampling trees. BMC Evol. Biol. 7, 214. ( 10.1186/1471-2148-7-214) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20. Bouckaert R, Heled J, Kühnert D, Vaughan T, Wu CH, Xie D, Suchard MA, Rambaut A, Drummond AJ. 2014. BEAST 2: a software platform for Bayesian evolutionary analysis. PLoS Comput. Biol. 10, e1003537. ( 10.1371/journal.pcbi.1003537) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21. Stamatakis A. 2014. RAxML version 8: a tool for phylogenetic analysis and post-analysis of large phylogenies. Bioinformatics 30, 1312–1313. ( 10.1093/bioinformatics/btu033) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22. Minh BQ, Schmidt HA, Chernomor O, Schrempf D, Woodhams MD, von Haeseler A, Lanfear R. 2020. IQ-TREE 2: new models and efficient methods for phylogenetic inference in the genomic era. Mol. Biol. Evol. 37, 1530–1534. ( 10.1093/molbev/msaa015) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23. Felsenstein J. 1989. PHYLIP - Phylogeny Inference Package (Version 3.2). Cladistics. 5, 164–166. https://phylipweb.github.io/phylip/ [Google Scholar]
  • 24. McKenna A, Gagnon JA. 2019. Recording development with single cell dynamic lineage tracing. Development 146, v169730. ( 10.1242/dev.169730) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25. Saitou N, Nei M. 1987. The neighbor-joining method: a new method for reconstructing phylogenetic trees. Mol. Biol. Evol. 4. ( 10.1093/oxfordjournals.molbev.a040454) [DOI] [PubMed] [Google Scholar]
  • 26. Camin JH, Sokal RR. 1965. A method for deducing branching sequences in phylogeny. Evolution 19, 311. ( 10.2307/2406441) [DOI] [Google Scholar]
  • 27. Salvador-Martínez I, Grillo M, Averof M, Telford MJ. 2019. Is it possible to reconstruct an accurate cell lineage using CRISPR recorders? eLife 8, e40292. ( 10.7554/eLife.40292) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28. Gong W, et al. 2021. Benchmarked approaches for reconstruction of in vitro cell lineages and in silico models of C. elegans and M. musculus developmental trees. Cell Syst. 12, 810–826.( 10.1016/j.cels.2021.05.008) [DOI] [PubMed] [Google Scholar]
  • 29. Prusokiene A, Prusokas A, Retkute R. 2023. Machine learning based lineage tree reconstruction improved with knowledge of higher level relationships between cells and genomic barcodes. NAR Genom. Bioinform. 5, lqad077. ( 10.1093/nargab/lqad077) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30. Gong W, Kim HJ, Garry DJ, Kwak IY. 2022. Single cell lineage reconstruction using distance-based algorithms and the R package, DCLEAR. BMC Bioinform. 23, 103. ( 10.1186/s12859-022-04633-x) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 31. Jones MG, Khodaverdian A, Quinn JJ, Chan MM, Hussmann JA, Wang R, Xu C, Weissman JS, Yosef N. 2020. Inference of single-cell phylogenies from lineage tracing data using Cassiopeia. Genome Biol. 21, 27. ( 10.1186/s13059-020-02000-8) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32. Nee S, Holmes EC, Rambaut A, Harvey PH. 1995. Inferring population history from molecular phylogenies. Phil. Trans. R. Soc. B 349, 25–31. ( 10.1098/rstb.1995.0087) [DOI] [PubMed] [Google Scholar]
  • 33. Seidel S, Stadler T. 2022. TiDeTree: a Bayesian phylogenetic framework to estimate single-cell trees and population dynamic parameters from genetic lineage tracing data. Proc. R. Soc. B 289, 20221844. ( 10.1098/rspb.2022.1844) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34. Prillo S, Ravoor A, Yosef N, Song YS. 2023. ConvexML: Scalable and accurate inference of single-cell chronograms from CRISPR/Cas9 lineage tracing data. BioRxiv ( 10.1101/2023.12.03.569785) [DOI] [Google Scholar]
  • 35. Chen K, Moravec JC, Gavryushkin A, Welch D, Drummond AJ. 2022. Accounting for errors in data improves divergence time estimates in single-cell cancer evolution. Mol. Biol. Evol. 39, c143. ( 10.1093/molbev/msac143) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36. Chow KHK, et al. 2021. Imaging cell lineage with a synthetic digital recording system. Science 372, eabb3099. ( 10.1126/science.abb3099) [DOI] [PubMed] [Google Scholar]
  • 37. Feng J, Dewitt WS, McKenna A, Simon N, Willis AD, Matsen FA. 2021. Estimation of cell lineage trees by maximum-likelihood phylogenetics. Ann. Appl. Stat. 15, 343–362. ( 10.1214/20-aoas1400) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38. Drummond AJ, Nicholls GK, Rodrigo AG, Solomon W. 2002. Estimating mutation parameters, population history and genealogy simultaneously from temporally spaced sequence data. Genetics 161, 1307–1320. ( 10.1093/genetics/161.3.1307) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39. Raj B, Wagner DE, McKenna A, Pandey S, Klein AM, Shendure J, Gagnon JA, Schier AF. 2018. Simultaneous single-cell profiling of lineages and cell types in the vertebrate brain. Nat. Biotechnol. 36, 442–450. ( 10.1038/nbt.4103) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40. Simeonov KP, Byrns CN, Clark ML, Norgard RJ, Martin B, Stanger BZ, Shendure J, McKenna A, Lengner CJ. 2021. Single-cell lineage tracing of metastatic cancer reveals selection of hybrid EMT states. Cancer Cell 39, 1150–1162.( 10.1016/j.ccell.2021.05.005) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41. Raj B, et al. 2020. Emergence of neuronal diversity during vertebrate brain development. Neuron 108, 1058–1074.( 10.1016/j.neuron.2020.09.023) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42. Chan MM, et al. 2019. Molecular recording of mammalian embryogenesis. Nature 570, 77–82. ( 10.1038/s41586-019-1184-5) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43. Quinn JJ, Jones MG, Okimoto RA, Nanjo S, Chan MM, Yosef N, Bivona TG, Weissman JS. 2021. Single-cell lineages reveal the rates, routes, and drivers of metastasis in cancer xenografts. Science 371, c1944. ( 10.1126/science.abc1944) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44. Bowling S, et al. 2020. An engineered CRISPR-Cas9 mouse line for simultaneous readout of lineage histories and gene expression profiles in single cells. Cell 181, 1410–1422.( 10.1016/j.cell.2020.04.048) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45. Zuckerkandl E, Pauling L. 1965. Molecules as documents of evolutionary history. J. Theor. Biol. 8, 357–366. ( 10.1016/0022-5193(65)90083-4) [DOI] [PubMed] [Google Scholar]
  • 46. Drummond AJ, Ho SYW, Phillips MJ, Rambaut A. 2006. Relaxed phylogenetics and dating with confidence. PLoS Biol. 4, e88. ( 10.1371/journal.pbio.0040088) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47. Drummond AJ, Suchard MA. 2010. Bayesian random local clocks, or one rate to rule them all. BMC Biol. 8, 114. ( 10.1186/1741-7007-8-114) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48. Vaughan T. 2024. Feast package. See https://github.com/tgvaughan/feast.git.
  • 49. Bouckaert R, Jordan D. 1999. IndelDollo. See https://github.com/jordandouglas/IndelDollo.
  • 50. Dawid AP. 1982. The well-calibrated Bayesian. J. Am. Stat. Assoc. 77, 605. ( 10.2307/2287720) [DOI] [Google Scholar]
  • 51. Kimmel CB, Ballard WW, Kimmel SR, Ullmann B, Schilling TF. 1995. Stages of embryonic development of the zebrafish. Dev. Dyn. 203, 253–310. ( 10.1002/aja.1002030302) [DOI] [PubMed] [Google Scholar]
  • 52. Stadler T. 2009. On incomplete sampling under birth–death models and connections to the sampling-based coalescent. J. Theor. Biol. 261, 58–66. ( 10.1016/j.jtbi.2009.07.018) [DOI] [PubMed] [Google Scholar]
  • 53. Rambaut A, Drummond AJ, Xie D, Baele G, Suchard MA. 2018. Posterior summarization in Bayesian phylogenetics using Tracer 1.7. Syst. Biol. 67, 901–904. ( 10.1093/sysbio/syy032) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54. Lander AD, Gokoffski KK, Wan FYM, Nie Q, Calof AL. 2009. Cell lineages and the logic of proliferative control. PLoS Biol. 7, e15. ( 10.1371/journal.pbio.1000015) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55. Kane DA, Kimmel CB. 1993. The zebrafish midblastula transition. Development 119, 447–456. ( 10.1242/dev.119.2.447) [DOI] [PubMed] [Google Scholar]
  • 56. Moreno-Ayala R, Olivares-Chauvet P, Schäfer R, Junker JP. 2021. Variability of an early developmental cell population underlies stochastic laterality defects. Cell Rep. 34, 108606. ( 10.1016/j.celrep.2020.108606) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57. Duchene S, Bouckaert R, Duchene DA, Stadler T, Drummond AJ. 2019. Phylodynamic model adequacy using posterior predictive simulations. Syst. Biol. 68, 358–364. ( 10.1093/sysbio/syy048) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 58. Fischer M, Herbst L, Kersting SJ, Kühn AL, Wicke K. 2023. Concepts of tree balance and imbalance. In Tree balance indices: a comprehensive survey (eds Fischer M, Herbst L, Kersting S, Kühn AL, Wicke K), pp. 33–44. Cham, Switzerland: Springer International Publishing. ( 10.1007/978-3-031-39800-1_4) [DOI] [Google Scholar]
  • 59. Allen BJ, Vaughan TG, du Plessis L, Schouten TLA, Yuan Z, Willett SD, Stadler T. 2025. Inferring the evolutionary history of the Sino-Himalayan biodiversity hotspot using a Bayesian birth–death skyline model. Geol. Soc. Lond. Spec. Publ. 549. ( 10.1144/sp549-2023-174) [DOI] [Google Scholar]
  • 60. Loiseau C, et al. 2023. The relative transmission fitness of multidrug-resistant Mycobacterium tuberculosis in a drug resistance hotspot. Nat. Commun. 14, 1988. ( 10.1038/s41467-023-37719-y) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 61. Kim J, Sanderson MJ. 2008. Penalized likelihood phylogenetic inference: bridging the parsimony-likelihood gap. Syst. Biol. 57, 665–674. ( 10.1080/10635150802422274) [DOI] [PubMed] [Google Scholar]
  • 62. Raj B, Gagnon JA, Schier AF. 2018. Large-scale reconstruction of cell lineages using single-cell readout of transcriptomes and CRISPR–Cas9 barcodes by scGESTALT. Nat. Protoc. 13, 2685–2713. ( 10.1038/s41596-018-0058-x) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 63. Jones G. 2011. Calculations for multi-type age-dependent binary branching processes. J. Math. Biol. 63, 33–56. ( 10.1007/s00285-010-0362-8) [DOI] [PubMed] [Google Scholar]
  • 64. Kühnert D, Stadler T, Vaughan TG, Drummond AJ. 2016. Phylodynamics with migration: a computational framework to quantify population structure from genomic data. Mol. Biol. Evol. 33, 2102–2116. ( 10.1093/molbev/msw064) [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 65. Zwaans A, Seidel S, Manceau M, Stadler T. 2024. Supplementary material from: A Bayesian phylodynamic inference framework for single-cell CRISPR/Cas9 lineage tracing barcode data with dependent target sites. Figshare. ( 10.6084/m9.figshare.c.7599497) [DOI] [PubMed]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The codebase used to run all inferences shown in this article is available at https://github.com/azwaans/GABI. All code used to process data and analyse inference outputs can be found at https://github.com/azwaans/GABIanalysis. Pre-processed barcode sequences were downloaded from https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE81713.

Supplementary material available online [65].


Articles from Philosophical Transactions of the Royal Society B: Biological Sciences are provided here courtesy of The Royal Society

RESOURCES