An Evolutionary Portrait of the Progenitor SARS-CoV-2 and Its Dominant Offshoots in COVID-19 Pandemic

Abstract Global sequencing of genomes of severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) has continued to reveal new genetic variants that are the key to unraveling its early evolutionary history and tracking its global spread over time. Here we present the heretofore cryptic mutational history and spatiotemporal dynamics of SARS-CoV-2 from an analysis of thousands of high-quality genomes. We report the likely most recent common ancestor of SARS-CoV-2, reconstructed through a novel application and advancement of computational methods initially developed to infer the mutational history of tumor cells in a patient. This progenitor genome differs from genomes of the first coronaviruses sampled in China by three variants, implying that none of the earliest patients represent the index case or gave rise to all the human infections. However, multiple coronavirus infections in China and the United States harbored the progenitor genetic fingerprint in January 2020 and later, suggesting that the progenitor was spreading worldwide months before and after the first reported cases of COVID-19 in China. Mutations of the progenitor and its offshoots have produced many dominant coronavirus strains that have spread episodically over time. Fingerprinting based on common mutations reveals that the same coronavirus lineage has dominated North America for most of the pandemic in 2020. There have been multiple replacements of predominant coronavirus strains in Europe and Asia as well as continued presence of multiple high-frequency strains in Asia and North America. We have developed a continually updating dashboard of global evolution and spatiotemporal trends of SARS-CoV-2 spread (http://sars2evo.datamonkey.org/).


Introduction
The early evolutionary history of severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2), which causes COVID-19, remains unclear despite an unprecedented scope of global genome sequencing of SARS-CoV-2 and a multitude of phylogenetic analyses (Forster et al. 2020;Lemey et al. 2020;Tang et al. 2020;Chiara et al. 2021;da Silva Filipe et al. 2021;Komissarov et al. 2021;Lemieux et al. 2021;Pekar et al. 2021). Sophisticated investigations have shown that traditional molecular phylogenetic analyses do not produce reliable evolutionary inferences about the early history of SARS-CoV-2 due to low sequence divergence, a limited number of phylogenetically informative sites, and the ubiquity of sequencing errors Mavian et al. 2020;Turakhia et al. 2020). In particular, the root of the SARS-CoV-2 phylogeny remains elusive (Morel et al. 2021;Pipes et al. 2021) because the closely related nonhuman coronavirus (outgroups) are more than 1,100 base differences from human SARS-CoV-2 genomes, as compared with fewer than 30 differences between human SARS-CoV-2 genomes' sequenced early on (December 2019 and January 2020) Castells et al. 2020;G omez-Carballa et al. 2020;Lai et al. 2020;Mavian et al. 2020;Morel et al. 2021;Pipes et al. 2021;Wenzel 2020). Without a reliable root of the SARS-CoV-2 phylogeny, the most recent ancestor sequence cannot be accurately reconstructed, and it is also not possible to assess the genetic diversity of SARS-CoV-2 that existed at the time of its first outbreak. Consequently, we cannot determine if any of the coronaviruses isolated to date carry the genome of the progenitor of all human SARS-CoV-2 infections. Knowing the progenitor genome will also help determine how close the earliest patients sampled in China are to "patient zero," that is, the first human transmission case.
The orientation and order of early mutations giving rise to common coronavirus variants will also be compromised if the earliest coronavirus isolates are incorrectly used to root the SARS-CoV-2 phylogenies (Dearlove et al. 2020;Fauver et al. 2020;StefanelLi et al. 2020;Tang et al. 2020). Some investigations of COVID-19 patients and their coronaviruses' genomes already reported the presence of multiple variants (Lu et al. 2020), as genomes of viral samples from December 2019 in China had as many as five differences. These observations require an explicit test to see if one of the early sampled coronavirus genomes was the progenitor of all the strains infecting humans.
Traditionally, ancestral sequences are estimated using a rooted phylogeny (Yang et al. 1995;Nei and Kumar 2002). This ancestral sequence can then be compared with the sequenced genomes to locate the one that is most similar to the inferred progenitor and/or placed closest to the root in the phylogeny. However, as noted above, attempts using ad hoc and traditional methods are fraught with difficulties and have not produced consistent and robust results (Morel et al. 2021;Pipes et al. 2021). Some methods also incorporate sampling times in phylogenetic inference, but they will automatically favor placing the earliest sampled genomes at or near the root of the tree. This fact introduces circularity in testing the hypothesis that the earliest sampled genomes were ancestral because sampling time is used in the inference procedure (Pipes et al. 2021;Pekar et al. 2021).

Results and Discussion
A Mutational Order Approach for SARS-CoV-2 We applied a mutational order approach (MOA) to directly reconstruct the ancestral sequence and the mutational history of CoV-2 genomes (Jahn et al. 2016;Ross and Markowetz 2016;Miura et al. 2018). MOA does not infer phylogeny as an intermediate step. It is often used to build the evolutionary history of tumor cells that evolve clonally and without recombination. This approach is suitable for analyzing SARS-CoV-2 genomes because of their quasi-species evolutionary behavior (clonal) and the lack of evidence of significant recombination within human outbreaks , both of which preserve the collinearity of variants in genomes. Although reports of recombination among circulating SARS-CoV-2 genomes have begun to appear (Jackson et al. 2020), the fraction of circulating recombinant strains is likely very small and geographically limited and will not affect analyses conducted on sequences sampled in 2020. This feature permits effective use of shared co-occurrence of variants in genomes and the frequencies of individual variants for inferring the mutational history, notwithstanding the presence of sequencing errors and other artifacts (Kim and Simon 2014;Jahn et al. 2016) (see Materials and Methods).
We advanced MOA to make it applicable for analyzing SARS-CoV-2 genomes. Thus was needed because the normal cell sequence in tumors provides the ancestral (noncancerous) genome sequence to orient the mutational changes, but such a direct ancestor is not available for coronaviruses in which the closest outgroup sequences are over 30 times more different than any two SARS-CoV-2 strains. Also, SARS-CoV-2 genome evolution may not satisfy the perfect phylogeny assumption because some genomic positions have likely experienced multiple and recurrent mutations (van Dorp et al. 2020;Martin et al. 2021). So, we used shared co-occurrence of variants among genomes to reduce the impact of the violation of the perfect phylogeny assumption and select mutation orientations and histories in the maximum likelihood approach. We also devised a bootstrap procedure to place confidence limits on the inferred mutation order in which bootstrap replicate data sets are generated by sampling genomes with replacement.
Here we present results from analyses of two snapshots of the fast-growing collection of SARS-CoV-2 genomes to make inferences and assess the robustness of the inferred mutational histories to the growing genome collection that is expanding at an unprecedented rate. We first present results from the 29KG data set and then evaluate the concordance of the mutational history inferred by using an expanded 68KG data set, which establishes that the conclusions are robust to the sampling of genomes. The first snapshot was retrieved fromGISAID (Shu and Mccauley 2017) on July 7, 2020 and consisted of 60,332 genomes. Of these, 29,681 were selected because they were longer than the 28,000 bases threshold we imposed (29KG data set) and did not include an excessive number of unresolved bases in any genomic regions. This second snapshot was acquired on October 12, 2020 from GISAID and contained 133,741 genomes, of which 68,057 genomes met the inclusion criteria (68KG data set).
We then applied mutational fingerprints inferred using the 68KG data set to an expanded data set of 172,480 genomes (sampled on December 30, 2020; 172KG) to track global spatiotemporal dynamics SARS-CoV-2. We have also set up a live dashboard showing regularly updated results because the processes of data analysis, manuscript preparation, and peer review of scientific articles are much slower than the pace of expansion of SARS-CoV-2 genome collection. Also, we provide a simple "in-the-browser" tool to classify any SARS-CoV-2 genome based on key mutations derived by the MOA analysis (http://sars2evo.datamonkey.org/).

Mutational History and Progenitor of SARS-COV-2
We used MOA to reconstruct the history of mutations that gave rise to 49 common single nucleotide variants (SNVs) in the 29KG data set. These variants occur with >1% variant frequency (vf > 1%)-a threshold chosen to avoid including variants that may be due to sequencing errors (fig. 1a). To simplify notation, we used the inferred mutation history to denote key groups of mutations by assigning Greek symbols (l, , a, b, c, d, and e) to them. Individual mutations were assigned numbers and letters based on the reconstructed order and their parent-offspring relationships (table 1). We estimated the timing of mutation for each mutation based on the timestamp of the viral samples' genome sequences in which it first appeared (table 1, see Materials and Methods). The inferred mutation order was in excellent agreement with the temporal pattern of the first appearance of variants in the 29KG data set. The timestamp of 47 out of 49 mutations was greater than or equal to the timestamp of the corresponding preceding mutation in mutational history. The exceptions were seen for two low-frequency offshoot mutations (b 3b and b 3c ; see Materials and Methods). This concordance provides independent validation of the reconstructed mutation graph because neither sampling dates nor locations were used in MOA analysis.
Progenitor SARS-CoV-2 and Its Dominant Offshoots in COVID-19 Pandemic . doi:10.1093/molbev/msab118 MBE New variants occurred in the genomic background of the variants preceding them in the reconstructed mutation history with a very high propensity (co-occurrence index, COI > 84%; fig. 2), except for one low-frequency offshoot mentioned above (b 3b ; COI ¼ 54%). Overall, these results suggest a strong signal to infer a sequential mutational history, even though a small minority of sequences at a position may have experienced homoplasy or recurrent mutations. Indeed, a bootstrap analysis involving genome resampling to assess the robustness of the mutation history produced high bootstrap confidence levels (BCLs) for key groups of mutations as well as many offshoots ( fig. 2; BCL > 95%).

Episodic Evolution and Selection
The order of some mutations in the mutational history is not established with high BCLs, for example, the relative order of e 1 , e 2 , and e 3 mutations. This is because the three e variants almost always occur together (7,624 genomes), and the intermediate combinations of e variants were found in only 42 genomes. Similarly, the count of genomes harboring all three b variants (22,739 genomes) far exceeded those with two or fewer b variants (201 genomes). There is a strong temporal tendency of variants to be sampled together (e.g., e 1 -e 3 and a 1a -a 1d ), suggesting an episodic spread of variants (Wald-Wolfowitz run tests P ( 0.01; see Materials and Methods) that does not allow for determining the precise order of some mutations' appearance. Episodic variant spread may be caused by founder effects, positive selection, or both (e.g., MacLean et al. 2021). It may also be an artifact of highly uneven regional and temporal genome sequencing that will produce a biased representative sample of the actual worldwide population ( fig. 1b).
In this mutation history, the ratio of nonsynonymous to synonymous changes (N/S) is 1.9, which is almost ten times larger than their ratio of 0.18 for the inferred proCoV2 and observed Bat CoV proteins. The McDonald-Kreitman test (McDonald and Kreitman 1991) rejected the similarity of molecular evolutionary patterns observed within the SARS-CoV-2 population (29KG data set) and between human proCoV2 and the bat coronavirus. However, the selective interpretation of such a difference is complicated by the fact that polymorphisms in SARS-CoV-2 genomes are affected by molecular mechanisms (e.g., RNA editing) (Giorgio et al. 2020;Rice et al. 2021), not just selection, and slightly deleterious alleles can become common when there is a population expansion (Casals and Bertranpetit 2012). Furthermore, selection may have played a significant role during the divergence of human CoV-2 and bat CoV sequences (MacLean et al. 2021;Martin et al. 2021;Tegally et al. 2021). Nevertheless, N/S patterns derived from common variants show that molecular evolutionary patterns observed within SARS-CoV-2 genomes infecting humans differ from those spanning the divergence between the bat RaTG13 and SARS-CoV-2 genomes, even though positive selection in the early SARS-

The Progenitor Genome and the Index Case
The root of the mutation tree is the most recent common ancestor (MRCA) of all the genomes analyzed, which gave rise to two early coronavirus lineages ( and a; fig. 2). The MRCA genome was the progenitor of all SARS-CoV-2 infections globally, henceforth proCoV2, and was likely carried by the "first detectable" case of human transmission in the COVID-19 pandemic (index case). A comparison of proCoV2 with Wuhan-1 genomes revealed three differences in 49 positions analyzed, which was also true for other reference genomes ( fig. 1c). This suggests that the Wuhan-1 (EPI_ISL 402123) and the other earliest sampled genomes are derived coronavirus strains that arose from proCoV2 after the divergence of and Mutational history graph of SARS-CoV-2 from the 29KG data set. Thick arrows mark the pathway of widespread variants (frequency, vf ! 3%), and thin arrows show paths leading to other common mutations (3% > vf > 1%). The pie-chart sizes are proportional to variant frequencies in the 29KG data set, with pie-charts shown for variants with vf > 3% and pie color based on the world's region where that mutation was first observed. A circle is used for all other variants, with the filled color corresponding to the earliest sampling region. The COI (black font) and the BCL (blue font) of each mutation and its predecessor mutation are shown next to the arrow connecting them. Underlined BCL values mark variant pairs for which BCLs were estimated for groups of variants (see Materials and Methods) because of the episodic nature of variant accumulation within groups resulting in lower BCLs (<80%, dashed arrows). Base changes (n.) are shown for synonymous mutations, and amino acid changes (p.) are shown for nonsynonymous mutations along with the gene/protein names ("ORF" is omitted from gene name abbreviations given in  . 2). According to the mutational history, the Wuhan-1 strain evolved by three successive a mutations (two synonymous and one nonsynonymous) in proCoV2 (a 1 , a 2 , and a 3 ). This progression is statistically supported (BCL ¼ 100%), which is made possible by the presence of 896 intermediate genomes containing one or two a variants in the 29KG data set. Importantly, three closely related nonhuman coronavirus genomes (bats and pangolin) all have the same base at these positions as does the proCoV2 genome, suggesting that the ancestral genome did not contain a variants. Furthermore, genomes with variants of proCoV2 do not contain the other 47 variants, all of which occurred on the genomic background containing a 1 -a 3 . These facts support the inference that coronaviruses lacking a variants were the ancestors of Wuhan-1 and other genomes sampled in December 2019 in China ( fig. 1c). Therefore, we conclude that Wuhan-1 was not the direct ancestor of all the early coronavirus infections globally.
A comparison of the proCoV2 genetic fingerprint (49 positions) in the 29KG collection revealed three matches in China (Fujian, Guangdong, and Hangzhou) and three in the United States (Washington) in January 2020 ( fig. 1c). One more match was found in New York in March 2020. The mutant of proCoV2 was first sampled 59 days after the Wuhan-1 strain. This means that the progenitor coronavirus spread and mutated in the human population for months after the first reported COVID-19 cases. Furthermore, comparisons of the protein sequences encoded by the proCoV2 genome revealed 131 other genomic matches, which contained only synonymous differences from proCoV2. A majority (89 genomes) of these matches were from coronaviruses sampled in China and other Asian countries ( fig. 1d). The first sequence was sampled 12 days after Wuhan-1. Multiple matches were found in all sampled continents and detected as late as April 2020 in Europe. These spatiotemporal patterns suggest that proCoV2 already possessed the repertoire of protein sequences needed to infect, spread, and persist in the global human population (see also MacLean et al. 2021).

Coronavirus Diversity before the First Coronavirus Outbreak
The progenitor of all genomes sequenced from human coronavirus infections (MRCA, proCoV2) is three bases different from the Wuhan-1 genome, which extends the ancestry before late November/early December 2020 date that has been suggested by Pekar et al. (2021). Their inference was based on analyzing SARS-CoV-2 genomes from the first 4 months of coronavirus infections in China with a strict molecular clock in which they placed coronavirus genomes from December 2019 at the root of their phylogeny (Pekar et al. 2021). Their most likely root position is the same as the Wuhan-1 position in our mutation history (figs. 1 and 3), which is not surprising because their data set did not include more than 1,000 genomes that comprise the early diverging lineage (fig. 3). The genomes containing the lineage, sampled in North America, descended from an earlier ancestor that also gave rise to the genome (a lineage) at the root of Pekar et al.
(2021) phylogeny. Therefore, our analysis has revealed an earlier MRCA than that detectable by considering a smaller subset of sequences from China.
The mutational history from proCoV2 to Wuhan-1 genome points to the presence of measurable coronavirus diversity before the earliest recognized coronavirus outbreak in December 2019 ( fig. 1). The presence of such diversity has been acknowledged and analyzed, for example, Pekar et al. (2021), but variants present in this diverse population were not identified. Our analyses clearly show that the ancestors of the Wuhan-1 genome gave rise to a diversity of Wuhan-1's sibling coronavirus lineages (a 3a -a 3j ; figs. 1 and 3). These sibling coronavirus lineages were detected in China in January 2020 (a 3b and a 3f ) and February 2020 in Asia (a 3c -a 3e ) and Europe (a 3a , a 3g -a 3j ) (table 1). Thousands of genomes in the 29KG data set belong to siblings and ancestors of Wuhan-1 (table 1 and fig. 3, yellow box). However, the paucity of genomes sampled in 2019 makes it impossible to establish the date and location of origin precisely, but some must have originated before the first detection of the outbreak. Notably, the evolution of a 3 was preceded by the evolution of a 2 and a 1 lineages, with a 1 spawning multiple offshoots first detected in Europe in February 2020 (a 1a -a 1d ). The lineage, detected in the United States in February 2020, is an even earlier descendant of proCoV2 and is a sibling of the a lineage (table 1  and fig. 3). These lineages may not have been detected earlier because of the lack of sequencing in 2019, and it is likely that some originated early and spread around the world, whereas others evolved from proCoV2 or its early descendant in different parts of the world. Again, thousands of these coronavirus genomes were found throughout the world ( fig. 3, yellow box). None of these genomes contained the widely studied spike protein mutant (D614G), a b mutation that occurred in the genomes carrying all three a variants and was first seen in late January 2020. Therefore, the proCoV2 (MRCA) and a large diversity of its early descendants were all able to spread in the global human population.
Estimated Timing of MRCA and the Index Case Because proCoV2 is three bases different from the Wuhan-1 genome, we estimate that the divergence of the earliest variants of proCoV2 occurred 5.8-8.1 weeks earlier, based on the range of estimated mutation rates of coronavirus genomes (see Materials and Methods). This timeline puts the presence of proCoV2 in late October 2019, which is consistent with the report of a fragment of spike protein identical to Wuhan-1 in early December in Italy, among other evidence (Giovanetti et al. 2020;van Dorp et al. 2020;Amendola et al. 2021). The sequenced segment of the spike protein is short (409 bases). It does not span positions in which 49 major early variants were observed, which means that the Italian spike protein fragment can only confirm the existence of proCoV2 before the first coronavirus detection in China.
Our timings of MRCA (tMRCA) is 1 month older than the date for the MRCA of genomes presented by Pekar et al. (2021) because their analysis is restricted to the ancestry of the coronaviruses sampled from China only, which resulted in the exclusion of the lineage from their analysis. The Progenitor SARS-CoV-2 and Its Dominant Offshoots in COVID-19 Pandemic . doi:10.1093/molbev/msab118 MBE potential for not sampling such lineages is well appreciated in Pekar et al. (2021). This exclusion and the use of sampling times in strict clock phylogenetic analyses would naturally lead to analyses leaning closer to the earliest sampling times of SARS-CoV-2 (December 2019). Anyway, if we assume that proCoV2 was the index case, then the date of zoonosis (tIndex) would be late October to mid-November 2019. This range overlaps with Pekar et al.'s (2021) index date falling between mid-October and mid-November 2019. However, it likely that the actual tIndex is much earlier than tMRCA because proCoV2 likely increased in frequency over time before reaching a human host, and it is possible that one of its immediate ancestor first infected a human. Based on an approximately 1-month difference between MRCA and Index dates in Pekar et al. (2021), it is tempting to speculate that tIndex could have been as early as September 2019 for our SARS-CoV-2 phylogeny. This speculation requires more extensive analysis and experimental confirmation in the future.
Analysis of the 68KG Database Snapshot Next, we analyzed a later snapshot of SARS-CoV-2 genome collection acquired 3 months after the 29KG data set. This data set expanded the collection of coronavirus genomes from viral isolates collected after July 7, 2020 (16,739 genomes) and added 20,004 genome sequences from viral isolates dated before July 7, 2020. In the expanded MOA analysis, we retained 49 variants found with frequency >1% in the 29KG data set and added variants found with a frequency >1% in the 68KG data set (84 total variants; see supplementary table S1, Supplementary Material online). MOA analysis of the 68KG data set produced the proCoV2 genome identical to that inferred using the 29KG data set (see Materials and Methods). We found one additional genome (EPI_ISL_493171) with a proCoV2 fingerprint sampled in Hubei, China, 4 weeks after the Wuhan-1 strain was reported.
The inferred mutation history from the 68KG data set was well-supported with high COIs and BCLs and concordant with the mutation history produced using the 29KG data set ( fig. 4). Therefore, inferences reported above for the 29KG data set were robust to the expanded sampling of genomes. In the expanded mutation history, two new groups of variants were identified (f and g). They originated in mid-March 2020 and were found in a relatively high frequency in the 68KG data set ($4.4% and 8.0%, respectively, supplementary table S1, Supplementary Material online). Variants in f and g groups also showed episodic accumulation of mutations, for example, the count of genomes containing three f mutations (f 1 -f 3 ; 2,955 genomes) was much larger than those with a subset of these variants (148 genomes). The episodic nature of mutational spread for 84 variants in the 68KG is statistically significant (P < 10 À8 ), that is, clusters of mutations together have become common variants (see Materials and Methods).

Coronavirus Fingerprints and Spatiotemporal Tracking
The mutation history progression directly transforms into a collection of genetic fingerprints. Each fingerprint represents a genome type containing all the variants on the path from that tip node up to the progenitor proCoV2. These fingerprints can classify genomes and track spatiotemporal patterns of dominant lineages (see Materials and Methods). We use a shorthand to refer to each fingerprint in which only the major variant type is used. For example, a fingerprint refers to genomes that one or more of the a variants and no other major variants, and ab fingerprint refers to genomes  MBE that contain at least one a, at least one b variant, and no other major variants. This nomenclature is intuitive and provides a way to glean evolutionary information from the coronavirus lineage's name. In the 68KG data set (October 12, 2020 GISAID snapshot), global frequencies of major proCoV2 fingerprints were as follows: abe (32.1%), abcd (17.7%), ab (16.7%), abeg (9.9%), ab (9.8%), abc (6.8%), abf (4.5%), and (2.4%). Figure 5 shows the evolving spatiotemporal of all major fingerprints in Asia, Europe, and North America inferred for an expanded data set of 172,480 genomes (December 30, 2020 snapshot). Spatiotemporal patterns in cities, countries, and other regions are available online at http://sars2evo.datamonkey.org/. We observe the spread and replacement of prevailing strains in Europe (abe with abf) and Asia (a with abe), the preponderance of the same strain for most of the pandemic in North America (abcd), and the continued presence of multiple high-frequency strains in Asia and North America. Spatiotemporal patterns of strain spread converged for Europe and Asia by July-August 2020 to abe genetic fingerprints. These patterns diverged from North America, where ab along with its mutant (abcd) were common. After that, Europe saw f variants of ab grow (abf), replacing abe genomes and its new g offshoot (abeg) (e.g., ). The f mutations were first detected 3 weeks after the sampling of the first e variants. Remarkably, abcd has remained the dominant lineage in North America since April 2020, in contrast to the turnover seen in Europe and Asia.
More recently, novel fast-spreading variants have been reported (e.g., . In particular, an S protein variant (N501Y) from South Africa and the United Kingdom has rapidly increased . Coronaviruses with N501Y variant in South Africa carry the abcd genetic fingerprint, whereas those in the United Kingdom carry the abe genetic fingerprint. This means that the N501Y mutation arose independently in two coronavirus lineages that show convergent patterns of increased spread. At present, abf dominates the United Kingdom, and the number of genomes publicly available from South Africa is relatively small to make reliable inferences (see http://sars2evo.datamonkey.org for future updates). Overall, our mutational fingerprinting and nomenclature provide a simple way to glean the ancestry of new variants compared with phylogenetic designations, such as B.1.351 and B.1.1.7 ).

Conclusions
Through innovative analyses of two large collections of SARS-CoV-2 genomes, we have consistently reconstructed the same progenitor coronavirus genome and identified its presence worldwide for many months after the pandemic began. The progenitor genome is a better reference for rooting phylogenies, orienting mutations, and estimating sequence divergences. The reconstructed mutational history of SARS-CoV-2 revealed major mutational fingerprints to identify and track the novel coronavirus's spatiotemporal evolution, revealing Wuhan-1 FIG. 4. The backbone of SARS-CoV-2 mutational history. The mutational history inferred was from (a) 29KG and (b) 68KG data sets. Major variants and their mutational pathways are shown in black, and minor variants and their mutational pathways are shown in gray. Circle color marks the region where variants were sampled first. The 68KG data set contains 12 additional variants and more than two times the genomes than the 29KG data set.
Progenitor SARS-CoV-2 and Its Dominant Offshoots in COVID-19 Pandemic . doi:10.1093/molbev/msab118 MBE convergences and divergences of dominant strains among geographical regions from an analysis of more than 172 thousand genomes. Furthermore, the approach taken here to reconstruct the progenitor genome and discover key mutational events will generally be applicable for analyzing other pathogens during the early stages of outbreaks. The approach is scalable for even bigger data sets because it does not require more phylogenetically informative variants with an increasing number of samples. In fact, it benefits from bigger data sets as they afford more accurate estimates of individual and cooccurrence frequencies of variants and enable more reliable detection of lower frequency variants. Its continued application to SARS-CoV-2 genomes and other pathogen outbreaks will produce their ancestral genomes and their spatiotemporal dynamics, improving our understanding of the past, current, and future evolution of pathogens and associated diseases.

Genome Data Acquisition and Processing
A flowchart describing the protocol for data assembly and processing is shown in supplementary figure S1, Supplementary Material online. In the first step, we download 60,332 SARS-CoV-2 genomes from the GISAID database (Shu and Mccauley 2017), along with information on sample collection dates and locations (until July 7, 2020). Of all the genomes downloaded, we only retained those with >28,000 bases and were marked as originating from human hosts and passing controls detailed below. Similarly, the second data set, the 68KG data set, was assembled from 133,741 genomes and downloaded on October 12, 2020. Again, we retained only those with >28,000 bases and marked as originating from human hosts.
Each genome was subjected to codon aware alignment with the NCBI reference genome (accession number NC_045512) and then subdivided into ten regions based on the following coding sequence (CDS) features: ORF1a (including nsp10), ORF1b (starting with nsp12), S, ORF3a, E, M, ORF6, ORF7a, ORF8, N, and ORF10. Gene ORF7b was removed because it was too short for alignment and comparisons. For each region, we scanned and discarded sequences containing too many ambiguous nucleotides to remove data with too many sequencing errors. Thresholds were 0.5% for the S gene, 0.1% for ORF1a and ORF1b genes, and 1% for all other genes. We mapped individual sequences to the NCBI reference genome (NC_045512) using a codon-aware MBE extension to the Smith-Waterman algorithm implemented in HyPhy (Pond et al. 2005;Gianella et al. 2011) (https:// github.com/veg/hyphy-analyses/tree/master/codon-msa), translated mapped sequence to amino acids, and performed multiple protein sequence alignment with the auto settings function of MAFFT (version 7.453; Katoh and Standley 2013). Codon sequences were next mapped onto the amino acid alignment. The multiple sequence alignment of SARS-CoV-2 genomes was aligned with the sequence of three closest outgroups, including the coronavirus genomes of the Rhinolophus affinis bat (RaTG13), R. malayanus bat (RmYN02), and Manis javanica pangolin (MT121216.1) (Liu et al. 2020;Zhou et al. 2020). The alignment was visually inspected and adjusted in Geneious Prime 2020.2.2 (https:// www.geneious.com). The final alignment contained all genomic regions except ORF7b and noncoding regions (5 0 and 3 0 UTRs, and intergenic spacers). After these filtering and alignment steps, the multiple sequence alignment contained 29,115 sites and 29,681 SARS-CoV-2 genomes for the July 7, 2020 snapshot, which we refer to as the 29KG data set. For the October 12 snapshot, there were 68,057 sequences, which we refer to as the 68KG data set. We also conducted a spatiotemporal analysis on an expanded data set containing 172,480 genomes (172KG) acquired on December 30, 2020.

Reference Genomes and Collection Dates
We used the dates of viral collections provided by the GISAID database (Shu and Mccauley 2017) in all our analyses if they were resolved to the day (i.e., we discarded data that only contained partial dates, for example, April 2020). All genomes were used in the mutation ordering analyses, but genomes with incomplete sampling dates were excluded from the spatiotemporal analyses and derived interpretations. We noted that the earliest sample included in GISAID (ID: EPI_ISL_402123) was collected on December 24, 2019, although the NCBI website lists its collection date as December 23, 2019 (GenBank ID: MT019529). Therefore, we used the GISAID collection date for the sake of consistency. Regarding the NCBI reference genome (GenBank ID: NC_045512; GISAID ID: EPI_ISL_402125) , this sample was collected on December 26, 2019 (Chiara et al. 2021). We also used the GISAID reference genome in our analysis (ID: EPI_ISL_402124) collected on December 30, 2019 (Okada et al. 2020).

Mutation Order Analyses
First, we analyzed the 29KG data set. We used a maximum likelihood method, SCITE (Jahn et al. 2016), and variant cooccurrence information for reconstructing the order of mutations corresponding to 49 common variants (frequency > 1%) observed in this data set (see flowchart in supplementary fig. S2, Supplementary Material online). MOA has demonstrated high accuracy for analyzing tumor cell genomes that reproduce clonally, have frequent sequencing errors, and exhibit limited sequence divergence (Jahn et al. 2016;Miura et al. 2018). In MOA, higher frequency variants are expected to have arisen earlier than low-frequency variants in clonally reproducing populations (Kim and Simon 2014; Jahn et al. 2016). We used the highest frequency variants to anchor the analysis and the shared co-occurrence of variants among genomes to order mutations while allowing probabilistically for sequencing errors and pooled sequencing of genomes (Jahn et al. 2016). MOA is different from traditional phylogenetic approaches where positions are treated independently, that is, the shared co-occurrence of variants is not directly utilized in the inference procedure. Notably, both traditional phylogenetic and mutation order analyses are expected to produce concordant patterns when sequencing errors and other artifacts are minimized. However, sequencing errors and limited mutational input during the coronavirus history adversely impact traditional methods, as does the fact that the closest coronaviruses useable as outgroups have more than a thousand base differences from SARS-CoV-2 genomes that only differ in a handful of bases from each other (Mavian et al. 2020;Morel et al. 2021;Pipes et al. 2021). MOA requires a binary matrix of presence/absence (1/0) of mutants, which is straightforward in analyzing cell sequences from tumors because they arise from normal cells that supply definitive ancestral states. To designate mutation orientations for applying MOA in SARS-CoV-2 analysis, we devised a simple approach in which we began by comparing nucleotides at the 49 genomic positions among three closely related genomes (bat RaTG13, bat RmYN02, and pangolin MT121216.1) (Boni et al. 2020). We chose the consensus base to be the initial reference base, such that SARS-CoV-2 genome bases were coded to be "0" whenever they were the same as the consensus base at their respective positions. All other bases were assigned a "1." There were 39 positions in which all 3 outgroup genomes were identical to each other and 9 in which 2 of the outgroups showed the same base. In the remaining position (28657), all three outgroups differed, so we selected the base found in the gene with the highest sequence similar to the human SARS-CoV-2 NCBI reference genome (NC_045512) because SARS-CoV-2's ancestor likely experienced genomic recombination before its zoonotic transfer into humans Li, Giorg, et al. 2020;MacLean et al. 2021). At one position, both major and minor bases in humans were different from the consensus base in the outgroups, so we assigned the mutant status to the minority base (U; vf ¼ 29.8%). All missing and ambiguous bases were coded to be ignored (missing data) in all the analyses. These initially assigned mutation orientations were tested in a subsequent investigation of variants' COI. COI for a given variant (y) is the number of genomes that contain y and its directly preceding mutation (x) in the mutation history, divided by the number of genomes that contain y. When COI was lower than 70%, we reversed each position's mutation orientation individually and selected the mutation orientation that produced mutation histories with the highest COI (see below).
In the SCITE analysis of 49 variants and 29,861 genomes, we started with default parameter settings of false-negative rate (FNR ¼ 0.21545) and false-positive rate (FPR ¼ 0.0000604) of mutation detection. We carried out five independent runs to ensure stability and convergence to obtain 29KG collection-specific estimates of FNR and FPR by Progenitor SARS-CoV-2 and Its Dominant Offshoots in COVID-19 Pandemic . doi:10.1093/molbev/msab118 MBE comparing the observed and predicted sequences based on this mutation graph. The estimated FNR (0.00488) and FPR (0.00800) were very different from the SCITE default parameters, where the estimated FNR was much lower. This difference in error rates is unsurprising because we used only common variants (vf > 1%), and the 29KG data set was not obtained from single-cell sequencing in which dropout during single-cell tumor sequencing elevates FNR, that is, mutant alleles are not sequenced.
As noted above, the initial mutation orientations were simply the starting designations for our analysis, which are subsequently investigated by evaluating the COI of each variant in the reconstructed mutation history. In this process, we reverse ancestor/mutant coding for variants that received low COI to examine if a mutation history with higher COI can be generated. Two positions (3037 and 28854) received low COI (<70%). At position 3037, the reversed encoding (C ! U) received significantly higher COI (100%) than the starting encoding (U ! C; 60%), so the position was recoded. At position 28854, the ordering and direction of mutation remained ambiguous despite extensive analyses, but it did not impact the predicted MRCA sequence. Therefore, we only recoded the column for position 3037 and generated a new 49 Â 29861 (SNVs Â genomes) matrix.
At one position (28657), all three outgroup sequences had different bases, so we initially selected the base found in the gene with the highest sequence similar to the human SARS-CoV-2 NCBI reference genome. We next tested if reversed encoding produced a better mutation graph. The reversed encoding produced a mutation graph with a much higher log-likelihood, that is, À32,355.58 and À30,289.92, for the initial and reversed encoding, respectively; P ( 0.01 using the AkaikeInformation Criterion (AIC) protocol in Pupko et al. (2002). Therefore, we recoded position 28657 and generated a new 49 Â 29,861 (SNVs Â genomes) matrix.
It was subjected to SCITE analysis and produced a mutation graph for 49 variants in the 29KG data set. This graph predicts an FNR of 0.00418 and FPR of 0.00295 per base. Using these new FNR and FPR, we again performed SCITE analysis and produced the final mutation history graph. Starting from the top of a mutation graph, a distinct Greek symbol was assigned to a group of mutations that were occurred sequentially, and variants with similar frequency were assigned the same Greek symbol (l, , a, b, c, d, and e). The high-frequency variants with the same Greek symbol were distinguished by numbers to represent the sequential relationship, for example, a 1 and a 2 . When an offshoot of a high-frequency mutation had low variant frequency, we assigned it the same Greek symbol and number to represent the parent-offspring relationship and further distinguished descendants by adding a small letter, for example, a 1a and a 1b .

Timing of the Progenitor Genome
The MRCA corresponds to the progenitor that gave rise to and a lineages in the mutation graph. MRCA is the progenitor of all human SARS-CoV-2 infections (proCoV2), which descended from the parental lineage after its divergence from its closest relatives, including bats and pangolins. We estimate that proCoV2 existed 5.8-8.1 weeks before December 24, 2019 sampling date of Wuhan-1, by using an SARS-CoV-2 HPD (Highest Posterior Density) mutation rate range of 6.64 Â 10 À4 -9.27 Â 10 À4 substitutions per site per year (Pekar et al. 2021).
We have made available the proCoV2 genome sequence in FastA format at http://igem.temple.edu/COVID-19, which is the same as the NCBI reference genome with base differences corresponding to a 1 -a 3 mutations at positions 18060, 8782, and 28144, as discussed in the main text. In this mutation graph, COI for each variant is shown next to the arrow.

Bootstrap Analysis
We assessed the robustness of the mutation history inference to genome sampling by bootstrap analysis. We generated 100 bootstrap replicate data sets, each built by randomly selecting 29,861 genomes with replacement. Then, SCITE was used to infer the mutation graph for each replicate data set. Bootstrap confidence level, scored for each variant pair, was the number of replicates in which the given pair of variants were directly connected in the mutation history in the same way as shown in figure 2. BCLs were often lower for major variants within groups (e.g., e 1 -e 3 ) because they occur with very similar frequencies. This feature adversely affected the BCL values of mutation orders between groups, for example, b and e. In this case, we considered each group as a single entity and computed BCL to be the proportion of replicates in which pairs of groups were directly connected in the mutation history in the same way as shown in figure 2. Groups used were b 1 -b 3 , e 1e 3 , and a 1a -a 1d . All of these BCL values are shown with an underline.

Temporal Concordance
Because MOA analyses did not use spatial or temporal information for genomes or mutations, the inferred mutation history can be validated by evaluating the concordance of the inferred order of mutations with the timing of their first appearance (tf). Using the genomes for which virus sampling day, month, and year were available, we determined tf for every variant in the 29KG data set. For mutation i, we compared its tf(i) with tf(j) such that j is the nearest preceding mutation in the mutation graph. We found that tf(j) ! tf (i) for 47 of 49 mutations, except for b 3b and b 3c pairs. These two offshoot mutants of b 3 were sampled 35 days (b 3b ) and 12 days (b 3c ) earlier than their predecessors, which could be due to their low frequency or sequencing error. COI of one variant (b 3b ) was low (54%), but the other variant (b 3c ) had a very high COI (97%).

Mutational Fingerprints
Each node in the mutational history graph predicts an intermediate (ancestral) or a tip sequence containing all the mutations from that node to the mutation graph's root. The mutational fingerprint is then produced directly from the mutation history graph drawn as a directional graph anchored on the root node. We compared our mutational fingerprints of the genomes in the 29KG data set with a phylogeny-based classification (Rambaut, Loman, et al. Kumar et al. . doi:10.1093/molbev/msab118 MBE 2020) obtained using the Pangolin service (v2.0.3; https://pangolin.cog-uk.io/). We assigned each of the 29 K genomes to a fingerprint based on the highest sequence similarity at positions containing 49 common variants, allowing mismatches due to population-level variations and sequencing errors. A small fraction of genomes (1.8%) could not be assigned unambiguously to one fingerprint, so they were excluded and will be investigated in the future. The number of genomes assigned to each fingerprint is shown in table 1. We submitted genome sequences to the Pangolin website for classification one-by-one, and a clade designation was received. The results are summarized in supplementary figure S3, Supplementary Material online. In this table, all phylogenetic groups with fewer than 20 genomes were excluded.
Of the 80 phylogenetic groups shown, 74 are defined primarily by a single mutation-based fingerprint, as more than 90% of the genomes in those phylogenetic groups share the same fingerprint. This includes all small-and medium-sized phylogenetic groups (up to 488 genomes) and two large groups (A.1 with 1,377 genomes and B.1.2 with 749 genomes). One large group, B.1.1, predominately connects with e 3 node (79%, 4,832 genomes), but some of its members belong to e 3 offshoots because they contain respective diagnostic mutations. For group B.1.1.1, two other e 3 offshoots are mixed up almost equally. Three other large differences between mutational fingerprint-based classification and phylogeny-based grouping are seen for A, B, B1.1, and B.2 groups. These differences are likely because the location of the root and the earliest branching order of coronavirus lineages are problematic in phylogeny-based classifications (Mavian et al. 2020;Morel et al. 2021;Pipes et al. 2021;Wenzel 2020). Overall, our mutational fingerprints are immediately informative about the mutational ancestry of genomes.

Analysis of 68KG Data Set
We repeated the above MOA procedure on the 68KG data set (68,057 genomes). This 68KG data contained 72 common variants (>1% frequency). For direct comparison purposes, we added 12 variants that were common variants on 29KG data, but their frequency had become less than 1% in the 68KG data. Therefore, we used 84 variants in total and constructed a 84 Â 68,057 (SNVs Â genomes) matrix for the SCITE analysis to determine the mutational order. We also conducted the bootstrap analysis and assigned mutational fingerprints using the procedure mentioned above. The number of genomes mapped to each fingerprint is listed in supplementary table S1, Supplementary Material online.

Sequence Classification for 172KG Data Set
We developed a sequence classification protocol that first calls variants in a viral genome using proCoV2 as the reference sequence using a browser-based sequence alignment (bioseq npm package) based on the codebase of minimap2 (Li 2018). Then, it assigns the sequence to a path in the mutation graph with the highest concordance (Jaccard index). It is implemented in a simple browser-based tool, which shows the example output for ENA accession number MT675945 (supplementary fig. S4, Supplementary Material online; http:// sars2evo.datamonkey.org, last accessed on March 18, 2021). The classification is conducted on the client-side such that the researcher's data never leave their personal computer.

Testing Episodic Spread of Variants
We performed nonparametric Wald-Wolfowitz run tests (Wald and Wolfowitz 1940;Mateus and Caeiro 2015) of the null hypothesis that the first sampling of variants is randomly distributed over time (i.e., evenly spaced). The null hypothesis was rejected for both 29KG and 64KG analyses at P ( 0.01, suggesting significant temporal clustering in both 29KG and 64KG data sets. Because many mutations were first sampled on December 24, 2019, we only included one mutation for that day to avoid biasing the test. We also tested the null hypothesis of the same molecular evolutionary patterns within the SARS-CoV-2 population and between species (i.e., Human SARS-CoV-2 and Bat RaTG13) by using a McDonald-Kreitman test (McDonald and Kreitman 1991). The numbers of nonsynonymous and synonymous polymorphisms with a frequency >1% were 32 and 17, compared with the numbers of nonsynonymous and synonymous fixed differences (170 and 958, respectively) between proCoV2 and bat RaTG13 sequences. The McDonald-Kreitman test rejected the null overwhelmingly (P ( 0.01).

Supplementary Material
Supplementary data are available at Molecular Biology and Evolution online.