Abstract
<jats:p>The introduction of agriculture in Western Eurasia during the Mesolithic-Neolithic transition reshaped human lifestyle, demography and pathogen exposure. Yet, the associated selective pressures remain incompletely resolved because previous ancient DNA studies relied on targeted SNP panels and yielded non-overlapping results. Here, using high-coverage whole-genome data from 152 ancient individuals, including 12 newly sequenced genomes from the Iron Gates, we show that adaptation during this transition was geographically structured and involved selection of both Early Farmer and Hunter-Gatherer alleles. By combining scans of population differentiation, extended haplotype homozygosity, and adaptive admixture, we identify candidate loci under selection in ancestral and admixed populations. Extending the analysis beyond SNPs, we also detect differential copy-number variants, ancestry-associated shifts in transposable-element abundance, and an early Neolithic hepatitis B infection. Functional analyses including effects on gene expression suggested selection on immune, metabolic, reproductive, sensory, and behavioural processes. Taken together, our results reveal a broader and more regionally variable adaptive landscape than previously appreciated.</jats:p>