Molecular Biology and EvolutionEvolutionary BiologyPeer-reviewed journal article
Detecting interspecific positive selection using convolutional neural networks
Charlotte WestiD, Conor R. WalkeriD, Shayesteh ArastiiD, Viacheslav VasileviD, Xingze XuiD, Nicola De MaioiD, Nick GoldmaniD
Abstract
Traditional statistical methods using maximum likelihood and Bayesian inference can detect positive selection from an interspecific phylogeny and a codon sequence alignment based on model assumptions, but they are prone to false positives due to alignment errors and can lack power. These problems are particularly pronounced when faced with high levels of indels and divergence. Leveraging the feature-detection capabilities of convolutional neural networks (CNNs), we achieve higher accuracy in detecting selection across a specific range of phylogenetic scenarios and evolutionary modes. This advantage is particularly evident with noisy data prone to misalignments. Our method shows some ability to account for these errors, where most statistical frameworks fail to do so in a tractable manner. We explore generalisability and identify future avenues to achieve broader utility. Once trained, our CNN model is faster at test time, making it a scalable alternative to traditional statistical methods for large-scale, multi-gene analyses. In addition to binary classification (inference of the presence or absence of positive selection during the evolution of the sequences), we use saliency maps to understand what the model learns and observe how this could be leveraged for sitewise inference of positive selection.
- assay: DNA methylation
- research focus: phylogenetics / evolution
- research focus: gene regulatory network inference
- approach: deep learning
- approach: transformer / foundation model
- Citations
- 1
- FWCI
- 0.30
- Field percentile
- 47th percentile
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- On convolutional neural networks for selection inference: revealing the lurking role of preprocessing, and the surprising effectiveness of summary statistics
R. M. Cecil, L. A. Sugden·bioRxiv·Feb 26, 2023
- Phylogeographic model selection using convolutional neural networks
E. Masiero da Fonseca, G. Rinaldi Colli, … B. C. Carstens·bioRxiv·Sep 11, 2020
- Detecting adaptive introgression in human evolution using convolutional neural networks
G. R. Gower, P. I. Picazo, … F. Racimo·bioRxiv·Sep 18, 2020
- The Unreasonable Effectiveness of Convolutional Neural Networks in Population Genetic Inference
L. Flagel, Y. J. Brandvain, D. R. Schrider·bioRxiv·Nov 27, 2018
- Interpreting Convolutional Neural Networks in Population Genetics
Huiting Xu, Leon Zong, … Sara Mathieson·Molecular Biology and EvolutionPeer-reviewed·Oct 1, 2026
- Interpreting Generative Adversarial Networks to Infer Natural Selection from Genetic Data
Rebecca Riley, Iain Mathieson, Sara Mathieson·GeneticsPeer-reviewed·Feb 22, 2024