[Paper Review] kdetrees: Nonparametric Estimation of Phylogenetic Tree Distributions
kdetrees proposes a nonparametric kernel density estimation method for phylogenetic tree distributions to identify outlier gene trees arising from processes like horizontal transfer, paralogy, or alignment errors. It achieves quadratic computational complexity, outperforms prior methods in efficiency with minimal accuracy loss, and successfully detects biologically significant outliers in Apicomplexa and Epichloë datasets.
Motivation: While the majority of gene histories found in a clade of organisms are expected to be generated by a common process (e.g. the coalescent process), it is well-known that numerous other coexisting processes (e.g. horizontal gene transfers, gene duplication and subsequent neofunctionalization) will cause some genes to exhibit a history quite distinct from those of the majority of genes. Such "outlying" gene trees are considered to be biologically interesting and identifying these genes has become an important problem in phylogenetics. Results: We propose and implement KDETREES, a nonparametric method of estimating distributions of phylogenetic trees, with the goal of identifying trees which are significantly different from the rest of the trees in the sample. Our method compares favorably with a similar recently-published method, featuring an improvement of one polynomial order of computational complexity (to quadratic in the number of trees analyzed), with simulation studies suggesting only a small penalty to classification accuracy. Application of KDETREES to a set of Apicomplexa genes identified several unreliable sequence alignments which had escaped previous detection, as well as a gene independently reported as a possible case of horizontal gene transfer. We also analyze a set of Epichloe genes, fungi symbiotic with grasses, successfully identifying a contrived instance of paralogy. Availability: Our method for estimating tree distributions and identifying outlying trees is implemented as the R package KDETREES, and is available for download from CRAN.
Motivation & Objective
- To develop a nonparametric method for estimating the distribution of phylogenetic trees without assuming a specific parametric form.
- To identify gene trees that significantly deviate from the majority distribution, indicating potential biological anomalies such as horizontal gene transfer or paralogy.
- To improve computational efficiency over existing methods, achieving quadratic complexity instead of higher-order polynomial complexity.
- To provide a robust tool for detecting bioinformatic artifacts like misalignments, misannotations, or incorrect tree reconstructions in phylogenomic datasets.
- To support scalable, genome-wide phylogenetic analysis by enabling efficient outlier detection in large sets of gene trees.
Proposed method
- The method uses kernel density estimation (KDE) on the space of phylogenetic trees, with a kernel function defined by tree topology and branch length similarity.
- A tree-specific kernel is constructed based on the Robinson-Foulds distance and branch length differences, enabling nonparametric estimation of the underlying tree distribution.
- Outlier detection is performed by ranking trees according to their estimated density; lower density indicates higher deviation from the main distribution.
- The algorithm scales quadratically with the number of trees, making it suitable for large phylogenomic datasets.
- The method is implemented as an R package on CRAN, supporting integration into standard phylogenetic pipelines.
- It can be applied to posterior samples of gene trees from Bayesian inference, avoiding reliance on single-point estimates.
Experimental results
Research questions
- RQ1Can a nonparametric method effectively identify outlier gene trees without assuming a specific parametric model of tree distribution?
- RQ2How does the computational complexity of the proposed method compare to existing approaches, and what is the trade-off in classification accuracy?
- RQ3Can kdetrees detect biologically meaningful outliers such as those caused by horizontal gene transfer or paralogy in real genomic datasets?
- RQ4To what extent can kdetrees identify technical artifacts like misaligned sequences or incorrect annotations in phylogenetic analyses?
- RQ5Can the method be efficiently scaled to genome-wide phylogenomic analyses involving thousands of gene trees?
Key findings
- kdetrees successfully identified the Set8 gene as the furthest outlier in the Apicomplexa dataset, which was later confirmed as a potential horizontal transfer case.
- The method detected several unreliable sequence alignments in the Apicomplexa dataset that had previously escaped detection by standard methods.
- In the Epichloë dataset, kdetrees correctly identified the paralogous CysD/LolC alignment as an outlier, validating its ability to detect paralogy-related discordance.
- Simulation studies showed that kdetrees maintains high classification accuracy with only a small penalty compared to parametric methods, despite its nonparametric nature.
- The method achieved quadratic computational complexity, significantly improving on the higher-order polynomial complexity of prior approaches.
- kdetrees demonstrated utility as a data curation tool by highlighting sequences and alignments requiring further biological or technical review.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.