Abstract

Spatial and seasonal variations in the environment are ubiquitous. Environmental heterogeneity can affect natural populations and lead to covariation between environment and allele frequencies. Drosophila melanogaster is known to harbor polymorphisms that change both with latitude and seasons. Identifying the role of selection in driving these changes is not trivial, because nonadaptive processes can cause similar patterns. Given the environment changes in similar ways across seasons and along the latitudinal gradient, one promising approach may be to look for parallelism between clinal and seasonal changes. Here, we test whether there is a genome-wide correlation between clinal and seasonal changes, and whether the pattern is consistent with selection. Allele frequency estimates were obtained from pooled samples from seven different locations along the east coast of the United States, and across seasons within Pennsylvania. We show that there is a genome-wide correlation between clinal and seasonal variations, which cannot be explained by linked selection alone. This pattern is stronger in genomic regions with higher functional content, consistent with natural selection. We derive a way to biologically interpret these correlations and show that around 3.7% of the common, autosomal variants could be under parallel seasonal and spatial selection. Our results highlight the contribution of natural selection in driving fluctuations in allele frequencies in natural fly populations and point to a shared genomic basis to climate adaptation that happens over space and time in D. melanogaster.

Species occur in environments that vary both in space and time (Ewing 1979; Cardini et al. 2007; Dionne et al. 2007; Hancock et al. 2008; Zuther et al. 2012; Campitelli and Stinchcombe 2013; Kooyers et al. 2015). Populations may adapt to the local conditions of the environment in which they occur, resulting in covariation between traits and space (Endler 1977; Barton 1983; Barton 1999; Kawecki and Ebert 2004). Similarly, predictable changes in the environment through time can lead to covariation between relevant traits and time (Levene 1953; Ewing 1979). Although correlations between environment and traits (either in time or space) are indicative of selection, these patterns can be produced by nonadaptive processes such as migration, isolation by distance, and range expansion (Wright 1943; Vasemägi 2006; Excoffier et al. 2009; Duchen et al. 2013; Bergland et al. 2016). It is not trivial to identify the role of selection in diversifying traits, but a promising approach might be to jointly model changes across space and time.

Drosophila melanogaster is a model system uniquely suited to study both spatial and temporal adaptations. These sub-Saharan flies recently invaded most of the world (David and Capy 1988; Keller 2007), and adaptations at the phenotypic and genotypic levels evolved in response to the colonization of new habitats (Mettler et al. 1977; Knibb 1982; Oakeshott et al. 1982; David and Capy 1988; Schmidt et al. 2000; de Jong and Bochdanovits 2003; Sezgin et al. 2004). Many traits, polymorphisms, and inversions were observed to covary with latitude (also called clinal) in natural fly populations (Hoffmann et al. 2002; Hoffmann and Weeks 2007; Turner et al. 2008; Paaby et al. 2010; Yukilevich et al. 2010; Reinhardt et al. 2014; Schrider et al. 2016; Cogni et al. 2017). For instance, flies from colder environments are darker (David et al. 1985), bigger (Arthur et al. 2008), and show higher incidence of reproductive diapause than flies from lower latitudes (Schmidt et al. 2005).

In higher latitudes, fly populations started to experience dramatic cyclical changes in the environment through seasons. Given these flies have multiple generations per year, differential fitness across seasons could theoretically lead to temporal adaptations (Levene 1953; Ewing 1979). Traits that favor rapid reproduction in the summer can be particularly different to those that favor endurance in the winter (Behrman et al. 2015). Concordant with this hypothesis, chromosomal inversions in D. pseudoobscura were observed to cycle with seasons (Dobzhansky 1943). In D. melanogaster, flies collected in the spring are more tolerant to stress (Behrman et al. 2015), show higher diapause inducibility (Schmidt and Conde 2006), have increased immune function (Behrman et al. 2018), and have different cuticular hydrocarbon profiles than those collected in the fall (Rajpurohit et al. 2017). Genome-wide analyses have identified polymorphisms and inversions that oscillate in seasonal timescales in several localities in the United States and Europe (Bergland et al. 2014; Kapun et al. 2016; Machado et al. 2021). However, a recent analysis suggested that seasonal fluctuations in allele frequencies seem small and temporal structure independent of seasons may be more important in this system (Buffalo and Coop 2020).

It is challenging to characterize the role of selection in producing spatial or seasonal change in allele frequencies. At the spatial scale, the axis of demography and environmental heterogeneity are confounded in this system (i.e., migration and environment are structured along the south-north axis) (Caracristi and Schlotterer 2003; Yukilevich and True 2008; Duchen et al. 2013; Kao et al. 2015). At the seasonal scale, the magnitude of allele frequency change with seasons is expected to be rather small, and stochastic environmental events not aligned with seasons complicate inferences even further (Machado et al. 2021). However, we can gain power by jointly modeling latitudinal and seasonal changes (Cogni et al. 2015).

Two adaptive mechanisms are expected to induce correlations between clinal and seasonal fluctuations in allele frequencies. First, the environment changes similarly with latitude and through seasons (at least with respect to temperature). Second, the onset of spring changes with latitude, and so seasonal changes in polymorphisms alone could produce clinal variation, a mechanism termed seasonal phase clines (Roff 1980; Rhomberg and Singh 1986). The effects of neutral, demographic processes that can confound interpretation are expected to be much less pronounced because of the short timescale of seasonal processes. Thus, parallel latitudinal and seasonal variation in a trait is strong evidence in favor of natural selection (Bergland et al. 2014; Cogni et al. 2015).

Some empirical studies have found parallelism between clinal and seasonal variations in D. melanogaster (Bergland et al. 2014; Cogni et al. 2015; Kapun et al. 2016; Behrman et al. 2018; Machado et al. 2021). The prevalence of reproductive diapause, a phenotype tightly linked to adaptation to cold environments, varies both with latitude and seasons (Schmidt et al. 2005). Cogni et al. (2014) found that a variant in the couchpotato gene, which encodes diapause inducibility, also varied predictably with latitude and across seasons: the diapause-inducing allele is positively correlated with latitude and its frequency increases from summer into winter. Cogni et al. (2015) found an association between clinal and seasonal changes in central metabolic genes, which are likely important drivers of climatic adaptation. Kapun et al. (2016) found that a few cosmopolitan inversions thought to be involved with climate adaptation also vary in parallel with latitude and through seasons.

Here, we test whether parallel clinal and seasonal variation is pervasive across the D. melanogaster genome. It is essential we further our understanding of the genomic basis to climate adaptation in D. melanogaster, so that we can identify possible mechanisms that allow adaptation over such short timescales (Wittmann et al. 2017). A parallel and independent study also investigated the relationship between clinal and seasonal changes in D. melanogaster (Machado et al. 2021). Nevertheless, our work is fundamentally different from previous studies because (i) we use seasonal samples collected over 6 years, as opposed to at most 3 years in other studies; (ii) our samples are all from the same location in Pennsylvania, where seasonality is strong and phenotypes are known to cycle seasonally, and where there is little evidence of population substructure or large-scale migrations events (Schmidt and Conde 2006; Behrman et al. 2015; Rajpurohit et al. 2017; Behrman et al. 2018); (iii) we analyze how the correlation between clinal and seasonal variations changes across genomic regions that differ in density of functional sites, allowing us to better disentangle demography and selection; and (iv) we dissect the role of linkage disequilibrium (LD) in driving these patterns.

Material and Methods

POPULATION SAMPLES

We analyzed 20 samples from seven locations along the United States east coast, collected by Bergland et al. (2014) (10 samples) and Machado et al. (2021) (10 samples) (see Table S1). The samples were based on pools of wild-caught individuals. We decided to not include previously collected samples from Maine because they were collected in the fall, whereas all of our other samples were collected in the spring, and we also did not include the DGRP sample from North Carolina, as it is hard to ascertain when they were obtained (Fabian et al. 2012; Mackay et al. 2012; Bergland et al. 2014). The Linvilla (Pennsylvania) population was sampled extensively from 2009 to 2015 (six spring, seven fall samples), and was therefore used in our analysis of seasonal variation. One of the Pennsylvania samples was exclusively used for the clinal analysis to minimize dependency between our clinal and seasonal sets. We also replicated our clinal analysis using data from four Australian samples (Anderson et al. 2005; Kolaczkowski et al. 2011). All the data used in this project are available on the NCBI Short Read Archive (BioProject accession numbers PRJNA256231, PRJNA308584, and NCBI Sequence Read Archive SRA012285.16).

MAPPING AND PROCESSING OF SEQUENCING DATA

Raw, paired-end reads were mapped against the FlyBase D. melanogaster (r6.15) and D. simulans (r2.02) reference genomes (Gramates et al. 2017) using BBSplit from the BBMap suite (https://sourceforge.net/projects/bbmap/; version from February 11, 2019). We removed any reads that preferentially mapped to D. simulans to mitigate effects of contamination (the proportion of reads preferentially mapping to D. simulans was minimal, never exceeding 3%). Then, reads were remapped to D. melanogaster reference genome using bwa (MEM algorithm) version 0.7.15 (Li and Durbin 2010). Files were converted from SAM to BAM format using Picard Tools (http://broadinstitute.github.io/picard). PCR duplicates were marked and removed using Picard Tools and local realignment around indels was performed using GATK version 3.7 (McKenna et al. 2010). Single-nucleotide polymorphisms (SNPs) and indels were called using CRISP with default parameters (Bansal et al. 2016).

We applied several filters to ensure that the identified SNPs were not artifacts. SNPs in repetitive regions, identified using the RepeatMasker library for D. melanogaster (obtained from http://www.repeatmasker.org), and SNPs within 5 bp of polymorphic indels were removed from our analyses. SNPs with mean minor allele frequency in the clinal and seasonal samples less than 5%, with minimum per-population coverage less than 10× (or 4× for the Australian samples), or maximum per-population coverage greater than the 99th quantile were excluded from our analyses. We only considered biallelic, autosomal SNPs in our downstream analyses. Functional annotations for the identified SNPs were obtained using SNPeff version 4.3o (Cingolani et al. 2012).

CLINAL AND SEASONAL CHANGES IN ALLELE FREQUENCY

The allele frequencies were calculated by diving the number of reads supporting each allele, divided by the total number of reads. Because pool-seq data contain an additional component of error due to sampling, we did not weight the allele frequencies by total depth at each site; instead we used the effective sample size, or effective number of chromosomes (NE), as the denominator. This metric can be computed as follows:
where NC is the number of chromosomes in the pool and D is the read depth at that site (Kolaczkowski et al. 2011; Feder et al. 2012; Bergland et al. 2014).

To assess latitudinal variation, we fitted a generalized linear model (GLM) of allele frequency against latitude for each site, assuming binomial errors and logit link function. Similarly, we regressed allele frequency at each site against a season dummy variable (June and July were encoded as Spring, and September, October, and November as Fall) and included the year of sampling as a covariate. For either regression, we required the variant to be polymorphic in at least two samples. Further, we computed pairwise FST for all our samples using the R package poolfstat (Hivert et al. 2018).

We defined clinal and seasonal SNPs using an outlier approach, because we do not have an adequate genome-wide null distribution to compare our estimates. We considered that SNPs were outliers if their regression P-value fell in the bottom 1% (or 5%) of the distribution.

CORRELATION BETWEEN CLINAL AND SEASONAL VARIATIONS

Our main goal was to evaluate whether clinal and seasonal changes are correlated, pooling information across the thousands of polymorphisms that segregate in natural populations. To do so, we regressed the slopes of the clinal regressions and the slope of the seasonal regressions. The regression line was fit using Huber's M estimator to improve robustness to outliers. Before fitting the regression, we z-normalized the clinal and seasonal slopes, so the slope of the regression of clinal and seasonal changes is actually the same as the correlation.

We also investigated how the correlation between clinal and seasonal changes differed across genomic regions. For that, we used a dummy variable with annotations as a covariate. The regions analyzed were exon, intron, 5′ UTR, 3′ UTR, upstream, downstream intergenic, and splice. There are some chromosomal inversions segregating in the populations we studied, and they are known to contribute to adaptation (Wright and Dobzhansky 1946; García-Vázquez and Sánchez-Refusta 1988; Kapun et al. 2014). We annotated SNPs surrounding (2 Mb) common inversion breakpoints and added inversion status as a covariate in the linear model (Corbett-Detig and Hartl 2012).

To confirm our results are robust to potential model misspecifications, we implemented a permutation test in which we rerun the regressions for each SNP using shuffled season and latitude labels 2000 times. The same procedure was implemented for most of the statistical tests, except where indicated otherwise.

ENRICHMENT TESTS

We tested for enrichment of genic classes using our sets of clinal and seasonal SNPs using Fisher's exact test for each genic region and statistic. To control for confounders, such as read depth and allele frequency variation, we shuffled the season and latitude labels and reran the generalized regressions. Using the P-values obtained from regressions in which season and latitude labels were shuffled, we defined, for each iteration, lists of top clinal and seasonal SNPs. Then, we calculated the enrichment of each genic class using Fisher's exact test. To obtain a P-value for an enrichment of a given genic class, we compared the observed odds ratio in the actual dataset to the distribution of odds ratios observed for datasets in which season and latitude labels were shuffled.

MITIGATING THE IMPACT OF LD

Selection at one site affects genetic variation at nearby, linked neutral sites (Smith and Haigh 1974). Because we assume that sites are independent in our models, the indirect effects of selection can inflate the magnitude of the patterns we investigated. To test the effect of LD in our outlier analyses, we plotted P-values against distance to a top SNP. We then smoothed the scatterplot using cubic splines as implemented in ggplot2 (Wickham 2016). To test the effect of linkage on the relationship between clinal and seasonal variations, we implemented a thinning approach. Sampling one SNP per L base pairs 1000 times, we constructed sets of SNPs with minimized dependency, where L ranged from 1 to 20 kb. For each of these sets for a given L, we computed the correlation between clinal and seasonal slopes, and compared the distribution of the thinned regression coefficients to the coefficients we obtained using all SNPs.

All statistical analyses were performed in R 3.5.0 (R Core Team 2018) and can be found at gitlab.com/mufernando/clinal_sea.git.

Results

We assembled 20 D. melanogaster population samples collected from seven localities across multiple years in the east coast of the United States. All of these samples are the result of a collaborative effort of many researchers from a consortium, the DrosRTEC (Bergland et al. 2014; Machado et al. 2021). Seven of our samples span from Florida to Massachusetts and together comprise our clinal set. The seasonal samples were collected in Pennsylvania in the spring (six samples collected in June or July) and in the fall (six samples collected in September, October, or November). For each sample, a median of 55 individuals (with a range of 33–116) was pooled and resequenced to an average 75× coverage (ranging from 17 to 215). We also used four clinal samples from the Australia (Anderson et al. 2005; Kolaczkowski et al. 2011). More details about the samples can be found on Table S1 (also see Bergland et al. 2014; Machado et al. 2021). After all the filtering steps, we identified 798,176 common autosomal SNPs, which were used in our downstream analyses.

ALLELE FREQUENCY CHANGES WITH LATITUDE, SEASONS, AND YEARS

Latitude explains much of allele frequency variation along the surveyed populations, as there is an excess of low GLM P-value SNPs (Fig. 1A). The mean absolute difference in allele frequency between the ends of the clines is 9.2%. Seasons, on the other hand, explain less of the variation in allele frequency. There is only a minor excess of low GLM P-value SNPs (Fig. 1B) and the mean absolute difference in allele frequency between seasons is 2.6%. We also found that year of sampling is a good predictor of allele frequency change (in Pennsylvania), more so than seasons, given there is a huge excess of low GLM P-values (Fig. 1C).

Distribution of P-values from the generalized linear models of allele frequency and latitude, and allele frequency, seasons and years.
Figure 1

Distribution of P-values from the generalized linear models of allele frequency and latitude, and allele frequency, seasons and years.

Our generalized linear models do not account for dependency between samples, which can be a problem when regressing allele frequency on seasons. To investigate whether this could be an issue, we performed Durbin-Watson tests for autocorrelation in the residuals of the seasonal regressions using Julian days as the time variable. There is no excess of low P-values (Fig. S1), and the season P-values are not correlated with Durbin-Watson test P-value (P = 0.77). This indicates that the assumption of independency is being met for most variants, and that autocorrelation is not artificially creating patterns of seasonality in allele frequency.

Given we do not have enough information to build an appropriate null distribution to calibrate our P-values, we sought to demonstrate that top significant clinal and seasonal SNPs are enriched for functional variants, which are more likely to contribute to adaptation. Latitudinal SNPs are more likely to be in exonic and UTR 3′ regions (Fig. 2A), whereas seasonal SNPs are enriched for exonic, UTR 3′, and UTR 5′ regions (Fig. 2B). Further, top latitudinal and seasonal SNPs seem to be underrepresented within upstream and downstream regions. Similar enrichment patterns have been observed for both top clinal and seasonal (Kolaczkowski et al. 2011; Fabian et al. 2012; Bergland et al. 2014; Machado et al. 2016, Machado et al. 2021). Using a 5% cutoff, our enrichment results are largely replicated (Fig. S2).

Top SNPs are enriched for functionally relevant classes. Enrichment of top 1% SNPs in each genic class for (A) latitudinal P-value and (B) seasonal P-value. The histograms show the distribution of odds ratios when latitude and season labels were permuted, and the vertical bars show the observed odds ratios.
Figure 2

Top SNPs are enriched for functionally relevant classes. Enrichment of top 1% SNPs in each genic class for (A) latitudinal P-value and (B) seasonal P-value. The histograms show the distribution of odds ratios when latitude and season labels were permuted, and the vertical bars show the observed odds ratios.

CLINAL VARIATION IS CORRELATED TO SEASONAL VARIATION

A clinal pattern can arise solely as a result of demographic processes, such as isolation by distance and admixture (Duchen et al. 2013; Kao et al. 2015; Bergland et al. 2016). Although seasonality is less affected by such processes, seasonal change is less pronounced and more subject to stochastic changes in the environment, making it harder to detect seasonal change with precision. Here, we integrate both clinal and seasonal changes’ estimates across a large number of SNPs in the genome. We expect the overall pattern that emerges to be informative of the relative role of natural selection, because selection is a plausible process to produce a pattern of clinal variation mirroring seasonal variation (Cogni et al. 2015).

We found a significant negative correlation between clinal and seasonal regression coefficients (Fig. 3A; Table S2). The correlation is strongest for SNPs within exons, and the weakest for unclassified SNPs and those within intergenic regions (Fig. 3A; Table S3). Nonetheless, the correlation is different than 0 for all classes (except for the unclassified), what would be consistent either with pervasive linked selection or widespread distribution of variants that are important for adaptation, even within noncoding regions. Qualitatively similar results were replicated using a different minor allele frequency cutoff and using samples from Maine, which were obtained in the summer—in contrast to all the other clinal populations that were sampled in the fall (Fig. S3B, C).

Clinal change parallels seasonal change. Correlation between clinal change and seasonal change for each genic class (A) and by inversion breakpoint (B). (C) Association between top latitudinal and seasonal variants for different P-value cutoffs. Gray histograms are the null distribution of the correlation (after permuting the latitude and season labels) and vertical bars represent the observed correlation.
Figure 3

Clinal change parallels seasonal change. Correlation between clinal change and seasonal change for each genic class (A) and by inversion breakpoint (B). (C) Association between top latitudinal and seasonal variants for different P-value cutoffs. Gray histograms are the null distribution of the correlation (after permuting the latitude and season labels) and vertical bars represent the observed correlation.

Given that previous studies have demonstrated the importance of cosmopolitan inversions in climatic adaptation (e.g., Kapun et al. 2016), we looked at the correlation between clinal and seasonal changes near common cosmopolitan inversions breakpoints. We found that the correlation between clinal and seasonal changes is strongest near the breakpoints of inversions In(2R)NS, In(3R)P, and In(3L)P (Fig. 3B; Table S4). Nevertheless, the pattern is still strong outside these regions, indicating our main results are not purely driven by frequency changes of inversions.

Another way of testing for parallelism between clinal and seasonal changes is by testing if clinal SNPs are more likely to be seasonal (and vice versa). We observed that clinal SNPs are enriched for seasonal SNPs (Fig. 3C). The enrichment increases with more stringent lower P-value quantile cutoffs, as we would expect if even strictly nonsignificant variants were informative of the role of selection.

We also confirmed our main finding that clinal and seasonal changes are correlated using clinal samples from Australia. To measure clinal change in Australia, we only used four low coverage samples in Australia, two for each of low- and high-latitude locations. There is a negative correlation between clinal variation in Australia and seasonal variation in Pennsylvania that, although minor, is significant (Fig. S3C).

THE EFFECTS OF LD ON CLINAL AND SEASONAL VARIATIONS

Variation at one site is linked to variation at other sites, and selection will increase this dependency (Smith and Haigh 1974). First, we assessed if latitudinal and seasonal P-values were dependent on how distant a SNP was from our top 1% SNPs. We show that both statistics are dependent on distance from the outlier SNPs (Fig. 4A, B), but the effect virtually disappears after 5 kb.

Effects of linkage disequilibrium. The mean (A) latitudinal P-value and (B) seasonal P-value depend on distance to the respective top 1% outliers. (C) The correlation between clinal and seasonal variation changes with the size of the thinning window. (D) Comparison between original estimates (arrows) and values obtained after thinning using a window size of 5 kb (histogram). Histograms show the distributions across sampled thinned datasets, and the black arrows point to the original estimates.
Figure 4

Effects of linkage disequilibrium. The mean (A) latitudinal P-value and (B) seasonal P-value depend on distance to the respective top 1% outliers. (C) The correlation between clinal and seasonal variation changes with the size of the thinning window. (D) Comparison between original estimates (arrows) and values obtained after thinning using a window size of 5 kb (histogram). Histograms show the distributions across sampled thinned datasets, and the black arrows point to the original estimates.

We assessed the impact of linkage on the correlation between clinal and seasonal changes by implementing a thinning approach. First, we tested how the genome-wide regression estimate varied with changing window sizes. The effect of nonindependency of variants on the correlation is rather small (Fig. 4C) and the genome-wide correlation remains significantly different from 0 (P = 0.001; Fig. 4D). The thinning did not significantly reduce the signal for many regions, but the strength of the signal within splicing, UTR 5′, upstream, downstream, and intergenic regions decreased and did not remain significantly different from 0 (Fig. 4D). It seems that most of the signal coming from those regions are due to the linked effects of selection.

BIOLOGICAL INTERPRETATION OF THE CORRELATION BETWEEN CLINAL AND SEASONAL CHANGES

Although the negative correlation between clinal and seasonal changes indicates a role for selection, it is unclear how strongly parallel selection would need to be to generate this correlation. Intuitively, we expect the correlation to be rather small, as the majority of the variants are likely not under parallel selection. Below, we derive how to get a rough estimate of the number of SNPs under parallel selection from the observed correlation.

Suppose that for a proportion p of the SNPs, the clinal and seasonal regression coefficients are correlated due to parallel selection, whereas for the remainder of the SNPs they are independent. What genome-wide correlation would we expect? To find this, we can write (Z1, Z2) for the two z-normalized regression coefficients of a randomly chosen SNP. SNPs can be either under parallel selection or not, so we define (X1, X2) and (Y1, Y2) as random draws from the z-normalized regression coefficients for SNPs under parallel selection and not, respectively. Then, (Z1,Z2)=(X1,X2) with probability p, and (Z1,Z2)=(Y1,Y2) otherwise. To find the cor(Z1,Z2), note that since Z1 and Z2 have mean 0 and standard deviation 1, cor(Z1,Z2)=E[Z1Z2] (and similarly for X and Y). So, cor(Z1,Z2)=pcor(X1,X2)+(1p)cor(Y1,Y2) using the law of total expectation.

For the subset of SNPs under parallel selection, we suppose cor(X1,X2)=ρ and for the remainder of the SNPs we suppose no correlation, or cor(Y1,Y2)=0. Then the genome-wide correlation is cor(Z1,Z2)=pρ. Here, p is the proportion of SNPs under parallel selection and it can be estimated asp=cor(Z1,Z2)÷ρ. We do not know what the correlationρ between clinal and seasonal changes should be for the variants under selection, but because it is expected to be 1<ρ<0, estimating p as cor(Z1,Z2) is conservative (also see Fig. S4). Recall we assume ρ is negative because the climate becomes colder in higher latitudes, but it gets warmer from spring to fall.

Note our model has a few assumptions: (i) our measures of clinal and seasonal changes have mean 0 and variance 1, which is met given we are dealing with the z-normalized regression coefficients and (ii) all polymorphisms are independent from one another. Accounting for LD is notoriously complicated in genomic analyses, especially because we cannot accurately measure LD from pooled sequencing (Feder et al. 2012). However, in the previous section we showed that we are able to mitigate the effects of LD on the correlation between clinal and seasonal changes using a thinning approach.

We can now readily interpret our observed correlations as proportion of SNPs under parallel selection (ignoring the negative sign). Using our thinned estimates, the patterns uncovered here are consistent with 3.78% of the common, autosomal variants being under parallel selection. It is curious our estimated proportion is close to previous estimates for the proportion of clinal (3.7% in Machado et al. 2015) and seasonal SNPs (∼4% in Machado et al. 2021), both of which were obtained using different signals (using regression analyses P-values, as opposed to correlations between clinal and seasonal changes).

Discussion

Clinal patterns have been observed in both phenotypic and genotypic traits in many different species (Hancock et al. 2008; Baxter et al. 2010; Adrion et al. 2015). Especially in systems in which there is collinearity between the axis of gene flow and environmental heterogeneity, disentangling the contribution of selection and demography in producing clines is not trivial.

Detecting seasonal cycling in allele frequencies is also challenging, mostly because the effect size is likely to be small and the environment may change unpredictably within seasons. The environment changes similarly with latitude and through seasons, so by jointly modeling spatial and temporal changes in allele frequency it may be possible to disentangle the role of adaptive and nonadaptive processes. Here, we showed that clinal and seasonal changes are correlated across the D. melanogaster genome, suggesting natural selection plays an important role in structuring allele frequencies over latitude and seasons.

Demographic processes are expected to impact the genome as a whole, but the effects of selection are stronger in regions with higher densities of functional sites (Andolfatto 2005). Consistent with this expectation, we found that correlation between clinal and seasonal changes varies across genomic regions, being stronger in coding regions (Fig. 2A, C). We derived a way to biologically interpret our statistic of interest, the correlation between clinal and seasonal changes. We found that allele frequency changes in roughly 3.7% of common, autosomal SNPs could be driven by natural selection.

Because we expect selection to intensify LD, the correlation between clinal and seasonal variations could be mostly driven by a few large effect loci. Segregating inversions are known to underlie much of climatic adaptation in D. melanogaster (Fabian et al. 2012; Kapun et al. 2014, 2016), therefore we investigated how much of our signal depended on inversion status. We found the correlation between clinal and seasonal changes to be stronger surrounding common inversions, highlighting the role of selection in driving frequency changes in common, cosmopolitan inversions in D. melanogaster. The correlation between clinal and seasonal changes is particularly high for SNPs near In(3R)Payne breakpoints, an inversion known to be associated to phenotypes relevant to adaptation to cooler climates (reviewed in Kapun and Flatt 2019). Nevertheless, clinal and seasonal changes are significantly correlated for SNPs far from inversion breakpoints, suggesting loci involved in adaptation at the spatial and seasonal scales are not restricted to inversions. We also controlled for autocorrelation along chromosomes and found that the effects of LD are rather strong, but they decay rapidly and seem to return to background levels after 5 kb (Fig. 3A–C). Indeed, the correlation between clinal and seasonal changes remains rather strong even after accounting for LD, suggesting parallel selection acts pervasively across the genome.

Population substructure and migration could be causing seasonal variation in allele frequency in D. melanogaster. For example, rural populations of D. melanogaster in temperate regions could collapse during the winter and recover from spring to fall. However, reproductive diapause cycles in orchards and reaches high frequencies early in the spring, whereas its frequency in urban fruit markets in Philadelphia is much lower (Schmidt and Conde 2006). Another possibility is that seasonal variation is produced by migration of flies from the south in the summer, and from the north in the winter. There is little evidence of long-range migration in D. melanogaster, although this process seems important in D. simulans (Bergland et al. 2014; Machado et al. 2016). Drosophila melanogaster have been shown to survive and reproduce during winter season in temperate regions, so flies can withstand a harsh winter season and be subject to selection (Mitrovski and Hoffmann 2001; Hoffmann et al. 2003; Rudman et al. 2019). These seasonal patterns have been replicated in many populations across North America and Europe (Machado et al. 2021), bolstering the argument for seasonal adaptation. Given the patterns we uncovered here are the result of subtle, but repeatable changes across multiple seasons, it is hard to imagine that selection is not the main causing force, even if it is acting to maintain cryptic population structure within each location.

Differential admixture from Europe and Africa to the ends of the clines cannot plausibly explain the parallel clinal and repeatably seasonal changes in allele frequencies (Duchen et al. 2013; Kao et al. 2015; Bergland et al. 2016), because variation over seasonal timescales is less affected by broader scale migration patterns. Further, the evidence for secondary contact in Australia is quite weak (see Bergland et al. 2016), but we show that clinal variation in Australia is correlated with seasonal variation in Pennsylvania (Fig. S3). Secondary contact may have contributed ancestral variation, which has since been selectively sorted along the cline (Flatt 2016). Consistent with this interpretation that selection mediates admixture in D. melanogaster, it has been found that the proportion of African ancestry is lower in low recombination regions (Pool 2015).

An important mechanism that can cause clinal patterns has been neglected from recent discussions of clinal variation in Drosophila. The latitudinal variation on the onset of seasons can produce clines, a phenomenon termed “seasonal phase clines” (Roff 1980; Rhomberg and Singh 1986). Under this model, a correlation between clinal and seasonal changes is expected. Our latitudinal samples were all collected within 1 month of difference (during the spring), and so our observations could be partially explained by differences in the seasonal phase. Our data do not allow for proper disentangling of seasonal phase clines from parallel environmental change but change on the onset of seasons alone cannot explain our results. We found that latitude is usually a much better predictor of allele frequency differences (Fig. 1A, B), and the magnitude of change along the cline is much greater than what we found within a population across seasons (9.2% vs. 2.64%). We show that including Maine samples (which were obtained in the fall, in contrast to all other samples that were sampled in the spring) in our analyses does not meaningfully change our main results (Fig. S3). However, the rate of change (per degree of latitude) in allele frequency from Florida to Maine is smaller than the rate from Florida to Massachusetts. This could be due to differences in sampling year, but we also found the rate of change in frequency between Virginia and Maine to be smaller than the rate between Virginia and Massachusetts (FL and ME were sampled in 2009, whereas VA and MA were sampled in 2012; Fig. S5). We believe these differences are due to the shift in seasonal phase, as the samples from Maine were collected in the fall, but all other samples were collected in the spring.

A recent study suggested that the temporal changes in allele frequency reported in Bergland et al. (2014) are only weakly consistent with seasonal selection (Buffalo and Coop 2020). Consecutive spring-fall pairs showed some signal of adaptation, but the effect was small and disappeared at larger timescales (same season but across different years). Similarly, Machado et al. (2021) found that when they flipped the season labels of some samples, the seasonal model fit was greatly improved. Consistent with these observations, we found there is strong temporal structure across years (Fig. 1C) and the matrix of pairwise FST shows some strong and seemingly haphazard temporal events (e.g., consider the entries for PA_07_2010 and PA_07_2015 in Fig. S5). Here with an expanded seasonal set of samples, we show that the distribution of seasonal P-values is only slightly enriched for low P-values (Fig. 1B), but top seasonal SNPs are enriched for functional genic classes, when compared to datasets in which the season labels were permuted (Fig. 2B). These results highlight how difficult it is to find truly seasonal SNPs with current datasets. Once more comprehensive time series data are available, environmental heterogeneity could be explored without the need for an imperfect proxy (such as seasons).

Many species occur along spatially structured environments and show clinal variation in traits, so a question that remains open is “what is the role of selection in producing and maintaining these patterns?” Seasonal variation is also ubiquitous, especially in temperate environments, so seasonal change could be an important feature of organisms that have multiple generations each year (Behrman et al. 2015). Here, we demonstrate that by integrating clinal and seasonal variations, we can discern the contributions of selection in driving allele frequency changes with the environment. Our empirical work suggests a considerable fraction of variants distributed across the genome underlie adaptation to environmental changes over space and time in D. melanogaster. Importantly, our findings, together with previous studies on seasonal adaptation in flies, are bound to challenge new theoretical developments on the mechanisms that are compatible with rapid and polygenic responses to changes in the environment (e.g., Wittmann et al. 2017).

AUTHOR CONTRIBUTIONS

MFR and RC designed the research. MFR performed the research and analyzed the data. MFR, MDV, and RC discussed the results and conclusions. MFR wrote the manuscript with input from MDV and RC.

ACKNOWLEDGMENTS

We would like to thank all the members of the Cogni Lab for input and support throughout the development of this work. We thank D. Meyer, P. Schmidt, R. Azevedo, P. Ralph, and three anonymous reviewers for helpful comments on earlier versions of this manuscript. Funding for this work was provided by São Paulo Research Foundation (FAPESP) (13/25991-0 and 17/02206-6 to RC; 15/20844-4 to MDV; and 16/01354-9 and 17/06374-0 to MFR), CNPq (307015/2015-7 and 307447/2018-9 to RC), and a Newton Advanced Fellowship from the Royal Society to RC.

DATA ARCHIVING

All the data used in this project are available on the NCBI Short Read Archive (BioProject accession numbers PRJNA256231 and PRJNA308584, and NCBI Sequence Read Archive SRA012285.16).

CONFLICT OF INTEREST

The authors declare no conflict of interest.

LITERATURE CITED

Adrion
,
J. R.
,
M. W.
Hahn
, and
B. S.
Cooper
.
2015
.
Revisiting classic clines in Drosophila melanogaster in the age of genomics
.
Trends Genet.
 
31
:
434
444
.

Anderson
,
A. R.
,
A. A.
Hoffmann
,
S. W.
McKechnie
,
P. A.
Umina
, and
A. R.
Weeks
.
2005
.
The latitudinal cline in the In (3R) Payne inversion polymorphism has shifted in the last 20 years in Australian Drosophila melanogaster populations
.
Mol. Ecol.
 
14
:
851
858
.

Andolfatto
,
P.
 
2005
.
Adaptive evolution of non-coding DNA in Drosophila
.
Nature
 
437
:
1149
.

Arthur
,
A. L.
,
A. R.
Weeks
, and
C. M.
Sgrò
.
2008
.
Investigating latitudinal clines for life history and stress resistance traits in Drosophila simulans from eastern Australia
.
J. Evol. Biol.
 
21
:
1470
1479
.

Ashburner
,
M.
,
C. A.
Ball
,
J. A.
Blake
,
D.
Botstein
,
H.
Butler
,
J. M.
Cherry
,
A. P.
Davis
,
K.
Dolinski
,
S. S.
Dwight
,
J. T.
Eppig
, et al.
2000
.
Gene ontology: tool for the unification of biology. The Gene Ontology Consortium
.
Nat. Genet.
 
25
:
25
29
.

Bansal
,
V.
,
V.
Bansal
, and
O.
Libiger
.
2016
.
A statistical method for the detection of variants from next-generation resequencing of DNA pools
.
Bioinformatics
 
32
:
3213
.

Barton
,
N. H.
 
1983
.
Multilocus clines
.
Evolution
 
37
:
454
471
.

———.

1999
.
Clines in polygenic traits
.
Genet. Res.
 
74
:
223
236
.

Baxter
,
I.
,
J. N.
Brazelton
,
D.
Yu
,
Y. S.
Huang
,
B.
Lahner
,
E.
Yakubova
,
Y.
Li
,
J.
Bergelson
,
J. O.
Borevitz
,
M.
Nordborg
, et al.
2010
.
A coastal cline in sodium accumulation in Arabidopsis thaliana is driven by natural variation of the sodium transporter AtHKT1;1
.
PLoS Genet.
 
6
:e1001193.

Behrman
,
E. L.
,
S. S.
Watson
,
K. R.
O'Brien
,
M. S.
Heschel
, and
P. S.
Schmidt
.
2015
.
Seasonal variation in life history traits in two Drosophila species
.
J. Evol. Biol.
 
28
:
1691
1704
.

Behrman
,
E. L.
,
V. M.
Howick
,
M.
Kapun
,
F.
Staubach
,
A. O.
Bergland
,
D. A.
Petrov
,
B. P.
Lazzaro
, and
P. S.
Schmidt
.
2018
.
Rapid seasonal evolution in innate immunity of wild Drosophila melanogaster
.
Proc. Biol. Sci.
 
285
:20172599.

Bergland
,
A. O.
,
E. L.
Behrman
,
K. R.
O'Brien
,
P. S.
Schmidt
, and
D. A.
Petrov
.
2014
.
Genomic evidence of rapid and stable adaptive oscillations over seasonal time scales in Drosophila
.
PLoS Genet.
 
10
:e1004775.

Bergland
,
A. O.
,
R.
Tobler
,
J.
González
,
P.
Schmidt
, and
D.
Petrov
.
2016
.
Secondary contact and local adaptation contribute to genome-wide patterns of clinal variation in Drosophila melanogaster
.
Mol. Ecol.
 
25
:
1157
1174
.

Buffalo
,
V.
, and
G.
Coop
.
2020
.
Estimating the genome-wide contribution of selection to temporal allele frequency change
.
Proc. Natl. Acad. Sci. USA
 
117
:
20672
20680
.

Campitelli
,
B. E.
, and
J. R.
Stinchcombe
.
2013
.
Natural selection maintains a single-locus leaf shape cline in Ivyleaf morning glory, Ipomoea hederacea
.
Mol. Ecol.
 
22
:
552
564
.

Caracristi
,
G.
, and
C.
Schlötterer
.
2003
.
Genetic differentiation between American and European Drosophila melanogaster populations could be attributed to admixture of African alleles
.
Mol. Biol. Evol.
 
20
:
792
799
.

Cardini
,
A.
,
A.-U.
Jansson
, and
S.
Elton
.
2007
.
A geometric morphometric approach to the study of ecogeographical and clinal variation in vervet monkeys
.
J. Biogeogr.
 
34
:
1663
1678
.

Cingolani
,
P.
,
A.
Platts
,
L. L.
Wang
,
M.
Coon
,
T.
Nguyen
,
L.
Wang
,
S. J.
Land
,
X.
Lu
, and
D. M.
Ruden
.
2012
.
A program for annotating and predicting the effects of single nucleotide polymorphisms, SnpEff: SNPs in the genome of Drosophila melanogaster strain w1118; iso-2; iso-3
.
Fly
 
6
:
80
92
.

Cogni
,
R.
,
C.
Kuczynski
,
S.
Koury
,
E.
Lavington
,
E. L.
Behrman
,
K. R.
O'Brien
,
P. S.
Schmidt
, and
W. F.
Eanes
.
2014
.
The intensity of selection acting on the couch potato gene—spatial–temporal variation in a diapause cline
.
Evolution
 
68
:
538
548
.

Cogni
,
R.
,
K.
Kuczynski
,
E.
Lavington
,
S.
Koury
,
E. L.
Behrman
,
K. R.
O'Brien
,
P. S.
Schmidt
, and
W. F.
Eanes
.
2015
.
Variation in Drosophila melanogaster central metabolic genes appears driven by natural selection both within and between populations
.
Proc. R. Soc. Lond. B Biol. Sci.
 
282
:20142688.

Cogni
,
R.
,
K.
Kuczynski
,
S.
Koury
,
E.
Lavington
,
E. L.
Behrman
,
K. R.
O'Brien
,
P. S.
Schmidt
, and
W. F.
Eanes
.
2017
.
On the long-term stability of clines in some metabolic genes in Drosophila melanogaster
.
Sci. Rep.
 
7
:42766.

Corbett-Detig
,
R. B.
, and
D. L.
Hartl
.
2012
.
Population genomics of inversion polymorphisms in Drosophila melanogaster
.
PLOS Genet.
 
8
:e1003056.

David
,
J.
,
P.
Capy
,
V.
Payant
, and
S.
Tsakas
.
1985
.
Thoracic trident pigmentation in Drosophila melanogaster: differentiation of geographical populations
.
Genet. Sel. Evol.
 
17
:
211
224
.

David
,
J. R.
, and
P.
Capy
.
1988
.
Genetic variation of Drosophila melanogaster natural populations
.
Trends Genet.
 
4
:
106
111
.

Dionne
,
M.
,
K. M.
Miller
,
J. J.
Dodson
,
F.
Caron
, and
L.
Bernatchez
.
2007
.
Clinal variation in MHC diversity with temperature: evidence for the role of host–pathogen interaction on local adaptation in Atlantic salmon
.
Evolution
 
61
:
2154
-
2164
.

Dobzhansky
,
T.
 
1943
.
Genetics of natural populations IX. Temporal changes in the composition of populations of Drosophila pseudoobscura
.
Genetics
 
28
:
162
186
.

Duchen
,
P.
,
D.
Zivkovic
,
S.
Hutter
,
W.
Stephan
, and
S.
Laurent
.
2013
.
Demographic inference reveals African and European admixture in the North American Drosophila melanogaster population
.
Genetics
 
193
:
291
301
.

Endler
,
J. A.
 
1977
.
Geographic variation, speciation, and clines
.
Monogr. Popul. Biol.
 
10
:
1
246
.

Ewing
,
E. P.
 
1979
.
Genetic variation in a heterogeneous environment VII. Temporal and spatial heterogeneity in infinite populations
.
Am. Nat.
 
114
:
197
212
.

Excoffier
,
L.
,
M.
Foll
, and
R. J.
Petit
.
2009
.
Genetic consequences of range expansions
.
Annu. Rev. Ecol. Evol. Syst.
 
40
:
481
501
.

Fabian
,
D. K.
,
M.
Kapun
,
V.
Nolte
,
R.
Kofler
,
P. S.
Schmidt
,
C.
Schlötterer
, and
T.
Flatt
.
2012
.
Genome-wide patterns of latitudinal differentiation among populations of Drosophila melanogaster from North America
.
Mol. Ecol.
 
21
:
4748
4769
.

Feder
,
A. F.
,
D. A.
Petrov
, and
A. O.
Bergland
.
2012
.
LDx: estimation of linkage disequilibrium from high-throughput pooled resequencing data
.
PLoS ONE
 
7
:e48588.

Flatt
,
T.
 
2016
.
Genomics of clinal variation in Drosophila: disentangling the interactions of selection and demography
.
Mol. Ecol.
 
25
:
1023
-
1026
.

García-Vázquez
,
E.
, and
F.
Sánchez-Refusta
.
1988
.
Chromosomal polymorphism and extra bristles of Drosophila melanogaster: joint variation under selection in isofemale lines
.
Genetica
 
78
:
91
96
.

Gramates
,
L. S.
,
S. J.
Marygold
,
G. D.
Santos
,
J.-M.
Urbano
,
G.
Antonazzo
,
B. B.
Matthews
,
A. J.
Rey
,
C. J.
Tabone
,
M. A.
Crosby
,
D. B.
Emmert
, et al.
2017
.
FlyBase at 25: looking to the future
.
Nucleic Acids Res.
 
45
:
D663
D671
.

Hancock
,
A. M.
,
D. B.
Witonsky
,
A. S.
Gordon
,
G.
Eshel
,
J. K.
Pritchard
,
G.
Coop
, and
A.
Di Rienzo
.
2008
.
Adaptations to climate in candidate genes for common metabolic disorders
.
PLoS Genet.
 
4
:e32.

Hivert
,
V.
,
R.
Leblois
,
E. J.
Petit
,
M.
Gautier
, and
R.
Vitalis
.
2018
.
Measuring genetic differentiation from Pool-seq data
.
Genetics
 
210
:
315
330
.

Hoffmann
,
A. A.
, and
A. R.
Weeks
.
2007
.
Climatic selection on genes and traits after a 100 year-old invasion: a critical look at the temperate-tropical clines in Drosophila melanogaster from eastern Australia
.
Genetica
 
129
:
133
147
.

Hoffmann
,
A. A.
,
A.
Anderson
, and
R.
Hallas
.
2002
.
Opposing clines for high and low temperature resistance in Drosophila melanogaster
.
Ecol. Lett.
 
5
:
614
618
.

Hoffmann
,
A. A.
,
M.
Scott
,
L.
Partridge
, and
R.
Hallas
.
2003
.
Overwintering in Drosophila melanogaster: outdoor field cage experiments on clinal and laboratory selected populations help to elucidate traits under selection
.
J. Evol. Biol.
 
16
:
614
623
.

de Jong
,
G.
, and
Z.
Bochdanovits
.
2003
.
Latitudinal clines in Drosophila melanogaster: body size, allozyme frequencies, inversion frequencies, and the insulin-signalling pathway
.
J. Genet.
 
82
:
207
223
.

Kao
,
J. Y.
,
A.
Zubair
,
M. P.
Salomon
,
S. V.
Nuzhdin
, and
D.
Campo
.
2015
.
Population genomic analysis uncovers African and European admixture in Drosophila melanogaster populations from the south-eastern United States and Caribbean Islands
.
Mol. Ecol.
 
24
:
1499
1509
.

Kapun
,
M.
, and
T.
Flatt
.
2019
.
The adaptive significance of chromosomal inversion polymorphisms in Drosophila Melanogaster
.
Mol. Ecol.
 
28
:
1263
1282
.

Kapun
,
M.
,
H.
van Schalkwyk
,
B.
McAllister
,
T.
Flatt
, and
C.
Schlötterer
.
2014
.
Inference of chromosomal inversion dynamics from Pool-Seq data in natural and laboratory populations of Drosophila melanogaster
.
Mol. Ecol.
 
23
:
1813
1827
.

Kapun
,
M.
,
D. K.
Fabian
,
J.
Goudet
, and
T.
Flatt
.
2016
.
Genomic evidence for adaptive inversion clines in Drosophila melanogaster
.
Mol. Biol. Evol.
 
33
:
1317
1336
.

Kawecki
,
T. J.
, and
D.
Ebert
.
2004
.
Conceptual issues in local adaptation
.
Ecol. Lett.
 
7
:
1225
1241
.

Keller
,
A.
 
2007
.
Drosophila melanogaster’s history as a human commensal
.
Curr. Biol.
 
17
:
R77
R81
.

Knibb
,
W. R.
 
1982
.
Chromosome inversion polymorphisms in Drosophila melanogaster II. Geographic clines and climatic associations in Australasia, North America and Asia
.
Genetica
 
58
:
213
221
.

Kofler
,
R.
, and
C.
Schlötterer
.
2012
.
Gowinda: unbiased analysis of gene set enrichment for genome-wide association studies
.
Bioinformatics
 
28
:
2084
2085
.

Kofler
,
R.
,
P.
Orozco-terWengel
,
N.
De Maio
,
R. V.
Pandey
,
V.
Nolte
,
A.
Futschik
,
C.
Kosiol
, and
C.
Schlötterer
.
2011
.
PoPoolation: a toolbox for population genetic analysis of next generation sequencing data from pooled individuals
.
PLoS ONE
 
6
:e15925.

Kolaczkowski
,
B.
,
A. D.
Kern
,
A. K.
Holloway
, and
D. J.
Begun
.
2011
.
Genomic differentiation between temperate and tropical Australian populations of Drosophila melanogaster
.
Genetics
 
187
:
245
260
.

Kooyers
,
N. J.
,
A. B.
Greenlee
,
J. M.
Colicchio
,
M.
Oh
, and
B. K.
Blackman
.
2015
.
Replicate altitudinal clines reveal that evolutionary flexibility underlies adaptation to drought stress in annual Mimulus guttatus
.
New Phytol.
 
206
:
152
165
.

Krimbas
,
C. B.
, and
J. R.
Powell
.
1992
.
Drosophila inversion polymorphism
.
CRC Press
,
Boca Raton, FL
.

Lavington
,
E.
,
R.
Cogni
,
C.
Kuczynski
,
S.
Koury
,
E. L.
Behrman
,
K. R.
O'Brien
,
P. S.
Schmidt
, and
W. F.
Eanes
.
2014
.
A small system–high-resolution study of metabolic adaptation in the central metabolic pathway to temperate climates in Drosophila melanogaster
.
Mol. Biol. Evol.
 
31
:
2032
2041
.

Levene
,
H.
 
1953
.
Genetic equilibrium when more than one ecological niche is available
.
The American Naturalist
 
87
:
331
333
. Science Press.

Li
,
H.
, and
R.
Durbin
.
2010
.
Fast and accurate long-read alignment with Burrows-Wheeler transform
.
Bioinformatics
 
26
:
589
595
.

Li
,
H.
, and
W.
Stephan
.
2006
.
Inferring the demographic history and rate of adaptive substitution in Drosophila
.
PLoS Genet.
 
2
:e166.

Lynch
,
M.
,
D.
Bost
,
S.
Wilson
,
T.
Maruki
, and
S.
Harrison
.
2014
.
Population-genetic inference from pooled-sequencing data
.
Genome Biol. Evol.
 
6
:
1210
1218
.

Machado
,
H. E.
,
A. O.
Bergland
,
K. R.
O'Brien
,
E. L.
Behrman
,
P. S.
Schmidt
, and
D. A.
Petrov
.
2016
.
Comparative population genomics of latitudinal variation in Drosophila simulans and Drosophila melanogaster
.
Mol. Ecol.
 
25
:
723
740
.

Machado
,
H. E.
,
A. O.
Bergland
,
R.
Taylor
,
S.
Tilk
,
E.
Behrman
,
K.
Dyer
,
D. K.
Fabian
,
T.
Flatt
,
J.
González
,
T. L.
Karasov
, et al.
2021
.
Broad geographic sampling reveals predictable, pervasive, and strong seasonal adaptation in Drosophila
.
bioRxiv
. https://doi.org/10.1101/337543.

Mackay
,
T. F. C.
,
S.
Richards
,
E. A.
Stone
,
A.
Barbadilla
,
J. F.
Ayroles
,
D.
Zhu
,
S.
Casillas
,
Y.
Han
,
M. M.
Magwire
,
J. M.
Cridland
, et al.
2012
.
The Drosophila melanogaster genetic reference panel
.
Nature
 
482
:
173
178
.

McKenna
,
A.
,
M.
Hanna
,
E.
Banks
,
A.
Sivachenko
,
K.
Cibulskis
,
A.
Kernytsky
,
K.
Garimella
,
D.
Altshuler
,
S.
Gabriel
,
M.
Daly
, et al.
2010
.
The genome analysis toolkit: a MapReduce framework for analyzing next-generation DNA sequencing data
.
Genome Res.
 
20
:
1297
1303
.

Mettler
,
L. E.
,
R. A.
Voelker
, and
T.
Mukai
.
1977
.
Inversion clines in populations of Drosophila melanogaster
.
Genetics
 
87
:
169
176
.

Mitrovski
,
P.
, and
A. A.
Hoffmann
.
2001
.
Postponed reproduction as an adaptation to winter conditions in Drosophila melanogaster: evidence for clinal variation under semi-natural conditions
.
Proc. Biol. Sci.
 
268
:
2163
2168
.

Oakeshott
,
J. G.
,
J. B.
Gibson
,
P. R.
Anderson
,
W. R.
Knibb
,
A.
DG
, and
G. K.
Chambers
.
1982
.
Alcohol dehydrogenase and glycerol-3-phosphate dehydrogenase clines in Drosophila melanogaster on different continents
.
Evolution
 
36
:
86
96
.

Paaby
,
A. B.
,
M. J.
Blacket
,
A. A.
Hoffmann
, and
P. S.
Schmidt
.
2010
.
Identification of a candidate adaptive polymorphism for Drosophila life history by parallel independent clines on two continents
.
Mol. Ecol.
 
19
:
760
774
.

Paaby
,
A. B.
,
A. O.
Bergland
,
E. L.
Behrman
, and
P. S.
Schmidt
.
2014
.
A highly pleiotropic amino acid polymorphism in the Drosophila insulin receptor contributes to life-history adaptation
.
Evolution
 
68
:
3395
3409
.

Pavlidis
,
P.
,
J. D.
Jensen
,
W.
Stephan
, and
A.
Stamatakis
.
2012
.
A critical assessment of storytelling: gene ontology categories and the importance of validating genomic scans
.
Mol. Biol. Evol.
 
29
:
3237
3248
.

Pool
,
J. E.
 
2015
.
The mosaic ancestry of the Drosophila genetic reference panel and the D. melanogaster reference genome reveals a network of epistatic fitness interactions
.
Mol. Biol. Evol.
 
32
:
3236
-
3251
.

Rajpurohit
,
S.
,
R.
Hanus
,
V.
Vrkoslav
,
E. L.
Behrman
,
A. O.
Bergland
,
D.
Petrov
,
J.
Cvačka
, and
P. S.
Schmidt
.
2017
.
Adaptive dynamics of cuticular hydrocarbons in Drosophila
.
J. Evol. Biol.
 
30
:
66
80
.

R Core Team
.
2018
.
R: a language and environment for statistical computing
. Available via https://www.R-project.org/.

Reinhardt
,
J. A.
,
B.
Kolaczkowski
,
C. D.
Jones
,
D. J.
Begun
, and
A. D.
Kern
.
2014
.
Parallel geographic variation in Drosophila melanogaster
.
Genetics
 
197
:
361
373
.

Rhomberg
,
L. R.
, and
R. S.
Singh
.
1986
.
Evidence for a link between local and seasonal cycles in gene frequencies and latitudinal gene clines in a cyclic parthenogen
.
Genetica
 
78
:
73
-
79
.

Roff
,
D.
 
1980
.
Optimizing development time in a seasonal environment: the ‘ups and downs’ of clinal variation
.
Oecologia
 
45
:
202
-
208
.

Rudman
,
S. M.
,
S.
Greenblum
,
R. C.
Hughes
,
S.
Rajpurohit
,
O.
Kiratli
,
D. B.
Lowder
,
S. G.
Lemmon
,
D. A.
Petrov
,
J. M.
Chaston
, and
P.
Schmidt
.
2019
.
Microbiome composition shapes rapid genomic adaptation of Drosophila melanogaster
.
Proc. Natl. Acad. Sci. USA
 
116
:
20025
20032
.

Schmidt
,
P. S.
, and
A. B.
Paaby
.
2008
.
Reproductive diapause and life-history clines in North American populations of Drosophila melanogaster
.
Evolution
 
62
:
1204
1215
.

Schmidt
,
P. S.
, and
D. R.
Conde
.
2006
.
Environmental heterogeneity and the maintenance of genetic variation for reproductive diapause in Drosophila melanogaster
.
Evolution
 
60
:
1602
1611
.

Schmidt
,
P. S.
,
D. D.
Duvernell
, and
W. F.
Eanes
.
2000
.
Adaptive evolution of a candidate gene for aging in Drosophila
.
Proc. Natl. Acad. Sci. USA
 
97
:
10861
10865
.

Schmidt
,
P. S.
,
L.
Matzkin
,
M.
Ippolito
,
W. F.
Eanes
, and
J.
Hey
.
2005
.
Geographic variation in diapause incidence, life-history traits, and climatic adaptation in Drosophila melanogaster
.
Evolution
 
59
:
1721
1732
.

Schrider
,
D. R.
,
M. W.
Hahn
, and
D. J.
Begun
.
2016
.
Parallel evolution of copy-number variation across continents in Drosophila melanogaster
.
Mol. Biol. Evol.
 
33
:
1308
1316
.

Sezgin
,
E.
,
D. D.
Duvernell
,
L. M.
Matzkin
,
Y.
Duan
,
C.-T.
Zhu
,
B. C.
Verrelli
, and
W. F.
Eanes
.
2004
.
Single-locus latitudinal clines and their relationship to temperate adaptation in metabolic genes and derived alleles in Drosophila melanogaster
.
Genetics
 
168
:
923
931
.

Singh
,
R. S.
, and
L. R.
Rhomberg
.
1987a
.
A comprehensive study of genic variation in natural populations of Drosophila melanogaster. II. Estimates of heterozygosity and patterns of geographic differentiation
.
Genetics
 
117
:
255
271
.

———.

1987b
.
A comprehensive study of genic variation in natural populations of Drosophila melanogaster. I. estimates of gene flow from rare alleles
.
Genetics
 
115
:
313
322
.

Smith
,
J. M.
, and
J.
Haigh
.
1974
.
The hitch-hiking effect of a favourable gene
.
Genet. Res.
 
23
:
23
35
.

Turner
,
T. L.
,
M. T.
Levine
,
M. L.
Eckert
, and
D. J.
Begun
.
2008
.
Genomic analysis of adaptive differentiation in Drosophila melanogaster
.
Genetics
 
179
:
455
473
.

Vasemägi
,
A.
 
2006
.
The adaptive hypothesis of clinal variation revisited: single-locus clines as a result of spatially restricted gene flow
.
Genetics
 
173
:
2411
2414
.

Verrelli
,
B. C.
, and
W. F.
Eanes
.
2001
.
Clinal variation for amino acid polymorphisms at the Pgm locus in Drosophila melanogaster
.
Genetics
 
157
:
1649
-
1663
.

Vigue
,
C. L.
, and
F. M.
Johnson
.
1973
.
Isozyme variability in species of the genus Drosophila. VI. Frequency-property-environment relationships of allelic alcohol dehydrogenases in D. melanogaster
.
Biochem. Genet.
 
9
:
213
-
227
.

Wickham
,
H.
 
2016
.
ggplot2: elegant graphics for data analysis
.
Springer-Verlag
,
New York
.

Wittmann
,
M. J.
,
A. O.
Bergland
,
M. W.
Feldman
,
P. S.
Schmidt
, and
D. A.
Petrov
.
2017
.
Seasonally fluctuating selection can maintain polymorphism at many loci via segregation lift
.
Proc. Natl. Acad. Sci. USA
 
114
:
E9932
-
41
.

Wright
,
S.
 
1943
.
Isolation by distance
.
Genetics
 
28
:
114
138
.

Wright
,
S.
, and
T.
Dobzhansky
.
1946
.
Genetics of natural populations; experimental reproduction of some of the changes caused by natural selection in certain populations of Drosophila pseudoobscura
.
Genetics
 
31
:
125
156
.

Yukilevich
,
R.
, and
J. R.
True
.
2008
.
African morphology, behavior and phermones underlie incipient sexual isolation between us and Caribbean Drosophila melanogaster
.
Evolution
 
62
:
2807
2828
.

Yukilevich
,
R.
,
T. L.
Turner
,
F.
Aoki
,
S. V.
Nuzhdin
, and
J. R.
True
.
2010
.
Patterns and processes of genome-wide divergence between North American and African Drosophila melanogaster
.
Genetics
 
186
:
219
239
.

Zuther
,
E.
,
E.
Schulz
,
L. H.
Childs
, and
D. K.
Hincha
.
2012
.
Clinal variation in the non-acclimated and cold-acclimated freezing tolerance of Arabidopsis thaliana accessions
.
Plant Cell Environ.
 
35
:
1860
1878
.

Associate Editor: Y. Brandvain

Handling Editor: T. Chapman

This article is published and distributed under the terms of the Oxford University Press, Standard Journals Publication Model (https://dbpia.nl.go.kr/journals/pages/open_access/funder_policies/chorus/standard_publication_model)