Introduction

The structure of gut microbial communities within vertebrates is influenced in part by endogenous host factors, such as genotype and physiology [1,2,3], and in part by exogenous factors, such as sociality, seasonality, habitat quality, and diet [4,5,6]. These exogenous factors can influence which microbial taxa in a gut community thrive or become depauperate, as amply demonstrated in dietary studies [7,8,9,10], or they can provide opportunities for more direct routes of microbial acquisition [11,12,13,14]. For example, the transmission of microbes between hosts, as evidenced by horizontal pathogen transfer [15,16,17] or vertical transmission during the birthing process and nursing [18, 19], are significant drivers of host health and development. There is, likewise, the potential for horizontal acquisition of microbes via exposure to environmental consortia on natural (e.g., soil) and man-made surfaces, plus on food and in water [12, 20,21,22,23]; however, this latter route to sha** host-associated communities, hereafter referred to as ‘environmental acquisition,’ remains understudied. Here, we match-sampled ring-tailed lemur (Lemur catta) feces with soil from 13 ‘settings’, to (a) characterize variation in host gut microbiota, (b) characterize variation in soil microbiota, and (c) test for any covariation between host and soil communities. Examining environmental microbes alongside host-associated communities is a first step to understanding the role of environmental acquisition in population-level differences between host microbiomes.

Previous studies of intraspecific variation in gut microbiota, often framed using a ‘wild vs. captive’ comparison, have provided valuable descriptions of differences in presumed extremes [24,25,26]. For example, researchers often report a ‘signal of captivity,’ whereby the gut microbiota of captive hosts differ significantly from those of wild conspecifics, converging on a perturbed or ‘humanized’ composition [25, 27, 28]. Perturbations of this nature are generally attributed to commercial diets that include manufactured chow and cultivated produce [27, 29, 30]; nevertheless, studies of captive populations have been focused on accredited zoos or rescue facilities that may not represent the range of captive conditions or may be confounded by within-species comparisons across continents [26, 29, 31]. Even comparative field studies have been limited in the number of populations per species studied, typically to a few populations that differ on a given metric of interest (e.g. season, health state, habitat type or quality [32,33,34,35]). Because hosts experience a wider range of environmental settings than is typically encompassed within wild vs. captive comparisons, a broader comparative approach is necessary to provide a more comprehensive and nuanced understanding of gut microbial variation.

As noted, differential exposure to environmental microbes provides potential for horizontal transmission and environmental acquisition [20, 22, 23, 36,37,38], with the ingestion of specific microbes being linked to novel digestive functions of the gut microbiota [39,40,41]. Under certain scenarios, environmental acquisition has been shown to outweigh vertical transmission as the main mode of microbial colonization [42, 43]. Although environmental acquisition may promote heterogeneity within and between hosts [44], its role rarely has been considered a differentiating factor between wild and captive hosts. Husbandry practices and veterinary care, for example, introduce cleaning products and antibiotics to the microbial environment of captive animals [45, 46], further differentiating it from the ‘native’ environment [47], with potentially critical consequences to microbiome structure and function.

Our study species, the ring-tailed lemur, is a semi-terrestrial, omnivorous strepsirrhine primate [48, 49] that occupies various habitats across southern Madagascar [50] and also survives well in captivity [51]. Its ecological flexibility, coupled with existing knowledge about its gut microbiome [26, 52,53,54], motivates broader comparative study of intraspecific variation that takes environmental acquisition of microbes into consideration. We therefore collected fecal and soil samples originating from lemurs and their environments, respectively, under three broad, environmental conditions: the wilderness condition in Madagascar (WM; 8 settings) represents a large portion of the ring-tailed lemur’s natural habitat, whereas two captivity conditions distributed between Madagascar (CM; 2 settings) and the U.S. (CU.S.; 3 settings) represent a wide range of housing conditions on two continents (spanning pet ownership, zoos, and other facilities; Table 1).

Table 1 Research settings (names, descriptions, and locations) and samples collected under wilderness conditions and under captivity conditions in Madagascar and the U.S.

To analyze covariation between lemur gut microbiota and soil microbiota in our 13 settings, we combine 16S rRNA sequencing and statistical tools based on microbial source tracking [55, 56], which is the process of modelling the predicted origin of microbes to a given community (e.g., lemur gut microbiomes) based on certain source communities (e.g., soil samples). Given the variability of environmental factors across our multiple settings, we expect the diversity, membership, and composition of lemur gut microbiota and soil microbiota to differ within and between our three environmental conditions (Table 1).

If diet or habitat quality were the main driver of gut microbiota composition, we would expect (a) wild lemurs to show variation between their natural settings, (b) captive lemurs, regardless of continent, to show similar gut microbiota between their settings (reflecting commercial diets and perturbed habitats), and (c) wild and captive lemurs to differ most drastically from one another, in line with prior studies [27]. If, however, environmental acquisition were to play a major role in sha** lemur gut microbiota, we would again expect (a) wild lemurs to show variation between their natural settings (reflecting the soil microbiota of the lemurs’ habitat), but we would expect (b) Malagasy lemurs (wild and captive) to share certain soil-derived microbiota, differing most drastically from captive lemurs in the U.S., and (c) differential access to soil within captivity conditions to correlate with differential soil-associated microbes present in hosts. With regard to the latter, for example, we might expect greater proportions of soil-associated microbes in captive lemurs that gain access to natural enclosures compared to their counterparts that are housed indoors.

Results

Lemur gut microbiota: variation in diversity, membership, and composition

Alpha diversity

Across the gut microbiota of all ring-tailed lemurs sampled in this study, metrics of alpha diversity differed significantly between the three environmental conditions (Generalized Linear Models or GLMs; Shannon: F = 23.773, p < 0.001; Faith’s phylogenetic: F = 4.415, p = 0.013; Fig. 1a, b) and by setting (GLMs; Shannon: F = 13.157, p < 0.001; Faith’s phylogenetic: F = 5.628, p < 0.001; Fig. 1c, d; Additional file 1). The microbiota in fecal samples from WM and CU.S. lemurs were similarly diverse overall (pairwise Wilcoxon test; Shannon: p = 0.635; Faith’s phylogenetic: p = 0.056; Fig. 1a, b), whereas those from CM lemurs were significantly less diverse (pairwise Wilcoxon test; Shannon, WM vs. CM lemurs: p < 0.001; WM vs. CU.S. lemurs: p < 0.001; Faith’s phylogenetic, WM vs. CM lemurs: p = 0.022; WM vs. CU.S. lemurs: p = 0.021; Fig. 1a, b). Within environmental condition, however, both metrics of alpha diversity varied widely between the different settings (Fig. 1c, d; Additional file 1). For example, among WM lemurs, setting was a significant predictor of both metrics of alpha diversity (GLMs; Shannon diversity: F = 20.768, p < 0.001; Faith’s phylogenetic: F = 11.104, p < 0.001). Sex was not a significant predictor in any models of either alpha diversity metric (Additional file 1).

Fig. 1
figure 1

Alpha diversity metrics of gut microbiota (a, b) collapsed by environmental condition, including from lemurs in the wilderness (WM; green), captivity in Madagascar (CM; pink), and captivity in the U.S. (CU.S.; orange), and (c, d) averaged across individuals for each of the 13 different settings inhabited (reprising the color codes of each condition, delineated by dashed vertical lines). Shown are both (a, c) Shannon diversity and (b, d) Faith’s phylogenetic diversity. Across the (c, d) settings within an environmental condition (see Table 1 for names of abbreviated study settings), the data are plotted in descending order of mean Shannon diversity. Tukey-style box and whiskers show the median (center horizontal line) and the interquartile range (upper and lower bounds of the box), with outliers that are 1.5 times less than the 25th quartile or 1.5 times more than the 75th quartile. Number of samples (n) is reported below each condition and setting. Kruskal–Wallis test with Benjamini–Hochberg correction; *p < 0.05, ***p < 0.001, **** p < 0.0001, ns = nonsignificant. Full statistical results are available in the Additional file 1

Community membership

The membership of lemur gut microbiota included 64 abundant taxa (i.e., those that accounted for > 1% of sequences). Of these 64 taxa, only four (6.2%) were shared across lemurs from all settings: the genera Bacteroides (phylum Bacteroidetes), Rikenellaceae RC9 gut group (Bacteroidetes), Erysipelotrichaceae UCG-004 (Firmicutes), and Treponema 2 (Spirochaetes). Within environmental condition, five (7.8%) taxa were shared by all wild lemurs, whereas 10 (15.6%) and six (9.4%) taxa were shared by CM and CU.S. lemurs, respectively (Fig. 2). Using Analysis of Compositions of Microbiomes (ANCOM), we identified 801 amplicon sequence variants (ASVs) that were differentially abundant across the three environmental conditions. For example, members of the Erysipelotrichaceae family characterized the microbiota of WM lemurs, whereas taxa from the Spirochaetaceae and Prevotellaceae families were more abundant in the gut microbiota of captive lemurs from both continents. Erysipelotrichaceae UCG-004 and Treponema 2, for example, were abundant in all lemurs (Fig. 2), but the log ratios of the two genera distinguished lemur gut microbiota by the three environmental conditions and, in particular, differentiated WM lemurs from CU.S. lemurs (Fig. 3).

Fig. 2
figure 2

Mean proportion of sequences assigned to microbial taxa across lemurs at each of the 13 different settings, with the three environmental conditions (wilderness, WM; captivity in Madagascar, CM; and captivity in the U.S., CU.S.) delineated by dashed vertical lines (see Table 1 for names of abbreviated study settings). Taxa are identified by phylum and deepest possible taxonomic level (i.e., genus level or above); those representing < 1% of the microbiomes were combined into the category “Other”

Fig. 3
figure 3

Differential abundance of Erysipelotrichaceae UCG-004 and Treponema 2 amplicon sequence variants (ASVs) in the gut microbiota of lemurs. a Differential rank plot showing lemur gut microbial ASVs (x axis) ranked by their differentials (y axis; the estimated log-fold changes for taxa abundances across sample groups) for wild lemurs in Madagascar (WM) vs. captive lemurs in the U.S. (CU.S.). Those ASVs that are more abundant in WM lemurs compared to CU.S. lemurs appear on the right side of the plot whereas those that are less abundant in WM lemurs appear on the left side. The differentials of Erysipelotrichaceae UCG-004 and Treponema 2 ASVs are highlighted in red and blue, respectively, with other taxa represented in gray. b Natural log ratios of Erysipelotrichaceae UCG-004 versus Treponema 2 in lemurs across all three environmental conditions. Tukey-style box and whiskers show the median (center horizontal line) and the interquartile range (upper and lower bounds of the box), with outliers that are 1.5 times less than the 25th quartile or 1.5 times more than the 75th quartile. Each point represents a single lemur gut microbiome in which the target ASVs were present

Beta diversity

The composition of lemur gut microbial communities was significantly distinct across the three environmental conditions, as revealed by beta diversity (Permutational Multivariate Analysis of Variance or PERMANOVA; WM vs. CM lemurs: pseudo-F = 30.169, p < 0.001; WM vs. CU.S. lemurs: pseudo-F = 97.912, p < 0.001; CM vs. CU.S. lemurs: pseudo-F = 20.808, p < 0.001). Across all subjects, gut microbiota composition clustered distinctly by environmental condition (principal coordinate analysis of unweighted UniFrac distances; Fig. 4a, b). One notable exception, however, owed to a single pet lemur: Unlike its in-country peers (i.e., other CM lemurs), its microbial community structure matched those of WM lemurs (see arrows in Fig. 4a, b).

Fig. 4
figure 4

Beta diversity (unweighted UniFrac distances) of lemur gut microbiota across three environmental conditions—wilderness in Madagascar (WM; green), captivity in Madagascar (CM; pink), and captivity in the U.S. (CU.S.; orange)—that encompass 13 setting (see Table 1 for names of the abbreviated research settings). a, b Principal coordinate plots, showing axes 1 and 2, or 1 and 3, respectively, of individual gut microbial communities colored by setting and encircled by normal data ellipses reflecting environmental condition. c Mean beta diversity distance scores within an environmental condition (single color) and between two environmental conditions (two colors). The center of the box reflects the mean and the error bars represent ± the standard error of the mean (SEM). d Principal coordinate plots, showing axes 1 and 2, for the eight settings within the wilderness condition. Kruskal–Wallis test with Benjamini–Hochberg correction; **** p < 0.0001

Across the three environmental conditions, Random Forest Analysis accurately assigned 208 of the 209 gut microbial profiles to the correct environmental condition, with a low (0.48%) out-of-bag (OOB) error rate. Based on its gut microbiota, only the previously mentioned pet lemur (see arrows in Fig.4a, b) was misclassified as a WM lemur. Across the 13 settings, Random Forest Analysis accurately classified 189 of the 209 microbial profiles (OOB error = 9.57%). The gut microbial communities of WM and CM lemurs were misclassified at rates of 7.9% and 7.3%, respectively, whereas those of CU.S. lemurs were misclassified at a rate of 20.6%.

With respect to uniformity within environmental condition, the composition of gut microbial communities were least dissimilar between WM lemurs and most dissimilar between CM lemurs (Kruskal–Wallis test; main effect of environmental condition on beta diversity: χ2 = 27,487, p < 0.0001; pairwise Wilcoxon test; within WM vs. within CM lemurs: p < 0.001; within WM vs. within CU.S. lemurs: p < 0.0001; Fig. 4c). Between environmental conditions, the microbiota of WM and CM lemurs were the least dissimilar, whereas the microbiota of WM vs. CU.S. lemurs were the most dissimilar (pairwise Wilcoxon test: ‘WM vs. CM’ vs. ‘WM vs. CU.S.’, p < 0.0001; ‘WM vs. CM’ vs. ‘CM vs. CU.S.’, p < 0.0001; Fig. 4c). Considering WM lemurs only, microbiota composition clustered by setting (Fig. 4d). Although there was some overlap between settings, the patterns are suggestive of microbial ‘signatures’ across different settings.

Soil microbiota: variation in diversity, membership, and composition

Alpha diversity

Across the eight settings for which we sampled soil, the alpha diversity of soil microbiota did not vary significantly between environmental conditions (Kruskal–Wallis test; Shannon diversity: χ2 = 3.3457, p = 0.187; Faith’s phylogenetic: χ2 = 3.433, p = 0.179; Fig. 5) nor between settings (Kruskal–Wallis test; Shannon diversity: χ2 = 7.496, p = 0.379; Faith’s phylogenetic: χ2 = 8.936, p = 0.257; Fig. 5). These null findings may owe to small sample sizes.

Fig. 5
figure 5

Alpha diversity metrics of soil microbiota (a, b) collapsed by environmental condition, including the wilderness in Madagascar (WM; green), captivity in Madagascar (CM; pink), and captivity in the U.S. (CU.S.; orange) and (c, d) averaged across individuals for each of the eight different settings (reprising the color codes of each condition, delineated by dashed vertical lines). Shown are both (a, c) Shannon diversity and (b, d) Faith’s phylogenetic diversity. Across the (c, d) settings within a condition (see Table 1 for names of abbreviated research settings), the data are plotted in descending order of mean Shannon diversity. Tukey-style box and whiskers show the median (center horizontal line) and the interquartile range (upper and lower bounds of the box), with outliers that are 1.5 times less than the 25th quartile or 1.5 times more than the 75th quartile. The number of samples (n) is reported below each environmental condition and setting

Community membership

The membership of soil communities included 77 abundant taxa, of which none were shared across all settings (Fig. 6). Of the identified soil microbiota, 78.12% were unique to the soil samples and were not found in any lemur fecal samples. For the five wild populations for which we sampled soil, only five abundant taxa were shared: the genera Bacillus (phylum Firmicutes), Steroidobacter (Proteobacteria), Bryobacter (Acidobacteria), and RB41 (Acidobacteria), and an unidentified member of the class Subgroup 6 (Acidobacteria). ANCOM identified nine ASVs that were differentially abundant across all soil samples, five of which (55.6%) belonged to the Balneolaceae family. In addition, compared to soil from Madagascar (i.e., WM and CM), the CU.S. soil communities were differentially enriched for the genus Bacillus. By contrast, members of the family Nitrososphaeraceae (Thaumarchaeota) and the genus Acinetobacter (Proteobacteria) characterized WM soils and CM soils, respectively (Additional file 1).

Fig. 6
figure 6

Mean proportion of sequences assigned to microbial taxa of soil at each of the eight settings sampled, within the three environmental conditions: wilderness in Madagascar (WM; green), captivity in Madagascar (CM; pink), and captivity in the U.S. (CU.S.; orange), which are delineated by dashed vertical lines (see Table 1 for names of abbreviated research settings). Taxa are identified by phylum and deepest possible taxonomic level (i.e., genus level or above); those representing < 1% of the microbiomes were combined into the category “Other”

Beta diversity

Despite the small sample sizes, the beta diversity of the soil microbiota varied between environmental conditions (Fig. 7), but only significantly so between WM and CU.S. soils (PERMANOVA; WM vs. CM soils: pseudo-F = 1.337, p = 0.202; WM vs. CU.S soils: pseudo-F = 3.897, p = 0.012; CM vs. CU.S soils: pseudo-F = 7.752, p = 0.329). Variation in soil communities within an environmental condition was not significantly different between WM soils or CU.S. soils (pairwise Wilcoxon test, p = 0.130; Fig. 7c). Between environmental conditions, WM and CM soils had the lowest dissimilarities (pairwise Wilcoxon test; ‘WM vs. CM’ vs. ‘WM vs. CU.S’ soils: p < 0.001; ‘WM vs. CM’ vs. ‘CM vs. CU.S’: p = 0.016; ‘WM vs. CU.S’ vs. ‘CM vs. CU.S’: p = 0.338 Fig. 7c).

Fig. 7
figure 7

Beta diversity (unweighted UniFrac distances) of soil microbiota across three environmental conditions—wilderness in Madagascar (WM; green), captivity in Madagascar (CM; pink), and captivity in the U.S. (CU.S.; orange)—that encompass eight setting (see Table 1 for names of abbreviated research settings). a, b Principal coordinate plots, showing axes 1 and 2, or 1 and 3, respectively, of soil microbial communities colored by setting and encircled by normal data ellipses reflecting environmental condition. c Mean beta diversity distance scores within an environmental conditions (single color) and between two environmental conditions (two colors). The center of the box reflects the mean and the error bars represent ± the standard error of the mean (SEM). Kruskal–Wallis test with Benjamini–Hochberg correction; * p < 0.05, **** p < 0.0001

Covariation of lemur gut and soil microbiota

For analyses of covariation between fecal and soil microbiota, we used samples from the eight settings for which we had matched fecal and soil samples, totaling 177 lemur fecal samples and 25 soils samples (Table 1). There were 191 ASVs shared between lemur fecal communities and soil communities. These were dominated by members of the Firmicutes (75 ASVs or 39.3%), Proteobacteria (49 ASVs or 25.6%), and Bacteroidetes (38 ASVs or 19.9%) phyla. Although many of the shared taxa were abundant (> 1%) in either lemur gut microbiota or soil microbiota, only one genus, Acinetobacter (Proteobacteria), was abundant in both lemur gut microbiota and soil microbiota.

As would be predicted if environmental acquisition impacts host microbial communities, there was a significant correlation between the abundances of microbes in lemur feces and soil samples (Mantel test; r = 0.494, p < 0.001). The proportion of ‘soil-associated’ microbes found in lemur gut microbiota varied significantly across environmental conditions (Kruskal–Wallis test; χ2 = 73.862, p < 0.001; Fig. 8a) and settings (Kruskal–Wallis test; χ2 = 112.69, p < 0.001; Fig. 8b). Overall, the gut microbiota of WM lemurs had significantly greater proportions of soil-associated microbes compared to those of all captive lemurs (pairwise Wilcoxon test, p < 0.001; Fig. 8). In addition, CM lemurs had significantly greater proportions of soil-associated microbes in their gut microbiota compared to CU.S. lemurs (pairwise Wilcoxon test; p < 0.001; Fig. 8). For lemurs housed at the DLC, those that semi-free-ranged in outdoor, natural habitat enclosures had significantly greater proportions of soil-associated microbes in their gut microbiota compared to lemurs that did not have access to forested enclosures (Kruskal–Wallis test; χ2 = 4.641, p = 0.031; Fig. 8c).

Fig. 8
figure 8

microbiota (GMB) of lemurs a collapsed by environmental condition: wilderness in Madagascar (WM; green), captivity in Madagascar (CM; pink), and captivity in the U.S. (CU.S.; orange), b at each of the eight settings for which we had matched fecal and soil samples (reprising the color codes of each condition, delineated by dashed vertical lines), and c by housing status (i.e., semi-free-ranging in natural habitat enclosures or housed indoors) at the Duke Lemur Center (DLC). Tukey-style box and whiskers show the median (center horizontal line) and the interquartile range (upper and lower bounds of the box), with outliers that are 1.5 times less than the 25th quartile or 1.5 times more than the 75th quartile. Number of samples (n) is reported below each condition and setting. Kruskal–Wallis test with pairwise comparisons and Benjamini–Hochberg correction; * p < 0.05, ** p < 0.01, *** p < 0.001, **** p < 0.0001, ns = nonsignificant

Source proportions, calculated using probabilistic models in FEAST, for soil-associated microbes in the gut

Soil from within a lemur’s setting accounted for, on average, significantly greater proportions of the lemur’s gut microbiota than did soil communities from other settings (Fig. 9, Additional file 1). Overall, the greatest proportion of soil-associated microbes within lemur gut microbiota occurred when comparing the WM lemurs to WM soils (Fig. 9; Additional file 1). The proportion of soil-associated microbes from CU.S. soil that were present in the gut microbiomes of WM lemurs was close to zero (Fig. 9; Additional file 1). Similarly, soil-associated microbes from WM soils were largely absent from the gut microbiome of CU.S. lemurs (Fig. 9; Additional file 1). Thus, despite small sample sizes, the greatest differences observed involved the soil microbes from different continents.

Fig. 9
figure 9

Source proportions, calculated using probabilistic models in FEAST, for soil-associated microbes in the gut microbiota of lemurs within (single color) and between (two colors) the three environmental conditions that encompass eight settings: wilderness in Madagascar (WM; green), captivity in Madagascar (CM; pink), and captivity in the U.S. (CU.S.; orange). Within the gut microbiota of lemurs from a given environmental condition (left color = fecal source condition), values show the proportion of soil associated microbes from a given condition (right color = soil source condition). The center of the box reflects the mean and the error bars represent ± the standard error of the mean (SEM). Number of pairwise comparisons and the associated calculation is reported below each box. Kruskal–Wallis test with pairwise comparisons and Benjamini–Hochberg correction; ** p < 0.01, *** p < 0.001, **** p < 0.0001

Discussion

Through fecal and soil sampling from multiple settings representing the ring-tailed lemur’s natural range in Madagascar and in captivity on two continents, we have highlighted (1) the wide and often underrepresented variety of gut microbiota present within a single host species, (2) the lack of a universal ‘signal of captivity’ that uniformly decreases microbial diversity, (3) aspects of microbial membership and composition that differ markedly between wild and captive populations, and (4) covariance between lemur gut microbiota and soil microbiota, which points to a key role of environmental microbes. Researchers have reported host ‘group signatures’ in microbiota, often attributed to the social transmission of microbes [5, 57,58,59,60]; our results expand this concept to ‘population signatures,’ similar to the widely studied differences across human populations [61, 62], and draw attention to the potential role of environmental acquisition of microbes in mediating significant inter-population variation.

Across populations of WM lemurs, we first observed substantial variation in gut microbial diversity, membership, and composition, indicating that there is not a single ‘representative’ gut community for wild ring-tailed lemurs, as is likely the case for most host species [63]. Nonetheless, the pattern of natural variation observed did not always meet expectations. For example, lemurs living in what is considered a relatively pristine setting, IVO—a recently discovered humid forest patch that is relatively undisturbed by human activity—unexpectedly had the second-lowest diversity of gut microbes. To the extent that lack of disturbance is a proxy of habitat quality, this pattern would be inconsistent with previous reports that greater habitat quality promotes more diverse gut microbiota [64, 65]. In prior studies, the gut microbiota of ring-tailed lemurs were relatively unaffected by habitat degradation [52]. Therefore, either pristine habitats can be of low quality or the ecological and dietary flexibility of this species may dampen the impact of variation in habitat quality and type, relative to more specialized primates (e.g., folivores) [26, 66,67,68]. That we found significant, natural, inter-population variation in a relatively hardy and robust species [50, 69] suggests that hosts with greater sensitivity to environmental variation, including habitat quality and type, would likely show even greater variation than that described herein. If so, studies constrained to single or few host populations are likely to underrepresent the wide-scale, natural variation in host gut microbiota.

Contrary to many previous studies [70,71,72,73], but consistent with others [74,75,76,77], we did not observe the gut microbiota of captive lemurs to be consistently less diverse than those of wild lemurs. Such inconsistencies raise questions about the commonly held view that greater alpha diversity is both a hallmark of wild individuals and a proxy for a healthier gut community [78,79,80,81,82]. Although we did not assess gut health, we note that pet lemurs are prone to disease [83,84,85]. Often housed solitarily indoors, in close contact with people and domestic animals, pet lemurs are fed diets of rice and fruit; yet, their gut consortia were as diverse as those of wild lemurs living at the relatively pristine setting, IVO. Moreover, CU.S. lemurs from the DLC and NCZ had diverse gut consortia, on par with that seen in the most diverse WM lemurs (e.g., in BEZ lemurs). These results add to the mounting evidence [66, 89,90,91,92] and may contribute to differences between captive and wild populations. Although both neutral heterozygosity and genomic functional diversity decrease over time in captive ring-tailed lemurs [93, 94], inbreeding effects can be mitigated through managed breeding programs, resulting in the rapid ‘rescue’ of genetic diversity [94]. Lacking genetic information on all populations, we could not address this influence in the present study. Genetic distance between populations also influences gut microbial structure [91, 95]. We would therefore expect the lemurs in Madagascar, whether wild or captive, to be genetically more similar than either group would be to the CU.S. lemurs, as the latter have been genetically isolated from wild populations for many generations. Host genetic distance may contribute to explaining some of the variation observed in microbiome structure.

We also found that, between wild and captive lemurs, the membership and composition of gut microbiota was indicative of the environmental condition. There was little evidence of a diverse ‘core’ microbiome, as only four taxa were found to be abundant across all lemur populations. Two of those core taxa, Erysipelotrichaceae UCG-004 and Treponema 2, were differentially abundant between the three environmental conditions. Despite links between members of Erysipelotrichaceae and high-fat, commercial diets in humans [96], Erysipelotrichaceae microbes were reported to be enriched in wild compared to captive chimpanzees [97], mirroring our findings in lemurs. Furthermore, the genus Erysipelotrichaceae UCG-004 was more abundant in the gut microbiota of chimpanzees, relative to humans [98], and in folivorous woolly lemurs compared to other lemur species [99]. The functionally diverse members of the Treponema genus were more abundant in the gut microbiota of captive vs. wild hosts in other species [97, 100]. Treponema members break down pectin [

Methods

Study sites

Our research sites included 13 settings (one per ‘population’; settings were categorized based on a combination of shared environmental factors and geographic location), grouped under the following three environmental conditions: wilderness in Madagascar (WM; 8 settings), captivity in Madagascar (CM; 2 settings), and captivity in the U.S. (CU.S.; 3 settings; Table 1). The wilderness settings occurred in protected areas (e.g., national parks, community-managed reserves) that varied in habitat type (Table 1). The captivity settings in Madagascar included the Lemur Rescue Center (LRC; Toliara, Madagascar), where the animals were socially housed, and various townships that were home to individual pets. Although the pet lemurs were not located in the same geographic location, they were categorized as a single population because of the shared, unique experiences of ‘pethood’, including receipt of commercial diets prepared for human consumption, housing in human dwellings, contact with humans and domestic animals, and isolation from conspecifics, all of which differ significantly from the experiences of the wild lemurs or other captive lemur populations. Lastly, the captivity settings in the U.S. included the North Carolina Zoo (NCZ; Asheboro, NC), the Duke Lemur Center (DLC; Durham, NC), and the National Zoological Park (NZP; Washington, DC). These facilities were comparable to one another, all with socially housed lemurs.

Subjects

Across all research settings, our subjects included 215 adult, ring-tailed lemurs (82 male, 81 female, 52 of unknown sex; Table 1). The wilderness settings were each occupied by multiple lemur troops, ranging in size from 5 to 24 individuals. Excluding the pets, all captive settings included groups of 2–7 lemurs that had access to indoor and outdoor enclosures, and were provided facility-standardized diets (i.e., fresh produce and commercial chow, freely available water). Certain animals at the LRC and the DLC also had access to natural habitat enclosures that, respectively, consisted of dry and spiny forest (LRC) or North American deciduous and pine hardwood forest (DLC). The pets were kept in human dwellings (i.e., houses or hotels) and were fed fruit, rice, and other foods intended for human consumption.

Sample collection

During a span of four years (2016–2020), we collected ‘matched’ fecal and soil samples from our subjects and study sites, respectively. Within 8 weeks of fecal or soil collection, the samples were transported to the U.S., where they were stored at − 80 °C, until analysis.

For feces, we opportunistically collected fresh samples, upon the lemur’s observed voiding. In Madagascar, collections occurred during the dry season (May–October) and, in the U.S., collections occurred end of summer through fall (August-November). To avoid soil contamination of the fecal sample, we removed the outer layer of each fecal pellet. We then placed the sample in an Omnigene tube that contained a stabilizing buffer that preserved microbial communities at room temperature for 8 weeks (Omnigene.Gut tube, DNAgenotek, Ontario, Canada [133, 134]). All settings were represented by fecal samples from minimally two lemurs (the maximum number of individuals represented was 33).

When collecting soil in nature, we avoided high-defecation areas (e.g., under slee** trees) while identifying core areas where lemurs most commonly spent time on the ground. Within these core areas, we demarcated a 2–3 m2 area and collected soil from each of five evenly spaced locations, using a clean, individually wrapped, sterile plastic spatula. For each area, the five aliquots of topsoil (top 2–3 cm of soil) were pooled in a single Omnigene tube to create a representative soil sample. Because multiple lemur troops inhabited each of the wilderness settings, in some cases with overlap** core areas, we prioritized collecting soil samples from areas of maximal use. In some cases, we were unable to collect soil samples for every troop that provided fecal samples. At the LRC and DLC, we used the same collection methods to collect soil samples from areas in the natural habitat enclosures where lemurs semi-free-ranged. Because it is illegal to own pet lemurs in Madagascar, we minimized owner concern by collecting only fecal samples for this group. Because of other logistical and analytical constraints (see below), only eight of the 13 settings were represented by usable, pooled soil samples.

Microbial DNA extraction and sequencing

Following the manufacturer’s protocols for the DNeasy Powersoil kit (QIAGAN, Frederick, MD), we extracted bacterial genomic DNA from fecal and soil samples. We quantified DNA using a Fluorometer (broad-spectrum kit, Qubit 4, Thermo Fisher Scientific, Waltham, MA). Aliquots of extracted DNA were sent to Argonne National Laboratory’s Environmental Sequencing facility (Lemont, IL) for library preparation and amplicon sequencing of the 16S rRNA gene. After amplification of the V4 region with region-specific primers and sample-specific 12-base barcodes, samples were pooled and amplicon libraries were cleaned using AMPure XP Beads. Amplicons were then sequenced on a 151 × 151 base pair Illumina MiSeq run [135].

Bioinformatics and statistics

We processed the raw sequence data using a previously published bioinformatics pipeline generated in QIIME2 [136]. In brief, we used the pipeline to join forward and reverse reads, demultiplex and quality filter the joined reads (DADA2; PHRED scores indicated no quality trimming was needed), remove non-bacterial sequences (Mitochondria), generate a phylogenetic tree, and assign taxonomy based on 99% sequence similarity (SILVA database [137, 138], ver. 138.1) to generate amplicon sequence variants (ASVs). After quality filtering, samples with fewer than 10,000 sequences were removed from downstream analyses, resulting in 209 fecal samples and 25 soil samples with over 11 million combined reads and an average of ~ 50,000 reads per sample. To visually represent rare taxa that had relative abundances < 1% of the total sequences, we combined them into the conglomerate “Other” category (Figs. 1 and 6). Using tables of ASVs, we calculated metrics of alpha diversity (Shannon and Faith’s Phylogenetic diversity metric) and beta diversity (weighted and unweighted UniFrac distances). We report only on unweighted UniFrac (vs. also weighted) as it gives equal consideration to rare and abundant taxa, allows for better visualization of variation in less abundant taxa, and is most appropriate for testing our hypotheses and predictions.

To test for differences in alpha diversity between the gut microbiota of lemurs under the three environmental conditions and in the 13 settings, we first used generalized linear models (GLMs; glm in R, ver, 4.0.2) with environmental condition or setting and sex as fixed effects. To further test for variation in lemur gut microbiota and soil microbiota alpha diversity, we used nonparametric statistics (e.g., Kruskal–Wallis tests, and pairwise Wilcoxon rank sum tests with Benjamini–Hochberg adjustment) to perform pairwise comparisons between the various environmental conditions and settings. To identify and test for effects of environmental condition or setting on beta diversity (unweighted UniFrac distances) in lemur fecal and soil microbiota, we used principal coordinate analysis (i.e., to visualize clustering of microbiota composition) and Permutational Multivariate Analysis of Variance (PERMANOVA) in QIIME2. We then performed Random Forest Analysis [139], which is a supervised learning technique that uses decision trees to classify data to specific categories and provides an overall model error rate (out of the bag error or OOB error). To identify microbes enriched in specific groups of samples, we used differential abundance analyses via Analysis of Compositions of Microbiomes (ANCOM) and songbird software [140] in QIIME2, paired with visualization through Qurro [141].

For the eight settings where we obtained matched fecal and soil samples (Table 1), we analyzed covariation between lemur gut microbiota and the associated soil communities by performing a Mantel test on microbial abundance matrices of lemur gut and soil microbiota. Because multiple lemur fecal samples were associated with each soil sample, we created comparable matrices for the Mantel test by averaging the microbial abundances across the fecal samples of lemurs directly associated with a given soil sample, resulting in a single, mean lemur gut community associated with each soil community. For this process, we omitted fecal samples from troops not represented by a soil sample or for which troop identity was unknown.

To test if soil-associated microbes were present in lemur gut microbiota, we used FEAST, a tool for fast expectation–maximization microbial source tracking [55]. FEAST assumes each ‘sink’ sample is a convex combination of known and unknown ‘sources’ and uses multinomial distributions and machine-learning classification to model the microbial source tracking [55]. For this analysis, we used the matched lemur gut and soil samples; all soil samples collected in a given setting were used to represent the potential exposure to environmental microbes experienced by all sampled lemurs in that same setting, regardless of troop identity. Because we were testing whether environmental acquisition influences lemur gut microbiota, and because this analysis requires an assumption of directionality (i.e., from a source to a sink), we categorized soil samples as ‘sources’ and lemur fecal samples as ‘sinks’; however, we acknowledge and discuss the potential for bi-directional transmission of microbes between lemurs and soil. The FEAST output provides 'source proportions' that represent the scaled proportion of each sink sample (fecal) that can be attributed to each source sample (soil) based on FEAST’s probabilistic models [55]. For each lemur fecal sample, we calculated the proportions of microbes that were attributed to each soil community and from a default ‘unknown source’ that accounts for microbes not relevant to soil microbiota. Lastly, we used FEAST to test for differences in the source proportions in the gut microbiota of lemurs at the DLC that were either semi-free-ranging or sequestered to indoor enclosures.