Literature DB >> 28472384

SMS: Smart Model Selection in PhyML.

Vincent Lefort1, Jean-Emmanuel Longueville1, Olivier Gascuel1,2.   

Abstract

Model selection using likelihood-based criteria (e.g., AIC) is one of the first steps in phylogenetic analysis. One must select both a substitution matrix and a model for rates across sites. A simple method is to test all combinations and select the best one. We describe heuristics to avoid these extensive calculations. Runtime is divided by ∼2 with results remaining nearly the same, and the method performs well compared with ProtTest and jModelTest2. Our software, "Smart Model Selection" (SMS), is implemented in the PhyML environment and available using two interfaces: command-line (to be integrated in pipelines) and a web server (http://www.atgc-montpellier.fr/phyml-sms/).
© The Author 2017. Published by Oxford University Press on behalf of the Society for Molecular Biology and Evolution.

Entities:  

Keywords:  AIC and BIC criteria; PhyML; heuristic procedure; model selection; web server

Mesh:

Year:  2017        PMID: 28472384      PMCID: PMC5850602          DOI: 10.1093/molbev/msx149

Source DB:  PubMed          Journal:  Mol Biol Evol        ISSN: 0737-4038            Impact factor:   16.240


Current phylogenetic programs provide users with a wide variety of models to represent both the variability of rates across sites (RAS) and the substitution process. With proteins, a large number of substitution matrices have been inferred for various protein types (e.g., membrane and mitochondrial) and origins (e.g., mammals and viruses). To select among these many models, statistical criteria (e.g., AIC [Akaike 1973] and BIC [Schwarz 1978]) are used to find the best likelihood/model-complexity tradeoff. A simple, standard approach is to test all models and then select the best one. This forms the basis of widely used, user-friendly software programs such as ProtTest for proteins (Abascal et al. 2005). Here, we introduce a new software tool to achieve this task: SMS, which stands for “Smart Model Selection.” This tool is very simple to use, as SMS is fully integrated into the PhyML web server (fig. 1). SMS can also be used as a standalone application and is freely available for download (http://www.atgc-montpellier.fr/sms/). SMS uses heuristic strategies to avoid testing all models and options. These strategies are partly inspired by Posada and Crandall (1998) and Darriba et al. (2012). Notably, the latter proposed a fast method called “model filtering” to focus on the most promising substitution matrices for DNA, whereas our heuristic for proteins also ranks the matrices based on their proximity to the data being analyzed. Moreover, SMS simplifies some calculations to save computing time. This is especially relevant in a pipeline context for running extensive phylogenetic analyses, for example, to study protein families. Below, we summarize the main features of SMS and its performance compared with the exhaustive approach, as well as to jModelTest2 (Darriba et al. 2012) and ProtTest. Complete details on algorithms, benchmark data sets, and comparison results are available in Supplementary Material. With proteins, all substitution matrices available in PhyML are also available in SMS (fig. 1, 17 matrices). Moreover, users can add their own matrices. All matrices can be used with the option +F (amino-acid frequencies are estimated from the data) and −F (preestimated frequencies). SMS only has two options to model RAS: +Γ (gamma distribution) and +Γ+I (one class of invariant sites is added). Extensive comparisons (supplementary table S4, Supplementary Material online) with 500 representative protein data sets showed that the +I option alone is rarely selected (1/500 with AIC, 4/500 with BIC), and the same holds for the −Γ−I or “none” option (3/500 with AIC, 4/500 with BIC). Protein multiple sequence alignments (MSAs) usually have few constant sites (median proportion in our data sets ≈ 3%), and we expect a high variability of site rates caused by the variability of functional and structural constraints acting along protein sequences. These results and choices are thus biologically consistent. SMS has a total of 17 (matrices) x 2 (+F/−F) x 2 (RAS) = 68 models. On average, SMS computes the likelihood value for only ∼30 models. Computing time is divided by ∼2 as compared with exhaustive calculations using the same models, and ∼3.5 compared with ProtTest (table 1), which explores a larger set of models exhaustively (120, supplementary table S5, Supplementary Material online). Based on the user’s selected criterion (AIC/BIC), the basic principle in SMS is as follows: i) using a BioNJ tree topology (Gascuel 1997), SMS estimates the branch lengths and model parameters for LG (Le and Gascuel 2008) and the two RAS options; ii) using the “most promising” RAS option with LG, SMS selects the best substitution matrix and +F/−F option; to avoid computing both +F and −F options systematically, the matrices are ranked based on the similarity of the amino-acid frequencies in the data and those preestimated in the matrix; iii) SMS selects the best “decoration” (i.e., RAS and +F/−F options) for the best matrix. The gain in computing time is explained by the fact that, for most substitution matrices, SMS performs only 1 or 2 likelihood evaluations per matrix (1.75 on average, corresponding to different decorations), compared with four for the exhaustive approach, which evaluates all decorations for all matrices.
. 1.

Interface, input, output, models, and options. (A) By default, the substitution model is selected by SMS using AIC; alternatively, the user may choose BIC or select the model manually. (B) The output contains standard PhyML results and the model selected by SMS with detailed information. (C) Models and options available in SMS.

Table 1

Method Comparison with 500 DNA, and 500 Protein Representative MSAs.

MethodsDataCriterionSame ModelSMS BetterSMS WorseΔ AIC & Δ BIC per taxon per site# PhyML Runs SMS/otherSpeed Increase
SMS versus ExhaustiveDNAAIC486na144.6 x 10−56.1/161.9–2.0
BIC476na248.0 x 10−57.5/161.7–1.9
SMS versus ExhaustiveProteinAIC494na63.7 x 10−329.3/682.2–2.1
BIC497na33.8 x 10−330.2/682.1–2.0
SMS versus jModelTest2DNAAIC3808535−2.5 x 10−56.1/7.81.1–0.8
BIC30815141−1.1 x 10−47.5/7.80.9–0.8
SMS versus ProtTestProteinAIC4651421−8.9 x 10−429.3/1203.7–3.4
BIC4651223−7.5 x 10−430.2/1203.5–3.2

Note.—The “Exhaustive” approach uses the same set of models as SMS and evaluates all of them. “Same model”: number of times (among 500 MSAs) where both methods return the same model; “SMS better”: number of times where the model returned by SMS has a lower AIC/BIC value; “SMS worse”: number of times where the model returned by SMS has a higher AIC/BIC value; “Δ AIC and Δ BIC per taxon per site”: when both models were different, we computed the difference in AIC/BIC per taxon per site, and averaged the results over all MSAs showing a model difference (a negative/positive value means that SMS’s model is better/worse in terms of AIC/BIC); “# PhyML runs”: number of PhyML runs for one method versus the other; “Speed increase”: for each MSA, we computed the computing time ratio of the method being compared with respect to SMS (e.g., 2 means that SMS is twice as fast), with the column displaying: i) the median value among the 500 speedup ratios for all MSAs, ii) the median value for the 50 largest MSAs (number of sites x number of taxa; see supplementary fig. S1, Supplementary Material online for additional computing time results with large MSAs).

Method Comparison with 500 DNA, and 500 Protein Representative MSAs. Note.—The “Exhaustive” approach uses the same set of models as SMS and evaluates all of them. “Same model”: number of times (among 500 MSAs) where both methods return the same model; “SMS better”: number of times where the model returned by SMS has a lower AIC/BIC value; “SMS worse”: number of times where the model returned by SMS has a higher AIC/BIC value; “Δ AIC and Δ BIC per taxon per site”: when both models were different, we computed the difference in AIC/BIC per taxon per site, and averaged the results over all MSAs showing a model difference (a negative/positive value means that SMS’s model is better/worse in terms of AIC/BIC); “# PhyML runs”: number of PhyML runs for one method versus the other; “Speed increase”: for each MSA, we computed the computing time ratio of the method being compared with respect to SMS (e.g., 2 means that SMS is twice as fast), with the column displaying: i) the median value among the 500 speedup ratios for all MSAs, ii) the median value for the 50 largest MSAs (number of sites x number of taxa; see supplementary fig. S1, Supplementary Material online for additional computing time results with large MSAs). Interface, input, output, models, and options. (A) By default, the substitution model is selected by SMS using AIC; alternatively, the user may choose BIC or select the model manually. (B) The output contains standard PhyML results and the model selected by SMS with detailed information. (C) Models and options available in SMS. Computations with DNA are simpler than with proteins, as today’s MSAs are most often large enough for GTR to be best compared to other substitution matrices. Moreover, the simplest matrices are not satisfactory because they do not account for the transition/transversion ratio and/or unequal base frequencies. Experiments with 500 representative MSAs confirmed these hypotheses, and are congruent with the large-scale study of (Arbiza et al. 2011). With AIC, GTR is best for 343/500 MSAs, whereas JC69, K80, and F81 are all best with 9/500 MSAs only (supplementary table S3, Supplementary Material online). However, with BIC, K80 is best for 48/500 MSAs. SMS thus uses four substitution matrices: GTR, TN93, HKY85, and K80, which are combined with +I, +Γ, +Γ+I, and “none” (all four RAS options are useful, supplementary table S3, Supplementary Material online), that is, a total of 4 x 4 = 16 models. On average, SMS computes the likelihood value of ∼6 models with AIC and 7.5 with BIC, thus dividing the computing time by ∼2 as compared to the exhaustive approach using the same models. Based on the user’s selected criterion (AIC/BIC), the basic principle in SMS as follows: i) using a BioNJ tree topology, SMS estimates the branch lengths and model parameters for GTR and the four RAS options; ii) using the “most promising” RAS option with GTR, SMS selects the best matrix in a stepwise manner: SMS compares GTR and TN93; if GTR is better, then SMS stops and keeps GTR; otherwise, SMS compares HKY85 to TN93, and so on (remember that GTR, TN93, HKY85, and K80 are nested); iii) SMS selects the best RAS option for the best matrix. This simple approach, combined with a relatively small set of models, makes SMS nearly as fast as jModelTest2 using the fast “model filtering” option (supplementary fig. S1, Supplementary Material online). Despite substantial gains in computing time, the results of SMS are nearly the same as those obtained with the exhaustive approach using the same models, and SMS performs well compared with jModelTest2 and ProtTest (table 1). To benchmark these methods, we used 500 DNA and 500 protein MSAs, corresponding to the first MSAs submitted to the PhyML Web server since the beta test version of SMS was made available (April 2015). No selection was performed, so these data sets are representative of the MSAs commonly used for phylogenetic analyses. Some of these MSAs are very small (e.g., 231 amino acids in total, with 11 taxa, and 231 sites); some are very large (e.g., 14,160,098 amino acids); some contain more than 1,000 taxa; and some have a huge number of sites (e.g., 52,092 nucleotidic sites). To confirm our findings, we also reused the 100 medium-size MSAs used to benchmark PhyML 3.0 (Guindon et al. 2010). The results with this second, independent set of MSAs, are fully congruent (supplementary table S6, Supplementary Material online). We launched jModelTest2 and ProtTest with fast options, since SMS was designed to be fast. Moreover, we selected the options to make these two programs as close as possible to SMS in terms of substitution matrices, RAS modeling, and equilibrium frequency estimation. The results are shown in table 1. To summarize: SMS performs well compared with the exhaustive approach, in most cases finding identical or similar models regarding AIC/BIC values, whereas the gain in computing time is quite substantial. Moreover, SMS tends to select better models than jModelTest2 with the fast “model filtering” option, and is much faster than ProtTest, thanks to tailored heuristics. The gains in AIC/BIC with SMS are partly explained by its set of substitution matrices, notably MtZoa for proteins and TN93 for DNA, which are not available in ProtTest and jModelTest2 (with default options). With proteins, SMS and ProtTest find the same model in most cases; when the models differ (35/500 MSAs), ProtTest finds a better model than SMS in ∼60% of the cases, but the average AIC/BIC difference is in favor of SMS. With DNA, the sets of models are more different than with proteins, and SMS and jModelTest2 differ for 120 and 192 MSAs with AIC and BIC, respectively; when the models differ, SMS finds a better model than jModelTest2 in ∼75% of the cases, and the average AIC/BIC difference is clearly in favor of SMS. The computing time gains of SMS with proteins are quite substantial in practice (supplementary fig. S1, Supplementary Material online). For example, ProtTest requires more than 100 h to process the largest MSA (1,151 taxa and 798 sites), whereas SMS requires ∼20 h using the same computer.

Supplementary Material

Supplementary data are available at Molecular Biology and Evolution online. Click here for additional data file.
  7 in total

1.  New algorithms and methods to estimate maximum-likelihood phylogenies: assessing the performance of PhyML 3.0.

Authors:  Stéphane Guindon; Jean-François Dufayard; Vincent Lefort; Maria Anisimova; Wim Hordijk; Olivier Gascuel
Journal:  Syst Biol       Date:  2010-03-29       Impact factor: 15.683

2.  ProtTest: selection of best-fit models of protein evolution.

Authors:  Federico Abascal; Rafael Zardoya; David Posada
Journal:  Bioinformatics       Date:  2005-01-12       Impact factor: 6.937

3.  An improved general amino acid replacement matrix.

Authors:  Si Quang Le; Olivier Gascuel
Journal:  Mol Biol Evol       Date:  2008-03-26       Impact factor: 16.240

4.  MODELTEST: testing the model of DNA substitution.

Authors:  D Posada; K A Crandall
Journal:  Bioinformatics       Date:  1998       Impact factor: 6.937

5.  BIONJ: an improved version of the NJ algorithm based on a simple model of sequence data.

Authors:  O Gascuel
Journal:  Mol Biol Evol       Date:  1997-07       Impact factor: 16.240

6.  jModelTest 2: more models, new heuristics and parallel computing.

Authors:  Diego Darriba; Guillermo L Taboada; Ramón Doallo; David Posada
Journal:  Nat Methods       Date:  2012-07-30       Impact factor: 28.547

7.  Genome-wide heterogeneity of nucleotide substitution model fit.

Authors:  Leonardo Arbiza; Mateus Patricio; Hernán Dopazo; David Posada
Journal:  Genome Biol Evol       Date:  2011-08-07       Impact factor: 3.416

  7 in total
  477 in total

1.  Lateral Gene Transfer Acts As an Evolutionary Shortcut to Efficient C4 Biochemistry.

Authors:  Chatchawal Phansopa; Luke T Dunning; James D Reid; Pascal-Antoine Christin
Journal:  Mol Biol Evol       Date:  2020-11-01       Impact factor: 16.240

2.  A conserved cell division protein directly regulates FtsZ dynamics in filamentous and unicellular actinobacteria.

Authors:  Félix Ramos-León; Matthew J Bush; Joseph W Sallmen; Govind Chandra; Jake Richardson; Kim C Findlay; Joseph R McCormick; Susan Schlimpert
Journal:  Elife       Date:  2021-03-17       Impact factor: 8.140

3.  Importance of Individual Germination Receptor Subunits in the Cooperative Function between GerA and Ynd.

Authors:  Marina Aspholm; Kristina Borch-Pedersen; Kristin O'Sullivan; Siri Fjellheim; Inger-Helene Bjørnson Aardal; Per Einar Granum; Toril Lindbäck
Journal:  J Bacteriol       Date:  2019-10-04       Impact factor: 3.490

4.  Tentacle Transcriptomes of the Speckled Anemone (Actiniaria: Actiniidae: Oulactis sp.): Venom-Related Components and Their Domain Structure.

Authors:  Michela L Mitchell; Gerry Q Tonkin-Hill; Rodrigo A V Morales; Anthony W Purcell; Anthony T Papenfuss; Raymond S Norton
Journal:  Mar Biotechnol (NY)       Date:  2020-01-24       Impact factor: 3.619

5.  HIV-1 in lymph nodes is maintained by cellular proliferation during antiretroviral therapy.

Authors:  William R McManus; Michael J Bale; Jonathan Spindler; Ann Wiegand; Andrew Musick; Sean C Patro; Michele D Sobolewski; Victoria K Musick; Elizabeth M Anderson; Joshua C Cyktor; Elias K Halvas; Wei Shao; Daria Wells; Xiaolin Wu; Brandon F Keele; Jeffrey M Milush; Rebecca Hoh; John W Mellors; Stephen H Hughes; Steven G Deeks; John M Coffin; Mary F Kearney
Journal:  J Clin Invest       Date:  2019-07-30       Impact factor: 14.808

Review 6.  LEA Proteins and the Evolution of the WHy Domain.

Authors:  Jasmin Mertens; Habibu Aliyu; Don A Cowan
Journal:  Appl Environ Microbiol       Date:  2018-07-17       Impact factor: 4.792

7.  Capture of a Hyena-Specific Retroviral Envelope Gene with Placental Expression Associated in Evolution with the Unique Emergence among Carnivorans of Hemochorial Placentation in Hyaenidae.

Authors:  Mathis Funk; Guillaume Cornelis; Cécile Vernochet; Odile Heidmann; Anne Dupressoir; Alan Conley; Stephen Glickman; Thierry Heidmann
Journal:  J Virol       Date:  2019-02-05       Impact factor: 5.103

8.  Structural studies of geranylgeranylglyceryl phosphate synthase, a prenyltransferase found in thermophilic Euryarchaeota.

Authors:  P N Blank; A A Barnett; T A Ronnebaum; K E Alderfer; B N Gillott; D W Christianson; J A Himmelberger
Journal:  Acta Crystallogr D Struct Biol       Date:  2020-05-29       Impact factor: 7.652

9.  Functional and Genomic Variation between Human-Derived Isolates of Lachnospiraceae Reveals Inter- and Intra-Species Diversity.

Authors:  Matthew T Sorbara; Eric R Littmann; Emily Fontana; Thomas U Moody; Claire E Kohout; Mergim Gjonbalaj; Vincent Eaton; Ruth Seok; Ingrid M Leiner; Eric G Pamer
Journal:  Cell Host Microbe       Date:  2020-06-02       Impact factor: 21.023

10.  Molecular phylogenetic study in Spirocercidae (Nematoda) with description of a new species Spirobakerus sagittalis sp. nov. in wild canid Cerdocyon thous from Brazil.

Authors:  Ana Paula Nascimento Gomes; Michele Maria Dos Santos; Natalie Olifiers; Roberto do Val Vilela; Mayara Guimarães Beltrão; Arnaldo Maldonado Júnior; Raquel de Oliveira Simões
Journal:  Parasitol Res       Date:  2021-03-11       Impact factor: 2.289

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.