Published June 29, 2023 | Version v1

Machine learning can be as good as maximum likelihood when reconstructing phylogenetic trees and determining the best evolutionary model on four taxon alignments

  • 1. University of Bonn

Description

Machine learning can be as good as maximum likelihood when reconstructing phylogenetic topologies and determining the best evolutionary model on four taxon alignments.

Phylogenetic tree reconstruction with molecular data is important in many fields of life science research. The gold standard in this discipline is the Maximum Likelihood tree reconstruction method. Here we show that for quartet trees, Machine Learning using neural networks can be as good as the Maximum Likelihood method to infer the best tree topology and the best model of sequence evolution for nucleotide as well as amino acid sequences. For this purpose we simulated data sets for a wide range of branch lengths, evolutionary models and model parameters and compared the topologies and inferred models obtained with Machine learning with those obtained with the Maximum Likelihood and the Neighbour Joining method. Our results show that neural networks are a promising avenue for determining relatedness between taxa, which is likely to accelerate the construction of phylogenetic trees in the future, while maintaining a high accuracy.

Notes

In this project, neural networks have been trained to:

- predict/classify the correct topology for four nucleotide or amino acid sequences that evolved on a quartet tree.

- predict the best model of sequence evolution for four nucleotide or amino acid sequences that evolved on a quartet tree.

Together with the software in the DeepNNPhylogeny project, the pre-trained neural networks can be used to predict the best model of sequence evolution for the model and topology classification tasks.

The GitHub repository DeepNNPhylogeny contains the software with which:

a) the neural networks presented here have been trained and with which new neural networks can be trained,

b) predictions can be made using the pre-trained neural networks available in this archive. They can predict with an accuracy close or identical to the Maximum likelihood method the best evolutionary model and best topology for alignments of four nucleotide or amino acid sequences.

The neural networks stored in this repository can be used as follows:

(i) Download the neural network(s) for the desire classification tasks from the DryAd page.

(ii) Unzip the dowloaded file, rename it to "PhylNNsaved" and place it in the home directory. For more detailed instructions, see README.md

(iii) Download and install the software from the DeepNNPhylogeny repository.

(iv) Start predicting models and topologies as described in the DeepNNPhylogeny repository.

The training script, which are only needed to train new neural networks, have the following dependencies:
- Python package, ideally Python 3.7 or more recent.
- Installed packages for: tensorflow, scikit-learn (optional, not used in the latest version )
- The software PolyMoSim.

The prediction scripts, which are need to conduct predictions, have the following dependencies:
- Python package, ideally Python 3.7 or more recent.
- Installed packages for: tensorflow, scikit-learn (optional, not used in the latest version)
- The software quartet-pattern-counter-v1.1

The required machine learning modules can be installed with pip or with the Anaconda package manager.

Files

README.md

Files (34.5 GB)

Name Size
md5:72cf5c8bf524c03ab3ff5f3878467ec2
6.6 GB Download
md5:c3e816bef4862d70f34da4e1e4fda2fd
54 Bytes Download
md5:8fdd8458f905382f7db10bc094fa826b
30.4 MB Download
md5:dff2cc005a535d7d27712224793a8489
55 Bytes Download
md5:67da0de052f6c95af12466b0c280391c
3.2 kB Preview Download
md5:7dba729fbc5c77a0b54c4ca23a036251
6.9 GB Download
md5:1b63c492236640dc22c24dab20223528
56 Bytes Download
md5:59c0a695e574ab97d567e2443d8cef45
31.5 MB Download
md5:445205f19a64b6aa60f7ffaeb1f0cbc6
72 Bytes Download
md5:d474aebb148bb4caff6b20b5745c4bd4
31.1 MB Download
md5:a58b37f01d6646a8027ab943654055a5
31.6 MB Download
md5:9f0ef9eb87f126b0441f3a0f2c3807e7
72 Bytes Download
md5:3de093b290865099fb0abdc1d5f67d54
31.5 MB Download
md5:6f745f41f29d4d6a1d7a92484255a058
72 Bytes Download
md5:87f094249ce6896330898e917a0adc77
31.6 MB Download
md5:39988b5783b9f3c99f9e8c6a05745d99
72 Bytes Download
md5:22ef933cfbfcb9cc01021d68eeaa627e
31.6 MB Download
md5:60b2117bb1730bdb223a07dc87a6fed3
71 Bytes Download
md5:0945ceaae723eba91d64e92054bf4e60
6.9 GB Download
md5:1b1c242053f4615e02c995bd10f1496a
52 Bytes Download
md5:0d076edef53f6b2d6026b883acbd7a91
31.6 MB Download
md5:1e22fa7b22ad66aa410266d6a688645f
72 Bytes Download
md5:f72af818ff30f6e76d8920a47419329b
6.9 GB Download
md5:6b339e461b0c7fb96ec239fa4c22f62f
51 Bytes Download
md5:475c49405c2a9595d3e54ddef387b2e4
6.9 GB Download
md5:7407e151d2457132e501cdbcb3298752
52 Bytes Download

Additional details

Related works