1. Introduction
Characteristic changes in DNA sequence polymorphism, such as a locus-specific reduction in the amount of variation (Maynard Smith & Haigh, Reference Maynard Smith and Haigh1974; Kaplan et al., Reference Kaplan, Hudson and Langley1989), skew in site-frequency spectrum (Braverman et al. Reference Braverman, Hudson, Kaplan, Langley and Stephan1995; Fay & Wu, Reference Fay and Wu2000), and characteristic patterning of linkage disequilibrium (LD) (Kim & Nielsen, Reference Kim and Nielsen2004; Stephan et al., Reference Stephan, Song and Langley2006), are caused by the fixation of an advantageous allele driven by strong directional selection. This effect, termed selective sweep or genetic hitchhiking, provides a strong evidence of recent adaptive evolution at a local genomic region that is otherwise difficult to prove. Advances in the mathematical theory of selective sweeps allowed researchers to identify the characteristic signature from DNA sequence polymorphism, statistically distinguishable from randomly generated patterns under genetic drift, and obtain basic information about adaptation such as the intensity of selection. However, detailed predictions on the pattern of DNA sequence polymorphism provided by the current theory of selective sweeps may not be robust to the standard assumptions of the simple demographic structure of population (e.g. large random mating population) and the mode of selection (e.g. constant selective pressure on a newly arising mutation). At the same time, a deviation of the sweep pattern from the standard prediction may contain information about biological details in the complex nature of adaptive evolution.
Individuals in a natural population are distributed over a geographical space and this structure of population is often modelled as a network of subpopulations or demes, within which individuals mate randomly. The pattern of selective sweeps in spatially subdivided populations was investigated in several studies (Slatkin & Wiehe, Reference Slatkin and Wiehe1998; Wiehe et al., Reference Wiehe, Schmid, Stephan and Nurminsky2005; Faure et al., Reference Faure, David, Bonhomme and Bierne2008; Bierne, Reference Bierne2010; Kim & Maruki, Reference Kim and Maruki2011). They focused on how the measure of population differentiation, Wright's F ST statistic, is affected by a selective sweep spreading across demes. Their results suggest that, if populations are already highly differentiated, a sweep of a common haplotype linked to the selected allele leads to a local reduction in genetic differentiation (decrease in F ST) (Santiago & Caballero, Reference Santiago and Caballero2005). On the other hand, if populations are initially weakly differentiated (low F ST), the stochastic breakdown of association between the selected allele and neutral alleles by recombination leads to a local increase in F ST (Slatkin & Wiehe, Reference Slatkin and Wiehe1998; Bierne, Reference Bierne2010). Investigation on this effect was further extended in Kim & Maruki (Reference Kim and Maruki2011), which mainly considered a subdivided population with very frequent migration among demes (m << 1 but Nm > 1, where m is the migration rate per lineage per generation and N is the effective population size of a deme) and thus the spatial population structure is not ‘visible’ by F ST measured at random neutral loci. Still in this case, the spread of beneficial allele, with selective advantage s, over the entire population is slower than in a completely panmictic population as long as m < s. This delay in the propagation of the beneficial allele provides more opportunities for the breakdown of association between the beneficial and neutral alleles, thus leading to weaker signature of selective sweep. At the same time, the patterns of polymorphism after sweep become spatially structured: around the selective target locus, F ST increases as predicted by Slatkin & Wiehe (Reference Slatkin and Wiehe1998). Furthermore, the expected amount of variation (heterozygosity) is lowest in the first deme (where the beneficial mutation first occurred and started) but gradually increases as distance from the first deme, along the path of beneficial mutants' spread, increases (Kim & Maruki, Reference Kim and Maruki2011).
When the spatial structure of population causes deviations in the pattern of selective sweep, compared with prediction by the standard model of selective sweep, as described above, it may affect the statistical inference and parameter estimation of positive selection from DNA sequence data if the statistical method is based on a standard model assuming panmixia. On the other hand, such deviations may provide information on biological details in the process of adaptive evolution. For example, by observing the gradient of heterozygosity left after sweep, one may infer the spatial origin of beneficial mutation (Kim & Maruki, Reference Kim and Maruki2011). However, it is not known whether such a pattern can be confidently inferred in actual genetic data, which is expected to be greatly influenced by stochastic noises. For these reasons, it is important to predict how clearly the unique patterns of selective sweep would be identified in DNA sequences sampled over a subdivided population. However, previous studies listed above mainly focused on the expectation, not the stochastic distribution, of changes in heterozygosity and F ST. Furthermore, previous results are for one neutral locus near the location of selection. The patterns of polymorphism at multiple linked neutral loci – such as frequency spectrum and LD summarized by statistics like Tajima's D and r 2 (Hill & Robertson, Reference Hill and Robertson1968; Tajima, Reference Tajima1989) – are likely to contain more information than single-site heterozygosity and F ST. This study therefore aims to predict full stochastic patterns of multi-locus polymorphism in DNA sequences sampled over a subdivided population. Here, as in Kim & Maruki (Reference Kim and Maruki2011), hard and complete selective sweeps are considered: the beneficial mutation occurs once and increases due to selection until it is fixed. A different model of directional selection on continuous geographic space, resulting in the pattern of soft selective sweep due to the spread of multiple beneficial alleles, was investigated in Ralph & Coop (Reference Ralph and Coop2010).
As the multi-locus stochastic model of selective sweep is mathematically intractable, this study examines the pattern using computer simulation. Coalescent simulations are commonly used to obtain the distribution of Tajima's D and other sample statistics. Although it is very fast to allow the exploration of multi-dimensional parameter space, coalescent simulation is however feasible for only limited sets of demographic and selective scenarios. For the complicated (but realistic) models of demography and selection, individual-based forward-in-time simulation is more straightforward and feasible without requiring advanced programming skills. The notorious problem of low speed in individual-based simulations can be solved for the simulation of selective sweeps, as outlined in Kim & Wiehe (Reference Kim and Wiehe2009). Namely, evolutionary process in the whole population is simulated forward-in-time only for the selective phase, which is defined as the period from the birth to the fixation of the beneficial mutation. Then, the structure of genealogy (coalescent tree) during the selective phase is extracted and then combined to standard neutral polymorphism expected at the start of selective phase. (Here, combining pre-determined ancestral polymorphism with individual-based forward simulation should not be confused with another simulation method that constructs the trajectory of selected allele forward in time and then builds genealogy at linked loci using the principle of structured coalescent (Spencer & Coop, Reference Spencer and Coop2004; Ewing & Hermisson, Reference Ewing and Hermisson2010).) This approach led to very fast estimation of expected heterozygosity in complex models of selection (e.g. Kim & Stephan, Reference Kim and Stephan2003) without explicitly modelling mutation processes. For the current investigation, this simulation method is further extended to generate the multi-locus pattern of bi-allelic polymorphism as expected for actual DNA sequence data. The method developed here can be applied to any other complex models of selective sweeps.
2. Model and simulation methods
This study considers a population with N haploid individuals that is subdivided into ten demes of equal sizes (N d = N/10). Following Kim & Maruki (Reference Kim and Maruki2011), these demes are spatially arranged according to a circular stepping-stone model. Demes are indexed by 1–10 according to their spatial arrangement. Reproduction occurs in discrete generations according to the Wright–Fisher model to which the steps of selection, recombination and migration are added. Recombination is assumed to occur by a random union of two haploids followed by meiosis. The evolutionary dynamics studied here is therefore equivalent to that of a population with N/2 diploid individuals under additive selection (no dominance). During migration, a given haploid in deme k moves to deme k−1 (10 if k = 1) or k + 1 (1 if k = 10) with probability m. A mutation to a beneficial allele, denoted B, with selection coefficient s occurs in deme 1 and this allele spreads to the entire population by positive selection.
To investigate the stochastic patterns of selective sweeps at multiple neutral loci, this study performs an individual-based simulation in which a haploid individual is represented by a chromosome with 200 evenly spaced neutral loci and the locus of the beneficial allele (denoted ‘B locus’) that is located between the 100th and 101st neutral loci. A neutral locus here corresponds to a short DNA segment that harbours at most one polymorphic site as observed in a set of sampled DNA sequences (see below). Recombination occurs between adjacent neutral loci with probability rn (with rn/2 between the B locus and an adjacent neutral locus). While individual-based forward-in-time simulations that keep track of bi-allelic evolutionary dynamics at multiple neutral loci are generally too slow to be practical in exploring multi-dimensional parameter space, this study uses an approach to shorten the simulation time by extracting the structure of genealogy at all loci during the selective phase (time between the occurrence and the fixation of the advantageous allele) as described in Kim & Wiehe (Reference Kim and Wiehe2009).
Simulation starts with one chromosome carrying the B allele at time t = 0 in deme 1 and other N−1 chromosomes carrying the ancestral allele b. To trace gene lineages at each neutral locus forward in time, chromosomes in the population at t=0 are indexed by distinct ‘ancestral numbers’ (1, …,N). Namely, all of the N neutral lineages at a locus are distinctly marked. In the subsequent generations (forward-in-time) many of these lineages are lost by genetic drift or by hitchhiking effect. The B allele may also be lost by genetic drift. In that case, simulation starts again from the initial condition described above. Let τ be the number of generations it takes for the B allele to be fixed in the entire population. Considering one neutral locus, let pi(t) be the frequency of ancestral number i (=1, …,N) at time t during a simulation run. Hence, pi(0) = 1/N and p 1(t)+p 2(t)+···+pN(t)=1 for all t. With strong selection, the duration of a selective sweep is very short in the time scale of neutral mutation and coalescent. Therefore, new neutral mutations between time 0 and τ can be ignored. Then, the expected heterozygosity after selective sweep relative to that before sweep is given by 1–{p 1(t)2+p 2(t)2+···+pN(t)2} (Kim & Wiehe, Reference Kim and Wiehe2009). Note that mutation process is not explicitly modelled to obtain this result. However, in order to investigate the multi-site stochastic patterns of variation as expected in actual DNA sequence polymorphism, it is necessary to generate the bi-allelic polymorphism by modelling explicit mutational products (alleles defined by identity by state) in the simulation. This is done as follows.
First, at time t = τ, n chromosomes are sampled over demes according to the sampling scheme described below. Then, lineages at each neutral locus are traced by identifying ancestral numbers that chromosomes carry. Let n 0 be the count of distinct ancestral numbers at the locus observed in the sample. This count represents how many distinct lineages ancestral to the sample are present at time t = 0. For example, if strong hitchhiking effect causes all neutral lineages to coalesce (looking backward in time) during the selective phase, n 0 = 1. If n 0 > 1 and it is assumed that the population evolved at neutral equilibrium before the start of selective sweep, the expected genealogy before sweep is given by the standard neutral coalescent tree starting with n 0 lineages. Therefore, n 0 determines the overall size of the genealogy (thus the expected level of variation in the sample) at the locus. Since new mutations between t = 0 and τ are ignored, a locus in the sample is polymorphic only if n 0 > 1 and if there was already polymorphism among the n 0 sequences at time 0. The probability of the latter is given by standard neutral theory: a derived allele is carried on k randomly chosen lineages with probability θ/k = 2Nμ/k (k=1, …, n 0–1; θ<<1) where μ is the mutation rate per neutral locus per generation. Then, the descendants of these k lineages in the present sample receive the derived allele. Define a(n)=1+1/2+1/3+···+1/(n – 1). The n 0 ancestral sequences are monomorphic at the locus (k=0) with probability 1–θa(n 0). In the simulation, k is drawn for each locus from the above distribution with θ=1/a(n). Therefore, if n 0 = n (no coalescence among lineages during the selective phase), the sample always harbour polymorphism at the locus. If n 0<n, polymorphism is generated with probability a(n 0)/a(n). In this way, mutations are placed over loci proportional to their expected sizes of genealogy.
Replicates of simulated data are generated in two steps. First, this individual-based simulation from time 0 to τ is performed to generate one realization of a population at the end of sweep. For this result, the procedure of random sampling n chromosomes and then assigning the ancestral polymorphism at t = 0 is repeated K S times to generate K S samples of multi-locus, bi-allelic polymorphism. This procedure is repeated K W times (generating K W whole-population replicates). In total, K W × K S replicates of samples are generated. In most cases, K W = 200 and K S=5 were used. Results obtained with K W = 1000 and K S = 1 were not qualitatively distinguishable (Table 1), suggesting that potential correlation among K S replicates extracted from one realization of whole-population genealogy is not a problem.
Other parameters: N = 50 000, s = 0·1, sample = {(2, 20), (5, 20)}, K W = 200, K S = 5.
a Per-locus recombination rate.
b The initial length of simulation without any migration between demes before the start of selective sweep.
c Mean F ST between demes 2 and 5 at the start of selective sweep.
d Tajima's D.
e Mean F ST between demes 2 and 5 after the completion of selective sweep.
f Proportion of replicates where F ST between demes 2 and 5 is greater than the 99th percentile from neutral simulations corresponding to cases 1, 2 and 6 (0·0250, 0·0420, 0·0756 for m = 0·3, 0·01, 0·001, respectively).
g Proportion of replicates Δπ is greater than the 99th percentile (Q 0·99) from panmictic population. For cases 2–9, Q 0·99=0·253 (from case 1); for cases 11 and 12, Q 0·99=0·433 (from case 10); for cases 14 and 15, Q 0·99 = 0·724 (from case 13).
h Using K W = 1000 and K S = 1.
i Replicates with at least three polymorphic sites at each half of the chromosome were considered.
Note that the above procedure of modelling polymorphism in n 0 ancestral lineages at a locus constrains the scope of scenarios to be simulated: before the start of selective sweep (t = 0), the ancestral population is not subdivided (genetically differentiated). It is because, regardless of which demes the n chromosomes are sampled from, the n 0 ancestral lineages are assumed to enter the process of neutral coalescent in a single panmictic population of size N. This assumption is justified if the scaled migration rate N dm is sufficiently large, so that the neutral coalescent in the stepping-stone model is effectively identical to that in a panmictic population. Or it simulates the scenario in which the ancestral panmictic population is split into ten demes immediately before selective sweep starts. To partially overcome this restriction on scenarios, population differentiation at the start of selective sweep was artificially introduced by running the forward simulation without any migration between demes for L I generations before beneficial mutation occurs in deme 1 (see below for more details).
The simulation procedure above also effectively imposes a uniform density of polymorphic sites on chromosomes that are ancestral to the sample. In reality, the ancestral polymorphism would not be uniformly distributed because mutation process is Poisson and genealogies at adjacent loci are correlated due to partial linkage. Therefore, the current simulation generates less heterogeneity in polymorphic site density than would be observed in an actual sample. However, the focus of this study is to examine the stochastic pattern of frequency spectrum, LD, and the spatial (geographic) patterning of heterozygosity. The distributions of these quantities are not expected to be sensitive to the heterogeneity of polymorphic site density. Uniform ancestral polymorphism across sites may also have the effect of so called ‘fixed S scheme’ (where S is the pre-determined number of mutations mapped on genealogy in a coalescent simulation) that moderately distorts the distribution of summary statistics as pointed out by Wall & Hudson (Reference Wall and Hudson2001). This problem however originates due to failure in mapping mutation events proportional to the length of genealogy: while the size of coalescent tree is highly variable, a fixed number of mutations are placed. The current method is not likely to suffer such a problem, as the pattern of ancestral polymorphism is not assigned given any particular realization of genealogy at the site. In addition, as n 0 is much smaller than n in most sites due to hitchhiking effect, the placements of ancestral polymorphism are made proportional to the (variable) sizes of genealogy across sites, greatly reducing the potential effect of fixed S scheme.
3. Results
(i) Parameter values
Simulation was performed to generate a sample of n chromosomes when the beneficial mutation has completed its spread over ten demes in the circular stepping-stone model. The exploration of parameter space begins with N = 50 000 (N d = 5000 for each deme), s = 0·1 and rn = 10−4. As there are 100 neutral loci on either side of the B locus (site under selection), scaled recombination rate r/s between the most distal locus and the B locus is approximately 0·1. It is known that important signatures of hitchhiking (e.g. negative Tajima's D, peak of LD, change in F ST in a subdivided population) are contained within such a range of r/s (Kaplan et al., Reference Kaplan, Hudson and Langley1989; Braverman et al., Reference Braverman, Hudson, Kaplan, Langley and Stephan1995; Slatkin & Wiehe, Reference Slatkin and Wiehe1998; Stephan et al., Reference Stephan, Song and Langley2006; Bierne, Reference Bierne2010; Kim & Maruki, Reference Kim and Maruki2011). With this basic parameter set, the effect of population subdivision was examined by varying migration rate m (m/s ranging from 0·01 to 3) and the scheme of sampling chromosomes over different demes. Let nk be the number of chromosomes sampled from deme k. The sampling scheme is denoted by {(i, ni), (j, nj), …, (k, nk)}, where i, j, …, k are demes from which at least one chromosome is sampled. For each parameter set, simulation generated at least 1000 samples. Then, the distributions of various sample statistics were obtained to examine the effect of population subdivision on the frequency spectrum, LD and the gradient of heterozygosity.
(ii) Frequency spectrum
The site frequency spectra for the samples of 20 chromosomes were observed at neutral loci with various distances to the B locus with varying migration rate (Fig. 1). The overall modification of frequency spectrum due to population subdivision (decreasing m) appears to be minor. However, the proportion of sites with intermediate-frequency derived alleles is shown to increase with decreasing m.
To further examine the change of the relative abundance of intermediate-frequency alleles, Tajima's D (Tajima, Reference Tajima1989) was calculated over the 1000 samples of 40 chromosomes with sampling configuration {(2, 20), (4, 20)}. There are 200 neutral loci on a chromosome and, in the results shown in Fig. 2a, the sample harbours on average 114·8, 121·1 and 122·6 polymorphic sites after selective sweep when m = 0·3, 0·01 and 0·001, respectively. Figure 2a shows that relative heterozygosity (π) and Tajima's D are negatively correlated as expected (Braverman et al., Reference Braverman, Hudson, Kaplan, Langley and Stephan1995). With selection in a panmictic (m = 0·3) population, Tajima's D is mostly negative (94·5% of replicates). However, with significant subdivision (m = 0·001), less than half of replicates (46%) yield negative D. This is partly because the strength of hitchhiking diminished (π increased) with decreasing m. For the similar values of π, the mean of Tajima's D under population subdivision is still greater than that in panmixia. However, distributions overlap substantially, suggesting that it will be difficult to distinguish sweeps in subdivided population versus panmixia based on Tajima's D alone. It was also examined how the scheme of sampling (composition of demes from which chromosomes are sampled) affect Tajima's D (Fig. 2b). Relative to the effect of changing migration rate, that of sampling scheme was small. In addition to sample compositions used in Fig. 2b, more ‘unbalanced’ configurations ({(2, 36), (5, 4)} and {(2, 29), (4, 8), (5, 3)}) were also tried but resulted in similarly small shifts in Tajima's D (data not shown).
(iii) Linkage disequilibrium
Another important signature of recent selective sweep is the unique spatial patterning of LD (Kim & Nielsen, Reference Kim and Nielsen2004; Stephan et al., Reference Stephan, Song and Langley2006). After the fixation of the beneficial mutation, LD increases between polymorphic sites on the same side, but not on opposite sides, of the B locus. In this study, LD between two neutral loci is measured by the correlation coefficient r 2 (Hill & Robertson, Reference Hill and Robertson1968). The mean of r 2 for all possible pairs of polymorphic sites located on the left side (neutral loci from 1 to 100) of a simulated sample, r 2(L), was calculated. Similarly, the mean value for the right side, r 2(R), was obtained. Figure 3a shows that r 2(L) is negatively correlated with π, as replicates with fewer hitchhike-breaking recombination events generate higher LD and lower heterozygosity, and increases as m decreases. Therefore, population subdivision appears to enhance the effect of a selective sweep in3 increasing LD.
Next, the ω statistic of Kim & Nielsen (Reference Kim and Nielsen2004) that quantifies the spatial patterning of LD specific to selective sweep was calculated. (Basically, ω = {(k Lr 2(L)+k Rr 2(R))/(k L+k R)}/r 2(LR), where k L (k R) is the total number of pairs of polymorphic loci on the left (right) side of the chromosome and r 2(LR) is the mean value of r 2 for all pairs of loci located on the opposite sides.) This statistic however did not increase with decreasing m (Fig. 3b) because population subdivision increased r 2(LR) as well as r 2(L) and r 2(R).
(iv) Genetic differentiation of populations
As suggested in the previous studies (Slatkin & Wiehe, Reference Slatkin and Wiehe1998; Wiehe et al., Reference Wiehe, Schmid, Stephan and Nurminsky2005; Faure et al., Reference Faure, David, Bonhomme and Bierne2008; Bierne, Reference Bierne2010), a selective sweep spreading over a subdivided population is expected to increase Wright's F ST at regions flanking the B locus, if the population is initially weakly differentiated. The distributions of F ST observed in the simulated data, with sample configuration {(2, 20), (5, 20)}, are shown in Figure 4. Here, F ST was estimated by (πT−πW)/πT, where πT is the mean pairwise difference between chromosomes over the entire population and πW is that of chromosomes sampled within a deme (deme 2 or 5) (therefore, identical to K ST of Hudson et al. (Reference Hudson, Boos and Kaplan1992)). The basal distribution of F ST expected for anonymous neutral loci was obtained by simulation run identically to the above but without selection for 400 generations (a slight overestimate of τ). After selective sweeps with m/s = 0·1 and 0·01, 27·1 and 78% of the replicates, respectively, yielded F ST greater than the 97·5 percentile of the corresponding neutral distribution (indicated by dashed lines in Fig. 4). This suggests that one is likely to detect the recent fixation of a positively selected allele using the genomic scan of F ST alone (Bierne, Reference Bierne2010), if the geographical structure of population substantially limits the spread of the allele by selection. With panmixia (m/s = 3), only 3·5% of replicates yielded F ST greater than the neutral threshold. Results using the 99 percentile as the neutral threshold are also listed in Table 1. Overall, compared with Tajima's D and the measures of LD, F ST is more informative in distinguishing selective sweeps in panmixia vs. population subdivision.
Using deterministic approximations, Slatkin and Wiehe (Reference Slatkin and Wiehe1998) and Bierne (Reference Bierne2010) predicted that the expected F ST after a selective sweep in a subdivided population is greatest at an intermediate distance from the site under selection (i.e. with an intermediate r/s). In agreement with these predictions, simulations with decreasing recombination rates (thus subjecting neutral loci to a stronger hitchhiking effect) yielded declining statistical powers of rejecting neutrality based on F ST alone (Table 1, cases 10–15). However, the degree of decline is rather moderate, while other signatures of selection (e.g. skew of frequency spectrum and increase in LD) are greatly enhanced.
(v) Gradient of heterozygosity
A major result in Kim & Maruki (Reference Kim and Maruki2011) is that the heterozygosity-reducing effect of selection decays as the spatial distance travelled by the beneficial allele increases. Therefore, observing a gradient of after-hitchhiking heterozygosity (i.e. the relative abundance of residual variation at a genomic region where selective sweep already wiped out most polymorphism) across demes may indicate the path of beneficial allele's spread. To assess how reliably such a gradient would be observed in a sample of DNA, which is only one realization of a highly stochastic process, simulations above with sample configuration {(2, 20), (5, 20)} were analysed. The gradient of heterozygosity was quantified by Δπ = (π5−π2)/(π5+π2), where π2 (π5) is the expected heterozygosities calculated for sequences sampled in deme 2 (5). The mean of Δπ is positive with m/s<1 as expected (Fig. 5a). However, the variance of Δπ is very large for all values m examined. Even with m/s = 0·01, 25·4% of replicates yielded Δπ<0.
One may test the significance of Δπ by obtaining the null distribution of Δπ using the simulation of selective sweep in an effectively panmictic population. From the simulated dataset with m/s = 3, the 2·5 and 97·5 percentiles of Δπ were obtained and these values defined cut-offs for rejecting the hypothesis of no spatial structure. Then, with m/s = 0·1 (0·01), 1·0 (3·2)% of replicates yielded significantly negative Δπ and 20·9 (24·5)% of replicates yielded significantly positive values of Δπ. Therefore, with less than 25% of chances, the direction of beneficial mutants’ spread can be correctly inferred, under scenarios considered here.
This way of inferring the migration path of beneficial mutation further suffers a complication if the strength of directional selection is not uniform across demes. In demes with weaker selection, the effect of genetic hitchhiking will also be weaker regardless of its proximity to the geographic origin of the beneficial mutation (Bierne, Reference Bierne2010). To examine this effect, a new set of simulated data was obtained using the same parameters as above but using a reduced selection coefficient s = 0·05 (instead of 0·1) of the beneficial mutation in demes 4–8. As expected, much positive-biased distribution of Δπ = (π5−π2)/(π5+π2) was generated and Δπ greater than the 97·5 percentile of the corresponding null distribution was obtained in the 31·4% (48·5%) of replicates with m/s = 0·1 (0·01) (Fig. 5b). Next, in the reverse scenario, simulation was performed with selection coefficient 0·05 in demes 1, 2, 3, 9 and 10 and 0·1 in other demes. As the hitchhiking effect of the beneficial allele is stronger in deme 5 than in deme 2, the distribution of Δπ shifted to the negative value. Furthermore, 7·3% (21·8%) of replicates with m/s = 0·1 (0·01) yielded Δπ less than the 2·5 percentile of the corresponding null distribution (m/s = 3). This result suggests that an incorrect inference on the direction of beneficial allele's propagation can be obtained if the heterogeneity of selective pressure is not considered.
No strong correlation between Δπ and F ST is observed, particularly with spatially homogeneous selection (Fig. 5a). This suggests that an increase in F ST does not imply a difference in heterozygosity between demes, which is however the case in detecting a local selective sweep by F ST (Lewontin & Krakauer, Reference Lewontin and Krakauer1973; Beaumont & Balding, Reference Beaumont and Balding2004), but reflects the varying profiles of haplotypes hitchhiking to the beneficial allele in different demes (Slatkin & Wiehe, Reference Slatkin and Wiehe1998). With spatially heterogeneous selection (Figs 5b and c), F ST shows clearer positive correlation to |Δπ|, indicating that the increase of F ST in this case is associated with differential after-sweep heterozygosity due to different strengths of selection across demes.
(vi) The effect of ancestral population differentiation
The model of selective sweep investigated so far assumes no genetic differentiation among subpopulations at the start of selective sweep. To examine how robust the pattern of polymorphism generated is to this initial condition, additional simulations were performed using the following procedure that artificially elevates the level of ancestral population differentiation. The forward individual-based simulation, with the same initialization that assigns ancestral numbers to chromosomes, is run for L I generations (‘length of isolation’) without any migration of haploids between demes. Then (at time defined again as t = 0), a beneficial mutation occurs on a random chromosome in deme 1 and the rest of run is identical to the simulations performed above, including migration of individuals with probability m. At t = 0, n chromosomes are sampled (in the same configuration that will be used again at the end of selective sweep) and bi-allelic polymorphism on them is generated as described earlier. From this ancestral polymorphism F ST (the ‘before-sweep’ value resulting from L I generations of isolation) is calculated. Varying L I from 10 to 1500, ancestral differentiation ranging from mean F ST = 0·014–0·18 was produced. Figure 6 shows the relationship between this ancestral F ST and the final value of F ST obtained at t = τ (the ‘after-sweep’ value). Regardless of ancestral F ST, final F ST is in narrow range that is primarily determined by the migration rate during the selective phase. This result directly confirms earlier studies that a selective sweep in a subdivided population lowers (increases) F ST if population initially exhibits high (low) F ST (Slatkin & Wiehe, Reference Slatkin and Wiehe1998; Santiago & Caballero, Reference Santiago and Caballero2005), and implies that at a certain migration rate a change in F ST would not be observed after a selective sweep. Other patterns of polymorphism (Tajima's D, LD and Δπ) were also affected little by ancestral differentiation (Table 1, cases 4, 5, 8 and 9). (A slight increase in Tajima's D is observed, probably because genetic drift during the L I generations leads to the loss of lineages at low frequencies and thus an excess of alleles at t = 0.) In conclusion, the outcome of selective sweep in a subdivided population depends little on the pattern of ancestral polymorphism, justifying the simulation method used above.
4. Discussion
Kim & Maruki (Reference Kim and Maruki2011) showed that the coalescent process shaping the genealogy in selective sweeps is modified in a subdivided population relative to a panmictic population. This study further examined the effect by computer simulations that generated the stochastic patterns of multi-site polymorphism. The first goal of this study is to examine how the standard signatures of a single selective sweep are affected by population subdivision. Frequency spectrum after sweep showed a clear but minor change in panmictic to subdivided population. With decreasing m, the proportion of extreme-frequency alleles decreased and that of intermediate-frequency alleles increased (Figs 1 and 2). However, this degree of modification may not cause a serious problem in detecting a single selective sweep in a subdivided population by a method based on frequency spectrum expected under the standard model of hitchhiking (e.g. the composite likelihood ratio test of Kim & Stephan, Reference Kim and Stephan2002), because the relative proportions of frequency classes did not change. Moreover, distinct shift in frequency spectrum was made only with significantly low values of m relative to s. Unless the strength of selection is very large, small m/s would mean smaller Nm that leads to distinct population structure identifiable by random neutral markers. In such a case, it is less likely that sequences from different demes be pooled into one sample to be analysed. The level of LD after selective sweep was not much affected by population subdivision either (Fig 3a). Moreover, the ω statistic, designed for detecting the characteristic spatial patterning of LD, was found to be quite robust to population subdivision (Fig. 3b).
Previous studies showed that unique patterns of variation arise in selective sweep in a subdivided population compared with that in a panmictic population (Slatkin & Wiehe, Reference Slatkin and Wiehe1998; Bierne, Reference Bierne2010; Kim & Maruki, Reference Kim and Maruki2011). Identifying such a pattern in an actual sample of DNA would add further statistical support in detecting selective sweeps or provide information for inferring the demographic context in which a selective sweep occurs. The second goal of this study is to assess how probable it would be to observe such patterns in a finite sample of sequences. As predicted by Slatkin & Wiehe (Reference Slatkin and Wiehe1998), a selective sweep spreading across demes may bring different haplotypes to high frequency in different demes if the neutral loci are partially linked to the beneficial allele. This leads to an increase of F ST at regions surrounding the locus on selection. Our simulation showed that the probability of obtaining a significant value of F ST (larger than expected under the same population structure but in the absence of selection) can be large if m is much smaller than s (Fig. 4). Therefore, a genomic scan for outliers of F ST, frequently performed to detect the locus of local adaptation (Lewontin & Krakauer, Reference Lewontin and Krakauer1973; Beaumont & Balding, Reference Beaumont and Balding2004), may also detect recent directional selection that drove the fixation of a beneficial mutation in all demes (Bierne, Reference Bierne2010).
As implicitly suggested by Slatkin & Wiehe (Reference Slatkin and Wiehe1998) and explicitly predicted by Kim & Maruki (Reference Kim and Maruki2011), the after-sweep expected heterozygosity increases along the migration path of beneficial allele in the stepping-stone model of population subdivision. Therefore, the geographical gradient of heterozygosity may allow us to infer direction of beneficial allele's spread. However, simulations for sequences sampled from two demes (one located closer to the origin of mutation than the other) in this study (Fig. 5) suggests that the expected (mean) difference in heterozygosity between demes is not large enough, relative to the variance of heterozygosity that results from the highly stochastic nature of hitchhiking-affected coalescent-with-recombination process, to allow such an inference. Moreover, the difference in local selective pressure can also lead to a spatial gradient of heterozygosity and thus complicate the inference. The statistical power of inference may increase as sequences are sampled from more than two demes. However, this would not eliminate the problem of the spatial heterogeneity of selection.
This study used individual-based simulation to investigate selective sweeps in subdivided populations. Simulation time to generate bi-allelic polymorphism was greatly reduced by making a proper assumption about ancestral polymorphism at the time of mutation to a beneficial allele. A similar method of combining pre-determined ancestral polymorphism with forward-in-time individual-based simulation to investigate the stochastic nature of selective sweeps was used in Messer & Neher (Reference Messer and Neher2012). They used coalescent simulation to generate neutral bi-allelic polymorphism for a large sample of sequences and treated it as the whole-population profile of polymorphism. This approach is superior to the method of this study regarding the correlation of ancestral polymorphism between adjacent sites. However, their method requires to handle a much larger number of loci on a chromosome in order to generate an equivalent number of polymorphic sites in the sample because, as ancestral polymorphism is assigned to the whole population rather than to lineages that are ancestral to the sample, these ancestral lineages at many sites will be monomorphic. Coalescent simulation, used more commonly in population genetic studies than individual-based simulations, could also be used for this study. Indeed, program msms (Ewing & Hermisson, Reference Ewing and Hermisson2010), which is based on the structured coalescent conditional on the trajectory of beneficial allele determined by forward simulation, should be able to simulate polymorphism under selective sweep spreading over structured population. (However, the current version of msms does not provide options – sampling sequences at the time of beneficial allele's fixation while specifying the deme of beneficial allele's origin – that allows the simulation of the exact scenario considered in this study.) Although coalescent simulation might be better in speed and is free of issues regarding the ancestral polymorphism, it does not allow an easy modification when one wants to add more complexity (about the genetic and demographic details of natural selection) to a model. On the other hand, it is much easier to build and explore complex models using an individual based simulation. Therefore, the approach developed in this study is potentially very useful for a wider community of researchers in their investigation of advanced models.
I would like to thank three anonymous reviewers whose comments greatly improved the manuscript. This study was supported by a National Research Foundation of Korea (NRF) grant funded by the Korean government (MEST) (Grant number 2012R1A1A2004932) to Y. K.
5. Declaration of Interest
None.