Abstract
Summary
Statistical methods that quantify the selection coefficients of alleles offer valuable insights into the evolutionary processes underlying organismal adaptation. Among these approaches, CLUES2 was recently developed to estimate allele-specific selection coefficients using a statistical framework that captures the maximum amount of information present in genomic data, making it a state-of-the-art tool for identifying adaptive variation. However, before executing this method, users first need to apply either Relate or SINGER, two genealogy-based approaches, to their data to generate the required input files for CLUES2. Moreover, completing this pre-processing step inherently assumes that users have sufficient expertise to successfully run the Relate or SINGER software. Here, we present the CLUES2 Companion package, which contains user-friendly pipelines that seamlessly apply Relate or SINGER to multiple sites within a target genomic region and then execute the CLUES2 software to calculate the selection coefficients for these sites. CLUES2 Companion can also display the results of CLUES2 analyses in both tabular and graphical formats. In addition, as a new feature, we adapted Relate and CLUES2 to estimate the age of onset of a selective sweep of derived variation, expanding the functionality of our package.
Results
To demonstrate the utility of our approach, we applied CLUES2 Companion to single nucleotide polymorphisms (SNPs) in the MCM6 gene on Chromosome 2—including the known variants associated with lactase persistence—in the European Finnish, Middle Eastern Bedouin, and East African Maasai populations from the 1000 Genomes Project, the Human Genome Diversity Project (HGDP), and the haplotype map (HapMap) Project Phase 3, respectively. Our analyses uncovered significant selection coefficient (s) estimates at the persistence-associated T-13910 allele (rs4988235; s = 0.09986, 95% CI: 0.08678–0.11294) in the Finnish, the G-13915 allele (rs41380347; s = 0.09981, 95% CI: 0.06515–0.13448) in the Bedouin, and the C-14010 allele (rs145946881; s = 0.09981, 95% CI: 0.08799–0.11163) in the Maasai, indicative of a classic selective sweep. Furthermore, we inferred the age of onset of selection at these alleles to be 9100 years ago (95% CI: 6552–10612 years ago) in the Finnish, 7700 years ago (95% CI: 1864–8064 years ago) in the Bedouin, and 4900 years ago (95% CI: 3864–5936 years ago) in the Maasai, respectively, which coincide well with other estimates based on genetic and archaeological data. To further validate our dating method, we simulated several datasets containing SNPs with known ages of selection onset, s estimates, and genomic positions using a selective sweep framework implemented in msprime and then applied CLUES2 Companion to the simulated datasets. Based on this approach, CLUES2 Companion produced similar estimates of selection onset as the ones specified in the simulations, confirming the reliability of our method. Overall, CLUES2 Companion is a versatile package that enables users to efficiently explore, interpret, and report evidence for selection in genomic datasets, complementing the CLUES2 software.
Availability and implementation
CLUES2 Companion is free and open source on GitHub (
github.com) and Dropbox (bit.ly/4mrlpiT).