key: cord-0940882-bbz6plgt authors: Dylus, David; Altenhoff, Adrian M; Majidian, Sina; Sedlazeck, Fritz J; Dessimoz, Christophe title: Read2Tree: scalable and accurate phylogenetic trees from raw reads date: 2022-04-19 journal: bioRxiv DOI: 10.1101/2022.04.18.488678 sha: 5488941f0e67b425ddd9883efbcebdb1a3ef76b3 doc_id: 940882 cord_uid: bbz6plgt The inference of phylogenetic trees from raw sequencing reads is foundational to biology. However, state-of-the-art phylogenomics requires running complex pipelines, at significant computational and labour costs, with additional constraints in sequencing coverage, assembly and annotation quality. To overcome these challenges, we present Read2tree, which directly processes raw sequencing reads into groups of corresponding genes. In a benchmark encompassing a broad variety of datasets, our assembly-free approach was 10-100x faster than conventional approaches, and in most cases more accurate—the exception being when sequencing coverage was high and reference species very distant. To illustrate the broad applicability of the tool, we reconstructed a yeast tree of life of 435 species spanning 590 million years of evolution. Applied to Coronaviridae samples, Read2Tree accurately classified highly diverse animal samples and near-identical SARS-CoV-2 sequences on a single tree—thereby exhibiting remarkable breadth and depth. The speed, accuracy, and versatility of Read2Tree enables comparative genomics at scale. Phylogenetic trees depict evolutionary relationships among biological entities. These entities can be species-as in the Tree of Life [1] [2] [3] [4] . They can also be cancerous cells in tumour progression trees 5 or developmental lineage trees 6 , viral and bacterial strains in infectious outbreaks 7 , cells, or genes in trees used to propagate molecular function annotations among model and non-model species 8, 9 . Because of this pervasiveness, methods to infer phylogenetic trees are among the most used and cited software tools in all of life sciences. In the context of species tree inference, the availability of genome-wide sequencing has made it routine to consider as many marker genes per taxon as the genomes provide. This "phylogenomic" approach has resolved many key aspects of the eukaryotic tree of life, such as the relation among deep angiosperm clades 10 , the position of sea squirts within chordates 11 , the Ecdysozoa clade 12 , the Lophotrochozoa clade 13 , relations among main myriapod clades 14 , among many others. Nevertheless, despite rapid improvements in quality and cost of sequencing 15, 16 , the data analysis required to infer phylogenetic trees remains extremely labour and computational intensive 17 . Phylogenomic studies require multiple costly steps, each of which can be major research endeavours (Fig 1) : the curation of raw reads, the de novo assembly often including multiple rounds of error corrections and scaffolding either with one or multiple technologies 18 , the annotation and characterization of important genes, the identification and comparison of orthologous genes, and the tree inference from orthologous markers. The current best practices optimise this process using costly technology combinations-such as long and short read sequencing-and multiple rounds of parameter optimizations across multiple pipelines. Still, the problem remains compute intensive and requires different skill sets from different areas of specialisation (e.g. assembly, annotation, phylogeny). The current trend however is to sequence ever more species and samples. The Earth BioGenome Project, launched in Nov. 2018, aims at sequencing "all 1.5 million known animal, plant, protozoan and fungal species on Earth" within the coming decade 19 . The constituting consortia are making progress streamlining and optimising the sequencing and annotation process, but the orthology inference and tree inference steps remain highly challenging. In parallel, considerable genome sequencing activity is taking place in individual labs, with sample sizes of hundreds to thousands of genomes per study becoming common 16 . However, depending on the species of interest, high-quality reference genomes are often lacking, and individual labs often lack the computational infrastructure or expertise to fully leverage the data across individual analysis steps. This is exemplified in major consortia-led studies requiring years and millions of dollars to elucidate the evolution of certain species of interest. Or most recently, the use of various pipelines to assess variation and report assemblies from SARS-CoV-2. Thus a major bottleneck is becoming the harmonised analysis of these large-scale data sets to avoid certain biases or artefacts. Here we introduce Read2Tree, a novel approach to infer species trees, which works by directly processing raw sequencing reads into groups of corresponding genes-bypassing genome assembly, annotation, or all-versus-all sequence comparisons. Read2Tree is able to provide a full phylogenetic comparison of hundreds of samples in a fraction of time compared to current established pipelines. Crucially, the speed up is achieved without compromising the accuracy of the resulting trees. In addition, Read2Tree is able to also provide accurate trees and species comparisons using only low coverage (0.1x) data sets as well as RNA vs. genomic sequencing and operates on long or short reads. This makes Read2Tree a highly versatile method to obtain key insight from a single sample scaling up to thousands of samples. To establish this novel approach we assess its performance on a battery of genomic and transcriptomic datasets spanning different kingdoms, divergence time, and sequencing technology. Subsequently we apply Read2Tree to construct a large yeast tree of life and apply it to compare SARS-CoV-2 samples-thus highlighting the accuracy (e.g. compared to NCBI classification) and speed of Read2Tree. Figure 1 . Strategy and pipeline explanation. (A) Read2Tree aims at sidestepping many time intensive and costly pipeline steps to obtain a phylogenetic tree when using many species, therefore going from read to tree. (B) Overview of the Read2Tree pipeline. State-of-the-art phylogenomic pipelines require many steps, which can be both time consuming and error-prone (Fig 1A) . With Read2Tree, we directly process raw sequencing reads and reconstruct sequence alignments for conventional tree inference methods ( Fig 1B, SFig 1) . We start by aligning raw reads to nucleotide sequences derived from the genome-wide reference orthologous groups (Fig 1B: 1) . Within each orthologous group, we reconstruct protein sequences from reads aligned to reference sequences (Fig 1B: 2) . Importantly, these sequences in reference orthologous groups are not restricted to singlecopy marker genes, such as the mitochondrial cytochrome c oxidase I (COI) gene or BUSCO genes 20 ; they also include multiple paralogous genes as well as non-universal genes. This is achieved by leveraging orthologous groups computed from 2500 diverse genomes analysed in the Orthologous Matrix (OMA) resource developed in our lab 21, 22 . Next, we retain the best reference-guided reconstructed sequence, using the number of reconstructed nucleotide bases as criterion ( Fig. 1B: 3, SFig 2) . Subsequently, the selected consensus is added to the orthologous group's multiple sequence alignment (Fig 1B: 4) . Finally, orthologous group selection and tree inference can proceed using conventional methods (we use IQTREE 23 by default; Fig 1B: 5) . See Methods for greater detail on the individual steps. This way Read2Tree is able to report key information across orthologous gene groups in a fraction of time over conventional comparative genomic pipelines-by bypassing genome assembly, annotation, homology, and orthology inference. Accuracy as a function of distance to closest reference and coverage We tested Read2Tree on a wide array of conditions, with two kinds of sequence (DNA vs RNA), three target species (Arabidopsis thaliana, Saccharomyces cerevisiae and Mus musculus), three types of sequencing technology (Illumina, PacBio, ONT), six levels of sequencing coverage (ranging from 0.2 to 20x), and six different sets of reference species (increasingly distant from the targets spanning over 1 billion years of evolution) (see Fig 2A) . For sequence reconstruction accuracy (Fig 2B) , we measured both the correctness of the reconstructed sequences ("precision") and the completeness of the reconstructed sequences ("recall"). For tree reconstruction accuracy (Fig 2C) , we compare the reconstructed tree with the known species phylogeny and report both the topological distance and whether the target species was correctly placed. In general, Read2Tree was able to maintain a high precision in terms of sequence reconstruction (Fig 2B) and tree reconstruction (Fig 2C) across all datasets, with varying levels of recall depending on the dataset difficulty. First we assessed the effect of coverage ranging from 0.2x to 20x of the individual data sets. We observed that increasing the sequencing coverage had little impact on precision, and mainly lowered recall. Thus, remarkably, Read2Tree is able to maintain typically 90-95% precision at the sequence level even with coverages as low as 0.2x (Fig 2B) . The best low-coverage results were obtained on transcriptomic short read data in mice, where precision reached 98.5% at 0.2x coverage. To assess the versatility of Read2Tree we benchmarked it across DNA and RNA data sets. This did not have a large impact in general, but transcriptomic RNA results (in the mouse dataset) are marginally less impacted by differences in average coverage, perhaps due to the large coverage variance from uneven gene expression levels in these data (see Fig 2B&C) . Next, we assessed if Read2Tree is capable of utilising the range of current sequencing technologies. For this we applied it across traditional short reads, Oxford Nanopore and PacBio long reads. To enable this, Read2Tree has slightly different mapping strategies built in for long vs. short reads (see methods). As Figure 2B&C shows Read2Tree maintained a high accuracy across each sequencing technology, but we observed the highest accuracy over traditional short reads. We have not assessed more recent sequencing technologies such as PacBio HiFi or Illumina infinity that might change this result. Finally, we assessed the robustness of Read2Tree with respect to the evolutionary distance between the sample at hand and the closest relative in the reference set. This is often critical as one might not know the closest ancestor that is assembled or it is not available 24 . Thus we tested Read2Tree across a wide range of evolutionary distances ranging from 7 million years ago to over 1.1 billion years ago. While these are certainly extreme scenarios, overall Read2Tree was able to cope with them successfully. Figures 2 B&C show that the choice of reference set mainly impacted recall, with closer reference genomes leading to more reconstructed positions. Remarkably, Read2Tree was able to maintain high accuracy even in the datasets with very distant references-e.g. processing mouse RNA-seq data without any vertebrate genome in the reference set. Given the excessive benchmarks across species, coverage, sequencing technology and assay (DNA and RNA) we observe that Read2Tree is indeed a highly versatile and accurate tool to reconstruct phylogeny directly from raw reads. Read2Tree is faster and more accurate than assembly-based tree inference Next, we compared the performances of Read2Tree with conventional assembly pipelines. For this we generated de novo assemblies and protein predictions across the same data sets as from the previous section (see methods). The conventional assemblies were processed using OMA standalone, including the same exported reference genomes, as OMA standalone was previously shown to identify the most accurate phylogenetic marker genes 25 . For the inclusion of orthologous markers in the concatenated alignment used for tree inference, we required a commonly set minimum threshold of 80% taxon presence. As above, we varied the closest remaining species in the dataset by removing species along the reference tree (Fig 2. A) . With different coverages and reference sets, we obtained 42 data points per species. For each of these data points we performed the orthology inference separately and recorded its computation time. The proportion of sequences placed into the respective OGs showed high levels of variation (SFig 5). For each assembly and variation of proteomes, we computed the topological distance between the resulting tree from assembly or Read2Tree with trees obtained using high quality genome assemblies for A. thaliana and S. cerevisiae. Figure 3 shows the overall results highlighting the performance of Read2Tree. Perhaps unsurprisingly, we observed that coverage levels had a profound impact on the performance of assembly-based approaches rendering them incapable of dealing with coverages below 5-10x. Thus for these data sets we only report Read2Tree results. Where both approaches can be compared, the only cases where the conventional de novo assembly approach outperformed Read2Tree were with high coverage and very distant (>500 Mya) to the closest reference species (Figure 3A , upper right region of each graph). In all other scenarios, Read2Tree outperformed the conventional approach in accuracy. Specifically, on the yeast dataset at higher coverage level, both assembly and Read2Tree performed well overall-we never observed more than two different branches between the obtained and reference trees. With at least 10x coverage and distant reference species, the conventional assembly approach outperformed Read2Tree (Fig 3A and SFig 4) . By contrast, on the more complex A. thaliana and M. musculus datasets, Read2Tree outperformed the assembly approach-with fewer differences to the reference (up to 2 different branches for Read2Tree, versus up to 4 for the conventional approach). On the ONT data-characterised by longer reads but higher error rate, Read2Tree outperformed the conventional approach on both dataset. Finally, in terms of compute time, Read2Tree was generally much faster than the conventional approach, up to 100x faster on the larger genomes (Fig 3 B) . Altogether, these results indicate that Read2Tree is faster in all conditions, and produces reliable trees in low coverage datasets and other datasets where the conventional approach fails entirely (long-read transcriptomics). At higher coverage levels, the trees inferred by Read2Tree rival in quality with those obtained from assembled reference species with a full pipeline, particularly when applied to more complex genomes, and unless the closest reference species is very distant (> 500 million years). Read2Tree accurately reconstructs a yeast tree of life encompassing 435 genomes 26 . The top row shows full trees and the alignment matrix used to compute the tree as outer circles. Red dots indicate nodes with bootstrap below 100. The species Naumovozyma dairenensis, previously misclassified 27, 28 , is highlighted in red. Bottom row shows trees trimmed to an overlapping leaf set. To assess a potential large scale application for Read2Tree, we applied it to reconstruct a large yeast phylogeny from raw reads. Thanks to Read2Tree's ability to process low coverage datasets, we could extend our analysis to all Illumina single and paired-end, ONT, PacBio and 454 Sequencing read datasets available for budding yeast in the NCBI SRA database (November 2018, 404 species) and 31 reference species obtained from the OMA Database (release 2018, 3063 OGs). Using an automated approach for retrieval and mapping we were able to obtain direct sequences for 404 species (2019, Supplementary files 1). Read2Tree could process these datasets in around a month of computation (adding each species sequentially and performing the mapping on 30 CPUs -one CPU per reference -in parallel), due to its "embarrassingly parallel" architecture-with every sample being processed independently up to phylogenetic inference (10x Illumina: ~20 minutes using 4 threads). A large proportion of these data sets were recently used to construct a phylogeny across 363 budding yeast species 26 . This included a dataset of 196 new assemblies and their annotations 26 . This large effort provided the first delineation of the yeast tree of life into 13 main clades and highlighted the influence of horizontal gene transfer in the evolution of yeast species 26 . Due to the complexity of state-of-the-art pipelines, it also consumed millions of CPU hours and years of work. Furthermore, the conventional assembly-based approach could not include low-coverage samples into their analysis. We were able to extend this work using Read2Tree using a fraction of the resources. Using Read2tree we were able to compute and produce this large phylogeny across 435 samples (including 31 species as reference). Some of the samples failed due to their too low coverage levels of around 3.1x assuming a 12Mbp long average genome size. Nevertheless, using Read2Tree we were able to include multiple samples even at coverage levels below 5x which were reported with over 2500 sequences placed in orthologous groups (SFig 9). Read2Tree was able to reconstruct the phylogeny and also reported the phylogeny relevant genes assembled per sample which overall showed similar GC levels as the reference data (SFig 10). This was also exemplified by the fact that we did not observe a correlation between the number of sequences placed into OGs per species and their individual coverage (SFig 9, correlation 0.2). Considering the subset of species in common, our results were highly congruent with those of Shen et al (Fig 4) : both trees exhibited similar distances to the NCBI taxonomy tree-297 ours vs 291 Shen et al splits respectively (~80% difference). In direct comparison, Shen et al. and Read2Tree were more similar with one another, with only 128 different splits (20% difference), than either was to the NCBI taxonomy. After collapsing branches with a support below 90, the difference in the number of splits between the conservative NCBI tree and ours was 29 splits and between Shen et al 25 splits. 24 of these splits were in common between Read2Tree and Shen et al. To get more insights on the nature of these differences, we assessed the agreement with the NCBI taxonomy for two different levels of resolution: family and genus. At the coarser family level, Read2Tree was more consistent with the NCBI taxonomy for six families, while Shen et al. was more consistent in one family (SFig 6). At the finer genus level, Read2Tree was more consistent with the NCBI taxonomy for four genera, versus ten for Shen et al. (SFig 7) . Nevertheless, there are still certain differences between Read2Tree and the NCBI taxonomy remaining. While resolving most such instances would constitute entire follow-up studies in their own right, we were able to explain one apparent disagreement: Naumovozyma dairenensis is placed in the CUG-Ser1 classification, while according to the NCBI taxonomy, it should be an ascomycetous yeast in the Saccharomyces sensu lato group within the family Saccharomycetaceae. However, this is a case of erroneous metadata reported in the literature. 27, 28 Given this phylogeny, we can now easily update and extend it using Read2Tree in a matter of minutes with additional sequences being generated. This enables a deep dive in the comparative genomics of yeast and explore further their differences between the strains and their impact on live, food production etc. This is also easily reproducible for other organisms as Read2Tree is capable to span large evolutionary distances with respect to the reference tree. To further illustrate the versatility of Read2Tree, we used it to reconstruct a phylogeny encompassing various coronaviruses from the OMA coronavirus database as well as coronavirus sequences deposited to the Short Read Archive. Besides 122 putative SARS-CoV-2 sequence, we also included two samples from bat (SRR11085797 29 and SRR11085736 30 ), and one from mink 31 (SRX9605666). The reconstructed phylogeny was in complete agreement with the lineage classification obtained from the UniProt reference proteomes. In particular, the tree not only recovered the main coronavirus genera (Alpha-, Beta-, Gamma-, and Deltacoronavirus), but also all subgenera with complete consistency (Fig 5) . The first bat sample corresponds to the reads of RaTG13, which is the closest relative of SARS-CoV-2 identified yet 29 . Indeed, in our tree it falls right outside the SARS-CoV-2 clade. The other bat sample as well could be confirmed as an Alphacoronavirus, subgenus Rhinacovirus 30 . Likewise, we could confirm the classification of the mink sample, identified as an Alphacoronavirus, subgenus Minacovirus by the authors 31 . The position of the SARS-CoV-2 sequences within the coronavirus tree of life is also entirely consistent with our prior knowledge on them. The reference genome, the Wuhan-Hu-1 sequence reported in early January 2020 32 , is at the base of the subtree. The only three sequences that branch out prior to it are SRR11092056-8-which were obtained from patients with severe pneumonia at the beginning of the pandemic 29 . Finally, we note that the variants of concern included in the analyses appear clearly as distinct clades on the tree. Overall, this application of Read2Tree to diverse coronaviruses sequences illustrates the ability of the tool to deal both with the considerable phylogenetic breath of this family of virus 33 and the depth required to classify individual SARS-CoV-2 variants of concerns. This makes Read2Tree suitable for both zoonotic surveillance as well as human epidemiology 34 . Read2Tree correctly classifies the recent SARS-CoV-2 sequences and recapitulates the evolution of the individual variants. All genera (grey boxes in the overall tree) and subgenera (coloured boxes) are correctly delineated. The inset focuses on the part of the tree with SARS-CoV-2 sequences, where the reference genome sequence indeed sits near the root, and variants of concern (grey boxes) cluster consistently on the tree. We presented Read2Tree, a novel approach to scale and ease the laborious process of comparative genomics: assembly, annotation, phylogenetic comparison. These steps are computationally costly, error-prone and require specialised knowledge. Using Read2Tree, we can directly reconstruct phylogenetic relevant genes from raw reads and thus enable a placement and comparison of the species at hand with minimum compute and coverage requirements. The efficiency of the approach makes it possible to process a large number of samples in parallel, using a consistent methodology, and without compromising accuracy compared with state-of-the-art pipelines. Current inherent problems of large scale comparative genomics or in general comparative genomics projects recently shifted from obtaining accurate assemblies to annotation and curation of these assemblies. This was in part possible due to sequencing technology advancements over long reads 16, 18 , but also due to innovations in assembly algortihms 35, 36 . These steps still require high DNA quality and are in general more expensive, but enable large projects such as the Vertebrate Genome Project 37 , the human pangenome 38 and telomere-to-telomere 39 projects. Nevertheless, in every of these cases the annotation of the genomes and the improvements in terms of continuity and accuracy remain major bottlenecks. Using Read2Tree these limitations can be overcome even with low-coverage, cost-effective Illumina data. Indeed, we showed that Read2Tree enables accurate analysis across all three sequencing technologies (Illumina, ONT, PacBio). All this can be achieved in a fraction of time and computational resources, thereby contributing to bringing large-scale phylogenomics within the reach of individual laboratories. One major advantage is that despite side-stepping de novo assembly, Read2Tree can operate in the absence of close reference genomes; indeed we demonstrated accurate tree reconstruction involving sequencing reads from species separated by hundreds of millions of years of divergence. Though we also reached some limits to this robustness, when subjecting Read2Tree to both very high divergence and low sequencing coverage, it should be noted that evolutionary distances will tend to diminish as ever more species get sequenced across the tree of life. Furthermore, while most authors of genome resources deposit annotation sets alongside the assembled sequences, not all of them do. The ability to process genomes directly from raw reads not only circumvents this limitation; it can reduce the biases arising from overreliance on specific reference genomes, typically model organisms for which genomic resources tend to be more developed. There have been some initial efforts to "dehumanise" non-human great ape genomes 40 , but many other clades still suffer from analogous biases, which can be greatly reduced by processing raw reads. We demonstrated the speed and accuracy of Read2Tree over a large scale yeast data set. Here, Read2tree was able to reconstruct a high-quality tree from raw read samples directly retrieved from the Short Read Archive. This was achieved despite orders of magnitudes of variation in the coverage levels and other properties of the data sets (e.g. reads were generated across 10 years of sequencing, on a diverse set of sequencing instruments). We highlighted that by showcasing early infection data from the USA over the SARS-CoV-2 outbreak. Here Read2Tree was again able to classify and place all samples correctly, be it across the full breadth of the Coronaviridae genus, or across the depth of minute variations among SARS-CoV-2 samples. This level of performance is remarkable, because the optimal choice of phylogenetic marker genes typically depends on the level of sequence divergence 41 . In its current form, Read2Tree serves a distinct function from metagenomic classifiers such as Kraken2 42 or Centrifuge 43 . Indeed, while these tools seek to exploit known characteristic sequences for read-level taxonomic classification, Read2Tree aims at efficiently extracting the genome-wide (or transcriptome-wide) phylogenetic signal by inferring large multilocus input data matrices for phylogenetic tree inference tools, a step which has been shown to be critical to resolve difficult phylogenies 17, 25, [44] [45] [46] . Nevertheless, Read2Tree could be further developed to process metagenomic samples-by combining it with a genome binning preprocessing step. In recent years, a number of different approaches for genome binning have been proposed, be it through "differential coverage" approaches, which exploit correlated abundance across samples to identify reads coming from the same species 47-49 , using Hi-C protocols, which make it possible to identify parts of DNA in close physical proximity 50, 51 , or single-cell technologies 52 . Overall Read2Tree is a novel approach reconstructing phylogenetic important genes and characterising the sample at hand or entire sample collections, thereby enabling the study of a large number of genes and their evolution with no preprocessing, few computational resources, and minimal bioinformatic expertise. This will hopefully enable faster and more comprehensive phylogenetic reconstruction efforts-from tiny virus genomes to large eukaryotic ones, but also cell lineage, cancer trees, and other kinds of phylogenies across biology and medicine. Read2Tree was developed in python and a detailed description of its function is available in the supplementary methods. Read2Tree is open source (MIT License) and available online at https://github.com/DessimozLab/read2tree. Orthologous groups were selected from OMA 53 using the marker gene export functionality (https://omabrowser.org/oma/export_markers). For all species the maximum number of covered species was set to 0.8 and maximum number of markers to -1 (unlimited). Species selected are displayed in Figure 1A . Whole genome sequencing reads for A. thaliana and S. cerevisiae were obtained from the SRA database for technologies PacBio, Illumina and Oxford Nanopore. mRNA sequencing reads for M. musculus were also obtained for all three technologies from the SRA database. Subsampling of reads was performed in python (see repository). For PacBio and ONT reads subsampling was optimised such that cumulative number of bases fits to the expected coverage. For coverage test reads were subsampled assuming for mouse 38 MB accumulated gene length (transcriptome), thale cress 120 MBp and yeast 12 MBp genome lengths. Reads were sampled to obtain 20X, 10X, 5X, 1X, 0.5X and 0.2X coverage levels. Reads for the big yeast tree were obtained from the SRA database (Supplementary File 1). Reads for coronavirus were obtained from the SRA database (Supplementary File 1). All SRA numbers are available in Supplementary File 1. Reference trees for the 3 evaluated species were computed using the species as defined in Figure 2 A. Species were selected from OMA 53 as described in the OG selection. Individual OGs were aligned using mafft v7.310 (--maxiter 1000 --local) and trees were inferred with iqtree v1.6.9 ( -m LG -nt 4 -mem 4G -seed 12345 -bb 1000). For reference trees that were used for testing the dependency on the reference dataset, specific species were deleted from existing alignments and trees were computed with iqtree as stated before. All reference trees are available in the Supplementary file 2. To highlight the years of evolution we collected the time using timetree 54 (April 2022). We assessed the accuracy of sequence reconstruction by taking each Read2Tree reconstructed sequence (for each species, coverage, technology and removal level) placed in an OG and performed a blastp (ncbi-blast; v2.8.1) search against its original OG that contained the original sequence coming from a high quality assembly for the species of interest. Accuracy was measured as blast percentage identity and recall as the total number of obtained AAs in the concatenated MSA of all OGs. Additionally, we evaluated whether the top hit of the Read2Tree reconstructed sequence was most similar to its assembled same species counterpart, or the sequence used as reference for reconstruction or any other random sequence part of that particular orthologous group (Supplementary Figure 3) . For the three species, the whole genome data was assembled with individual sequencing technology specific assembly programs following best practice or default parameters. For Illumina we first used megahit 55 (v1.2.9) with default parameters for assembling the contigs. Subsequently SOAPdenovo 56 (version 2.04-r241) for scaffolding: First, SOAPdenovo-fusion -D -K 41 -c megahit.contigs.fa -g scaffold_prefix -p 20 followed by SOAPdenovo-63mer map and scaff with recommended parameters over the config file. For ONT reads we assembled the reads using Canu 57 (v2.0) with a specified genome size (genomeSize) gnuplotTested=true -nanopore-raw and useGrid=false parameters to run it locally on only one node on the cluster. Lastly for PacBio CLR data we also used Canu (v2.0) with similar parameters, but specifying the -pacbio-raw parameter. All runtimes were measured using linux time and the wall and CPU Time were recorded. The RNA seq data was assembled differently to the whole genome. For Illumina we used Trinity 58 (v2.8.5) with the following parameters: --seqType fq --max_memory 50G --left reads1.fq.gz --right reads2.fq.gz --CPU 6 --trimmomatic --full_cleanup --output prefix. These execute Trimmomatic automatically and follow the recommendations from trinity. For each assembly (species, technology and coverage level) we run OMA standalone (v2.3.3) on the UNIL HPC clusters using a SLURM scheduler. For this we collected all the species as depicted in Figure 2 using the OMA All vs All export function. Then we removed according to Figure 2 the relevant species, adding each time the assembly for mouse, yeast or thale cress in the set and run the orthology prediction with standard parameters (OMA v.2.2.1). Thus for instance for the Illumina M. musculus 10X assembly we run OMA 7 times for all reference datasets with increasing distance to its closest relative. In total we run 126 different OMA runs with 7 variations of reference proteomes and 3 variations of technologies 3 coverage levels for A. thaliana and S. cervisiea. Additionally, we run 21 times OMA for M. musculus for 5X, 10X and 20X Illumina assemblies. The all vs all part was parallelized on 1000 nodes and the final part was run on a single node with 40G memory. To obtain OGs for tree inference we applied the 0.8 taxonomic occupancy threshold as previously. OGs were filtered according to the procedure in Shen et al. (see below). OGs were individually aligned using mafft v7.310 (--maxiter 1000 --local), concatenated and trees were inferred with iqtree v1.6.9 ( -m LG -nt 4 -mem 4G -seed 12345 -bb 1000). Each Read2Tree tree was compared to a fitting reference using several tree distance measures. For topological similarity we used two approaches, one that uses the Robinson foulds distance and counts the number of different splits between two trees and one that collapses each node with a bootstrap support below a certain threshold and then counts the number of overlapping splits. Then we define as recall the number of overlapping splits divided by the number of splits in the reference and as precision the number of overlapping splits divided by the number of splits in the Read2Tree tree. For the large yeast tree we extracted all yeast available datasets in the SRA November 2018 (406 species, Supplementary file 1) and applied Read2Tree (standard parameters) to 31 yeast species extracted from the OMA database (Nov 2018) using the marker export function and min tax availability of 0.8 (3082 OGs). Selected species are available in the Supplementary file 3. Reads from the SRA database were mapped according to their sequencing methodology using Read2Tree. In order to compare our analysis to Shen et al 2018 we aimed to have as many species in common as possible. For this purpose we complemented our tree with additional sequences that we simulated from missing species in our tree that were present in the Shen et al 2018 tree. Simulations were conducted with iss (v1.3.0 https://github.com/HadrienG/InSilicoSeq, --model hiseq -n 600000). In order to map the species from the Shen et al (Shen et al. 2018 ) tree to ours we obtained for species / strains the taxid using ete3's NCBI interface 59 . For species where automated mapping was not possible we obtained the taxid using the ncbi taxonomy interface (https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi). Given the reconstructed sequences placed in their respective OGs and added to their alignment we decided to compute a tree following the protocol of 26 . In brief from the 3082 alignments we selected the ones that contained more than 171 species resulting in 1829 OGs. Then we used phyutils 2.2.6 (seqs -aa -clean 0.01) to clean up the alignments. Since our approach does not place multiple sequences from the same species into one OG we skipped the removal of putative paralogs. Within the alignments we changed all "X" with the gapcharacter "-". Then we applied trimAl v1.4.rev15 (-gappyout). Then we removed protein sequences whose lengths were shorter than 50% the length of the trimmed multiple sequence alignment length of each OG they belonged to. We also removed OGs whose total trimmed multiple sequence alignment length was < 167 amino acid sites. These resulted in 926 alignments. With these alignments we used IQTREE ( v1.6.9) with automatic model selection to compute trees. Then we identified species in the gene trees that had a branch length longer than 20 times the median of all branch lengths. We removed these species from the respected alignments again controlling that the more than 171 species are included. Then we computed the tree using iqtree (-seed 12345, -m LG+G4, -bb 1000, -nt 20). Using all tax ids we retrieved the current uptodate ncbi reference taxonomy and the classification of each species. We then compared the three trees (NCBI, Read2Tree, Shen et al (Shen et al. 2018 )) using the Robinson Foulds distance on the overlapping leafset. Additionally, we overlaid the Shen et al. classification on our tree. Finally, we compared the trees using the ancestral node that contains the highest number of monophyletic species given a specific grouping (order, family, phylum) extracted from the ncbi taxonomy information. All comparisons were conducted using custom python jupyter notebooks. Additionally, we collected data on GC content, input coverage to mapping ratio. Trees were visualised with ETE3 59 . Marker genes were exported from https://corona.omabrowser.org/ with at least four species. DNA sequences for these genes were obtained from the same resource. Four extra groups with intergenic regions from the SARS-CoV-2 reference genome were added using a custom script. SARS-CoV-2 samples were obtained from Nextstrain open (https://data.nextstrain.org/files/ncov/open/global/metadata.tsv.xz) 7 . Different samples with SRA accession that spann all different clades were obtained with a custom python script. Reads were downloaded from the SRA database and trimmed. Read2Tree was applied to this dataset and all obtained reads were mapped to the marker genes. Read2Tree was run with standard parameters. Uninformative columns and rows were filtered from the final multiple sequence alignment and the tree was inferred using FastTree with default parameters. CD and FJS designed the study. DD and FJS implemented the software. DD, FJS, AA, SM performed data analysis and code review. DD, FJS, and CD drafted the manuscript. All authors edited and approved the manuscript. FJS receives research funding from Oxford Nanopore and Pacific Biosciences. Phylogenetic structure of the prokaryotic domain: the primary kingdoms Toward automatic reconstruction of a highly resolved tree of life An archaeal origin of eukaryotes supports only two primary domains of life A new view of the tree of life Phylogenetic ctDNA analysis depicts early-stage lung cancer evolution Whole-organism lineage tracing by combinatorial and cumulative genome editing Nextstrain: real-time tracking of pathogen evolution Phylogenomics: improving functional predictions for uncharacterized genes by evolutionary analysis Phylogenetic-based propagation of functional annotations within the Resolution of deep angiosperm phylogeny using conserved nuclear genes and estimates of early divergence times Additional molecular support for the new chordate phylogeny The evolution of the Ecdysozoa Multigene analyses of bilaterian animals corroborate the monophyly of Ecdysozoa, Lophotrochozoa, and Protostomia Exploring Phylogenetic Relationships within Myriapoda and the Effects of Matrix Composition and Occupancy on Phylogenomic Reconstruction Coming of age: ten years of next-generation sequencing technologies Towards population-scale long-read sequencing Phylogenetic tree building in the genomic age Piercing the dark matter: bioinformatics of long-range sequencing and mapping Earth BioGenome Project: Sequencing life for the future of life BUSCO applications from quality assessments to gene prediction and phylogenomics OMA 2011: orthology inference among 1000 complete genomes The OMA orthology database in 2015: function predictions, better plant support, synteny view and other improvements IQ-TREE: a fast and effective stochastic algorithm for estimating maximum-likelihood phylogenies Reference flow: reducing reference bias using multiple population genomes OMA standalone: orthology inference among public and custom genomes and transcriptomes Tempo and Mode of Genome Evolution in the Misidentification of genome assemblies in public databases: the case of Naumovozyma dairenensis and proposal of a protocol to correct misidentifications Misidentification of genome assemblies in public databases: The case ofNaumovozyma dairenensisand proposal of a protocol to correct misidentifications A pneumonia outbreak associated with a new coronavirus of probable bat origin Discovery of Bat Coronaviruses through Surveillance and Probe Capture-Based Next-Generation Sequencing Genome Sequence of a Minacovirus Strain from a Farmed Mink in The Netherlands A new coronavirus associated with human respiratory disease in China Coronavirus diversity, phylogeny and interspecies jumping Want to track pandemic variants faster? Fix the bioinformatics bottleneck Haplotype-resolved de novo assembly using phased assembly graphs with hifiasm Nanopore sequencing and the Shasta toolkit enable efficient de novo assembly of eleven human genomes Towards complete and error-free genome assemblies of all vertebrate species The Need for a Human Pangenome Reference Sequence The complete sequence of a human genome High-resolution comparative analysis of great ape genomes Identifying genetic markers for a range of phylogenetic utility-From species to family level Improved metagenomic analysis with Kraken 2 Centrifuge: rapid and sensitive classification of metagenomic sequences Orthology: Definitions, prediction, and impact on species phylogeny inference Systematic errors in orthology inference and their effects on evolutionary analyses Lack of support for Deuterostomia prompts reinterpretation of the first Bilateria BinSanity: unsupervised clustering of environmental microbial assemblies using coverage and affinity propagation COCACOLA: binning metagenomic contigs using sequence COmposition, read CoverAge, CO-alignment and paired-end read LinkAge Fast Metagenomic Binning via Hashing and Bayesian Clustering Exploiting Hi-C sequencing data to accurately resolve metagenome-assembled genomes (MAGs) Scaffolding bacterial genomes and probing host-virus interactions in gut microbiome by proximity ligation (chromosome capture) assay Single-cell metagenomics: challenges and applications OMA orthology in 2021: website overhaul, conserved isoforms, ancestral gene order and more TimeTree: A Resource for Timelines, Timetrees, and Divergence Times MEGAHIT: an ultra-fast single-node solution for large and complex metagenomics assembly via succinct de Bruijn graph Erratum: SOAPdenovo2: an empirically improved memory-efficient short-read de novo assembler Canu: scalable and accurate long-read assembly via adaptive k-mer weighting and repeat separation Full-length transcriptome assembly from RNA-Seq data without a reference genome ETE 3: Reconstruction, Analysis, and Visualization of Phylogenomic Data FJS is supported by NIH grants (UM1HG008898) and the National Institute of Allergy and Infectious Diseases (1U19AI144297). DD, SM, and CD were supported by Swiss National Science Foundations grants 183723, 186397 and 205085 (to CD). References used and all SRA numbers of reads used are available in the supplement. Scripts are available at https://github.com/dvdylus/read2tree_paper.git.