This must be the place: deep learning local adaptation
Jordan T. RodrigueziD, Richard CronniD, Silas B. TittesiD, Andrew D. KerniD
Abstract
Climate change is increasingly disrupting the relationship between locally adapted populations and the environments in which they evolved, creating an urgent need for tools that connect genomic variation to climate. Common-garden and provenance trials remain the gold standard for characterizing local adaptation, but their time and resource requirements limit how broadly they can be applied. Genomic approaches provide a complementary path. Genotype--environment association (GEA) methods identify environmentally associated loci. Machine-learning models have also shown that geographic origin can be predicted directly from genotypes. Here we introduce EcoLocator, a supervised deep neural network that jointly predicts geographic location and climate of origin from genotypes. Through extensive simulations we demonstrate that EcoLocator accurately recovers geographic location and environment of origin from genotype data, and, with SHAP-based feature attribution, identifies adaptive loci more reliably than benchmark GEA methods. We apply our method to coastal Douglas-fir (Pseudotsuga menziesii var. menziesii), where EcoLocator predicts geographic origin (R2=0.75--0.83) and climate of origin (R2=0.52--0.72) under leave-one-out cross-validation. Notably, we find that climate predicted directly from genotypes outperforms climate inferred by first predicting geographic origin, showing that EcoLocator captures genotype--climate signal that cannot be recovered from geography alone. Our prediction errors fall within the tolerances used in existing seed-transfer guidelines, demonstrating that EcoLocator's predictions are ready for practical application, and our approach is readily extendable to other species and conservation contexts.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Research Focus
- Approach
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
- Effects of using deep learning to predict the geographic origin of barley genebank accessions on genome-environment association studies
Che-Wei Chang, Karl Schmid·Theoretical and Applied GeneticsPeer-reviewed·Aug 12, 2025
- Coherent synthesis of genomic associations with phenotypes and home environments
Jesse R. Lasky, Brenna R. Forester, Matthew L. Reimherr·Molecular Ecology ResourcesPeer-reviewed·Sep 1, 2017
- Polygenic and redundant architectures of climate-adaptive traits may complicate genomic predictions of maladaptation
Rafael Candido‐Ribeiro, Brandon M. Lind, … Sally N. Aitken·bioRxiv·Feb 3, 2026
- Novel genomic offset metrics account for local adaptation in climate suitability forecasts and inform assisted migration
S. Lachmuth, T. Capblancq, … M. C. Fitzpatrick·bioRxiv·Jun 5, 2023
- Comparing methods for detecting multilocus adaptation with multivariate genotype-environment associations
Brenna R. Forester, Jesse R. Lasky, … Dean L. Urban·Molecular EcologyPeer-reviewed·Apr 9, 2018
- Genomic insights into present local adaptation and future climate change vulnerability of a keystone forest tree species in East Asian