bioRxiv Science⌕ Search

bioRxiv · 10.1101/2021.01.15.426775

AlleleShift: An R package to predict and visualize population-level changes in allele frequencies in response to climate change

Abstract

BackgroundAt any particular location, frequencies of alleles in organisms that are associated with adaptive traits are expected to change in future climates through local adaption and migration, including assisted migration (human-implemented when climate change is more rapid than natural migration rates). Making the assumption that the baseline frequencies of alleles across environmental gradients can act as a predictor of patterns in changed climates (typically future but possibly paleo-climates), a methodology is provided by AlleleShift of predicting changes in allele frequencies at populations locations. MethodsThe prediction procedure involves a first calibration and prediction step through redundancy analysis (RDA), and a second calibration and prediction step through a generalized additive model (GAM) with a binomial family. As such, the procedure is fundamentally different to an alternative approach recently proposed to predict changes in allele frequencies from canonical correspondence analysis (CCA). My methodology of AlleleShift is also different in modelling and predicting allele counts through constrained ordination (not frequencies as in the CCA approach) and modelling both alleles for a locus (not solely the minor allele as in the CCA method; both methods were developed for diploid organisms where individuals are homozygous (AA or BB) or heterozygous (AB)). Whereas the GAM step ensures that allele frequencies are in the range of 0 to 1 (negative values are sometimes predicted by the RDA and CCA approaches), the RDA step is based on the Euclidean distance that is also the typical distance used in Analysis of Molecular Variance (AMOVA). The AlleleShift::amova.rda enables users to verify that the same mean-square values are calculated by AMOVA and RDA, and gives the same final statistics with balanced data. ResultsBesides data sets with predicted frequencies, AlleleShift provides several visualization methods to depict the predicted shifts in allele frequencies from baseline to changed climates. These include dot plot graphics (function shift.dot.ggplot), pie diagrams (shift.pie.ggplot), moon diagrams (shift.moon.ggplot), waffle diagrams (shift.waffle.ggplot) and smoothed surface diagrams of allele frequencies of baseline or future patterns in geographical space (shift.surf.ggplot). As these were generated through the ggplot2 package, methods of generating animations for a climate change time series are straightforward, as shown in the documentation of AlleleShift and in the supplementary materials. In addition, graphical methods are provided of showing shifts of populations in environmental space (population.shift) and to assess how well the predicted frequencies reflect the original frequencies for the baseline climate (freq.ggplot). AvailabilityAlleleShift is available as an open-source R package from https://github.com/RoelandKindt/AlleleShift. Genetic input data is expected to be in the adegenet::genpop format, which can be generated from the adegenet::genind format. Climate data is available from various resources such as WorldClim and Envirem.

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Kindt, R.. 2021-01-17. AlleleShift: An R package to predict and visualize population-level changes in allele frequencies in response to climate change. https://doi.org/10.1101/2021.01.15.426775

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Genome-wide diversity across 130 years reveals drastic post-bottleneck genetic erosion in a recovering population of golden eagles (Aquila chrysaetos)

Many wild populations have experienced severe human-induced declines, but the genetic consequences of such bottlenecks are often poorly understood. In Finland, as well as in many other countries, golden eagles were heavily persecuted during the 19th-20th centuries, disappearing from southern regions and reaching their lowest population size in the 1950-1960s. Although conservation efforts facilitated demographic recovery, the long-term genomic consequences of the bottleneck remained unknown. Here, we used whole-genome sequencing data spanning 136 years to evaluate patterns of genetic diversity in 26 Finnish golden eagles before, during, and after the mid-20th century bottleneck. We found substantial loss of genetic variation, including an 82% reduction in genome-wide heterozygosity, a 42% decline in nucleotide diversity, a 67% reduction in Watterson's theta, and a substantial loss of variable sites. Analyses of the site frequency spectrum and Tajima's D confirmed historical population contraction, and runs of homozygosity analysis indicated elevated post-bottleneck inbreeding. These results indicate strong genetic erosion in Finnish golden eagles despite the census size recovery. Therefore, incorporating genomic indicators in conservation monitoring and performing regional assessments are necessary to guide management and preserve biodiversity in line with the Global Biodiversity Framework's goal of maintaining genetic variation.

genomics↗

Long-read analysis of complete human 5S rDNA arrays reveals a zoned organization with two-state unit methylation linked to chromatin architecture

Despite the fundamental importance of the 5S ribosomal DNA (rDNA) to all cellular life, the landscape of its units by position along its array has remained poorly understood. Here, recent telomere-to-telomere long-read sequencing is used to resolve 5S rDNA arrays from flank to flank and to follow the state of each unit along single molecules. The array is zoned at both the sequence and the epigenetic level. Notably, methylation is bimodal at the level of the unit, and the combination of low-methylation and high-methylation units gives rise to the overall methylation pattern of the array. Moreover, the average number of low-methylation units remains relatively constant regardless of array length. Chromatin fiber sequencing (Fiber-seq) data further show that low-methylation units are more accessible, have lower nucleosome occupancy and are more frequently footprinted at the TFIIIB-binding site, consistent with analyses of ATAC-seq and ChIP-seq data from cell lines. Across species, this pattern is shared among apes, whereas other species show diverse patterns. These results provide a unit-resolved view of the human 5S rDNA array and reveal a zone-specific organization of unit methylation that is associated with chromatin architecture.

genomics↗

Using Oyster Genomics to Understand Human Health

As sessile filter feeders that experience continuous environmental exposure, oysters, particularly Crassostrea virginica, offer a unique opportunity to understand how environmental exposure alters the genome and influence health. Furthermore, oysters must be sorted by size for market value for premium size and taste. However, it requires intensive labor, specialized equipment (tumblers), and is susceptible to environmental risks like pollution. Therefore, it is desirable to produce uniform oysters without machines. However, limitations in the previous reference genome [2] have constrained our understanding of how genes are organized and maintained in oyster populations. To this end, we harvested 240 adult oysters in same location, 120 extremely large size and 120 extremely small, controlled with all confounding factors such as age and water temperature. We perform a genome wise associate study (GWAS) using next generation whole genome sequencing, aiming to discover genomic regions associated with oyster size. Using PacBio HiFi, Illumina, and Hi-C technologies, we generated a 99.7% complete chromosome-level genome assembly for C. virginica (NCBI RefSeq GCF_053477285.1) [75]. We identified a ~13 Mb region on chromosome 1 uniquely expanded in C. virginica and enriched for innate immune and stress-response genes. To evaluate whether these structural features are reflected at the population level, we then conducted a k-mer analysis. This revealed differential sequence patterns by size, including enrichment of bacterial DNA in smaller individuals and host variation at the RNF213 locus within this region. By highlighting genome structure as a mediator of immune resilience, this work supports the use of oysters as sentinels to advance out understanding of how the dynamic reassembly of the genome due to environmental exposures influence health in human populations.

genomics↗