Abstract
Many pathogens possess the capacity for sex through outcrossing, despite being able to reproduce also asexually and/or via selfing. Given that sex is assumed to come at a cost, these mixed reproductive strategies typical of pathogens have remained puzzling. While the ecological and evolutionary benefits of outcrossing are theoretically wellsupported, support for such benefits in pathogen populations are still scarce. Here, we analyze the epidemiology and genetic structure of natural populations of an obligate fungal pathogen, Podosphaera plantaginis. We find that the opportunities for outcrossing vary spatially. Populations supporting high levels of coinfection –a prerequisite of sex – result in hotspots of novel genetic diversity. Pathogen populations supporting coinfection also have a higher probability of surviving winter. Jointly our results show that outcrossing has direct epidemiological consequences as well as a major impact on pathogen population genetic diversity, thereby providing evidence of ecological and evolutionary benefits of outcrossing in pathogens.
https://doi.org/10.7554/eLife.47091.001eLife digest
The existence of sex – broadly defined as the coming together of genes from different individuals – is one of the big evolutionary puzzles. Reproduction allows an organism to pass on its genes to future generations. However, while asexual and selffertilizing individuals transmit all of their genes to their offspring, individuals that reproduce through sex transmit only half of their genome. This is considered the cost of sex.
Many pathogens reproduce through sex, despite often also being able to reproduce asexually or by selffertilization. Typically a prerequisite of sex in pathogens is for at least two different strains to infect the same host. Aside from this limitation, little is known about when, where and why pathogens have sex. It has been tricky to study due to the microscopic size of pathogens and the difficulties of identifying different sexes. Moreover, sexual reproduction may be triggered by environmental cues that are difficult to mimic under controlled experimental conditions.
Are there any benefits associated with pathogen sex? To find out, Laine et al. analyzed data collected over the course of four years from thousands of populations of a powdery mildew fungus that infected plants across the Åland islands. This revealed that the opportunities for pathogen sex vary in different locations. Areas where multiple strains of the fungus commonly infect the same plants result in hotspots of new genetic diversity. These mixed populations are also more likely to survive winter. This demonstrates the potential for pathogen sexual reproduction to provide an ecological benefit.
Identifying areas and populations where pathogens have sex can help to identify when and where new strains are most likely to emerge. In the future, studies that use similar methods to Laine et al. could help to predict where infections and diseases are highly likely to arise.
https://doi.org/10.7554/eLife.47091.002Introduction
Many pathogens possess the capacity for sex – here defined in its broadest sense as the coming together of genes from different individuals (Lehtonen and Kokko, 2014) – despite being able to reproduce also asexually and/or via selfing. Individuals that undergo sexual reproduction transmit only half their genome per offspring produced in contrast to asexual and selfing individuals (Lehtonen et al., 2012) and hence, understanding the maintenance of sex is one of the fundamental challenges in evolutionary biology. To counteract this twofold cost of sex, sexual outcrossing is assumed to provide both ecological and evolutionary advantages (Otto, 2009). The Red Queen Hypothesis predicts sexual reproduction to be advantageous in the presence of coevolving parasites, as offspring that are genetically different from their parents should have higher fitness than nonsexual offspring (Bell, 1982; Hamilton, 1980; Lively, 2010). In support of this prediction, empirical studies have demonstrated parasite mediated selection to explain the observed distribution of outcrossing in hosts (King et al., 2011; Wilson and Sherman, 2013; Lively, 1987). Just as sexual reproduction is expected to be selected for in hosts to evade parasitism, parasites should equally be under selection to generate novel genetic variation to infect their everchanging host populations. Indeed, theoretically it has been possible to identify a parameter space where coevolution with the host favors sexual reproduction in the parasite (Howard and Lively, 2002; Galvani et al., 2003; Salathé et al., 2008). However, the empirical evidence for such advantages of sex in parasite populations are still few and conflicting (Gouyon and de Vienne, 2015).
Sexual reproduction may also confer ecological advantages by bridging unfavorable seasons or habitats. In freeliving facultatively sexual organisms that alternate between asexual and sexual reproduction, the sexual offspring are often the dormant or dispersing life stages (Stelzer and Lehtonen, 2016; Simon et al., 2002). Similarly, in some of the most devastating fungal pathogens of crops, the spores that are produced via outcrossing are also those that are suitable for longdistance dispersal (Rieux et al., 2014), or provide means of surviving unfavorable environmental conditions (Billiard et al., 2012; Burt, 2000; Saleh et al., 2012). While sexual offspring do not contribute to current local population growth, the ability to outcross may be a key determinant of both the numeric and genetic composition of the next season’s epidemic (Penczykowski et al., 2015; Tack and Laine, 2014). For such strategies where outscrossing is timed with low potential asexual growth, for example due to seasonality, the cost of sex is expected to be reduced (Gerber et al., 2018). Homothallic species, where a haploid individual may mate with other haploid individuals of its species, as well as with itself, may be considered a special case of facultative outcrossing. Here, the maintenance of outcrossing is particularly puzzling given that the offspring produced via haploid selfing are expected to yield the same ecological functions as those produced by outcrossing. Nonetheless, there is evidence of high rates of outcrossing in homothallic species (Billiard et al., 2012). To date the relevance of these shortterm ecological processes in favoring selfing vs. outcrossing in pathogens populations has remained largely unknown.
Even when outcrossing is expected to provide short or longterm advantages, maintenance of selfing may be favored when mate availability is spatially and/or temporally variable (Jarne and Charlesworth, 1993). For many pathogens, coinfection is the ecological prerequisite of sexual recombination, as outcrossing and hybridization take place during active infection of the same host individual by different strains (Froissart et al., 2005). With molecular tools becoming increasingly available for pathogens, we are beginning to unravel the spatiotemporal distribution of coinfection as well as the ecological outcomes, which may range from facilitation to competition (Tollenaere et al., 2016). Although coinfections have been widely reported for different pathogens, remarkably little is understood of the determinants of coinfection (Tollenaere et al., 2016). Identifying factors that increase the probability of coinfection also shed light on where we expect to see outcrossing in pathogens with mixed mating strategies.
Mixed reproductive strategies have been described for a wide range of pathogen species (Billiard et al., 2012; Billiard et al., 2011). However, the sexual stage is methodologically notoriously difficult to study in many pathogens given their microscopic size and the fact that mating types cannot be identified morphologically. Moreover, sexual reproduction may take place inside the host, and may be triggered by specific environmental cues that are difficult to mimic under controlled experimental conditions (Billiard et al., 2012; Tack and Laine, 2014). Hence, remarkably little is understood of this critical lifehistory stage. To understand why outcrossing is broadly maintained in pathogens despite the costs, here we investigate the ecological and genetic consequences of putative outcrossing in a large natural pathogen metapopulation. Our analysis is based on data collected from Podosphaera plantaginis, a specialist powdery mildew fungus naturally infecting Plantago lanceolata. The visually conspicuous symptoms caused by P. plantaginis enable accurate tracking of infection in the wild. Longterm epidemiological data across approximately 4000 local plant populations in the Åland Islands, southwest of Finland, have demonstrated this pathogen to persist as a highly dynamic metapopulation with frequent extinctions and (re)colonizations of local populations (Jousimo et al., 2014). Overwinter survival of local pathogen populations has proven to be the vulnerable lifehistory stage of P. plantaginis in Åland with a high fraction of the local pathogen populations going extinct (Jousimo et al., 2014). The pathogen survives the winter in resting structures, chasmothecia (Tack and Laine, 2014). These resting structures are produced through sexual reproduction as the hyphal cells of one (selfing) or two strains (outcrossing) fuse when infecting the same host plant. The resulting diploid zygote undergoes meiotic division to yield haploid ascospores that develop inside the chasmothecium. At the onset of the growing season these chasmothecia rupture, releasing the ascopores that initiate new infections (Tollenaere and Laine, 2013). Here, we (i) determine how coinfection  the prerequisite for sexual outcrossing  varies in natural pathogen populations. We then measure whether (ii) putative outcrossing (i.e. coinfection) is associated with the generation of novel pathogen multilocus genotypes, and (iii) increased pathogen population overwintering success (Jousimo et al., 2014). We’ve surveyed and sampled all found pathogen populations in the Åland Islands for four consecutive years, and we use Spatial Bayesian models (Integrated Nested Laplace Approximation; INLA; Lindgren and Rue, 2015) to analyse data on disease dynamics and genotypic diversity from the natural metapopulation.
Results
We first quantify how the opportunities for sexual outcrossing – thta is coinfection  vary across hundreds of wild pathogen populations in four consecutive seasons. We sampled 619, 703, 693 and 833 populations in 2012–15 for subsequent genotyping (Table S1). We used a SNP genotyping protocol to estimate the number of multilocus genotypes (MLGs) and prevalence of coinfection within pathogen populations (Tollenaere et al., 2012). Coinfection proved to be common yet spatially variable across the P. plantaginis metapopulation (Figure 1A) (Susi et al., 2015). In all years approximately half of the pathogen populations supported at least one coinfected sample, (45–58%; Supplementary file 1). We found that coinfection was more likely to be found in larger and more diverse pathogen populations (Significant positive effect of number of MLGs and infection abundance; Table 1). Connectivity of pathogen populations, which is considered a proxy for gene flow among populations as it is estimated from distances separating local pathogen populations (Jousimo et al., 2014), had a positive, albeit not significant, effect on the probability of coinfection (Table 1). The INLA model we use here, controls for spatiotemporal autocorrelation characteristic of spatial ecological data due to unmeasured variables, thereby providing a conservative estimate of the model parameters as evidenced by model validation checks (Figure 1—figure supplements 1–5) (Lindgren and Rue, 2015).
We then used an Approximate Bayesian Computation (ABC) approach to determine whether we detect more coinfection within populations than would be expected based on the number of parasite genotypes and host availability. Our results show that an already infected plant is more likely to be infected by another strain (Figure 1—figure supplement 6). In other words, coinfections were more common than expected by chance under the assumption that infections by different MLGs are statistically independent. The result was consistent in both years 2012 and 2013 (posterior probability 0.98 and 0.988, respectively; Figure 1—figure supplement 6), with the parameter controlling the prevalence of coinfections, $\gamma ,$ being reliably estimated under different modeling assumptions (Figure 1—figure supplement 7–8).
The detection of novel MLGs in the pathogen metapopulation from one year to another suggests that sexual outcrossing is common for this pathogen. When all located pathogen populations were genotyped, we identified 182, 189, and 235 novel MLGs in 2013–2015, respectively, when compared to MLGs detected the previous year (Supplementary file 1; Figure 1B). The number of new MLGs at the population level increased with the prevalence of coinfection at the end of the previous epidemic season which is the time when outcrossing takes place (Figure 1C; Table 1). The prevalence of coinfection was a strong predictor of novel MLGs the following year even after controlling for the effects of local pathogen population size, diversity (number of MLGs), pathogen population connectivity (proxy for gene flow) as well as spatial and temporal autocorrelation (Table 1).
Using data from the natural pathogen metapopulation, we also found that in those pathogen populations where the prevalence of coinfection is high – and hence where sexual reproduction can take place – the pathogen has a higher survival probability (Table 1; Figure 2A and B). The effect of coinfection on successful overwintering is positive even after controlling for the effects of pathogen population size and diversity, which both increase survival probability. The INLA model also controls for spatial and temporal autocorrelation in these data that may be generated by abiotic variation known to be important for overwintering ecology of this pathogen (Penczykowski et al., 2015). Hence, we view this as a conservative estimate of the effect of coinfection on overwintering. Resting spores, which were visually scored in the field (Tack and Laine, 2014), were produced in nearly all pathogen populations regardless of whether they supported coinfection or not (96% vs. 93%, respectively).
Discussion
Here, we report compelling evidence of outcrossing that generates novel genetic diversity in the pathogen metapopulation. Our results demonstrate variation in how opportunities for outcrossing are distributed across space. Finding more coinfection than would be expected by chance is in line with previous finescale field sampling of infections and experimental work, which show that hosts already infected with one strain of the pathogen are more likely to become infected by another strain of the same pathogen than uninfected hosts (Laine, 2011; Susi and Laine, 2017). This may be due to already infected individuals becoming more susceptible to subsequent infection, or due to strains aggregating on those hosts that are the most susceptible genotypes (Susi and Laine, 2017). Moreover, variation in host density and (micro)climatic conditions may be an important driver of infection patters in the wild (Penczykowski et al., 2018). Our results do not support the priming hypothesis (Hilker et al., 2016), whereby prior attack provides increased protection against later attack.
We find that spatial variation in coinfection results in spatially delineated hotspots of novel genetic diversity. The high number of new MLGs detected every year is indicative of outcrossing taking place in this pathogen metapopulation. Although our sampling is likely to miss some rare strains, and novel MLGs may be generated through mutations, these are unlikely to explain the high turnover of MLGs between years we report here. Mainland populations, which are separated by at least 38 km of open water, are also expected to play a negligible role as sources of gene flow given that experimental and field data have confirmed this pathogen to typically disperse short distances (Jousimo et al., 2014; Tack et al., 2014). Our results suggest that sexual outcrossing takes place where there is the opportunity for it, that is in populations where levels of coinfection are high. To date, this phenomenon has only received limited experimentally derived support in pathogens (Schelkle et al., 2012). Spatiotemporal variation in outcrossing is expected to have both evolutionary and epidemiological consequences for the pathogen. In the short term, generation of novel genetic diversity may increase transmission across host populations that support considerable resistance diversity both within and among populations (Jousimo et al., 2014; Laine et al., 2011). Novel genetic diversity may also increase the evolutionary potential of pathogens that need to adapt to both biotic and abiotic variation in their environment (Greischar and Koskella, 2007; Wolinska and King, 2009).
Our multiyear census data further revealed the putative outcrossing to yield a benefit that is realized in an ecologically important function – higher overwintering success. Overwintering determines both the genetic and numeric structure of the next epidemic (Tack and Laine, 2014; Penczykowski et al., 2015), and hence may be a sufficiently important trait to promote the maintenance of outcrossing in a pathogen that is able to complete its lifecycle also through haploid selfing. Our results suggest that successful overwintering is not due to higher production of resting spores. Hence, there may be a difference in the quality of progeny produced via selfing vs. outcrossing. Prior experimental work has demonstrated significant variation in spore viability in the resting structures of P. plantaginis. There is evidence of higher viability of progeny from coinfections than from single infections, but the strength and direction of this trend is affected by the genotypes of the interacting strains, as well as by temperature (Vaumourin and Laine, 2018). Despite the higher overwintering success of outcrossed progeny, haploid selfing may be preserved due to the low probability of encountering a suitable mating partner infecting the same host. Moreover, there may be a cost to outcrossing as it breaks up locally adapted pathogen populations by producing novel – and potentially maladapted – genetic variation.
Overall, the selection pressures and opportunities to mate vary considerably across space and time, and hence, it is not surprising that many pathogens have evolved highly complex mating strategies (Billiard et al., 2011). A loss of sexual reproduction in pathogens has been linked to homogenous habitat (Saleh et al., 2012) or stable environmental conditions (Barrett et al., 2008). Maintaining a mixed mating system may provide a bethedging strategy for this pathogen to survive in a fragmented landscape, with a high probability of population extinction during the offseason. It is noteworthy that here we succeeded in identifying predictors of how coinfection is spatially distributed  and hence where hotspots of outcrossing are formed  despite the considerable environmental ‘noise’ this natural system supports. The correlations in field collected data we have observed here are a promising start to uncovering the variable selective pressures and advantages of outcrossing in pathogens. Establishing direct links between variation in reproductive strategies and epidemiological dynamics offers an exciting venue of research, and is needed to truly predict where risks of infection and disease emergence are the highest.
Materials and methods
Survey of natural pathogen metapopulation
Request a detailed protocolPlantago lanceolata is a perennial rosetteforming herb that is naturally infected by Podosphaera plantaginis (Castagne; U. Braun and S. Takamatsu), a powdery mildew fungus in the order Erysiphales within the Ascomycota. This pathogen is a hostspecific obligate biotroph that completes its entire life cycle on the surface of the host plant where it is visible as localized (nonsystemic) white powdery lesions. The interaction between P. lanceolata and P. plantaginis functions in a twostep manner typical of many plant–pathogen associations. First, as the pathogen attempts to infect a new host, the interaction is strain specific as a given host genotype expresses resistance against some strains (recognition) of the pathogen while being susceptible to others (nonrecognition) (Jones and Dangl, 2006). Once a P. plantaginis strain has successfully established there is still considerable variation in its development that is affected by both pathogen and host genotype (Laine, 2007). The pathogen is a significant stress factor for its host and may cause host mortality (Penczykowski et al., 2015).
The locations of P. lanceolata populations have been systematically mapped in the Åland Islands, southwest of Finland, since the 1990s. There are currently c. 4000 known host populations that range in size from a few square meters to several hectares, with a median size of 300 m^{2} (Jousimo et al., 2014). Within host populations, initial pathogen foci are established from resting spores (chasmothecia), or from a spore immigrating into the local population from another population. The first visible signs of infection appear in late June as whitegreyish lesions consisting of mycelium supporting spores (conidia) are formed. The spores are dispersed by wind to the same or new host individuals. Some six to eight clonally produced generations (estimated from spore germinationproduction times observed in the laboratory) follow one another in quick succession, often leading to a substantial proportion of the host individuals within a population being infected by late summer (Ovaskainen and Laine, 2006). Resting spores (chasmothecia) appear towards the end of the growing season in August–September. Each chasmothecia contains eight ascospores that can each cause a new infection in the spring upon their release. Infected leaves may support hundreds of chasmothecia. In P. plantaginis, chasmothecia production is achieved via both haploid selfing as well as outcrossing between two strains simultaneously infecting the same host plant. Pure strains of P. plantaginis have been shown to carry both MAT111 and MAT121 that determine compatibility in several other powdery mildew species (Tollenaere and Laine, 2013).
In early September every year since 2001, all known P. lanceolata populations have been surveyed for the presence/absence of the powdery mildew (for details on the survey, please see Jousimo et al., 2014). These data can be used to identify pathogen populations, which have persisted from one year to the next, newly colonized populations, and populations that have gone extinct. These data have demonstrated that P. plantaginis persists as a highly dynamic metapopulation through extinction and (re)colonization of local host populations (Jousimo et al., 2014).
Genotyping of field collected pathogen samples
Request a detailed protocolIn 2012–15 nearly all located pathogen populations were sampled for genotyping (N = 619, 703, 693, and 833 populations, respectively, which represented 96–97% of all located pathogen populations each year; Supplementary file 1). A sample consists of one infected leaf collected from an infected plant, and infected plants were sampled at a minimum distance of five meters between infected plants. The aim was to collect ten samples from each population but in smaller pathogen populations sampling effort needed to be scaled to how much infection was available for sampling (Please see ‘Pathogen population size’ below in Model variables section below for a description, and for numbers of samples in each pathogen population size category, please see Figure 1—figure supplement 9). The infected leaves were placed in separate falcon tubes and brought back to the laboratory where fungal material for each sample was collected by scraping off the surface of the infected leaf. This material and a 1 cm^{2} piece of the same infected leaf were placed in an individual well of a 96well plate. Samples were stored at −20°C until DNA extraction.
DNA extraction was performed using E.Z.N.A. Plant DNA kit (Omega Bio Tek Inc, Norcross, GA, USA) at The Institute of Biotechnology (BI, Helsinki, Finland). Samples were genotyped with 27 SNP markers using Sequenom MassARRAY iPLEX platform as described in Tollenaere et al. (2012) at the Finnish Institute for Molecular Medicine (FIMM, Helsinki, Finland). Automatic calling of the genotypes was performed using MassARRAY Typer four software (Sequenom, San Diego, CA). Because of the presence of null alleles in the studied populations, eight SNP were discarded from the analysis. Allele frequencies are shown in Figure 1—figure supplement 10. The genotyping results were used to identify the multilocus genotypes (MLGs) of each sample and to detect coinfection in the collected samples. Podosphaera plantaginis is haploid, and therefore the detection of a heterozygote genotype for one or more SNP markers is a clear highly repeatable method for calling coinfections (Tollenaere et al., 2012; Susi et al., 2015).
Model variables
The survey data from the natural populations and the genotyping data from years 2012–15 were used to generate the following variables used in the analyses (See Statistical modeling below):
Pathogen population size
Request a detailed protocolThe abundance of pathogen was scored on a categorical scale with five levels, defined as: 0 = no infection, 1 = 1–9 infected plants, 2 = 10–99 infected plants, 3 = 100–999 and 4 = 1000 or more. Due to the small number of category four infections, the categories 3 and 4 were merged for the analyses.
Number of MultiLocus genotypes (MLG) in local pathogen populations and identification of MLGs from coinfected samples
Request a detailed protocolFor each population and year we estimated the number of unique multilocus genotypes (MLG) observed using the SNP genotyping protocol described above. This number was obscured by samples supporting coinfection, for which the MLGs could not be directly identified. To solve this, we developed an algorithm that gives as an output a lower limit for the number of strains in the population, that would correspond to all the observed MLG profiles, both those observed for single and coinfected samples (Figure 1—figure supplement 11). The algorithm was designed to be conservative to avoid overestimating the number of MLGs. To this end, we assumed that in a coinfected sample, the detection of multiple alleles in a locus could have failed, and only one allele observed. The five stages of the algorithm are as follows: First, we identified the unique MLGs from the single infections. Second, we identified coinfections, whose alleles could not be obtained as a combination of two unique MLGs from the first stage. Third, we removed duplicate coinfections, whose alleles were subsets of another coinfection in the loci that the samples shared. We considered subsets to accommodate possible genotyping errors for the coinfections, where only one allele is detected for a loci. Fourth, for each remaining coinfection, we constructed a new minimal candidate MLG, which was needed in addition to a unique MLG identified from single infections to generate the alleles in the coinfection. Only those loci where an allele not present in the single infection was observed in the coinfection were defined for the candidate MLG, and the remaining alleles were defined as unknown, because they could have been unobserved due to genotyping error. Fifth, we merged candidate MLGs that had same alleles in all the loci that were defined. The unique MLGs from single infections and the constructed candidate MLGs were now considered the unique strains for the population. The number of new MLGs in a population for a given year was estimated using the same algorithm. First, we applied the algorithm to samples from current and previous year, and then to samples from current year only. The number of new MLGs was then estimated as the difference between the number of MLGs from the two runs.
Prevalence of coinfection in a population
Request a detailed protocolNumber of samples supporting coinfection in local pathogen populations identified using the SNP genotyping protocol described above.
Abundance of pathogen resting structures
Request a detailed protocolThe powdery mildew survives the winter in resting structures (chasmothecia). These are visually conspicuous and their abundance has been systematically surveyed on the infected plants located during the field survey (Tack and Laine, 2014). The abundance of chasmothecia in local populations has been recorded on a categorical scale: 0 = no infected plants with chasmothecia; 1 =<10% of infected plants with chasmothecia; 2 = 10–25% of infected plants with chasmothecia; 3 = 25–50% of infected plants with chasmothecia, and 4 = 50–100% of infected plants with chasmothecia.
Successful overwintering of pathogen populations
Request a detailed protocolPathogen populations that were located in two successive autumn surveys were considered to have successfully overwintered.
Pathogen connectivity
Request a detailed protocolConnectivity, denoted with ${S}_{i}^{p}$^{37} of each pathogen population, i, was computed as:
where ${O}_{j}=1$, if population j was infected and ${O}_{j}=0,$ if population j was not infected in the current year t, and ${d}_{i,j}$ corresponds to the distance between populations i and j. The parameter $\alpha $, describing the mean dispersal distance at the metapopulation level, was set $\alpha =1000$ (meters) following results of Jousimo et al. (2014). Si is thus assumed to be a rough proxy for the expected number of pathogen transmission coming to population i from all the infected populations, under the assumption of exponentially distributed dispersal distance.
Host population size
Request a detailed protocolThe total coverage (in m^{2}) of the host in the local population has been visually assessed each year simultaneously when the pathogen infection data were collected. The criteria for describing host populations is provided in detail in Ojanen et al. (2013). In brief, suitable host populations have been identified by the presence of dense clusters of P. lanceolata, which in Åland occur on dry meadows and pastures. These occur as welldefined, discrete patches across the landscape.
Spatial bayesian modelling of the effect of coinfection on pathogen overwintering and strain diversity
We modeled the following events of interest: the effect of the number of coinfections on persistence of infection from one year to the next, and the number of new, previously unidentified, MLGs in a pathogen population that survived from one year to the next. In addition, we assessed the drivers of the presence/absence of resting spores and coinfections among the infected populations. Our models were fitted to data from years 20122015. To control for the possible effect that population size, connectivity and diversity could have on the results, our models included the following predictors (described above in detail): Pathogen population size, host population size, number of distinct pathogen strains, and pathogen connectivity ${S}_{i}^{p}$. Predictors with continuous support and the number of observed coinfections, were scaled and centered around zero, and factors transformed into binary 0/1variables.
Spatiotemporal logistic regression model
Request a detailed protocolThe statistical modeling of the phenomena of interest (coinfection presence, the emergence of new strains in a population and survival of pathogen population) was done by considering a logistic regression modeling framework, where the observation at location s at time t was assumed to be Bernoulli distributed with the event probability ${\mathrm{\mu}}_{\mathrm{s}\mathrm{t}}$. The spatial and temporal autocorrelation was taken into account by assuming that ${\mathrm{\mu}}_{\mathrm{s}\mathrm{t}}$ has an explicit spatiotemporal correlation structure, defined as follows:
Here z(s,t) corresponds to the covariate information and $\epsilon \left(s,t\right)$ is the measurement error. Further, $\delta \left(s,t\right)$ is a spatiotemporal latent process with firstorder temporal autocorrelation, described by parameter $\phi $($\left\phi \right<;1)$, and spatially correlated outcomes described by zeromean Gaussian distribution $w\left(s,t\right)$. The spatial correlation is included by assuming that $w\left(s,t\right)$ has the following covariance structure:
Here ${\sigma}_{2}$ is the overall variance of the random field, and $C\left(h\right)$ is the Matern covariance function, that only depends on the Euclidean distance h between the latent locations s and s’, and hyperparameters $\kappa $ and $\vartheta $. Details on the covariance function, and an indepth description of the modeling framework is given in Cameletti et al. (2013). The aim of our analysis was to infer the joint posterior distribution of $\theta $:
the main interest being in $\beta $, which describes the effects of the covariates listed and described in the Model variables section.
Efficient implementation of such inference is provided by the RINLA package, which provides posterior distribution of $\theta $ by marginalizing ${\mu}_{st}$ with Laplace approximation. When setting the prior distributions for hyperparametersand $\vartheta $, we followed the heuristics proposed by the INLA developers (Lindgren and Rue, 2015), ensuring that a 95% prior probability is set to the range being smaller than the size of the spatial domain considered. Here the range is defined as the distance at which the spatial autocorrelation becomes negligible (smaller than 0.1 under the Matern covariance). The other prior distributions were set to default uninformative prior distributions (Lindgren, 2012), Finally, another computational gain is obtained by approximating the spatial random field $w\left(s,t\right)$ with the help of a mesh, visualized in Figure 1—figure supplement 1.
Model validation
Request a detailed protocolAs a model validation argument, we inspected the distribution of the CPOvalues, Conditional Predictive Ordinates, defined as:
$CP{O}_{i}$ `corresponds to the probability of predicting the observation ${d}_{i}$, when ${d}_{i}$ is excluded from the model fitting. Briefly, high CPOvalues indicate high predictive power of the fitted model, while very low CPO values would indicate outlier observations, or a poor fit of the model, and patterns in CPO values (such as spatial or temporal) suggest inappropriate model structure.
To ensure the adequacy of the fitted models, we considered leaveoneout predictive measures of fit, assessing how well the model is able to predict the observed dynamics. In particular, we considered the socalled probability integral transform (Dawid, 1984), defined as:
Here ${d}_{i}^{}$ denotes for the i’th observed outcome in the data, and ${D}_{i}$ for the data with this observation excluded, and $PI{T}_{i}$ corresponds to the cumulative predictive distribution for the outcome i, given all the other observations. We adjust this to take into account the discrete nature of the modeled outcomes, as follows (Czado et al., 2009):
In brief, skewedness of the distribution of PITvalues indicates biases, U and inverseUshaped distributions indicate under and overdispersion, respectively, while a uniform distribution indicates good model fit.
Parameter estimates
Request a detailed protocolWe considered a covariate to have a significant effect on the outcome, whenever its 95% credibility interval did not contain zero.
Analysis of occurrence of coinfections with approximate bayesian computation
We take an Approximate Bayesian Computation approach to determine whether there is more coinfection in the pathogen metapopulation than expected by chance. The model does not take into account the spatial structure of the patches, but considers them independent conditional on the model parameters.
Process model
Request a detailed protocolFirst, consider a single patch i. Let ${x}_{i}$ denote a vector of environmental covariates of the patch i and including a constant. The number of plant individuals in patch i, ${N}_{i}$, is modeled as
where ${\alpha}_{N}$ are the parameters relating covariates ${x}_{i}$ to the expectation of ${N}_{i}$. The number of MLGs in patch i, ${M}_{i}$, is modeled similarly
where ${\alpha}_{M}$ are the parameters. The number ${M}_{i}$ might be restricted with an upper limit ${M}_{max}$, so that ${M}_{i}\le ~{M}_{max}$.
Let ${\mu}_{i}=\left({\mu}_{i,1},\dots ,{\mu}_{i,{M}_{i}}\right)$ be a vector of transformed prevalences of the different MLGs in patch i. We assume a normal distribution for ${\mu}_{i,k}$, k=1,…,${M}_{i}$,
where $\beta $ is a vector of linear predictors.
For the j^{th} plant in patch i the infection status is represented by a vector ${Z}_{i,j}=\left({Z}_{i,j,1},\dots ,{Z}_{i,j,{M}_{i}}\right)$. If ${Z}_{i,j,k}>;0$, then the plant if infected by MLG k, and otherwise it is not infected by the strain k. We assume that the plant is exposed to the MLGs 1,…,${M}_{i}$ in order ${\sigma}_{i,j}$, which is a permutation of the MLG indices. The distribution for ${Z}_{i,j,k}$ is
where ${\tau}^{2}$ is the variance parameter and the mean ${\eta}_{i,j,k}$ depends on the values of ${Z}_{i,j,k}$ for MLGs l that are before MLG k in the order ${\sigma}_{i,j}$ . Specifically,
In other words, if MLG k infects the plant (i.e. ${Z}_{i,j,k}>;0$), then the mean ${\eta}_{i,j,k}$ is increased by $\gamma $ for the MLG that the plant is exposed afterwards according to the order ${\sigma}_{i,j}$. If $\gamma >;0$, then it is easier for the subsequent strains to infect the plant, while if $\gamma >;0$, then it is more difficult for the subsequent strains to infect the plant.
The order ${\sigma}_{i,j}$ may be same for all plants in the patch, so that ${\sigma}_{i,j}={\sigma}_{i}$ for all plants j in patch i. The order ${\sigma}_{i,j}$ may be given a uniform distribution in the set of all permutations, or it may depend on the strain prevalences ${\mu}_{i}$.
Sampling model
Request a detailed protocolThe data considered here are the genotypes of sampled individuals. For a single patch i, if the mildew is present in the patch, up to 10 infected plants are sampled and the MLGs infecting them determined. The exact number of sampled plants depends on the number available in the patch; as many infected plants are sampled as possible until 10 is reached. The observed genotype for the j th sampled plant (note that here j goes from 1 to 10, not from 1 to ${N}_{i}$) in patch i is
In words, genotype ${G}_{i,j}$ is the MLG index, if only one MLG is infecting the plant, and 0 if there is coinfection by multiple MLGs. Note that the genotypes of the MLGs in a coinfection are not observed.
We also use data on pathogen population size for patch i, ${AA}_{i}$, measured as a categorical variable (1 = less than 10 plants infected, 2 = 1099 plants infected, 3 = 100999 or 4 = 1000 or more) and infection prevalence for patch i, ${RA}_{i}$, (categories of the proportion of plants infected: 1 = 00.25, 2 = 0.250.5, 3 = 0.50.75 and 4 = 0.751).
Prior distributions
Request a detailed protocolThe model includes $2+3{n}_{x}$ parameters, where ${n}_{x}$ is the number of covariates ${x}_{i}$ for patch i, including constant. All of the parameters, or alternatively their logarithms, are given uniform prior distributions on bounded intervals. For example, the variance parameter ${\tau}^{2}$ has to be positive, so the uniform distribution is put on its logarithm. Additionally, some covariates might be restricted to have a positive (negative) effect on some feature, in which case the uniform distribution is put on the logarithm of the parameter (negative of the parameter).
Posterior distribution
Request a detailed protocolThe goal of the inference is to compute and sample from the posterior distribution of the parameters given the observed data,
As data is available for multiple years, we considered each of them separately. As covariates in ${x}_{i}$ for patch i we included the area of the patch and P. lanceolata coverage. We included in the data only patches, where these covariates are available, resulting in 3817 and 3615 patches for years 2012 and 2013, respectively. The covariates (constant excluded) were standardized to have zero mean and unit variance across the patches. The total number of parameters in the model is 11.
Unless otherwise stated, the maximum number of MLGs in each patch was set to ${M}_{max}=30$. Similarly, the order ${\sigma}_{i,j}$ was given a uniform distribution in the set of all permutations independently for each i and j.
Approximate bayesian computation
Request a detailed protocolWe use an Approximate Bayesian computation (ABC) approach (Beaumont, 2010) to make inference on the posterior distribution of the parameters. ABC refers to a class of computational methods for Bayesian statistics, where the computation of likelihood is replaced by simulations from the model, and it is ideal for our purpose given that the dimension of the model is not fixed, because the number of plants ${N}_{i}$ and the number of MLGs ${M}_{i}$ in patch i is allowed to vary. Moreover, as our aim is to infer general patterns from the data in using information on for example the number of MLGs in a particular patch, an ABC approach is an efficient strategy.
Parameter estimation is carried out using standard ABC techniques (Beaumont, 2010). Candidate parameters are simulated from the prior, pseudodatasets simulated for each parameter value and summary statistics are computed from the datasets. The number of simulations in each analysis is 100,000. The threshold of accepting simulations is based on obtaining a fixed size set of accepted values, that is the acceptance threshold is a quantile of the distances. We use 500 closest values in the analysis.
Raw summary statistics are transformed using two transformations. First, the raw summary statistics are brought closer to normality with one parameter (without shift) BoxCox transformation applied independently to each statistic. Many of the proposed summary statistics are zeroinflated, which would make estimation of the parameter $\lambda $ of the BoxCox transformation unreliable. Because of this, fixed value $\lambda =0.5$ is used. After the BoxCox transformation, the summary statistics are centered and standardized to have unit variance. Second, the summary statistics are transformed with partial least squares (PLS) to produce orthogonal summary statistics while maximizing covariance with the parameters (Wegmann et al., 2009). The PLS is applied to all of the simulated parameter values and datasets. If applied to a set of summary statistics of dimension k, the maximum number of transformed statistics is k1. In the analyses we use dimensionality of 20, which is larger than the number of parameters, but still substantially lower than the number of original summary statistics. Finally, local linear regression adjustment is utilized for the parameters in the set of accepted values (Beaumont et al., 2002). The parameter values are transformed based on the distances of the summary statistics to the summaries of the observed data.
Summary statistics
Request a detailed protocolWe use the following raw summary statistics (36 in total):
Number of patches with infected plants.
Number of patches with coinfected plants.
Mean and standard deviation of pathogen population size categories.
Parameter estimates and standard deviation of residuals from linear regression of covariates against the pathogen population size category.
Mean and standard deviation of the disease prevalence categories.
Parameter estimates and standard deviation of residuals from linear regression of covariates against the disease prevalence category.
Parameter estimates and standard deviation of residuals from binomial regression of covariates against the number of infected plants in a patch.
Parameter estimates and standard deviation of residuals from binomial regression of covariates against the number of coinfected plants in a patch.
Parameter estimates and standard deviation of residuals from Poisson regression of covariates against the number of observed MLGs in a patch.
Effect of the modeling assumptions
Request a detailed protocolTo assess the robustness of the results, we tested the effect that the modeling assumptions have on the posterior distributions of the parameters. Studying all aspects of the model is obviously not possible, but we chose two assumptions, namely the order ${\sigma}_{i,j}$ in which the mildew strains try to infect the plant, and the maximum number of strains in a patch ${M}_{max}$.
We used three different distributions for the order ${\sigma}_{i,j}$:
Uniform distribution among all permutations of ${M}_{i}$ items.
Fixed order based on decreasing ${\mu}_{i,k}$s, i.e. MLGs with highest prevalences being first to infect.
Simulate first ${\delta}_{i,j}=\left({\delta}_{i,j,1},\dots ,{\delta}_{i,j,{M}_{i}}\right)$ from Dirichlet distribution with parameters $\kappa {\mathrm{l}\mathrm{o}\mathrm{g}\mathrm{i}\mathrm{t}}^{1}\left({\mu}_{i,k}\right)$ and choose the order based on decreasing values of ${\delta}_{i,j,k}$.
The last distribution is intermediate between the first two, and the value of $\kappa $ dictates how much the prevalences of individual MLGs affect the order. If $\kappa $ is close to 0 then the distribution is close to uniform, and if $\kappa $ goes to infinity the order is the same as second choice above. We use a value $\kappa =5$ in the analyses.
We analyzed the year 2012 data four times with different assumptions. For the first three we used ${M}_{max}=30$ and each of the distributions shown above for ${\sigma}_{i,j}$. For the last one we set ${M}_{max}=100$ and the uniform distribution for ${\sigma}_{i,j}$. In each analysis we performed 50,000 simulations and used 500 closest for the posterior.
Accuracy of inference
Request a detailed protocolAs a measure of goodness of fit the root mean squared error (RMSE) was computed independently for each parameter. RMSE for a parameter $\theta $ is computed as
Data availability and repeatability of analysis
Request a detailed protocolAll data and scripts used to perform the analyses presented in this paper are available in the git repository at https://github.com/ComputerBlue/FungalSex (Laine, 2019; copy archived at https://github.com/elifesciencespublications/FungalSex).
References
 1
 2

3
Approximate bayesian computation in evolution and ecologyAnnual Review of Ecology, Evolution, and Systematics 41:379–406.https://doi.org/10.1146/annurevecolsys102209144621

4
The masterpiece of nature: The evolution and genetics of sexualityBerkeley: University of California Press.
 5

6
Sex, outcrossing and mating types: unsolved questions in fungi and beyondJournal of Evolutionary Biology 25:1020–1038.https://doi.org/10.1111/j.14209101.2012.02495.x

7
Perspective: sex, recombination, and the efficacy of selectionwas Weismann right?Evolution; International Journal of Organic Evolution 54:337–351.https://doi.org/10.1111/j.00143820.2000.tb00038.x

8
Spatiotemporal modeling of particulate matter concentration through the SPDE approachAStA Advances in Statistical Analysis 97:109–131.https://doi.org/10.1007/s1018201201963

9
Predictive model assessment for count dataBiometrics 65:1254–1261.https://doi.org/10.1111/j.15410420.2009.01191.x

10
Statistical theory: the prequential approachJournal of the Royal Statistical Society: Series A 65:1254–1261.
 11

12
The maintenance of sex in parasitesProceedings of the Royal Society of London. Series B: Biological Sciences 270:19–28.https://doi.org/10.1098/rspb.2002.2182

13
Daphnia invest in sexual reproduction when its relative costs are reducedProceedings of the Royal Society B: Biological Sciences 285:20172176.https://doi.org/10.1098/rspb.2017.2176

14
Sex and evolutionIn: T Heams, P Huneman, G Lecointre, M Silberstein, editors. Handbook of Evolutionary Thinking in the Sciences. Springer. pp. 499–507.
 15
 16

17
Priming and memory of stress responses in organisms lacking a nervous systemBiological Reviews 91:1118–1133.https://doi.org/10.1111/brv.12215

18
The ratchet and the red queen: the maintenance of sex in parasitesJournal of Evolutionary Biology 15:648–656.https://doi.org/10.1046/j.14209101.2002.00415.x

19
The evolution of the selfing rate in functionally hermaphrodite plants and animalsAnnual Review of Ecology and Systematics 24:441–466.https://doi.org/10.1146/annurev.es.24.110193.002301
 20
 21
 22
 23
 24
 25

26
FungalSex, version 2a37baaGitHub.

27
The many costs of sexTrends in Ecology & Evolution 27:172–178.https://doi.org/10.1016/j.tree.2011.09.016
 28
 29
 30
 31

32
A review of red queen models for the persistence of obligate sexual reproductionJournal of Heredity 101 Suppl 1:S13–S20.https://doi.org/10.1093/jhered/esq010
 33

34
The evolutionary enigma of sexThe American Naturalist 174 Suppl 1:S1–S14.https://doi.org/10.1086/599084
 35
 36
 37
 38
 39
 40
 41

42
Ecology and evolution of sex in aphidsTrends in Ecology & Evolution 17:34–39.https://doi.org/10.1016/S01695347(01)02331X

43
Diapause and maintenance of facultative sexual reproductive strategiesPhilosophical Transactions of the Royal Society B: Biological Sciences 371:20150536.https://doi.org/10.1098/rstb.2015.0536

44
Coinfection alters population dynamics of infectious diseaseNature Communications 6:5975.https://doi.org/10.1038/ncomms6975
 45
 46
 47
 48

49
Evolutionary and epidemiological implications of multiple infection in plantsTrends in Plant Science 21:80–90.https://doi.org/10.1016/j.tplants.2015.10.014
 50

51
Role of temperature and coinfection in mediating pathogen LifeHistory traitsFrontiers in Plant Science, 9, 10.3389/fpls.2018.01670, 30524457.
 52

53
Spatial and temporal escape from fungal parasitism in natural communities of anciently asexual bdelloid rotifersProceedings of the Royal Society B: Biological Sciences 280:20131255.https://doi.org/10.1098/rspb.2013.1255

54
Environment can alter selection in hostparasite interactionsTrends in Parasitology 25:236–244.https://doi.org/10.1016/j.pt.2009.02.004
Decision letter

Kayla KingReviewing Editor; University of Oxford, United Kingdom

Detlef WeigelSenior Editor; Max Planck Institute for Developmental Biology, Germany

Ellen DecaesteckerReviewer
In the interests of transparency, eLife includes the editorial decision letter and accompanying author responses. A lightly edited version of the letter sent to the authors after peer review is shown, indicating the most substantive concerns; minor comments are not usually included.
Thank you for submitting your article "A direct ecological benefit of outcrossing in an obligate pathogen" for consideration by eLife. Your article has been reviewed by three peer reviewers, including Kayla King as guest Reviewing Editor, and the evaluation has been overseen by Detlef Weigel as the Senior Editor. The following individual involved in review of your submission has agreed to reveal their identity: Ellen Decaestecker (Reviewer #3).
The reviewers have discussed the reviews with one another and the Reviewing Editor has drafted this decision to help you prepare a revised submission.
This work examines the advantages to outcrossing via coinfection in a plant pathogen. It comprises a thorough and complete analysis of the opportunities for outcrossing due to coinfection using an extensive, multiyear field data set from 4000 plant host populations. This study advances our understanding of the benefits of sex in organisms with the most common lifestyle in nature, and across heterogeneous landscapes (and environmental conditions).
Summary:
The advantages of outcrossing in nature remain one of the biggest questions tackled by evolutionary biologists. Laine and colleagues address this question, in terms of overwintering success, using a phytopathogen which maintains mixed reproductive strategies (outcrossing and asexual reproduction/selfing) on its plant host. They use the powdery mildew fungus Podosphaera plantaginis, which is an obligate pathogen of Plantago lanceolate, to first test how coinfection varies across pathogen populations (coinfection is needed for outcrossing), they then examine whether novel pathogen multilocus genotypes are associated with coinfection (which would indicate outcrossing), and finally whether coinfection affects overwintering success. Using an impressivelysized and natural field study analysing almost 3000 pathogen populations over four sampling years, the authors use Spatial Bayesian models to assess disease dynamics and genotypic diversity data. They find that coinfection is common and spatially variable, that where there are high levels of coinfection there are more novel pathogen MLGs, and that there is a positive effect of coinfection on overwintering success. The authors provide evidence that a pathogen can ecologically benefit from outcrossing, and this result opens the door to more detailed experimental understanding of this phenomenon in the future.
Overall, this manuscript is interesting and timely, and contributes substantially to the debate on the evolution of sex. We have the following suggestions to improve the manuscript.
Essential revisions:
The Introduction would benefit from hypotheses and a mention on why the benefits of sex need exploration in pathogens/parasites. This study provides a very interesting and novel approach to questions surrounding the evolution of sex. What makes parasites similar/different from the freeliving species in which the benefits of sex have already been examined? It may be valuable to integrate literature on nonparasite sexual recombination versus selfing and the fitness advantage of that in nonparasite individuals, e.g. in cyclical parthenogenetic invertebrates with resting stages.
Discussion of the results in the context of infections and evolution of sex would bolster the generality and significance of the study. At the moment, the authors undersell their findings in the final paragraph of the Discussion and fail to put them in a bigger context for infectious disease, epidemics, and evolution of sex.
https://doi.org/10.7554/eLife.47091.020Author response
Essential revisions:
The Introduction would benefit from hypotheses and a mention on why the benefits of sex need exploration in pathogens/parasites. This study provides a very interesting and novel approach to questions surrounding the evolution of sex. What makes parasites similar/different from the freeliving species in which the benefits of sex have already been examined? It may be valuable to integrate literature on nonparasite sexual recombination versus selfing and the fitness advantage of that in nonparasite individuals, e.g. in cyclical parthenogenetic invertebrates with resting stages.
We thank the editors for this suggestions, and we have now completely rewritten the first two paragraphs to provide a more concise theoretical framework for our study. We first outline the predictions and empirical support for the Red Queen Hypothesis in explaining the maintenance of sex in freeliving hosts. We then clarify that coevolution should in fact be even more critical for maintaining outcrossing in parasite populations that need to adapt to their everchanging host populations. We now cover the limited theoretical literature on the role of coevolution in maintaining sex in parasite populations (Introduction).
We also consider in more depth the fitness advantages of asexual vs. sexual strategies especially in facultatively sexual organisms where sexual offspring provide ecological functions such as dormancy and dispersal. We relate this to homothallic species where the same functions may be achieved via selfing or outcrossing but still outcrossing is frequently found (Introduction).
Discussion of the results in the context of infections and evolution of sex would bolster the generality and significance of the study. At the moment, the authors undersell their findings in the final paragraph of the Discussion and fail to put them in a bigger context for infectious disease, epidemics, and evolution of sex.
We thank to the editors for this suggestion and agree that we had not provided an in depth consideration of the broader relevance of our findings. We’ve now added a new paragraph in the Discussion where we consider both the evolutionary and epidemiological implications of our findings for pathogens more generally.
https://doi.org/10.7554/eLife.47091.021Article and author information
Author details
Funding
European Research Council (281517)
 AnnaLiisa Laine
European Research Council (724508)
 AnnaLiisa Laine
Academy of Finland (296686)
 AnnaLiisa Laine
The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.
Acknowledgements
We would like to acknowledge the numerous students who have been involved in the survey and sampling of powdery mildew populations in the Åland Islands in 2012–15. K Raveala supervised the field surveys. B McDonald and T Giraud provided comments on an earlier version of the manuscript. Comments from K King, D Weigel, E Decaestecker and an anonymous reviewer during the review process helped significantly improve the manuscript. The DNA extractions and SNP genotyping were carried out at Institute of Biotechnology and Finnish Institute of Molecular Medicine at University of Helsinki, respectively. This work was funded by grants from the Academy of Finland (296686), Jane and Aatos Erkko Foundation, and the European Research Council (Starting Grant PATHEVOL 281517 and Consolidator Grant RESISTANCE 724508) to ALL.
Senior Editor
 Detlef Weigel, Max Planck Institute for Developmental Biology, Germany
Reviewing Editor
 Kayla King, University of Oxford, United Kingdom
Reviewer
 Ellen Decaestecker
Publication history
 Received: March 22, 2019
 Accepted: June 18, 2019
 Accepted Manuscript published: June 18, 2019 (version 1)
 Version of Record published: July 30, 2019 (version 2)
Copyright
© 2019, Laine et al.
This article is distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use and redistribution provided that the original author and source are credited.
Metrics

 1,329
 Page views

 190
 Downloads

 6
 Citations
Article citation count generated by polling the highest count across the following sources: Crossref, PubMed Central, Scopus.