<?xml version="1.0" encoding="UTF-8"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:lang="en">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>MEGA11: Molecular Evolutionary Genetics Analysis Version 11</title>
        <author>Koichiro Tamura</author>
        <author>Glen Stecher</author>
        <author>Sudhir Kumar</author>
      </titleStmt>
      <publicationStmt>
        <p>Tag layer of the DHSS Meta-Tagging Project. The article text is reproduced from the
           staged copy named in sourceDesc and is not altered; the tags are held separately in
           standOff so that overlapping and nested spans are preserved.</p>
      </publicationStmt>
      <sourceDesc>
        <bibl>
          <title>MEGA11: Molecular Evolutionary Genetics Analysis Version 11</title>
          <date>2021</date>
          <publisher>Molecular Biology and Evolution</publisher>
          <idno type="DOI">10.1093/molbev/msab120</idno>
          
          <idno type="record">tamura2021-mega11</idno>
          <note type="staged-file">tamura2021-mega11.txt, the project's staged copy</note>
          <note type="text-sha1">b536b1db103882d7a842d83b9e82e3f3caba30f7</note>
          <note type="rights">cc-by</note>
        </bibl>
      </sourceDesc>
    </fileDesc>
    <profileDesc>
      <textClass><keywords><term>bioinformatics</term></keywords></textClass>
      <particDesc>
        <person xml:id="paper"><p>the paper's own words</p></person>
        <person xml:id="tagger"><p>the tag layer; a sentence written by the tagger about the
          paper, always anchored to a quotation but not itself a quotation</p></person>
      </particDesc>
    </profileDesc>
    <revisionDesc>
      <change when="2026-10-06"
              who="build_paper_edition.py">66 spans located by searching the stored text for the quote's exact words, allowing any whitespace between them</change>
    </revisionDesc>
  </teiHeader>
  <standOff>
    <spanGrp type="tags">
      <span xml:id="t0" from="#a1" to="#a2" type="object_of_study" ana="#object_of_study" resp="#paper">the MEGA software suite for computational molecular evolution, and specifically the methods and interface added in version 11 for building timetrees, testing rate autocorrelation and estimating neutral allele probabilities</span>
      <span xml:id="t1" from="#a5" to="#a6" type="research_question" ana="#research_question" resp="#paper">what methodological and technical additions are needed to make MEGA a comprehensive tool for relaxed-clock timetree building and for analysing very large sequence alignments on a desktop</span>
      <span xml:id="t2" from="#a1" to="#a2" type="contribution" ana="#contribution" resp="#paper">node-calibration probability densities and RTDT tip-dating for RelTime, a machine-learning test for rate autocorrelation (CorrTest), Bayesian neutral evolutionary probabilities, a large reduction in maximum-likelihood memory use, and a re-threaded GUI for very large data sets</span>
      <span xml:id="t3" from="#a29" to="#a30" type="claim_type" ana="#claim_type" resp="#paper">method</span>
      <span xml:id="t4" from="#a25" to="#a26" type="phenomenon" ana="#phenomenon" resp="#paper">maximum-likelihood and maximum-parsimony memory requirements fall by roughly the ratio of distinct site configurations to alignment length, because identical site configurations carry the same likelihood value</span>
      <span xml:id="t5" from="#a11" to="#a12" type="method" ana="#method" resp="#paper">system-or-tool-building<term>system-or-tool-building</term></span>
      <span xml:id="t6" from="#a25" to="#a26" type="mechanisms" ana="#mechanisms[0]" resp="#tagger" cert="0.96">Sites whose columns repeat an earlier column are identified once; because identical site configurations have the same likelihood value, the total log-likelihood is the sum of site-configuration log-likelihoods weighted by their frequencies, so memory falls without changing the estimate.<term>site-configuration collapsing</term></span>
      <span xml:id="t7" from="#a9" to="#a10" type="mechanisms" ana="#mechanisms[1]" resp="#tagger" cert="0.94">RelTime confidence intervals are built by combining, at once, the variance from rate heterogeneity among lineages, the variance from substitution-model divergence estimation, and the uncertainty carried by the node-calibration densities.<term>variance-composed confidence intervals</term></span>
      <span xml:id="t8" from="#a27" to="#a28" type="mechanisms" ana="#mechanisms[2]" resp="#tagger" cert="0.95">Long-running file reading, distance-matrix and phylogeny computations were moved off the main GUI thread so the interface stays responsive on very large alignments.<term>background-thread offloading</term></span>
      <span xml:id="t9" from="#a11" to="#a12" type="limitations" ana="#limitations[0]" resp="#tagger" cert="0.95">When only a phylogeny with branch lengths is supplied, the confidence intervals are narrower than they should be, because the variance of branch-length estimation cannot be recovered without the original data set.</span>
      <span xml:id="t10" from="#a27" to="#a28" type="limitations" ana="#limitations[1]" resp="#tagger" cert="0.93">Before the re-threading, the graphical interface became intermittently unresponsive on alignments of the size now produced by resequencing efforts.</span>
      <span xml:id="t11" from="#a3" to="#a4" type="concepts" ana="#concepts[0]" resp="#paper" cert="0.97">MEGA<term>MEGA</term></span>
      <span xml:id="t12" from="#a11" to="#a12" type="concepts" ana="#concepts[1]" resp="#paper" cert="0.96">timetree<term>timetree</term></span>
      <span xml:id="t13" from="#a7" to="#a8" type="concepts" ana="#concepts[2]" resp="#paper" cert="0.96">RelTime<term>RelTime</term></span>
      <span xml:id="t14" from="#a7" to="#a8" type="concepts" ana="#concepts[3]" resp="#paper" cert="0.95">molecular clock<term>molecular clock</term></span>
      <span xml:id="t15" from="#a9" to="#a10" type="concepts" ana="#concepts[4]" resp="#paper" cert="0.95">relaxed-clock<term>relaxed-clock</term></span>
      <span xml:id="t16" from="#a13" to="#a14" type="concepts" ana="#concepts[5]" resp="#paper" cert="0.95">tip-dating<term>tip-dating</term></span>
      <span xml:id="t17" from="#a7" to="#a8" type="concepts" ana="#concepts[6]" resp="#paper" cert="0.94">node-dating<term>node-dating</term></span>
      <span xml:id="t18" from="#a13" to="#a14" type="concepts" ana="#concepts[7]" resp="#paper" cert="0.95">RelTime with Dated Tips<term>RelTime with Dated Tips</term></span>
      <span xml:id="t19" from="#a17" to="#a18" type="concepts" ana="#concepts[8]" resp="#paper" cert="0.95">CorrTest<term>CorrTest</term></span>
      <span xml:id="t20" from="#a19" to="#a20" type="concepts" ana="#concepts[9]" resp="#paper" cert="0.95">evolutionary probabilities<term>evolutionary probabilities</term></span>
      <span xml:id="t21" from="#a19" to="#a20" type="concepts" ana="#concepts[10]" resp="#paper" cert="0.94">neutral theory of molecular evolution<term>neutral theory of molecular evolution</term></span>
      <span xml:id="t22" from="#a3" to="#a4" type="concepts" ana="#concepts[11]" resp="#paper" cert="0.95">maximum likelihood<term>maximum likelihood</term></span>
      <span xml:id="t23" from="#a17" to="#a18" type="concepts" ana="#concepts[12]" resp="#paper" cert="0.95">phylogeny<term>phylogeny</term></span>
      <span xml:id="t24" from="#a7" to="#a8" type="concepts" ana="#concepts[13]" resp="#paper" cert="0.95">divergence times<term>divergence times</term></span>
      <span xml:id="t25" from="#a9" to="#a10" type="concepts" ana="#concepts[14]" resp="#paper" cert="0.94">confidence intervals<term>confidence intervals</term></span>
      <span xml:id="t26" from="#a25" to="#a26" type="concepts" ana="#concepts[15]" resp="#paper" cert="0.95">site configurations<term>site configurations</term></span>
      <span xml:id="t27" from="#a23" to="#a24" type="concepts" ana="#concepts[16]" resp="#paper" cert="0.94">meta tag<term>meta tag</term></span>
      <span xml:id="t28" from="#a5" to="#a6" type="concepts" ana="#concepts[17]" resp="#paper" cert="0.94">MEGA-CC<term>MEGA-CC</term></span>
      <span xml:id="t29" from="#a21" to="#a22" type="concepts" ana="#concepts[18]" resp="#paper" cert="0.92">operational taxonomic units<term>operational taxonomic units</term></span>
      <span xml:id="t30" from="#a15" to="#a16" type="concepts" ana="#concepts[19]" resp="#paper" cert="0.93">Tree Explorer<term>Tree Explorer</term></span>
      <span xml:id="t31" from="#a13" to="#a14" type="unhoused_relations" ana="#unhoused_relations[0]" resp="#tagger" cert="0.94">RelTime with Dated Tips → tip-dating<note>RelTime with Dated Tips is the rapid tip-dating method MEGA implements; the paper names it appositively rather than with a kind cue. — the relation stated: MEGA implements a rapid tip-dating method, RelTime with Dated Tips (RTDT).</note></span>
      <span xml:id="t32" from="#a17" to="#a18" type="unhoused_relations" ana="#unhoused_relations[1]" resp="#tagger" cert="0.93">CorrTest → maximum likelihood<note>CorrTest was developed using machine learning and is offered as a prior-setting aid for Bayesian relaxed-clock analyses, rather than standing in any taxonomic relation to the estimators it informs. — the relation stated: MEGA implements the CorrTest method developed using machine learning.</note></span>
      <span xml:id="t33" from="#a19" to="#a20" type="unhoused_relations" ana="#unhoused_relations[2]" resp="#tagger" cert="0.92">evolutionary probabilities → neutral theory of molecular evolution<note>Evolutionary probabilities turn the neutral theory expectation into a per-allele Bayesian quantity computed on a species timetree. — the relation stated: Under the neutral theory, multispecies alignments are used to estimate neutral evolutionary probabilities of alleles.</note></span>
      <span xml:id="t34" from="#a25" to="#a26" type="unhoused_relations" ana="#unhoused_relations[3]" resp="#tagger" cert="0.94">site configurations → maximum likelihood<note>Collapsing identical site configurations cuts maximum-likelihood memory without harming estimates, because repeated columns carry the same likelihood value. — the relation stated: The memory saving does not harm estimates because identical site configurations have the same likelihood value.</note></span>
      <span xml:id="t35" from="#a23" to="#a24" type="unhoused_relations" ana="#unhoused_relations[4]" resp="#tagger" cert="0.93">meta tag → MEGA<note>Any meta tag can now act as the grouping key throughout MEGA, so grouping became a dynamic function of user-chosen metadata rather than a fixed tag. — the relation stated: A MEGA-wide change lets any meta tag define groups.</note></span>
      <span xml:id="t36" from="#a23" to="#a24" type="senses" ana="#senses[0]" resp="#tagger" cert="0.95">group - in MEGA a fixed taxonomic group tag on sequences, and from version 11 any meta tag (year, country, species) used dynamically as the grouping key, so one word names both a fixed label and a user-chosen partition</span>
      <span xml:id="t37" from="#a19" to="#a20" type="senses" ana="#senses[1]" resp="#tagger" cert="0.94">neutral - neutral in the fitness sense of the neutral theory, versus nonneutral by evolutionary probability; adaptive variants are nonneutral from an evolutionary perspective yet common in the population, so a low EP does not mean a rare allele</span>
      <span xml:id="t38" from="#a7" to="#a8" type="senses" ana="#senses[2]" resp="#tagger" cert="0.93">clock - the molecular clock as an assumption RelTime explicitly does not make, against relaxed-clock and calibrating the clock, where the clock is the object being calibrated rather than assumed</span>
      <span xml:id="t39" from="#a7" to="#a8" type="claim_relations" ana="#claim_relations[0]" resp="#tagger" cert="0.96">builds-on → the RelTime relaxed-clock timetree method introduced in MEGA6<note>note: Version 11 extends the RelTime dating implementation already shipped in MEGA6.</note></span>
      <span xml:id="t40" from="#a9" to="#a10" type="claim_relations" ana="#claim_relations[1]" resp="#tagger" cert="0.95">builds-on → the Tao, Tamura, Mello et al. (2020) confidence-interval approach for calibrated divergence times<note>note: The interval estimator used with node-calibration densities is taken from that work.</note></span>
      <span xml:id="t41" from="#a17" to="#a18" type="claim_relations" ana="#claim_relations[2]" resp="#tagger" cert="0.95">builds-on → the CorrTest machine-learning test of rate autocorrelation (Tao et al. 2019)<note>note: CorrTest is implemented in MEGA rather than newly derived here.</note></span>
      <span xml:id="t42" from="#a19" to="#a20" type="claim_relations" ana="#claim_relations[3]" resp="#tagger" cert="0.94">builds-on → the Bayesian evolutionary-probability method for alleles (Liu et al. 2016; Patel and Kumar 2019)<note>note: MEGA adds an option in which the species timetree is computed automatically by RelTime.</note></span>
      <span xml:id="t43" from="#a3" to="#a4" type="claim_relations" ana="#claim_relations[4]" resp="#tagger" cert="0.94">extends → the MEGA release lineage from its 1993 MS-DOS version to a cross-platform GUI and command-line suite<note>note: Version 11 is the latest step in a 25-year sequence of releases.</note></span>
      <span xml:id="t44" from="#a25" to="#a26" type="content_tags" ana="#content_tags.findings[0]" resp="#tagger" cert="0.96">Maximum-likelihood and maximum-parsimony memory requirements are reduced approximately by the factor m/L, for m distinct site configurations in an alignment of L sites.</span>
      <span xml:id="t45" from="#a25" to="#a26" type="content_tags" ana="#content_tags.findings[1]" resp="#tagger" cert="0.96">Memory use fell by 660 MB (870 MB to 209 MB) on an alignment of 229 birds with 2,728 sites.</span>
      <span xml:id="t46" from="#a25" to="#a26" type="content_tags" ana="#content_tags.findings[2]" resp="#tagger" cert="0.96">Memory use fell by 4.5 GB (6.8 GB to 2.3 GB) on an alignment of 162 mammals with 11,010 sites.</span>
      <span xml:id="t47" from="#a19" to="#a20" type="content_tags" ana="#content_tags.findings[3]" resp="#tagger" cert="0.95">Alleles with an evolutionary probability below 0.05 are nonneutral, while evolutionarily permissible alleles show much higher EPs.</span>
      <span xml:id="t48" from="#a17" to="#a18" type="content_tags" ana="#content_tags.findings[4]" resp="#tagger" cert="0.95">CorrTest returns a CorrScore between 0 and 1 with a P-value; a high CorrScore and low P-value indicate correlated branch rates among lineages.</span>
      <span xml:id="t49" from="#a9" to="#a10" type="content_tags" ana="#content_tags.findings[5]" resp="#tagger" cert="0.94">The implemented interval method produces confidence intervals that contain the correct times with high probability, making them suitable for biological hypothesis testing.</span>
      <span xml:id="t50" from="#a19" to="#a20" type="content_tags" ana="#content_tags.findings[6]" resp="#tagger" cert="0.94">Disease-associated human amino acid variants have EP below 0.05 and are rarely found in the population.</span>
      <span xml:id="t51" from="#a7" to="#a8" type="content_tags" ana="#content_tags.definitions[0]" resp="#tagger" cert="0.96">a relaxed-clock method for constructing evolutionary timetrees that does not assume a molecular clock<term>RelTime</term></span>
      <span xml:id="t52" from="#a13" to="#a14" type="content_tags" ana="#content_tags.definitions[1]" resp="#tagger" cert="0.95">a rapid tip-dating method that produces divergence times and confidence intervals from sequences carrying sampling dates<term>RelTime with Dated Tips</term></span>
      <span xml:id="t53" from="#a17" to="#a18" type="content_tags" ana="#content_tags.definitions[2]" resp="#tagger" cert="0.95">a machine-learning test for autocorrelation of evolutionary rates among branches<term>CorrTest</term></span>
      <span xml:id="t54" from="#a17" to="#a18" type="content_tags" ana="#content_tags.definitions[3]" resp="#tagger" cert="0.95">the output of CorrTest, a score between 0 and 1 reported with a P-value<term>CorrScore</term></span>
      <span xml:id="t55" from="#a19" to="#a20" type="content_tags" ana="#content_tags.definitions[4]" resp="#tagger" cert="0.95">Bayesian probabilities of observing alternative alleles (amino acid residues or nucleotides) in a species, computed from multispecies alignments given a species timetree<term>evolutionary probabilities</term></span>
      <span xml:id="t56" from="#a25" to="#a26" type="content_tags" ana="#content_tags.definitions[5]" resp="#tagger" cert="0.95">sites at which all sequences carry the same bases as at some other site, so the column repeats<term>site configurations</term></span>
      <span xml:id="t57" from="#a5" to="#a6" type="content_tags" ana="#content_tags.definitions[6]" resp="#tagger" cert="0.94">the computational core of MEGA, released as a command-line program for batch processing and workflow integration<term>MEGA-CC</term></span>
      <span xml:id="t58" from="#a19" to="#a20" type="content_tags" ana="#content_tags.definitions[7]" resp="#tagger" cert="0.94">the theory that most differences in molecular sequences across species have little to no impact on fitness<term>neutral theory of molecular evolution</term></span>
      <span xml:id="t59" from="#a21" to="#a22" type="content_tags" ana="#content_tags.definitions[8]" resp="#tagger" cert="0.92">the sequence-level units, alongside sequences, that the group tags apply to<term>operational taxonomic units</term></span>
      <span xml:id="t60" from="#a25" to="#a26" type="content_tags" ana="#content_tags.quantities[0]" resp="#tagger" cert="0.96">660 MB saved (870 MB before, 209 MB after) on 229 birds with 2,728 sites<term>memory saved, 229-bird alignment</term></span>
      <span xml:id="t61" from="#a25" to="#a26" type="content_tags" ana="#content_tags.quantities[1]" resp="#tagger" cert="0.96">4.5 GB saved (6.8 GB before, 2.3 GB after) on 162 mammals with 11,010 sites<term>memory saved, 162-mammal alignment</term></span>
      <span xml:id="t62" from="#a19" to="#a20" type="content_tags" ana="#content_tags.quantities[2]" resp="#tagger" cert="0.95">an evolutionary probability below 0.05 marks an allele nonneutral<term>neutrality threshold</term></span>
      <span xml:id="t63" from="#a17" to="#a18" type="content_tags" ana="#content_tags.quantities[3]" resp="#tagger" cert="0.95">a CorrScore between 0 and 1, reported with a P-value<term>CorrScore range</term></span>
      <span xml:id="t64" from="#a27" to="#a28" type="content_tags" ana="#content_tags.quantities[4]" resp="#tagger" cert="0.95">68,000 genomes of 30,000 bases each were used to assess GUI responsiveness<term>GUI stress-test alignment</term></span>
      <span xml:id="t65" from="#a17" to="#a18" type="content_tags" ana="#content_tags.variables[0]" resp="#tagger" cert="0.94">the CorrTest statistic used to judge whether branch rates are correlated<term>CorrScore</term></span>
    </spanGrp>
  </standOff>
  <text>
    <body>
        <p><anchor xml:id="a0"/> MEGA11: Molecular Evolutionary Genetics Analysis Version 11</p>
        <p>Abstract</p>
        <p><anchor xml:id="a1"/>The Molecular Evolutionary Genetics Analysis (MEGA) software has matured to contain a large collection of methods and tools of computational molecular evolution. Here, we describe new additions that make MEGA a more comprehensive tool for building timetrees of species, pathogens, and gene families using rapid relaxed-clock methods. Methods for estimating divergence times and confidence intervals are implemented to use probability densities for calibration constraints for node-dating and sequence sampling dates for tip-dating analyses. They are supported by new options for tagging sequences with spatiotemporal sampling information, an expanded interactive Node Calibrations Editor , and an extended Tree Explorer to display timetrees. Also added is a Bayesian method for estimating neutral evolutionary probabilities of alleles in a species using multispecies sequence alignments and a machine learning method to test for the autocorrelation of evolutionary rates in phylogenies. The computer memory requirements for the maximum likelihood analysis are reduced significantly through reprogramming, and the graphical user interface has been made more responsive and interactive for very big data sets. These enhancements will improve the user experience, quality of results, and the pace of biological discovery. Natively compiled graphical user interface and command-line versions of MEGA11 are available for Microsoft Windows, Linux, and macOS from www.megasoftware.net .<anchor xml:id="a2"/></p>
        <p>Keywords: software, phylogenetics, timetrees, tip dating, neutrality</p>
        <p>Introduction</p>
        <p><anchor xml:id="a3"/>The Molecular Evolutionary Genetics Analysis (MEGA) software has continuously grown to meet the need for sophisticated evolutionary analysis to discover organismal and genome evolutionary patterns and processes. It was first released in 1993 to offer the statistical methods of molecular evolution through an interactive interface on the Microsoft Disk Operating System (MS-DOS) ( Kumar et al. 1993 ). For more than 25 years, MEGA’s scope and usefulness have grown through the addition of new methods, tools, and interfaces, resulting in modern integrated software for comparative sequence analysis ( Caspermeyer 2018 ). Initially, MEGA contained distance-based and maximum parsimony methods for molecular phylogenetic analysis ( Kumar et al. 1994 ). The data acquisition and integration of major approaches for aligning sequences were introduced to expand MEGA&#x27;s scope ( Kumar et al. 2004 ). Afterward, the maximum likelihood (ML) methods and Bayesian methods were added for molecular evolutionary analyses ( Tamura et al. 2011 ). MEGA now contains methods for selecting the best-fit substitution model(s), estimating evolutionary distances and divergence times, reconstructing phylogenies, predicting ancestral sequences, testing for selection, and diagnosing disease mutations ( Caspermeyer 2018 ).<anchor xml:id="a4"/></p>
        <p>With every new version, MEGA has evolved to harness technological innovations and personal desktops&#x27; computational power. MEGA’s interface evolved from its initial MS-DOS character-based format ( Kumar et al. 1993 ) to a rich graphical user interface (GUI) for Microsoft Windows operating system ( Kumar et al. 2001 ). It was then redesigned to become activity-driven ( Tamura et al. 2011 ), followed by the incorporation of web technologies to ensure a consistent use-and-feel across Microsoft Windows and Linux operating systems ( Kumar et al. 2018 ) and macOS ( Stecher et al. 2020 ). MEGA GUI is now fully cross-platform running natively on Windows, Linux, and macOS.</p>
        <p><anchor xml:id="a5"/>MEGA’s computational core (MEGA-CC) has undergone extensive refactoring, hardening, and expansion over time. It advanced from 16-bit to 32-bit ( Kumar et al. 2001 ), became multithreaded and incorporated multicore parallelization for various calculations ( Tamura et al. 2013 ), and stepped up to 64-bit architecture ( Kumar et al. 2016 , 2018 ). MEGA-CC was released for use as a command-line program to address the growing need for batch processing of many data sets and integration into analysis workflows ( Kumar et al. 2012 ; Stecher et al. 2020 ). With both 32- and 64-bit versions of MEGA currently available for use on the command-line and GUI, MEGA is now a suite of applications that responds to the variety of computing environments currently used by researchers in molecular evolution and phylogenetics. Here, we present key methodological additions and technical improvements in MEGA that comprise version 11.<anchor xml:id="a6"/></p>
        <p>Methodological Additions</p>
        <p>Expansion of Relaxed-Clock Dating Facilities</p>
        <p><anchor xml:id="a7"/>Rapid relaxed-clock methods for estimating divergence times are becoming popular because they are feasible and efficient for large contemporary sequence alignments ( Tao, Tamura, Kumar, et al. 2020 ). MEGA6 first added methods and tools for constructing evolutionary timetrees by implementing the RelTime method, which does not assume a molecular clock ( Tamura et al. 2012 , 2013 ). RelTime is known to perform well and has been used to build timetrees in hundreds of research articles ( Tao, Tamura, Kumar, et al. 2020 ). MEGA11 expands on RelTime dating options by advancing the current implementation and adding new facilities for node-dating and tip-dating needed to build timetrees of pathogens, species, and gene families.<anchor xml:id="a8"/></p>
        <p>Calibrating the Clock Using Probability Densities on Node-Constraints</p>
        <p><anchor xml:id="a9"/>Bayesian relaxed-clock methods have long allowed the use of statistical probability distributions that capture prior knowledge (or belief) about the true divergence times in clock calibration constraints on one or more nodes in the phylogeny. Judicious use of these probability densities can make divergence times more accurate and precise ( Tao, Tamura, Mello, et al. 2020 ). Researchers can now use such probability densities for node calibrations in RelTime estimation of divergence times and confidence intervals (CIs). MEGA implements the Tao, Tamura, Mello, et al. (2020 ) approach that estimates CIs by simultaneously accounting for variance introduced by the heterogeneity of evolutionary rate among lineages, estimation of sequence divergence using substitution models, and probability densities for node-calibration constraints. This method produces CIs that contain correct times with a high probability, making them much more suitable for biological hypothesis testing than other rapid methods ( Tao, Tamura, Kumar, et al. 2020 ; Tao, Tamura, Mello, et al. 2020 ).<anchor xml:id="a10"/></p>
        <p><anchor xml:id="a11"/>For RelTime analyses in MEGA11, ML and distance-based approaches can be used to build a timetree for a given phylogeny and multiple sequence alignment. One may also use only a phylogeny with branch lengths, which extends the usefulness of relaxed-clock methods for phylogenies inferred from nonmolecular data or statistical methodologies not available in MEGA. When a phylogeny with branch lengths is used, the CIs will be narrower because the variance associated with branch length estimation cannot be generated without the original data set used to produce the phylogeny and branch lengths. Nevertheless, these CIs will incorporate variance introduced due to rate variation among lineages and clock calibrations’ uncertainty.<anchor xml:id="a12"/></p>
        <p>A calibration density selector has been added to the Node Calibration Editor that provides an option to select normal, lognormal, uniform, or exponential density ( fig. 1 ). The user can also specify a minimum or a maximum time bound on a node. The calibration text file format has been extended to specify density information and use calibration densities in MEGA-CC. The Node Calibration Editor also includes new functionality to specify a fixed evolutionary rate or a known node time to calibrate the molecular clock. Such assumptions are often used by investigators when independent calibration information is unknown ( Hipsley and Müller 2014 ; Tao, Tamura, Kumar, et al. 2020 ).</p>
        <p>Calibration points for MEGA ’s RelTime method are chosen in the Node Calibration Editor window ( A ), accessed via the Timetree Wizard system (see fig. 2 A ). The Node Calibration Editor displays the phylogeny where individual node calibrations and probability densities can be chosen by clicking the calibration button on the top toolbar for the selected node. A dropdown menu ( B ) with several calibration density types is displayed. The Node Calibration Editor then prompts the user for required distribution parameters, depending on the distribution selected: normal distribution (mean and standard deviation), lognormal (offset, mean and standard deviation), exponential (offset and decay parameter), uniform (min and max) ( C ).</p>
        <p>Tip-Dating for Sequences with Sampling Times</p>
        <p><anchor xml:id="a13"/>MEGA now implements a method to estimate timetrees using sampling dates for molecular sequences. They are often used to infer the origin and diversification of pathogens that generally evolve fast enough to track the evolutionary change over months and years ( Tao, Tamura, Kumar, et al. 2020 ). Tip-dating methods are also useful for analyzing ancient molecular sequences. MEGA implements a rapid tip-dating method, RelTime with Dated Tips (RTDT), that produces divergence times and CIs ( Miura et al. 2018 ). One may use ML or distance-based approaches for a given phylogeny and multiple sequence alignment for tip-dating, or a phylogeny with branch lengths and tip dates can be given as the input.<anchor xml:id="a14"/></p>
        <p>An enhanced Timetree Wizard system ( fig. 2 ) walks the user through many steps needed to configure tip-dating analyses, such as loading sequence and tree files, specifying the outgroups, adding sequence sample times, and selecting the analysis options. Sequence sampling times can be specified in multiple ways. MEGA will automatically extract them on-demand when they are included in the sequence name. Spatiotemporal information can also be presented in the input alignment files as meta tags (see description below) or loaded using specially formatted calibration text files. Once computed, the timetree is displayed in the Tree Explorer that has been extensively revamped and updated ( fig. 3 ). It now has many more formatting tools, including exporting the timetree, individual divergence times, and CI estimates in a tabular format.</p>
        <p>The Tip Dating Wizard ( A ) guides the user through the steps required to set up the RTDT analysis. Once a sequence alignment and/or a tree is provided, the user is prompted to specify the outgroup by selecting a node in the Tree Explorer or specifying outgroup taxa by name (not shown). Next, sample times are specified using the Tip Dates Editor ( B ) with facilities for parsing tip dates ( C ) encoded in taxa names, importing tip dates from a text file, and manually entering the dates. In the next step, the Analysis Preferences dialog (not shown) is displayed, allowing the user to set analysis options to estimate branch lengths used by RTDT. The estimated timetree is displayed in the Tree Explorer (see fig. 3 ).</p>
        <p><anchor xml:id="a15"/>MEGA’s Tree Explorer ( A ) is a feature-rich, versatile viewer of phylogenies that provides many interactive exploration and customization facilities. In MEGA11, the new side toolbar of Tree Explorer makes formatting, rearrangement, and tree exploration tools more accessible and intuitive. Instead of a thin toolbar with nameless buttons, we have opted for a wide toolbar with text labels identifying each tool. The toolbar can be moved to either side of the window, and it can be toggled in and out of view. To organize related tools by groups and accommodate limited vertical space, collapsible panels are used. With the new toolbar, formatting tools previously displayed in external dialogs are readily accessible, and formats are applied instantly instead of after the user closes the external dialog. In addition to the updated toolbar, there are now options for auto-collapsing of nodes containing clusters of taxa belonging to the same group, user-specified cluster size, or by the branch length difference. For very large trees with many similar sequences, this feature can greatly facilitate the visualization of evolutionary events at a glance. An option has been added to export pairwise patristic distances between taxa to a text file for phylogenies and timetrees. For maximum likelihood and maximum parsimony trees where ancestral sequences are present, an option has been added to navigate through sites where a change in the estimated ancestral state differs between the parent and child on the currently selected branch. The tree information box ( B ) has been updated for timetrees to show branch- and node-specific information, such as earliest and latest sample times in the currently selected subtree, days elapsed between the divergence time for a selected node and the latest sample time, the nearest and furthest tip from a selected node, clade size and clade taxa, and spatiotemporal information if available.<anchor xml:id="a16"/></p>
        <p>Detecting Autocorrelation of Evolutionary Rates</p>
        <p><anchor xml:id="a17"/>MEGA now contains a facility for detecting autocorrelation of evolutionary rates among branches, which is important for understanding molecular evolution patterns and useful as a clock rate prior in Bayesian relaxed-clock analyses. MEGA implements the CorrTest method developed using machine learning, which is accurate and computationally efficient ( Tao et al. 2019 ). The CorrTest implementation in MEGA requires a phylogeny with sequence alignment (or branch lengths) and is accessed through an easy-to-use wizard. This test&#x27;s final output is a CorrScore between 0 and 1 and a P -value, where a high CorrScore and low P -value indicates that branch rates among lineages are likely correlated.<anchor xml:id="a18"/></p>
        <p>Calculating Neutral Evolutionary Probabilities</p>
        <p><anchor xml:id="a19"/>According to the neutral theory of molecular evolution, most differences in molecular sequences across species are expected to have little to no impact on fitness ( Kimura 1983 ). Therefore, multispecies sequence alignments have been used to estimate neutral evolutionary probabilities ( EP ) of observing alternative alleles (amino acid residues or nucleotides) in a species, contingent on the given species timetree ( Liu et al. 2016 ). MEGA implements an advanced option for this Bayesian approach in which the species timetree containing relative times is computed automatically by using RelTime ( Patel and Kumar 2019 ). Alleles with EP less than 0.05 are nonneutral, whereas evolutionary permissible (neutral) alleles show much higher EPs. Disease-associated amino acid variants in human populations have EP &lt; 0.05 and are rarely found in the population ( Liu et al. 2016 ). Many human adaptive variants in populations also have low EPs, that is, nonneutral from an evolutionary perspective, but they show high allele frequencies ( Patel et al. 2018 ). Therefore, one may use EP s to diagnose disease mutations and detect candidate adaptive variants. An EP wizard system walks the user through the steps required to set up the analysis. The first sequence in the alignment is used automatically as the focal taxon of interest (one can rearrange sequences in the Sequence Data Explorer ). EP values for all possible bases (4 for nucleotides and 20 for amino acids) at each position in the input sequence alignment are reported in a spreadsheet or text format.<anchor xml:id="a20"/></p>
        <p>Technological Advances</p>
        <p>Although some new user interface elements have already been mentioned above ( figs. 1–3 ), additional technical advances in MEGA11 are as follows.</p>
        <p>Expanded Group Designations</p>
        <p><anchor xml:id="a21"/>MEGA has long supported a “group” tag for sequences and other operational taxonomic units (OTUs). Using the sequence “group” tags, MEGA offered a group-wise exploration of input data, selection of data subsets, and computational analyses ( Kumar 2001 ). Support for two new tags (“population” and “species”) was added in MEGA7, with the species tags used to mark duplicate genes in multigene family phylogenies ( Kumar et al. 2016 ). In MEGA11, sequences can now be tagged to provide information on the continent, country, city, year, month, day, and time. This spatiotemporal information can be used in tip-dating analyses.<anchor xml:id="a22"/></p>
        <p><anchor xml:id="a23"/>In MEGA11, we have made a MEGA-wide change to use any meta tag to define groups. For example, if one selects the “Year” meta tag for use as a group, they could estimate average diversity within and between sequences sampled in different years ( Distance menu). In the Sequence Data Explorer , one can select/unselect sequences of certain years for phylogenetic analyses. Also, the display of years would be automatically enabled in the Tree Explorer , and the feature to collapse sequence clusters will be done by years. Additionally, sequences can be sorted based on years in all the input data and result explorer displays. Therefore, a dynamic designation of groups based on the desired meta tag will enable data exploration and analysis more efficiently.<anchor xml:id="a24"/></p>
        <p>Memory Efficient ML Analyses</p>
        <p><anchor xml:id="a25"/>ML methods are widely used for phylogenetic inference but place high demands on computer memory, becoming increasingly burdensome for bigger sequence alignments analyzed these days. In MEGA11, we have now completed a long-overdue refactoring of ML calculations by adding a step to identify common site configurations, that is, sites where all sequences have the same bases as at some other sites, to utilize computer memory more efficiently. The memory requirements of Maximum Likelihood and Maximum parsimony analysis are reduced (approximately) by the factor of m / L when there are m distinct site configurations in a sequence alignment containing L sites. The memory saving can be substantial for multigene and genome-scale alignments. For example, the memory saving was 660 MB (209 vs. 870 MB) for a sequence alignment of 229 birds with 2,728 sites ( Claramunt and Cracraft 2015 ) and 4.5 GB (2.3 vs. 6.8 GB) for an alignment of 162 mammals with 11,010 sites ( Meredith et al. 2011 ). This memory saving does not have any detrimental impact on phylogenetic estimates and computational times because identical site configurations have the same likelihood value. The total log-likelihood is simply the sum of site-configuration log-likelihoods weighted by their frequencies. However, this upgrade required refactoring many different parts of MEGA’s calculation engine, including functions for phylogeny construction and model selection.<anchor xml:id="a26"/></p>
        <p>Enhanced GUI for Exploring Large Data Sets</p>
        <p><anchor xml:id="a27"/>Using a large multiple sequence alignment containing 68,000 genomes and 30,000 bases each, we assessed MEGA GUI&#x27;s responsiveness during input data file reading, execution of functions in the Sequence Data Explorer , estimation of pairwise distances, and building of distance-based phylogenies. We found the GUI to become intermittently unresponsive for such large data sets, which are now common due to resequencing and population sequencing efforts. Consequently, we have moved all potentially long-running operations out of the main GUI thread to background threads in a major overhaul of the source code. Now, large input data files are read rapidly, and calculations of pairwise distance matrices, selection tests, and phylogeny construction for distance-based methods are performed in a background thread. The Sequence Data Explorer has been reprogrammed to enable more efficient highlighting of variable sites, and navigation of the sequence alignment has been improved. Also added are options to automatically label sites based on attributes, which annotates sites by providing a one-character label and then using desired labeled sites to subset data for any molecular phylogenetic analysis desired.<anchor xml:id="a28"/></p>
        <p>Conclusions</p>
        <p><anchor xml:id="a29"/>Version 11 of MEGA adds many methods and tools to keep pace with researchers&#x27; growing needs. The addition of evolutionary dating methods in MEGA make it easier to estimate species and strain divergence times by using more informative node calibrations and sampling times. The new CorrTest and EP calculations will enable a more robust evaluation of assumptions about biological characteristics of molecular data. The reduction in memory needs of ML-based computations will allow users to analyze much larger data sets than before. The refactoring of distance-based methods’ calculation to run in threads independent of the main graphical interface and other GUI enhancements greatly improve MEGA usability for very large data sets.<anchor xml:id="a30"/></p>
        <p>Acknowledgments</p>
        <p>We thank our laboratory members and many beta testers for providing invaluable feedback and bug reports. This study was supported in part by research grants from the National Institutes of Health (R35GM139504-01), National Science Foundation (DEB-2034228, DBI-1661218), and Japan Society for the Promotion of Science (JSPS) grants-in-aid for scientific research (DB5) to K.T.</p>
        <p>Data Availability</p>
        <p>The software and its source code are available from www.megasoftware.net .</p>
        <p>References</p>
        <p>Associated Data</p>
        <p>Data Availability Statement</p>
        <p>The software and its source code are available from www.megasoftware.net .<anchor xml:id="a31"/></p>
    </body>
  </text>
</TEI>
