Main

The widely different environments in which the cosmopolitan species Arabidopsis thaliana is found today1 have left strong signatures of selection throughout its genome2. While geographic differences in abiotic factors are well appreciated, similar differences in the resident microbiota are also likely to influence local plant fitness3. A recent survey of A. thaliana root microbiomes4 found regional differentiation, often reflecting the composition of the soil microbiota. Host location was similarly significantly correlated with both root- and leaf-associated microbial composition of another crucifer, Boechera stricta5.

We already know that host genetics can influence microbiome composition5,6,7,8, and geographic differences in host genetics may in turn structure the resident microbiome, but the two might also be independently affected by physical distance, including abiotic factors that vary geographically4,5. For example, pH is a significant predictor of bacteria in the A. thaliana rhizosphere4, consistent with pH as a major driver of soil bacterial communities9. Similarly, precipitation can be a significant predictor of plant microbiome composition10.

Because previous studies have typically been limited in the number of populations4 or the geographic range surveyed3, it has been difficult to disentangle the effects of host genetics, geography and abiotic factors on the plant-associated microbiome. In this Resource, we use a continental-scale assessment of bacteria that colonize A. thaliana leaves to identify environmental and host genetic factors that are strongly associated with distinct microbiome types. We then determine the environmental variables that best predict microbiome composition. Finally, we follow up with a controlled field experiment to test the relative contributions of host genetics and of water availability to these predictable patterns and a direct demonstration that a common bacterial taxon can provide drought protection. Our results indicate that differential plant survival in low-water environments might in part be due to different bacteria colonizing drought-adapted and drought-susceptible plants.

Results

From February to May 2018, we visited 267 European A. thaliana populations around the end of their vegetative growth and close to the onset of flowering11 (Fig. 1a,b). At each site we collected whole rosettes from two individuals, along with a neighbouring crucifer (family Brassicaceae, primarily Capsella bursa-pastoris), if present, and two soil samples. We evaluated A. thaliana life history traits (Fig. 1c and Extended Data Fig. 1) and extracted information on climate variables for the collection sites12. We assessed the microbial composition of the leaf and soil samples by sequencing the V3–V4 region of the 16S ribosomal RNA locus and identifying amplicon sequence variants (ASV) using DADA13. Each ASV was considered a distinct bacterial lineage or phylotype. Host genetics and absolute microbe abundance were assessed by shotgun sequencing plant tissue, which generates reads of host and microbial genomes14.

Fig. 1: Representative sampling of A. thaliana phyllosphere microbiomes across Europe.
figure 1

a,b, A. thaliana plants were collected from distinct ecosystems. a, Examples of aspects of collection locations. b, Latitude/longitude of all locations. MOG is an acronym for Moguériec, France, and Vdc for Villaviciosa de Córdoba, Spain. c, Based on images of individual plants taken at each site, we assessed plant health and development. The x axis represents qualitative values (Methods), except for the rosette diameter, which is classified in intervals of (1) 0–1 cm, (2) 1–2 cm and so on. The disease index corresponds to different macroscopic disease symptoms as indicated (Hpa, Hyaloperonospora arabidopsidis). The central horizontal line in each box indicates the median, the bounds indicate the upper and lower quartiles and the number above the boxes indicates the individuals in each group.

Phyllosphere composition is distinct from the soil and is host species specific

There is considerable debate as to the origin of the microbes that colonize plants, although soil often has a measurable influence4,15,16. A study across 17 European A. thaliana populations4 found differentiation between root and non-root-associated microbes, but no significant differences between A. thaliana and neighbouring grasses4. Intra-species comparisons in a common garden experiment had suggested that host genetics can explain about 10% of the variance among A. thaliana leaf bacteria17. At the basis of these comparisons is the question of how much the host influences microbiome assembly, either because of active recruitment of specific microbes, or because of the differential ability of microbes to colonize their hosts.

To explicitly test for enrichment of specific taxa in the phyllosphere, we compared soil and plant leaves across all 267 sites via multi-dimensional scaling (MDS; Hellinger transformation). As expected, there was broad-scale separation between the phyllosphere and the soil (Fig. 2a,b). Modelling18 the effect of compartment on the microbial core phylotypes in the phyllosphere revealed differential abundance of 91% (524/575) of phylotypes between the A. thaliana phyllosphere and soil (False Discovery Rate (FDR) <0.01). Focusing on differences among host species18, we found 36% (205/575) of phylotypes to distinguish A. thaliana from neighbouring crucifers (Extended Data Fig. 2). This indicates that inter-host species differences in genetics or phenology have a strong influence on microbiome composition. On a phylotype-by-phylotype basis, abundance in A. thaliana was poorly predicted by a phylotype’s abundance in soil or in the surrounding companion plants (Extended Data Fig. 2).

Fig. 2: Two distinct microbiome types in A. thaliana along a latitudinal cline.
figure 2

a,b, Ordination on a Hellinger transformation of the samples. Arabidopsis thaliana leaf microbiomes are significantly differentiated from that of surrounding soil (a) and less so, but still significantly, from surrounding crucifers (Brassicaceae) (b). c,d, k-means clustering (k = 2) (c) identified two microbiome types that turned out to have a north–south latitudinal cline (d). e, Distribution of higher taxonomic levels across the southern and northern clusters. f, Comparison of extent of seasonal variation in south-west Germany (winter and spring) with the European geographic variation (clusters 1 and 2). g, Absence of correlation in fold changes (FCs) in phylotype abundance between the northern and southern clusters (y axis) and between the winter and spring samples from south-western Germany (x axis). Colour indicates association with the two north–south clusters 1 and 2.

Phyllosphere microbial composition varies with latitude

We tested the geographic differentiation of microbiomes using dimensionality reduction for the entire community and assessment of the spatial distribution for each bacterial phylotype. The former reveals global trends in composition, while the latter provides information on individual microbes contributing to such trends. Loadings on both the first and second principal coordinate axes (Fig. 2c) correlated with latitude (Pearson’s r = 0.75, P = 2.2 × 10−16, and r = −0.24, P = 1.35 × 10−7, respectively), suggesting geographic structure in the phyllosphere microbiome. Because silhouette scoring19 indicated that A. thaliana phyllosphere microbiomes were best characterized as two distinct types, we used k-means clustering of the Hellinger-transformed counts table to classify our samples (Fig. 2c and Extended Data Fig. 3). We found that the two microbiome types were strongly differentiated by geography, with one dominating in Northern and the other in Southern Europe (Fig. 2d,e). Among individual phylotypes, the relative abundance of one third (33%) was significantly associated with latitude (linear regression, FDR <0. 01), but only a small minority, 2%, was correlated with longitude, confirming that Northern and Southern European A. thaliana reproducibly harbour different microbiota. One percent of the plant-associated phylotypes were also significantly correlated in the soil with latitude, suggesting that the latitudinal contrast is formed via colonization.

The phyllosphere changes with plant development and the seasons20. To test whether the observed latitudinal phyllosphere contrast could be explained by seasonal and developmental differences, we compared our samples with a multi-year dataset from a single location in Germany21. Projecting seasonal phylotype composition into the MDS biplots of our pan-European samples did not reveal any preferential association of collection season with microbiome type (Fig. 2f). Comparing changes in the abundance of single phylotypes between seasons and between the two major microbiome types (Fig. 2g) similarly did not point to the latitudinal contrast reflecting environmental variation being caused by local seasonal differences (Wald test of multinomial frequency estimates, P > 0. 01).

The association between latitude and phylotype abundance was phylotype specific, differing within and between bacterial families (Fig. 3a and Extended Data Fig. 3). Pseudomonas and Sphingomonas are abundant across A. thaliana populations21,22,23 and both genera can affect A. thaliana health21,24,25. Linear regression of each core phylotype onto latitude revealed that four of the five most abundant sphingomonads have latitudinal clines (Fig. 3a,b, FDR <0. 01), while the most abundant pseudomonad phylotypes did not show long-distance variation (Fig. 3b–e). Rhizobiaceae were also latitudinally differentiated. A consequence of phylotype-specific association with latitude was that the two major microbiome types were significantly differentiated at the phylotype level, but not at higher taxonomic levels (Fig. 2e and Extended Data Fig. 3). Thus, even though A. thaliana is colonized by different individual phylotypes in Northern and Southern Europe, the bacterial classes remain broadly the same (Fig. 2e).

Fig. 3: Latitudinal clines in microbial abundances and association of a host immune gene with microbiome type.
figure 3

a, Linear relationships between relative abundance (RA) of the most common phylotypes. The y axis represents −log10-transformed FDR-corrected P values obtained when regressing the abundance of a phylotype on latitude (linear regression). Phylotypes are grouped by families, which are indicated on the bottom. b,c, There is a strong latitudinal cline for the RA of the most abundant sphingomonads (b) but not for the most abundant pseudomonads (c; note the difference in RA scale). d,e, Interpolation of the abundance of the top sphingomonad phylotype (d) and of ATUE5 (e), the top pseudomonad phylotype and a known opportunistic pathogen, revealed a continuous spatial gradient for the top sphingomonad (d), but a patchy distribution with regional hotspots for the top pseudomonad (e). f, The relationship between microbiome type and polymorphism in plant immune genes was assessed with the Fst population differentiation index. The most extreme Fst values were found in the immune regulator ACD6. Data in b and c are presented as the estimated regression value ± s.e.m. Chr, chromosome.

Common phylotypes differ in their geographic distributions

A single Pseudomonas phylotype, ATUE5 (previously OTU5), is a common opportunistic pathogen in local populations in south-west Germany, where it is an important driver of total microbial load21. Because ATUE5 was also the most abundant pseudomonad in our study, we wanted to learn how its distribution was geographically structured (Fig. 3c). ATUE5 was the seventh most common phyllosphere phylotype overall, with a relative abundance of up to 64% (mean of 1.8%). ATUE5 was found in 56% of samples, but without significant latitudinal differentiation (Pearson’s r = 0.01, P = 0.92).

Despite ATUE5 being a common phyllosphere member, its distribution was disjoint, and ordinary Kriging interpolation across the sampled range confirmed a very patchy presence (Fig. 3c). In contrast, the most frequent Sphingomonas phylotype (and most frequent phylotype overall) showed a significant latitudinal cline (Fig. 3b). High ATUE5 abundance was largely limited to single populations or populations very close to each other, with a spatial autocorrelation restricted to distances of under 50 km (Extended Data Fig. 6). In summary, the Pseudomonas pathogen ATUE5 is widely yet very unevenly distributed.

Drought metrics predict microbiome composition

Common garden experiments have indicated that environmental factors strongly shape bacterial microbiome composition17. Our continental-scale data enabled us to test which abiotic factors are most correlated with geographic structure of the phyllosphere microbiome.

We tested for associations between climate variables and microbiome composition, including developmental and health traits as potential confounders26. Altogether, we considered 39 covariates that could influence microbiome composition (Extended Data Fig. 7 and Extended Data Table 1). We first removed covariates that were highly correlated with others and then performed random forest classification using the two microbiome types as response variables (Fig. 4 and Extended Data Fig. 8). The covariate with greatest explanatory power was the Palmer Drought Severity Index (PDSI) mean from the six pre-collection months, a metric of recent dryness27. PDSI was similarly the best predictor for the loading of a sample on MDS1. In general, environmental covariates were better predictors than were plant traits. In contrast, environmental covariates (including PDS1) had poor predictive power for plant-associated phylotypes in the soil microbiome, explaining less than 1% of the variance in the loading on the first principal coordinate axis.

Fig. 4: PDSI is the best predictor of phyllosphere microbiome type.
figure 4

a, Random forest modelling was used to determine environmental variables associated with microbiome type. The abbreviations are explained in Methods. b, PDSI of the location was the best predictor of microbiome type, explaining more than 50% of the variance. The upper and lower hinges of the boxes represent the first and third quartiles and the central line the median, with n = 269 plants in cluster 1 and n = 192 plants in cluster 2. c, The mean PDSI throughout Europe for January to April 2018.

Because PDSI is correlated with latitude, we tested whether information about both variables improves prediction outcomes. Inclusion of PDSI significantly improved predictive capacity (P = 4.2 × 10−7 for logistic regression with microbiome type and P = 2.7 × 10−7 for linear regression on MDS1), indicating that the association between microbiome type and PDSI extends beyond latitudinal correlation. PDSI was also predictive for microbiome composition within geographic regions and their corresponding sampling tours (P = 2.3 × 10−7 for logistic regression with cluster identity and P = 0. 047 for linear regression on MDS1).

From mixed-effects modelling, we estimated the marginal R2 for PDSI to be 50%. Together with previous work supporting the importance of water availability in determining host-associated microbiomes9, we conclude that water availability affects which microbes can access the host plant and/or proliferate on the host. Drought might do so directly by affecting plant physiology, indirectly by shaping host genetics or by a combination of the two. Additionally, drought affects the abundances of microbes in the abiotic environment, and hence which microbes are present for colonization.

Host genetics is associated with microbiome composition

Arabidopsis thaliana exhibits strong population structure across Europe, with a pattern of isolation by distance28 and greater latitudinal than longitudinal differentiation1. Climate-driven selective pressures, particularly water availability and drought29, along with different groups of insect predators30 have contributed to the geographic structure of A. thaliana genetic diversity.

To determine whether this extends to the phyllosphere microbiome, we extracted heritability estimates for phyllosphere phylotypes from eight common garden experiments in which 200 A. thaliana accessions had been grown in four Swedish locations across 2 years8. Two thirds (368/575; 64%) of our core phylotypes had been observed in this study8. We were able to obtain heritability estimates for 251 of these phylotypes, almost all of which (247; 98.4%) had significant positive heritability in at least one of the eight experiments. Genetic differences are therefore very likely to contribute to the observed geographic differentiation of the A. thaliana phyllosphere microbiome across Europe. However, heritability does not necessarily imply direct host control of each phylotype, as it can also be exerted indirectly via microbial hub taxa8.

To determine how microbiome composition in our study might be influenced by host genetics, which was representative of previous surveys1 (Extended Data Fig. 4), we fitted a mixed-effects model that included relatedness as a random effect and the loading on the first axis of the decomposition of the microbiome composition as the phenotypic response variable. Plant genotype alone explains 68% of the variance in the loading along MDS1 and 52% of the variance in the MDS2 loading (pseudo h2 0.68, standard error of the mean (s.e.m.) 0.10 for MDS1 and pseudo h2 0.52, s.e.m. 0.12 for MDS2). MDS1 explains 8% and MDS2 5% of the variance in microbiome composition, consistent with host genetics probably playing only a subordinate role in structuring the microbiome8,17,31. In a mixed-effects model, PDSI was associated with MDS1, whereas several genetic principal components were associated with MDS2 (Extended Data Tables 24).

Because immune genes are prime targets for interactions with microbes32,33, we tested whether specific immune gene alleles are associated with the two microbiome types. Among a generous, though not exhaustive, list of 1,103 genes with connection to pathogen response and defense34, the top single-nucleotide polymorphism (SNP) was in ACD6 (empirical P = 0.0001) (Fig. 3f and Extended Data Fig. 5). ACD6 alleles can differentially impact pathogen resistance through constitutive effects on immunity35. The full ACD6 haplotypes associated with each microbiome type have not yet been reconstructed, as the short reads used for genotypic comparisons did not allow for resolution of full-length alleles. Nonetheless, our results demonstrate a striking association between microbiome type and polymorphisms in a central regulator of immune activation. Whether resident microbiota select for ACD6 allele type, or instead ACD6 allele type influences microbiome type, remains to be determined.

Are genetic alleles responsible for microbiome variation across geography? For defense genes such as R genes, this is probably not the case as variation tends to be maintained within local populations of A. thaliana36,37. We do not know whether this extends to genes that control the non-pathogenic microbiota. A previous study found ~150 SNPs to be significantly associated with heritable microbiome composition in A. thaliana31. When we tested the geographic differentiation of these SNPs across Europe (Extended Data Fig. 5), we found that they had significantly higher global Fst values than the genome-wide background, consistent with different A. thaliana populations selecting for different microbiota.

Host adaptation to drought influences microbial abundance

To disentangle the impact of drought from that of plant genetics, we conducted a common garden field experiment in California. Using a setup similar to our previous work in Europe29, we grew A. thaliana accessions (Extended Data Table 5) under a high- and low-watering regimen. Focusing on accessions that had previously been identified as drought adapted or susceptible based on genetic loci associated with adaptation to drought29, we assessed differences in phyllosphere composition after drought stress. Of the 575 core phylotypes in the European field collections, 154 were present in California and 20 were sufficiently common to enable us to determine the relative influences of genetics and drought treatment on their relative abundances (Extended Data Tables 24). Of these 20 phylotypes, 3 were significantly influenced by host genetic classification of drought-adapted versus susceptible accessions, and 3/20 showed a significant interaction between drought treatment and host genotype (Extended Data Table 6). Two out of 20 showed a significant response to the abiotic drought treatment alone. The phylotypes that were significantly associated with plant genotype in the California field experiment accounted for an appreciable fraction of the total microbiome in the European wild collections—an average of 13.2% of the total microbial community in a plant and as high as 71.9% total relative abundance in a plant (Extended Data Fig. 9). The most abundant phylotype across the European collection (Extended Data Fig. 9) was significantly associated with plant genotypic classification. In total, these results indicate that genetic adaptation to drought has an impact on some of the most abundant bacteria that colonize a plant.

Common phylotypes alter drought effects on A. thaliana

Finally, we tested whether water availability can influence the abundance of a common phylotype, the opportunistic pathogen ATUE5. In growth chambers, we exposed 5-week-old plants of the Col-0 reference accession to a week-long drought, followed by syringe inoculation with the ATUE5 p25.c2 strain21. Three days after infection, we compared bacterial growth and green tissue in drought-stressed and well-watered plants. Drought significantly reduced the ability of ATUE5 to proliferate in planta (Extended Data Fig. 10; two-sided Wilcoxon rank-sum test, P = 0.003), a result consistent with Pseudomonas pathogens relying on water availability to spread and multiply38. Drought also significantly reduced the green, photosynthetically active leaf area (Extended Data Fig. 10), with ATUE5 infection blunting this negative effect of drought.

These results indicate that infection by an opportunistic pathogen may be conditionally beneficial, conferring drought tolerance under specific conditions. ATUE5 was previously shown to influence A. thaliana growth in a genotype-specific manner39, indicating that the interaction between drought and ATUE5 infection is likely to differ between plant populations. This is reminiscent of viral infection reducing drought-based mortality40 and in agreement with plant growth promoting effects of microbes under drought41, as discussed in a recent review42 of the diverse mechanisms of microbe-mediated drought tolerance. Moreover, there is precedence for cryptic A. thaliana pathogens providing environment-specific fitness benefits43.

Discussion

Our results reveal several robust trends. Firstly, colonization of A. thaliana leaves imposes a strong bottleneck on the microbes that arrive from the surrounding soil and other plants, with most microbes differing in abundance between the soil and A. thaliana leaves and more than a quarter differing between A. thaliana and companion plants from the same family. Host genetics clearly matters for determining which microbes manage to establish in and on the plant. Our results indicate that these trends, observed before over small regions4,7,8, are reproducible and ubiquitous on a continental scale. Secondly, geography and associated abiotic factors significantly influence the microbes on A. thaliana: a plant in Spain will very probably be colonized by a different suite of microbes than a plant in Sweden. Our field experiment begins to disentangle the direct contribution of geography-dependent climate differences on the microbiome from those that are mediated by adaptive differences in host genetics. We note, however, that both genetic population structure and environmental variables exhibit autocorrelation, hence the variance explained by plant genotype is invariably confounded by correlated environmental factors, with the exact extent being difficult to discern. We identify genetic variation in an immunity gene, ACD6, to be associated with microbiome type and with PDSI. Specific alleles of ACD6 confer drought tolerance44, adding further complexity to our understanding of the relationship between drought, microbes and plant genetics. Lastly, our analyses suggest that microbial colonization of plants is strongly dictated by water availability and the attendant microbiota. This again raises the question of how different microbial communities influence plant phenotype. Drought not only plays a major selective role in A. thaliana populations29, but it is also known to affect the ability of plants to withstand pathogen attack. An important question will be whether different background microbiomes in plants that are more likely to experience drought in the wild will help or hamper defense against pathogens45.

Methods

Sample collection

Arabidopsis thaliana and other crucifers were sampled during local springtime in 2018. Most crucifer companion samples were Capsella bursa-pastoris, and the rest were Cardamine hirsuta. A full list of sampling locations and dates is provided in Extended Data Table 1. Rosettes were separated from the roots using alcohol wipe-sterilized scissors and forceps, then washed with water and ground with a sharp disposable spatula (Roth) in RNAlater (Sigma, now Thermo Fisher). For each A. thaliana plant for which soil was accessible, one to three tablespoons of soil were collected from the location where the plant had been removed and placed in a clean airtight bag. Samples were then maintained in electrical coolers (Severin Kühlbox KB2922) until the end of the sampling trip (which were 1–12 days long). In the lab, samples were stored at 4 °C. Within 0–3 days, RNAlater was removed from plant samples. Samples were centrifuged for 1 min at 1,000g, the supernatant was removed and samples were washed with 1 ml autoclaved water. For storage at −80 °C, plant tissue was transferred with ethanol sterilized forceps to screw cap freezer tubes containing 1.0 mm Garnet Sharp Particles (BioSpec Products, Cat. No. 11079110GAR). A ~200 mg aliquot from each soil sample was transferred to a screw cap freezer tube using an ethanol sterilized spatula, with great effort to exclude plant and insect pieces. Before aliquoting, soil bags were kept at −80 °C and defrosted at 4 °C overnight, unless aliquoting was done immediately upon arrival in the lab at the end of the sampling trip.

Nagoya Protocol Compliance

Respective national authorities of all sampled countries that are party to the Nagoya Protocol were contacted. Where needed, advised measures were taken and resulted in sampling and export permits: KC3M-160/11. 04. 2018 (Bulgaria), ABSCH-IRCC-FR-253846-1 (France) and ABSCH-IRCC-ES-259169-1 (Spain).

Plant phenotyping

Scores presented in Fig. 1 and Extended Data Fig. 1 are

  • Developmental state: vegetative (1), just bolting (2), flowering (3), mature (4) and drying (5)

  • Herbivory index: no (1), weak (2), strong (3) and very strong (4) herbivory

  • For rosette diameter, a 1 cm rosette diameter classification corresponds to any rosette diameter ≤1 cm.

DNA extraction

DNA was extracted from plant samples according to the protocol from ref. 21. Soil DNA was extracted using Qiagen Mag Attract PowerSoil DNA EP Kit (384) (cat. 27100-4-EP). On dry ice, soil samples were transferred from tubes to PowerBead DNA plates using sterile individual funnels. Plates were stored up to 2 weeks at −80 °C until processing. The Qiagen protocol was adapted to a 96-well-pipette (Integra Viaflo96). PowerBead solution and SL Solution were pre-warmed at 55–60 °C to avoid precipitation. RNase A was added to the PowerBead solution just before use. From step 17 of the protocol, instead of starting epMotion protocol, the following steps were performed: to each well of the 2 ml deep-well plate containing maximum 850 µl of supernatant, 750 µl of Bead Solution was added and mixed with Eppendorf MixMate at 650 rpm for 10–20 min. Plates were placed on a magnet for 5 min, the supernatant solution discarded and the beads washed three times with 500 µl wash solution. Beads were eluted with 100 µl elution buffer. The eluate was transferred to PCR plates and stored at −20 °C until library preparation.

Drought treatment with infection

Plants of the A. thaliana Col-0 reference accession were grown for 35 days at 23 °C under short day conditions (8 h light:16 h dark) with normal watering (approximately 1 l water per tray once soil moisture dropped below a reading of 3; XLUX Soil Moisture Meter). At 35 days, plants were randomized into new trays and watering treatments started. Soil moisture was measured every day. Control plants were watered normally once the soil moisture readings were between 2 and 3. Drought-stressed trays were dried down to an average soil moisture reading of 1, kept ≤1 for a full day, then maintained between a reading of 1 and 2 with minimal watering. The plants were exposed to these contrasting water conditions for seven days before infection. On day 7, control trays were watered normally (until soil moisture averaged a reading of 5–6 per tray) and drought trays were watered at 0.4× normal water per tray (reaching an average soil moisture reading of 2–3). After having been watered, two leaves per plant were syringe-infiltrated with either MgSO4 (control) or ATUE5 p25.c2 at an OD600 of 0.0002. Each treatment had approximately 96 plants, divided over four trays. Plants were photographed every other day, starting at 35 days after planting. Plant growth and health were estimated by measuring green pixel area per plant using plantCV46 (Supplementary Data Table 1). At 3 days after infection, hole punches were taken from two leaves per plant, ground and resuspended in dilutions 10 mM MgSO4. Colonies were counted after 2–3 days of growth on selective lysogeny broth agar plates with 100 µg ml−1 nitrofurantoin to select for Pseudomonas (Supplementary Data Table 2). No statistical methods were used to pre-determine sample sizes but sample sizes are similar to or greater than those reported in previous publications47.

Field experiment

Accessions

A total of 110 A. thaliana accessions were planted in a common garden experiment with water manipulation in a common garden field site at the Carnegie Institution for Science (37.42857020996903° N, 122.17944689424299° W) in Stanford in the spring of 2023 (Extended Data Table 5). We selected two groups of accessions based on their predicted contrasts in ability to survive drought in two consecutive field experiments at two locations. Based on survival data under low watering in Spain29, polygenic scores were trained on 515 accessions following state-of-the-art methods48 using PLINK v2.00a2.349. Conducting polygenic scores with different sets of SNPs (varying P value of their association with survival from 10−3 to 10−9), we verified a broad overlap of accessions in the top 30 and bottom 30 of the rank distribution. We utilized a threshold of 0.001 to select such 30 top and 30 bottom accessions. In a second round of experiments in California, a pilot study for the current work, polygenic scores were trained on total fitness (survival and fruit production) under drought conditions in 245 accessions. Polygenic score analyses used the software GEMMA and the Bayesian Sparse Linear Mixed Model50. This approach utilized genome-wide SNP information and their estimated parameters (probability of causal effect and the effect size) to make polygenic score predictions. We again selected 30 accessions with the highest and lowest polygenic scores. Finally, from the two polygenic score prediction rounds we identified 57 accessions with a high score in drought survival and 59 with a low score to conduct field experiments and microbiome analyses (3 and 1 accessions, respectively, did not have enough seeds for our experiment size). As there was some overlap in selected accessions from the first to the second year, only a total of 110 unique accessions were sown.

Experiment

We planted seeds from selected accessions in 464 individual, randomized pots on 16 November 2022 in a common garden field site at the Carnegie Institution for Science. Five to ten seeds were planted in each pot within a 60-pot tray with Nutrient Ag Solutions PROMIX PGX Biofungicide Plug & Germination mix. The trays were gently watered for 2 weeks until germinants were established. We thinned each pot to have a single plant, before imposing a high and low precipitation treatment. For the well-watered treatment, the plants received an additional 144 min of rainfall every 2 days from December 2022 to May 2023 (about 600 additional mm for the entire growing season) on top of the natural rainfall at this location. The drought treatment consisted of only natural rainfall, which in California typically leads to water stress and visible mortality of A. thaliana plants.

Microbiome study

On 5 April 2023, we collected two true leaves from every plant that had not begun to senesce or decay (386 plants in total). All tools were sterilized between plant sampling. Tubes with tissue were immediately submerged in liquid nitrogen and transferred to a −80 °C freezer.

16S rDNA ASV identification

Oligonucleotide primers targeting the consensus V3–V4 ribosomal DNA (rDNA) region from 341 bp (5′-CCTACGGGAGGCAGCAG-3′) to 806 bp (5′-GGACTACNVGGGTWTCTAAT-3′) were used to amplify 16S rDNA sequences with the protocol described in ref. 21. Briefly, amplification was achieved with a two-step PCR protocol in which 100 µM peptide nucleic acid was used in the initial PCR to block amplification of chloroplasts. Amplicons were sequenced on the MiSeq (Illumina) platform using the MiSeq Reagent Kit v3 (600 cycle). Samples with lower coverage were preferentially sequenced to greater depth in subsequent runs in a total of four runs of the Miseq. Output from all runs was pooled for downstream analysis. Primer sequences were removed before analysis with a combination of usearch (version 11, ref. 51) and custom bash scripting. The 16S rDNA sequences were quality trimmed using DADA213 (version 1.10.1). The forward read was truncated at position 260 and the reverse read at position 210 due to decreased quality of the second read. Reads were truncated when the quality score dropped to less than or equal to 2 (trunQ=2). Chimeras were removed with the removeBimeraDenovo function (method=‘consensus’) and ASVs called de novo using DADA2. The resulting reads were then aligned using AlignSeqs from the DECIPHER package52 (version 2.8.1). A phylogenetic tree of the de novo called ASVs was constructed using fasttreeMP53 (version 2.1.11). Taxonomic assignment of reads was performed with comparisons of 16S rDNA sequences to the Silva database54 (nr v132 training set).

Only samples with at least 1,000 reads after filtering for mitochondria and chloroplast reads were included. We began with 939 samples (including soil samples and neighbouring non-A. thaliana plants), in which we found 195,545 ASVs. A total of 918 samples had a sufficient number of reads (>1,000 reads) and after removing ASVs that were not found in any single sample with more than 50 reads, we were left with 10,566 ASVs. We identified a core set of 575 ASVs by filtering for those ASVs that were present in at least 5% of A. thaliana samples. The ASVs classified as belonging to the taxonomic class Cyanobacteria were removed from the dataset to eliminate possible misassignment of plant chloroplast DNA that can vary between plant genotypes and skew subsequent analyses.

For the Californian field experiment, we sequenced the 16S rDNA amplicons as above and processed ASVs with the same pipeline used for the European wild samples. In the Californian ASV table, we identified ASVs present in 10% or more of the samples, and merged these ASV identifiers with those of the European collections to call the intersection of observed ASVs.

Climate variables

The majority of climate variables were obtained from Terraclimate12 using the data for 2018 (http://www.climatologylab.org/terraclimate.html), a dataset with approximately 4 km spatial resolution. For random forest modelling and climate associations, we calculated the average value of each climate metric over the 6 months preceding the date of collection. The following variables were included in the random forest modelling from the Terraclimate dataset: tmax, maximum temperature; tmin, minimum temperature; vp, vapour pressure: ppt, precipitation accumulation; srad, downward surface shortwave radiation; ws, wind speed; pet, reference evapotranspiration (ASCE Penman–Montieth); q, runoff; aet, actual evapotranspiration; def, climate water deficit soil and soil moisture; swe, snow water equivalent; PDSI; and vpd, vapour pressure deficit.

We further analysed associations with Koeppen–Geiger climatic zones55,56, which were inferred in R using the package kgc and the regional classifications from ref. 57. Initial assessments of the density of microbes throughout Europe were calculated via ordinary Kriging using the R package automap58 (version 1.0-14). Four models were tested during variogram fitting, namely ‘Sph’, ‘Exp’, ‘Gau’ and ‘Ste’. Interpolation was performed either on the abundance data untransformed or on log10-transformed values with 0. 0001 added to allow for zero counts to be included. Global information on the major vegetation types was obtained using the Globcover 2009 map (released December 2010) from the European Space Agency (http://due.esrin.esa.int/page_globcover.php). Measures of soil properties were obtained using the International Soil Reference and Information Centre (ISRIC, global gridded soil information) Soil Grids (https://soilgrids.org/#!/?layer=geonode:taxnwrb_250m).

At the time of collection we took several measurements of the soil and air temperature and humidity (Soil temp, Air temp, Soil hum and Air hum), the surrounding plant community and the location type: distance between the focal and the closest neighbouring A. thaliana plant (Ath.Ath), distance between the focal and the closest other plant (Ath.other), immediate plant density (Ground cover), visible H. arabidopsidis infection on focal plant (Hpa plant) or at site (Hpa site), visible Albugo spp. infection on focal plant (Albugo tour), fraction of herbal plants in the surrounding (Strata herbs), and estimated sun exposure (Sun), slope (Slope) and ground humidity (Humidity ground). Measurements are listed and detailed in Extended Data Table 1.

Feature selection and random forest modelling

Features of interest were first identified by feature selection in the R package caret59 (version 6.0-86) using repeated cross-validation (three repeats). Prediction variables were preprocessed by centring, scaling and nearest-neighbour imputation for samples that lacked data for a variable. A training set was generated with 75% of the data. Random forest regression was performed to minimize the root mean squared error with repeated cross-validation. Variable importance was assessed via generalized cross-validation in the package caret59.

ASV differential abundance analysis

Differential abundance of ASVs in the soil versus A. thaliana, and A. thaliana versus other Brassicaceae was assessed using the edgeR18 package in R (version 3.28.1). We estimated a common negative binomial dispersion parameter, and abundance-dispersion trends by Cox–Reid approximated profile likelihoods60. We then fit a quasi-likelihood negative binomial generalized log-linear model to the count data. We tested for differential abundance by a likelihood ratio test.

Phylotype classification and regression

Phylotypic clusters were identified by k-means clustering of Hellinger-transformed ASV count matrices. The optimal number of clusters was determined through both partitioning around medioids61 using the pamk function in the R package fpc62 (version 2.2.9) and through silhouette analysis19 in the cluster (version 2.1.2) package in R63.

To determine the relative effect sizes of drought, latitude and plant identity on MDS loadings, phenotypes were modelled using restricted expectation maximum likelihood with the lmekin package in R with kinship as a random effect64. The kinship matrix was constructed using several methods including the R package gaston64 as well as the centred kinship matrix in gemma (version 0.98.3)65. The different methods yielded unstable estimates of kinship, probably due to the low coverage of the plant genomes. To account for the low coverage, we employed a method designed for kinship estimation in low coverage data, SEEKIN66 using the homogeneous parameter. Mixed-effects modelling with a kinship matrix was computed both with lmekin67 and with GEMMA. The data distribution was assumed to be normal but this was not formally tested. The proportion of phenotypic variance explained by the environmental covariates was estimated with the function ‘r.squaredLR’ from the package MuMIn (version 1.43.1) and the pseudo-heritability was estimated using the kinship matrix and lmekin as well as in GEMMA (-gk = 1, maf = 0.1). In the paper we report the lower estimate for pseudo-heritability as estimated in GEMMA with the centred kinship matrix also estimated in GEMMA.

To test for the relative effects of genotype, latitude and PDSI in a single model, we estimated the first five principal components of the plant genotype relatedness matrix68 and included the eigenvectors as covariates in our models for microbiome type and the loading on MDS1 and MDS2 (Fig. 2). The data distribution was assumed to be normal but this was not formally tested. Regressions used the lm and glm functions (logit link) in the R stats package. The relative importance of PDSI and Tour ID were tested with the models in glm glmer(cluster identity) ~ PDSI + 1|Tour_ID, family = ‘binomial’) or with lmer(MDS1 ~ PDSI + 1|Tour_ID).

Plant polymorphism calling and filtering

Raw reads were mapped to the TAIR10 reference genome of A. thaliana with bwa-mem (bwa 0. 7. 15)69. SNP calling was performed using GATK (version 3.5) HaplotypeCaller using recommended best practices70 with some modifications. Filtering for individuals with greater than 25% missing data (across all the SNPs) and bi-allelic SNPs with greater than 25% missing data (across all the individuals) resulted in a final set of 527 individuals with 409,850 bi-allelic SNPs for further analysis.

Population structure analysis of A. thaliana

Wright’s fixation index (Fst) was calculated using the method of Cockeram and Weir71. The 1001 Genomes1 dataset (without individuals from North America) was merged with the dataset from this study to perform principal component analysis. Genotypes from this study were projected into the principal component space of the 1001 Genomes genotypes using the SmartPCA tool of EIGENSOFT (version 6)72.

Heritability comparisons

For comparison of ASV distributions and heritability estimates, we identified related OTUs from four microbiome common garden experiments in Sweden8. OTU sequences from ref. 8 were downloaded from https://forgemia.inra.fr/bbrachi/microbiota_paper, as were heritability estimates for the OTUs. Correspondence between Swedish OTUs (called from sequenced V5–V7 region of 16S rDNA) and the ASVs in our study (identified from sequenced V3–V4 regions of the 16S rDNA locus) was established using the Qiime273 fragment insertion method using sepp-refs-gg-13-8 as the reference database. Correspondence between the OTUs and ASVs was established with divergence of less than 1% on the Green Genes tree.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.