GToTree: a user-friendly workflow for phylogenomics.

Lee MD. · 2019

Read GToTree: a user-friendly workflow for phylogenomics. by Lee MD. (2019) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/europmc-pmc6792077.txt.

Introduction

Lee introduces GToTree, a user-friendly workflow for phylogenomics. Building family trees from whole genomes is now a routine need for biologists. The computational steps, though, can block researchers whose focus is not bioinformatics. Gathering genomes in mixed formats, filtering them, and chaining tools together takes real effort. GToTree wraps that chain into one command-line tool.

It accepts fasta files, GenBank files, and database accessions in any mix. Out come an alignment, completeness and redundancy estimates, and a tree built from single-copy genes. Thirteen ready-made gene sets cover different lineages and resolutions. They were built from about 12,000 high-quality bacterial and archaeal genomes. The tool is open source and freely available.

Catalog record

CREATORLee MD.
YEAR2019
COLLECTIONPAPERS
FORMATTXT
FILE SIZE12 KB
LICENSECC BY 4.0
RIGHTSCC BY
SOURCEEurope PMC

Source: https://europepmc.org/articles/PMC6792077

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

GToTree: a user-friendly workflow for phylogenomics By Michael D Lee, Yann Ponty Published in: Bioinformatics DOI: 10.1093/bioinformatics/btz188 ABSTRACT Abstract Summary Genome-level evolutionary inference (i.e. phylogenomics) is becoming an increasingly essential step in many biologists’ work. Accordingly, there are several tools available for the major steps in a phylogenomics workflow. But for the biologist whose main focus is not bioinformatics, much of the computational work required—such as accessing genomic data on large scales, integrating genomes from different file formats, performing required filtering, stitching different tools together etc.—can be prohibitive. Here I introduce GToTree, a command-line tool that can take any combination of fasta files, GenBank files and/or NCBI assembly accessions as input and outputs an alignment file, estimates of genome completeness and redundancy, and a phylogenomic tree based on a specified single-copy gene (SCG) set. Although GToTree can work with any custom hidden Markov Models (HMMs), also included are 13 newly generated SCG-set HMMs for different lineages and levels of resolution, built based on searches of ∼12 000 bacterial and archaeal high-quality genomes. GToTree aims to give more researchers the capability to make phylogenomic trees. Availability and implementation GToTree is open-source and freely available for download from: github.com/AstrobioMike/GToTree. It is implemented primarily in bash with helper scripts written in python. Supplementary information Supplementary data are available at Bioinformatics online. 1 INTRODUCTION The number of sequenced genomes is increasing rapidly, largely through the recovery of metagenome-assembled genomes (e.g. Hug et al., 2016; Parks et al., 2017) and through the generation of single-cell amplified genomes (e.g. Berube et al., 2018; Kashtan et al., 2014). Phylogenomics (inferring genome-level evolutionary relationships) is becoming a fundamental step in many biologists’ work—such as in the characterization of newly recovered genomes, or in leveraging available reference genomes to guide evolutionary questions (Braakman et al., 2017). There are several tools available for the major steps in a typical phylogenomics workflow, and at least one analysis platform that incorporates a phylogenomics workflow amid a larger infrastructure (anvi’o; Eren et al., 2015). But a complete workflow focused solely on phylogenomics, enabling greater efficiency and scalability, and with flexibility with regard to input formats, is lacking. GToTree fills a void on three primary fronts: (i) it accepts as input any combination of fasta files, GenBank files and/or NCBI accessions—allowing integration of genomes from various sources and stages of analysis without any computational burden to the user; (ii) it enables the automation of required between-tool tasks such as filtering out hits by gene-length, filtering out genomes with too few hits to a specified target gene-set, and swapping genome identifiers so resulting trees and alignments can be explored more easily; and (iii) its scalability—GToTree can turn ∼1700 input genomes into a tree in 1 h on a standard laptop, and can optionally run many steps in parallel. This software gives more researchers the capability to create phylogenomic trees to aid in their work. At the time of publication, GToTree is primarily implemented in bash, but it will be converted to entirely python and be controlled by a more appropriate workflow language in the near future. 2 DESCRIPTION 2.1 Input The required inputs to GToTree are (i) any combination of fasta files, GenBank files and/or NCBI assembly accessions, and (ii) an hidden Markov Model (HMM) file with the target genes. The HMM file can be custom or one of the 13 included HMM files covering varying breadths of diversity (discussed below). Optionally, the user can also provide a mapping file of specific input genome IDs with the labels they would like to have displayed in the final alignment and tree. 2.2 Processing An overview of the GToTree workflow is presented in Figure 1 and detailed here: - Retrieve coding-sequences (CDSs) for input genomes, depending on the input source: fasta files—identify CDSs with prodigal (Hyatt et al., 2010)GenBank files—extract CDSs if annotated, if not identify with prodigal (Hyatt et al., 2010)NCBI accession—download amino acid sequences of CDSs if annotated, if not, download the assembly and identify CDSs with prodigal (Hyatt et al., 2010) - fasta files—identify CDSs with prodigal (Hyatt et al., 2010) - GenBank files—extract CDSs if annotated, if not identify with prodigal (Hyatt et al., 2010) - NCBI accession—download amino acid sequences of CDSs if annotated, if not, download the assembly and identify CDSs with prodigal (Hyatt et al., 2010) - Identify target genes in all genomes with HMMER3 (Eddy, 2011) using pre-defined model cutoffs (–cut_ga) by default, if a genome has more than one hit to a target gene, no gene will be contributed to the alignment for that target gene from that genome. - by default, if a genome has more than one hit to a target gene, no gene will be contributed to the alignment for that target gene from that genome. - Report estimates of genome completeness/redundancy using the information from the HMM search (see Supplementary Note S1). - Filter out potentially spurious gene-hits based on length, and genomes based on fraction of target-genes detected. - Align each gene-set with Muscle (Edgar, 2004), perform automated trimming with Trimal (Gutíerrez et al., 2009), and concatenate all. - Optionally add custom genome labels or lineages (for any that have taxids associated with them whether from NCBI accession or found in provided GenBank files; utilizes TaxonKit; Shen and Xiong, 2019). - Generate tree, currently supported are FastTree (Price et al., 2010; note: FastTree does not enable incorporation of a specified root in tree generation) and IQ-TREE (Nguyen et al., 2015; IQ-TREE does enable the incorporation of a specified root). [Figure: Overview of general workflow and an example Tree of Life made with GToTree encompassing ∼1700 genomes from NCBI’s RefSeq using a universal SCG-set (Hug et al., 2016)] 2.3 Outputs The primary outputs from GToTree include the full alignment file (fasta), the tree file (newick), and tab-delimited summary tables with information on all genomes and individual ones for each genome input source. Additionally, outputs include report files on filtered or problematic genes/genomes. 2.4 CG-set generation All 17, 929 Pfam (protein families; El-gebali et al., 2019) HMM profiles from release 32.0 (accessed on December 2018) were downloaded from the Pfam ftp site (ftp://ftp.ebi.ac.uk/pub/databases/Pfam/). As Pfam-HMMs actually target-specific domains or protein regions, there are many unique Pfam entries that come from the same functional protein—e.g. Enolase_N (PF03952) and Enolase_C (PF00113). This is not ideal if using them to search for single-copy genes (SCGs) for purposes such as phylogenomics or completion/redundancy estimates). To ensure no two Pfam-HMMs from the same protein were contained in a SCG-set, only Pfams with HMMs that on average covered >50% of the underlying protein sequences that went into building that Pfam’s HMM were retained. This left 8924 Pfams. To identify target SCGs, amino-acid CDSs of all ‘complete’ genomes with annotations in NCBI were downloaded for bacteria (n = 11, 405; accessed December 9, 2018) and archaea (n = 309; accessed December 15, 2018) (‘Complete’ is a specific classification of genome quality assigned by NCBI, see Supplementary Material Note S2.). All protein sequences were searched against the 8924 filtered Pfam-HMMs with ‘hmmsearch’ (HMMER v3.2.1; Eddy, 2011) with default settings other than specifying the ‘–cut_ga’ flag to utilize the gathering thresholds stored in the curated Pfam models. Reported protein hits for each individual Pfam

Read the complete text