INTRODUCTION
Microbes live in complex and abstract microenvironments, obscuring our ability to determine what evolutionary forces structure the diversity we observe. Additionally, it is challenging to predict
a priori the extent to which closely related isolates sampled from a specific region or habitat reflect a cohesive unit, distinct from other such units. As in macroorganisms, genetic distance can increase with geographic distance within microbial species (
1–4) and be correlated with distinct habitats (
5,
6), indicating that homogenizing forces (i.e., selection, drift, and gene flow) are more likely to operate with physical and ecological proximity. However, diverse population structures are observed across bacterial species. For instance, nearly identical isolates of
Staphylococcus aureus and
Vibrio cholerae have been found globally (
7–9), while in other species, sympatric isolates are found to be genetically differentiated and nonrecombining (
1,
10,
11), demonstrating that divergence can arise and be maintained at a small spatial scale. A key goal remains to link geographic patterns to the evolutionary forces shaping microbial populations.
Work on host-associated microbes has examined the role of hosts in governing the population structures of their symbionts. Some host specialist pathogens, such as
Mycobacterium tuberculosis, display a long history of coevolution that can be seen by congruent phylogenies between the pathogens and their human host populations (
12), while others, such as
Helicobacter pylori, reflect more recent human migrations (
13). In contrast, host generalists, such as
Campylobacter species and
Escherichia coli, show little signature of host species association (
14) and are found to be structured more by geography than host phylogeny (
15,
16). However, within some host generalist species, lineages can be found that are host specific and contain niche-adaptive genes (
17–19). While most research examining population structure has been done on pathogen species of human health or economic concern, it is important to study diverse species to better understand the processes shaping microbial evolution (
20).
Among beneficial symbionts, a range of population structures has also been observed. The well-studied mutualist
Vibrio fisheri, associated with Hawaiian bobtail squid, shows little geographic structure or specificity to genetically distinct host populations (
21). In contrast, vertically transmitted symbionts like
Buchnerna aphidocola show structuring across aphid species and with host geography (
22). Symbiont population structure can also be affected by host ecology (
23). For example, the ant mutualist
Pseudonocardia actinobacteria shows kilometer-scale geographic structuring within a single ant species that is correlated with its ability to inhibit a virulent fungal pathogen of its host (
24). Here, we examine the population structure of
Xenorhabdus bovienii, a mutualistic symbiont of nematodes and a virulent insect pathogen, in a region where multiple nematode species occur in sympatry.
The bacterial genus
Xenorhabdus is exclusively found associated with nematodes in the genus
Steinernema. These nematodes depend on
Xenorhabdus for successful colonization and reproduction within insect hosts (
Fig. 1), while
Xenorhabdus relies on the nematodes for survival and access to insects (
25). Across the genera, there is a partial congruence between the host and symbiont phylogenies, with both cospeciation and host switching observed (
26).
X. bovienii is noted within the genus for its ability to associate with multiple nematode species across two distinct clades of
Steinernema nematodes (
26). Despite this broad host range, partial cocladogenesis between
X. bovienii and its nematode partners suggests specialization (
27). Furthermore, experimental pairings demonstrate that the fitness of both partners declines with phylogenetic distance from native association (
27–30). So, while on one hand there is evidence that
X. bovienii can coevolve to form specialized partnerships, on the other hand, there is evidence that this species can be considered a host generalist (
26,
27). To reconcile these findings, we sequenced genomes of
X. bovienii isolated from four nematode host species across three study sites and compared them to all available genomes of this species. We hypothesized that this host generalist symbiont would comprise multiple, largely host-specific lineages and sought to identify genetic markers of such specificity. Additionally, we hypothesized that spatial proximity would facilitate genetic similarity via shared selective pressures, neutral processes, and gene flow, and thus, we tested for evidence of recent gene flow among the isolates and whether gene flow and genetic similarity were limited by host species or geographic distance.
DISCUSSION
Microbial symbionts often adapt and specialize to their hosts. And yet, numerous microbial species are characterized as host generalists, able to colonize and thrive in distinct host species. How do generalists evolve through time and space? Here, we examine the population genomics of the mutualist symbiont X. bovienii from a region where four nematode host species cooccur and compare them to globally available reference genomes. We find that, despite being associated with at least 10 nematode host species across the Northern hemisphere, X. bovienii forms a monophyletic group. Regionally, we found two distinct lineages of X. bovienii. One lineage was associated exclusively with a single nematode host species, while the other lineage was associated with three other nematode host species. Even though these two lineages were distinct and well supported, we detected recent gene flow across these lineages and among isolates from all four host species. Nevertheless, gene flow was higher if isolates shared a nematode host species and were collected from closer sites geographically. Thus, X. bovienii in this region can be viewed as a metapopulation, with gene flow tying this species together evolutionarily. Moreover, several genes were identified as being targets of differential selection within this population. The diverse functions of these genes, from insect toxins to antimicrobial effectors and resistance mechanisms, speak to the complex biotic environment imposing selection on these symbionts.
Xenorhabdus bacteria are specialized mutualists of nematodes, showing partial cocladogenesis with their hosts (
26,
27); although this prior work suggested that
X. bovienii could shift to distinct nematode host species, this conclusion was based on 11 allopatrically collected isolates and so could reflect few rare events. We sampled extensively from a sympatric population and predicted that the population structure of
X. bovienii strains would mainly reflect their nematode host associations. We found only partial support for this hypothesis. For instance, nematode phylogeny presents
S. affine and
S. intermedium as sister taxa, equally distant from the sister taxa
S. kraussei and
S. texanum (
Fig. 3B). However, the bacterial phylogeny based on core genes showed that
S. affine-associated isolates were more closely related to isolates from
S. kraussei and
S. texanum than to those from
S. intermedium. Furthermore, isolates associated with
S. kraussei and
S. texanum showed little structuring by nematode host in either the core or accessory genes (
Fig. 3A and
4). These findings refute the hypothesis that
S. bovienii consists of host-limited ecotypes (
33). Rather, they suggest frequent host switching or recombination across isolates.
Based on the core phylogeny (
Fig. 3A), successful host shifts have occurred in lineage 1, which includes isolates from three nematode hosts. For a host shift to occur, lineage 1 bacteria would be carried into an insect with one species of nematode and leave with another, and to persist, this novel pairing would have to outcompete the native pairs. In noncompetitive laboratory experiments, wherein aposymbiotic nematodes are paired with novel bacteria,
S. affine nematodes were not able to accept
X. bovienii bacteria from
S. kraussei or
S. texanum, while
S. kraussei nematodes could accept
S. affine-associated
X. bovienii bacteria, albeit at such a severe fitness cost that the pairing would be unlikely to persist in nature (
30,
34). In contrast,
S. kraussei nematodes were found to accept
S. texanum-associated
X. bovienii with no reduction in fitness. These empirical results match the conclusion inferred from the phylogeny (
Fig. 3) that host shifts across nematode clades occur less frequently than those within. Despite these findings, we found no genes significantly associated with
S. affine in our genome-wide association study (GWAS) analysis. In fact, we found significant associations for only one nematode host,
S. texanum. Association mapping in microbes is difficult due to high levels of linkage disequilibrium and population structuring (
35,
36), and it is possible that treeWAS is overly conservative, as PopCOGenT detected selective sweeps associated with
S. intermedium. One sweep occurred in the
mrx fimbria region, which has been shown to be important in colonization of the nematode host (
37). Additionally, the type 6 secretion system genes sweeping in this cluster could be important for interactions with the nematode host (
38,
39). However, within lineage 1, few host-specific markers exist, suggesting that specificity may be due to multiple mechanisms or involve epistatic interactions, and therefore not be picked up in GWAS. In fact, different
X. bovienii isolates from
S. affine have shown distinct pathologies on nonnative nematodes (
30,
40).
Despite the partial structuring by nematode host species, we found no gene flow discontinuity among our regional isolates (
Fig. 5). In fact, high levels of gene flow were detected across some isolates associated with
S. kraussei and
S. texanum. Overall, observed recombination was higher when isolates shared a nematode host species and with geographic proximity (
Fig. 7B), likely reflecting increased opportunities for genetic exchange and shared selective pressures. Each nematode host individual likely harbors a clonal population of
X. bovienii (
41,
42); however, to successfully invade and reproduce, several nematodes, which may carry different clones, must coinfect an insect host. Thus, it is within the insect that gene flow is likely to occur as distinct
X. bovienii strains potentially interact with each other, with other
Xenorhabdus species, and with the insect microbiome. Most clones were isolated within a few meters of each other, although some were found across study sites and, for one pair of global reference genomes, across continents (
Fig. 7A). This pattern suggests that migration is important to the evolutionary history of
X. bovienii. In most cases, migration will be local, driven by nematode movements, but longer-range migration could occur via erosion, predation of the insect host, or human agricultural activities. Regardless of the scale, migration has been implicated as a key factor facilitating gene sweeps through recombination (
43).
Analysis of selective sweeps in the regional isolates of
X. bovienii identified several genes (
Tables 1 and
2) that are of known importance for entomopathogens (
38). Specifically, nine toxin regions were found to be sweeping within the regional population. Two toxin genes were observed to be sweeping differentially across the clusters (
Table S3). These sweeps may represent the ability to access additional insect species or to combat insect resistance (
44). Additionally, 11 NRPS regions (3 differentially) were also found to be undergoing selective sweeps. These regions are important in the production of secondary metabolites, some of which are key in competition with the insect microbiota (
45). Additionally, two antibiotic-related genes were found to be sweeping in cluster 2 and several multidrug transports, a type VI secretion system, and a siderophore in cluster 3, further establishing the dynamic competitive environment faced within the insect, as competition could come by attacking, resisting, or outgrowing a competitor (
40). In fact, in cluster 2, which contains isolates from two nematode hosts, several genes were involved in amino acid and vitamin biosynthesis, which could reflect adaptations to better support nematode reproduction that would be beneficial across nematode species. Intriguingly, the successful experimental host shifts performed between
S. kraussei and
S. texanum (
30) involved isolates from this population cluster, which leaves open the question of whether the successful host shift was facilitated by these recently shared genes. Future work in this system could examine the adaptive role of the identified sweeps and possible mechanisms of gene flow. Additionally, increased sampling coupled with additional experimental host shifts could help identify the basis of host specificity in this system.
Overall, our work supports the view that that gene flow in both the core and flexible genomes is important for maintaining the cohesiveness of
X. bovienii across multiple nematode hosts. While our data suggest that host switching has occurred, it is less frequent than gene exchange, most likely due to the low fitness of newly associated pairs. This pattern contrasts with that found in the extensively studied
S. aureus, which shows low levels of recombination in the core genome and frequent host switching, facilitated by acquiring host-specific genes from the host microbiome (
17). The comparatively low microbial diversity in the insect host, coupled with more intense competition, may limit this pathway for host shifts in
Xenorhabdus. In contrast, gene flow among coinfecting
Xenorhabdus bacteria may allow beneficial alleles of genes, such as insect toxins or antimicrobials, to spread in response to local selection pressures. Thus, our results match findings in other systems that show local adaptation despite gene flow (
46,
47) and differ from work that shows recombination barriers in sympatry (
48,
49). Importantly, ours is one of only a few studies that examine the population structure and evolutionary history of a host-associated symbiont in a nonagricultural or medical setting, which increasingly enable the complex selective environments faced by microbes to become tangible.