Skip to content
naulon

No retraction, correction or concern found when last checked on Oct 17, 2026.

New Methods to Calculate Concordance Factors for Phylogenomic Datasets

Bui Quang Minh, Matthew W Hahn, Robert Lanfear

Molecular Biology and Evolution · 2020 · CC BY

doi:10.1101/487801

Abstract

We implement two measures for quantifying genealogical concordance in phylogenomic data sets: the gene concordance factor (gCF) and the novel site concordance factor (sCF). For every branch of a reference tree, gCF is defined as the percentage of “decisive” gene trees containing that branch. This measure is already in wide usage, but here we introduce a package that calculates it while accounting for variable taxon coverage among gene trees. sCF is a new measure defined as the percentage of decisive sites supporting a branch in the reference tree. gCF and sCF complement classical measures of branch support in phylogenetics by providing a full description of underlying disagreement among loci and sites. An easy to use implementation and tutorial is freely available in the IQ-TREE software package (http://www.iqtree.org/doc/Concordance-Factor, last accessed May 13, 2020).

Full text

From PubMed Central, U.S. National Library of Medicine, as current on Oct 17, 2026. Paragraph numbers are ours, so an answer can point at one.

Measures of branch support such as the bootstrap and Bayesian posterior probability are important for making robust inferences from phylogenetic trees. However, although these measures provide useful information about the statistical support for a given branch, neither captures the topological variation present in the underlying data.

A complementary approach involves calculating the fraction of loci consistent with a particular branch, thus capturing underlying agreement and disagreement in the data. Various approaches have been suggested, including the gene concordance factor (gCF)—sometimes also referred to as the “gene support frequency”—and internode certainty, with the former being the most widely used. The gCF describes for each branch in a reference tree the proportion of inferred single-locus trees that contain that branch. Although intuitive, the gCF suffers from three limitations: first, there are few software implementations; second, although issues with incomplete taxon sampling of gene trees have been addressed by some authors, these fixes are not available in implementations that allow for the calculation of gCF values; and third, low gCF values are hard to interpret because they may result from strongly supported discordance among individual gene trees or weak phylogenetic signal in individual loci.

Here, we resolve these issues by implementing the calculation of gCF while accounting for unequal taxon sampling in the popular IQ-TREE package, and by introducing the site concordance factor (sCF), a measure that estimates concordance at the level of individual sites. We argue and show by detailed analyses of ten empirical datasets that concordance factors complement commonly used metrics like the bootstrap by providing additional information and insights about topological variation.

Gene Concordance Factor

For a given unrooted bifurcating reference tree, (e.g., an estimate of the species tree), and a set of unrooted bifurcating input trees, S = (e.g., individual gene trees), we can calculate the gCF for every internal branch in. Each gene tree,, must contain a subset of the taxa in but need not include all of the same taxa.

Each internal branch of is associated with four clades of representing four taxon subsets,, such that the bipartition corresponds to the branch (fig. 1). The reference tree contains branch by definition, but branch may or may not be present in a gene tree of the same taxa (or a subset of them). Let be the set of taxa in that are also present in. We say is decisive for if are nonempty (we use “decisive” in the sense of, but note for clarity that use this term in a different way): that is, a gene tree is decisive as long as it contains at least one of the taxa in each of the taxon subsets. A decisive gene tree can potentially contain the branch. We say is concordant with if is decisive for and the bipartition corresponds to a branch in. In other words, a gene tree is concordant with the reference tree if it could have contained branch (i.e., it is decisive) and it does contain branch. The gCF for branch is now defined as

In other words, the gCF is the proportion of input trees decisive for that are concordant with; that is, the proportion of all input trees that could have contained that do contain. We note that gCF is also used to calculate internode certainty and related measures.

To further understand concordant and discordant gene trees, we categorize the discordant input trees (i.e., those that do not contain branch x) into three groups and calculate three discordance factors: gDF1, gDF2, and gDFP. The first two groups are obtained by applying a nearest neighbor interchange around branch to result in two alternative topologies (fig. 1) with two branches not appearing in: and. Accordingly, we then calculate discordance factors as and. Some input trees may not contain any of the branches x, y, or z. This will occur for input trees in which one or more of clades A, B, C, or D are not monophyletic. We define the proportion of decisive input trees that fall into this category as, where the “P” stands for “paraphyly.” The four proportions,,, and will sum to 1, as every decisive input tree must be included in one of the four categories.

Site Concordance Factor

To calculate the sCF for branch, we randomly sample quartets of taxa, where are in, respectively. For each quartet, we examine the subalignment of taxa. For every site in this alignment, we call decisive for if the characters are all present and is parsimony informative when restricted to this quartet of taxa. Decisive sites can be concordant or discordant with. We say that site is concordant with if (i.e., supports the bipartition ). The concordance factor for is defined as

Since many such quartets exist around branch (when sampling individual tips from within A, B, C, and D), we define sCF as the mean over m random quartets:

Thus, the sCF is the average proportion of sites decisive for that are concordant with. In effect, the sCF is a measure of concordance for sites that is directly comparable to the measure of concordance for single-locus trees provided by the gCF. Unlike related quartet approaches that are based on maximum likelihood (ML) tree inference and that calculate discordance at the level of the whole alignment, the sCF uses parsimony criteria to calculate discordance at the level of individual sites. We note that the sCF is closely related to the values derived from spectral analysis. Spectral analysis is a tree-independent method of investigating phylogenetic signal. In the simple case of binary data, such that each site corresponds to a bipartition of taxa, the spectral support for a single branch counts the number of sites that correspond to the bipartition defined by that branch. In the case of binary data, this is the same as the value that we define above. The sCF in this case differs from the spectral support insofar as it is calculated by averaging over a large set of values calculated by repeatedly subsampling quartets of taxa from an alignment.

Similarly to gene discordance factors, we also define the site discordance factors and. There is no sDFP category, because unlike the gDF values, every decisive site must contribute to one of the three proportions,, or; any quartet of taxa resolves into exactly three tree topologies shown in figure 1. In other words, the sum of,, and will always be 1.

gCF and sCF for Rooted Trees

The above definitions of gCF and sCF apply only to unrooted trees. However, in the case that users have a rooted reference tree as well as rooted gene trees, we can extend the calculation of the gCF to allow us to calculate different gCF values on either side of the root. To do this we first add a virtual root node into the rooted reference tree, resulting in an unrooted tree. Similarly, we convert the rooted gene trees into unrooted trees by adding the same virtual root. This allows us to then follow the same procedure as above for calculating gCF values on unrooted trees, with the sole difference that the output is a rooted instead of an unrooted reference tree. In this case, it is possible to calculate gCF values on a rooted reference tree where the gCF values on either side of the root may differ. In all other cases (i.e., for sCF values, and if either the reference tree or the gene trees are unrooted), it is not possible to calculate different concordance factors on either side of the root.

Implementation in IQ-TREE 2

We provide two new options, –gcf and –scf, in IQ-TREE version 2 to compute gCF and sCF, respectively. A tutorial for how to use these options is provided at http://www.iqtree.org/doc/Concordance-Factor (last accessed May 13, 2020). Both options can be combined in a single run, which will calculate the gCF and sCF for every branch in the input reference tree. Although sCFs can be calculated on any alignment, the calculation of gCFs requires individual gene trees. We have therefore implemented a convenient option, -S, to specify a partition file or a directory of single-locus alignments in which IQ-TREE will infer separate trees for each partition or alignment.

IQ-TREE provides a suite of output files to assist users in understanding and investigating gCF and sCF values. It provides tree files that can be viewed in most tree viewers, which contain information on both the proportional data (gCF, gDF1, gDF2, and gDFP; sCF, sDF1, and sDF2) and their corresponding absolute count data (gCF_N, gDF1_N, gDF2_N, and gDFP_N; sCF_N, sDF1_N, and sDF2_N), as well as the number of decisive genes and sites for each branch (gN and sN, respectively). It also provides a tree file that combines information on the gCF, sCF, and any bootstrap values that have been calculated (e.g., fig. 2). In addition to this, IQ-TREE provides a “.cf.stat” file that contains all 16 concordance and discordance values listed above for every branch in the reference tree in a machine-readable tabulated format, and through the –cf-verbose option, it provides tabulated files that detail for every branch in the reference tree whether each gene tree was concordant with that branch (the “.cf.stat_tree” file produced from a –gcf analysis), and the average number of sites in each locus that was concordant with that branch (the “.cf.stat_loci” file produced from a –scf analysis). Together these output files provide both a convenient overview of the data, and the opportunity to understand in much more detail the extent to which each locus is concordant or discordant with the reference tree.

Application to Empirical Data Sets

To demonstrate the use of gCF and sCF values, we first analyzed a dataset containing 3,220 ultra-conserved elements (UCEs) from lizards, totaling 1,301,107 bp for 43 species. To do this, we estimated a concatenated ML tree, 3,220 UCE trees, and the gCF, sCF, and bootstrap values with IQ-TREE (fig. 2).

To investigate the relationships between dataset size, concordance factors, and bootstrap values, we also analyzed a collection of nine additional empirical phylogenomic datasets that represent a range of clades and data types (table 1). For each dataset, we performed 20 analyses across a 20-fold range of dataset sizes: the first analysis included ten randomly selected loci from the complete dataset, and each subsequent analysis added ten more randomly selected loci up to a maximum of 200 loci. For each such analysis, we calculated the gCF, sCF, and bootstrap values for every branch of the concatenated ML tree estimated from the 200-locus dataset, with the same approach as above. For the lizard dataset, we calculated both standard bootstrap (StdBoot) values and ultrafast bootstrap (UFBoot) values. As expected, we observed that StdBoot and UFBoot values were very similar (fig. 3B and supplementary fig. 8D, Supplementary Material online); therefore, because of the high computational cost of calculating StdBoot values, we calculated only UFBoot values for the remaining nine datasets. Since the results of all ten analyses are very similar, we focus here on the lizard dataset and present the results for the other nine datasets in the supplementary figures 1–10, Supplementary Material online.

Reproducible analyses are provided in the Supplementary Material online available at https://doi.org/10.5281/zenodo.1949287.

Interpretation of gCF and sCF Values

Our analyses highlight a number of important differences between concordance factors and bootstrap values. First, concordance factors of any type tend to be much lower than bootstrap values or other measures of statistical support for branches in the species tree (e.g., fig. 3 and supplementary figs. 1–10, Supplementary Material online). This is because bootstrap values measure the sampling variance in support of a focal branch, whereas gCF and sCF values measure the underlying variance in support of that branch at the gene- and site-level, respectively. In other words, resampled datasets may always return the same tree (i.e., 100% bootstrap support), even though incomplete lineage sorting or other processes that lead to genealogical discordance are at work (e.g., gCF and sCF values ≪100%). Of particular note is that a very high bootstrap value (e.g., of 100%) does not predict or require a similarly high concordance factor. For example, although all but one bootstrap value on the tree in figure 1 is 100%, the smallest gCF and sCF values are 4.5% and 33.2%, respectively. This pattern is repeated across all 200 analyses we performed on all ten empirical datasets (fig. 3 and supplementary figs. 1–10, Supplementary Material online).

Because they measure different things, concordance factors and bootstrap values are affected very differently by the addition of loci to a dataset (fig. 3 and supplementary figs. 1–10). In all of the ten empirical datasets that we analyzed, adding loci to the dataset tended to increase the bootstrap values of individual branches (e.g., fig. 3A, see also supplementary figures, Supplementary Material online) and concomitantly the proportion of branches with a bootstrap value of 100% (fig. 3B, see also Supplementary Material online). This is expected: the bootstrap is effectively measuring the standard error of the mean in a dataset (where the mean represents the tree inferred from the full dataset), and this standard error will go down with more samples. The same is not true of concordance factors, which display some estimation error when datasets are small (e.g., 30 or fewer loci in fig. 3), but subsequently remain almost completely insensitive to the addition of loci to the dataset (fig. 3 and supplementary figs. 1–10, Supplementary Material online). This is also expected: any measure of the underlying variance (or standard deviation) in a distribution will have some estimation error when the sample size is small but should not change monotonically as the sample size increases. These differences highlight the complementary information that can be gained from calculating both bootstrap values and concordance factors for individual branches. One measure is not better or worse than the other, rather, concordance factors provide useful information that bootstraps do not, and vice versa. Note that bootstrap values or posterior probabilities calculated by resampling gene trees (e.g., ) have the same behavior as the site-wise bootstrap carried out here and are also not equivalent to concordance factors.

In principle, both gCF and sCF values can range from 0% (no genes/sites are concordant with the focal branch) to 100% (all genes/sites are concordant with the focal branch). In practice however, as exemplified in figure 3 and supplementary figures 1–10, Supplementary Material online, empirical gCF values tend to range from 0% to 100%, whereas empirical sCF values are rarely lower than 33% (represented by the dashed line in the sCF panel of fig. 3A). This is due to an important underlying difference in the way that the two values are calculated. The sCF is calculated from quartets, so a single site can only support one of three topologies (fig. 1). Because of this, if there is no consistent information in an alignment (e.g., if a long alignment were generated at random) we expect a roughly equal proportion of sites supporting each of the three trees, leading to an sCF value of ∼33% (for the same reason, sCF values for very long branches will approach 33% due to saturation). The same is not true for gCF values, because a gene tree can support not only the three possible relationships shown in figure 1 but also any other relationship in which one or more of clades A, B, C, or D are not monophyletic. The higher the number of gene trees in this latter group, the closer the gCF value will be to 0%. Because of this, we should expect gCF values to be particularly low when gene trees are estimated from alignments with limited information or where branch x is extremely short; in such cases either technical or biological processes may increase the proportion of gene trees that fail to recover the monophyly of clades A, B, C, or D found in the reference tree. Missing data may also impact gCF and sCF values, however, the relationship here is less clear. The requirement that a gene tree or a site is decisive (i.e., could in principle contain branch x, see above) should limit the impact of missing data on gCF and sCF estimates. Nevertheless, since phylogenetic estimates are known to worsen as the proportion of missing data increases (e.g.,; ), it is plausible that concordance factors may systematically decrease as the proportion of missing data increases.

Finally, cases where the sCF value is lower than 33% may be of particular interest. These cases are, by definition, those in which maximum parsimony (MP) would favor a different resolution of a split found in the reference tree. If the reference tree was calculated from any method other than MP, there are at least two explanations for an sCF value lower than 33%. First, the branch of interest may be in an area of parameter space in which high levels of incomplete lineage sorting are known to mislead concatenated ML analyses but not MP analyses. Misleading reference trees may therefore be produced by either concatenated ML of the entire dataset or gene tree methods that use shorter sets of concatenated loci as their input (because most protein-coding genes are themselves made up of multiple topologies). Second, and more generally, there are multiple reasons why likelihood, Bayesian, or gene tree methods for producing a species tree will differ from MP resolutions. For instance, the branch of interest may be unduly affected by a small number of highly influential sites in a concatenated ML analysis. In this case, the influential sites can have an outsized influence on the ML resolution of a split because they have extreme differences in likelihood between different resolutions of that split. Because MP does not account for likelihood differences—it instead weights all sites equally—MP analyses remain unaffected by such outliers. Thus, cases in which the sCF is much lower than 33% may merit further investigation.

We hope that the user-friendly implementation of gCF and sCF in IQ-TREE will assist researchers in gaining additional insights into their phylogenetic reconstructions. In particular, we encourage phylogeneticists to calculate both bootstrap values and concordance factors for the branches on their trees, as the two measures provide complementary information that may help to improve the accuracy of our interpretations of phylogenetic reconstructions. Indeed, the use of concordance factors may help to alleviate the commonly cited problem in phylogenomics that bootstrap values provide relatively little information when they are all 100%.

Data Availability

Data are available at https://doi.org/10.5281/zenodo.1949287.

References 34

  1. 1.

    Ané C, Larget B, Baum DA, Smith SD, Rokas A. 2007 Bayesian estimation of concordance among gene trees. Mol Biol Evol. 24(2):412–426.

    Not in our library10.1093/molbev/msl170

  2. 2.

    Ballesteros JA, Sharma PP. 2019 A critical appraisal of the placement of Xiphosura (Chelicerata) with account of known sources of phylogenetic error. Syst Biol. 68(6):896–917.

    Not in our library10.1093/sysbio/syz011

  3. 3.

    Baum DA. 2007 Concordance trees, concordance factors, and the exploration of reticulate genealogy. Taxon56(2):417–426.

    Not in our library

  4. 4.

    Branstetter MG, Danforth BN, Pitts JP, Faircloth BC, Ward PS, Buffington ML, Gates MW, Kula RR, Brady SG. 2017 Phylogenomic insights into the evolution of stinging wasps and the origins of ants and bees. Curr Biol. 27(7):1019–1025.

    Not in our library10.1016/j.cub.2017.03.027

  5. 5.

    Cannon JT, Vellutini BC, Smith J 3rd, Ronquist F, Jondelius U, Hejnol A. 2016 Xenacoelomorpha is the sister group to Nephrozoa. Nature530(7588):89–93.

    Not in our library10.1038/nature16520

  6. 6.

    Charleston MA. 1998 Spectrum: spectral analysis of phylogenetic data. Bioinformatics14(1):98–99.

    Not in our library10.1093/bioinformatics/14.1.98

  7. 7.

    Dell’Ampio E, Meusemann K, Szucsich NU, Peters RS, Meyer B, Borner J, Petersen M, Aberer AJ, Stamatakis A, Walzl MG, et al 2014 Decisive data sets in phylogenomics: lessons from studies on the phylogenetic relationships of primarily wingless insects. Mol Biol Evol. 31(1):239–249.

    Not in our library10.1093/molbev/mst196

  8. 8.

    Felsenstein J. 1985 Confidence limits on phylogenies: an approach using the bootstrap. Evolution39(4):783–791.

    Not in our library10.1111/j.1558-5646.1985.tb00420.x

  9. 9.

    Gadagkar SR, Rosenberg MS, Kumar S. 2005 Inferring species phylogenies from multiple genes: concatenated sequence tree versus consensus gene tree. J Exp Zool Part Zool. 304b(1):64–74.

    Not in our library10.1002/jez.b.21026

  10. 10.

    Hendy MD, Penny D. 1993 Spectral analysis of phylogenetic data. J Classif. 10(1):5–24.

    Not in our library

  11. 11.

    Hoang DT, Chernomor O, von Haeseler A, Minh BQ, Le SV. 2018 UFBoot2: improving the ultrafast bootstrap approximation. Mol Biol Evol. 35(2):518–522.

    Not in our library10.1093/molbev/msx281

  12. 12.

    Jarvis ED, Mirarab S, Aberer AJ, Li B, Houde P, Li C, Ho SY, Faircloth BC, Nabholz B, Howard JT, et al 2015 Phylogenomic analyses data of the avian phylogenomics project. Gigascience4(1):4.

    Not in our library10.1186/s13742-014-0038-1

  13. 13.

    Kobert K, Salichos L, Rokas A, Stamatakis A. 2016 Computing the internode certainty and related measures from partial gene trees. Mol Biol Evol. 33(6):1606–1617.

    Not in our library10.1093/molbev/msw040

  14. 14.

    Kubatko LS, Degnan JH. 2007 Inconsistency of phylogenetic estimates from concatenated data under coalescence. Syst Biol. 56(1):17–24.

    Not in our library10.1080/10635150601146041

  15. 15.

    Kumar S, Filipski AJ, Battistuzzi FU, Pond SLK, Tamura K. 2012 Statistics and truth in phylogenomics. Mol Biol Evol. 29(2):457–472.

    Not in our library10.1093/molbev/msr202

  16. 16.

    Mendes FK, Hahn MW. 2018 Why concatenation fails near the anomaly zone. Syst Biol. 67(1):158–169.

    Not in our library10.1093/sysbio/syx063

  17. 17.

    Minh BQ, Nguyen MAT, von Haeseler A. 2013 Ultrafast approximation for phylogenetic bootstrap. Mol Biol Evol. 30(5):1188–1195.

    Not in our library10.1093/molbev/mst024

  18. 18.
  19. 19.

    Misof B, Liu S, Meusemann K, Peters RS, Donath A, Mayer C, Frandsen PB, Ware J, Flouri T, Beutel RG, et al 2014 Phylogenomics resolves the timing and pattern of insect evolution. Science346(6210):763–767.

    Not in our library10.1126/science.1257570

  20. 20.

    Nguyen LT, Schmidt HA, von Haeseler A, Minh BQ. 2015 IQ-TREE: a fast and effective stochastic algorithm for estimating maximum-likelihood phylogenies. Mol Biol Evol. 32(1):268–274.

    Not in our library10.1093/molbev/msu300

  21. 21.

    Pease JB, Brown JW, Walker JF, Hinchliff CE, Smith SA. 2018 Quartet Sampling distinguishes lack of support from conflicting support in the green plant tree of life. Am J Bot. 105(3):385–403.

    Not in our library10.1002/ajb2.1016

  22. 22.

    Ran JH, Shen TT, Wang MM, Wang XQ. 2018 Phylogenomics resolves the deep phylogeny of seed plants and indicates partial convergent or homoplastic evolution between Gnetales and angiosperms. Proc R Soc B Biol Sci. 285(1881):20181012.

    Not in our library10.1098/rspb.2018.1012

  23. 23.

    Rodriguez ZB, Perkins SL, Austin CC. 2018 Multiple origins of green blood in New Guinea lizards. Sci Adv. 4(5):eaao5017.

    Not in our library10.1126/sciadv.aao5017

  24. 24.

    Ronquist F, Huelsenbeck JP. 2003 MrBayes 3: Bayesian phylogenetic inference under mixed models. Bioinformatics19(12):1572–1574.

    Not in our library10.1093/bioinformatics/btg180

  25. 25.

    Roure B, Baurain D, Philippe H. 2013 Impact of missing data on phylogenies inferred from empirical phylogenomic data sets. Mol Biol Evol. 30(1):197–214.

    Not in our library10.1093/molbev/mss208

  26. 26.

    Salichos L, Rokas A. 2013 Inferring ancient divergences requires genes with strong phylogenetic signals. Nature497(7449):327–331.

    Not in our library10.1038/nature12130

  27. 27.

    Salichos L, Stamatakis A, Rokas A. 2014 Novel information theory-based measures for quantifying incongruence among phylogenetic trees. Mol Biol Evol. 31(5):1261–1271.

    Not in our library10.1093/molbev/msu061

  28. 28.

    Sanderson MJ, McMahon MM, Steel M. 2011 Terraces in phylogenetic tree space. Science333(6041):448–450.

    Not in our library10.1126/science.1206357

  29. 29.
  30. 30.

    Shen XX, Hittinger CT, Rokas A. 2017 Contentious relationships in phylogenomic studies can be driven by a handful of genes. Nat Ecol Evol. 1(5):126.

    Not in our library10.1038/s41559-017-0126

  31. 31.
  32. 32.

    Strimmer K, von Haeseler A. 1997 Likelihood-mapping: a simple method to visualize phylogenetic content of a sequence alignment. Proc Natl Acad Sci U S A. 94(13):6815–6819.

    Not in our library10.1073/pnas.94.13.6815

  33. 33.

    Wu S, Edwards S, Liu L. 2018 Genome-scale DNA sequence data and the evolutionary history of placental mammals. Data Brief18:1972–1975.

    Not in our library10.1016/j.dib.2018.04.094

  34. 34.

    XI Z, Liu L, Davis CC. 2016 The impact of missing data on species tree estimation. Mol Biol Evol. 33(3):838–860.

    Not in our library10.1093/molbev/msv266

Cited by papers we hold 6

Reads

Read by people on this page

None yet.

Checked or read by AI through naulon

None yet.

A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.

Are you an author?

Is this your paper?

Claim it to add your note and be paid when agents cite it. Free.