Introduction

Global anthropogenic activities, including habitat conversion, exploitation, and urbanization significantly threaten biodiversity as well as ecosystem functions and services1,2,3,4. Nowadays, urbanization —characterised by a global increase in urban land cover and human population5—is the most intensively increasing anthropogenic process6.

Urbanization heavily modifies the abiotic components of the environment, from microclimate7, to pollutants8 and nutrients9. The most frequent overall effect on urban-living organisms is a reduction in their diversity both taxonomically10 and functionally11, as well as homogenisation12. Most of these effects have been documented in multicellular organisms, but microorganisms are expected to react similarly13. Indeed, there is evidence of environmental changes directly affecting microbes14.

In recent decades, we have gradually recognised the significant roles played by symbiotic microorganisms15, especially the gut microbiota16. Furthermore, novel methodologies (improved culturing techniques and very cheap, extremely thorough, sequencing methods) have greatly advanced the field of microbiology. The intestinal microbiota play crucial roles in important biological processes, such as the digestion of poorly degradable materials, the synthesis of essential vitamins and nutrients16, the degradation of toxins17, the regulation of host’s immune system and cellular homeostasis18, and the protection against pathogens and parasites16,19.

There are examples of vertical transmission of gut microbes, but it is assumed that the gut bacterial microbiota are largely acquired from microorganisms found in food items and other sources within the environment16,20. Thus, habitat alteration and changes in food can influence the composition and diversity of the gut microbial community21. Urbanization profoundly modifies several environmental conditions, including the quality and quantity of available food22, therefore it is reasonable to assume that urbanization also affects the composition and diversity of the gut microbiota. Such an impact has been documented for several flying insects23,24. Studies on terrestrial insects with limited dispersal power, however, are much rarer. Recently, Magura et al.25 described the bacterial microbiota of the flightless ground beetle, Carabus convexus F. 1775 collected from rural and urban habitats. Using next generation sequencing and analysing amplicon sequence variants (ASVs), they identified 11 bacterial phyla and 59 families. However, no study to date has investigated the functional diversity of the insect gut microbiota, even though a functional reduction can have detrimental effects on host survival and performance26. We aimed to test how urbanization acts on the functional diversity of the microbiota in this flightless carabid.

Specifically, we hypothesised that (1) due to urbanization-driven habitat alteration, biodiversity impoverishment and food spectrum reduction, the diversity of gut bacterial microbiota would be both taxonomically and functionally reduced in urban beetles compared to their rural conspecifics. Further, (2) given that carabid males are more mobile than females27, we hypothesised that they acquire a more diverse set of symbionts from their environment.

We found that urbanization had a significant effect on the taxonomic but not on the functional diversity of the gut bacterial microbiota. Furthermore, we found sex-specific differences: rural males had significantly more diverse bacterial microbiota than conspecific females.

Materials and methods

Study area and study design

The research was conducted in eastern Hungary, in and around the city of Debrecen (47° 32′ N; 21° 38′ E). Debrecen is the second-largest city in Hungary (199,858 inhabitants in 2022), with extensive lowland forests in and around town. We used the research infrastructure established according to the international GLOBENET protocol28, and described in detail by Magura et al.25.

Studied model organism and sampling design

Our model organism, C. convexus is a widespread Eurasian species of medium size (14–23 mm), spring-breeding, wingless (brachypterous), with limited dispersal power. It is predominantly nocturnal and predatory with extraintestinal digestion29. In the studied lowland region (Great Hungarian Plain) C. convexus is a forest specialist that also occurs in urban forest fragments though in significantly lower numbers than in continuous rural stands30.

Adults of C. convexus were captured using unbaited pitfall traps during the breeding period, from late March to mid-May in 2021 as described by Magura et al.25.

We collected 106 C. convexus individuals (49 females and 40 males from the rural, while 8 females and 9 males from the urban sites), all with unworn mandibles, indicating that they were in their first breeding season. Given the very uneven numbers collected, we processed all urban-collected adults but only 15 randomly selected rural females and 16 males, ensuring that roughly similar numbers were obtained from each of the four rural sites. Selected beetles were starved for one day to reduce the influence of microbiota from freshly consumed prey, after which they were euthanized and stored in 96% ethanol.

Gut dissection, DNA extraction, PCR amplification and high-throughput sequencing

Beetles stored in 96% ethanol at + 5 °C were dissected within 3 days after collection to avoid changes in the gut microbiota community31. The intestinal tracts (foregut and midgut) were dissected as described by Magura et al.25. To avoid contamination, before the dissection, the surface of the beetles, the forceps and needles used for dissection were cleaned and sterilized with 96% ethanol. The study was performed in accordance with guidelines and regulations of the University of Debrecen.

Bacterial DNA was extracted using the QIAamp PowerFecal Pro DNA Kit, following the manufacturer’s protocol. The hypervariable V3 and V4 regions of the bacterial 16S ribosomal RNA (rRNA) genes were amplified by polymerase chain reactions (PCR) using the universal primers: 5′-CCTACGGGNGGCWGCAG-3′ and 5′-GACTACHVGGGTATCTAATCC-3′32. To identify samples after sequencing, both forward and reverse primers were labeled at the 5′ end with Illumina overhang adapter sequences following the Illumina 16S Metagenomic Library Preparation Guide (15044223-B). Further procedures were as described in the relevant manufacturers’ instructions, also detailed by Magura et al.25.

The normalized, pooled and denatured library samples were sequenced on the Illumina MiSeq platform (Illumina, Inc., San Diego, CA, United States; MiSeq Reagent Kit v3, 300 bp paired-end V3 chemistry, 600 cycle). All laboratory works were performed under sterile conditions at the UD-GenoMed Medical Genomic Technologies Ltd., University of Debrecen, Hungary. We followed the recommendations of Eisenhofer et al.33 to ensure the replicability and reliability of our study. Positive controls in microbiota studies of ground beetles is not widespread34, and in harmony with this practice, we did not used positive controls. Two types of negative controls were used: DNA extraction negative control (containing sterile water without a gut sample) and PCR amplification negative control (containing sterile water without template DNA). Negative controls had no microbial reads, validating the robustness and reliability of our results.

Bioinformatic and statistical analyses

The processing of raw MiSeq forward and reverse paired-end reads was based on the FROGS pipeline35. Paired-end reads were merged using the FLASH tool36. Dereplicated sequences were clustered first with aggregation parameter d = 1, then with d = 3 with Swarm37. Chimera detection and removal was by following the UCHIME method38,39, and the usual 0.005% abundance noise threshold40. Quality-controlled sequences were clustered into operational taxonomic units (OTUs) using the identity threshold of 97%39. Sequence taxonomic assignment of the operational taxonomic units (OTUs) was by the BLAST procedure41 on the SILVA 16S database for bacterial sequences (release 138.1)42.

The predicted functional roles (functional traits) of the OTUs assigned to bacterial genera was determined using the Functional Annotation of Prokaryotic Taxa (FAPROTAX) database43. Based on this, OTUs assigned to bacterial genera were classified into groups according to their assumed function (metabolism of carbon-based, hydrogen-based, nitrogen-based, sulphur-based, carbon–nitrogen-based, and aromatic compounds, cellulose, chitin, hydrocarbon, methanol, nitrate, and xylan metabolism, acetogenesis, methanogenesis, nitrogen fixation, pathogenicity) and their respiration types (anaerobic, aerobic, or variable).

All statistical analyses were performed in R (version 4.3.144). Before analysis, the bioinformatically processed dataset was median normalized45 with the phyloseq package46 to deal with differences in sequencing depth47. The composition of the gut bacterial communities was analysed by non-metric multidimensional scaling ordination using the Bray–Curtis index of dissimilarity in the vegan package48. Convex hulls around the samples of the groups were visualised using the standard errors of the averages (centroids) of samples multiplied with the 95% confidence value from the Chi-squared distribution (d.f. = 2 ) utilising the vegan48 and MASS49 packages. To test for significant differences in centroids by PERMANOVA we used the vegan48 and RVAideMemoire50 packages.

Common taxonomic diversity indices vary in sensitivities to the relative abundance of species (or any other taxonomic level considered) and rank communities in different ways51. The scalable diversity approach offers a solution to this problem52. The Hill numbers are appropriate candidates for scalable diversity comparisons, as the parameter value, q, determines the sensitivity of the Hill number to the relative abundances of taxa53,54. At q = 0, the Hill number (0D) corresponds to taxon richness and is very sensitive to the rare taxa, for q → 1 the Hill number (1D) is related to the Shannon diversity , while at q = 2, 2D corresponds to the Simpson diversity and is more influenced by abundant than rare taxa53,55. We calculated the Hill diversity using the hillR package56.

The predicted functional diversity of the gut bacterial communities was expressed using the Rao’s quadratic entropy (\(Q\)57,58) based on the traits related to the earlier-mentioned functional roles:

$$Q=\sum_{i=1}^{S} \sum_{j=1}^{S}{d}_{ij}{ p}_{i }{p}_{j}$$

where \(\text{S}\) is the number of OTUs in a gut sample; \({d}_{ij}\) is the difference between the i-th and j-th OTU based on functional traits (\({d}_{ij}={d}_{ji}\) and \({d}_{ii}=0\)); \({p}_{i}\) and \({p}_{j}\) are the relative median normalized read numbers of the i-th and j-th OTU.

Distances between OTUs based on predicted functional traits (\({d}_{ij}\)) were calculated using Gower’s distance metric, considering both functional classes as categorical variables. Rao’s quadratic entropy was computed with the SYNCSA package59 while Gower’s distance was calculated using the StatMatch package60.

The effects of urbanization level (or habitat type: rural vs. urban) and sex (female vs. male) on the diversity of gut bacterial microbiota was analysed by linear mixed models (LMM) using the lme4 package61. Before modelling, the best-fitting probability distribution for the Hill numbers and the Rao’s quadratic entropy were identified using the the car62 and MASS packages49. Accordingly, both the Hill numbers and the Rao’s quadratic entropy values were modelled with normal error distributions. In the models with nested design (sampling sites nested within sampling areas) the habitat type, sex and their interaction were considered as fixed effects. When the model indicated significant difference between means, the Tukey test for multiple comparison among means63 was performed.

Results

Composition of the gut bacterial microbiota

The sequenced 48 gut samples yielded 1163 different OTUs with a total read count of 8,202,927 (mean = 170,894.3 and SD = 59,956.48). From the 31 rural gut bacterial samples, 1138 OTUs with 5,140,946 reads (mean = 165,837 and SD = 69,654.33), while from the 17 urban samples 1059 OTUs with 3,061,981 reads (mean = 180,116.5 and SD = 36,369.76) were obtained. Metadata and raw sequence reads were deposited in the NCBI SRA database (BioProject PRJNA1051584, https://www.ncbi.nlm.nih.gov/bioproject/PRJNA1051584).

Overall, 21 bacterial phyla were identified. Based on the average relative abundance, the most common phyla were: Firmicutes (average 48.56% in all individuals, 42.95% in rural and 58.79% in urban beetles), Bacteroidetes (overall average 28.51%, 33.31% in rural and 19.76% in urban individuals), an unclassified phylum (average 7.90% in all individuals, 8.36% in rural and 7.06% in urban beetles), and Proteobacteria (overall mean 5.85%, 5.16% in rural vs. 7.11% in urban individuals). These four phyla represent 90.82% (89.78% in rural, 92.72% in urban) of the whole bacterial microbiota.

At a family level, 104 bacterial families were identified (Table S1). The most abundant families were: Enterococcaceae (average relative abundance in all samples: 14.49%), Prevotellaceae (13.10%), Ruminococcaceae (12.03%), an unclassified family (7.90%), and Rikenellaceae (6.09%). Ninety-seven families were present in both habitat types, while 6 families were recorded only in beetles from rural and 1 family only from urban habitats. Thirty-four families were present in more than 90% of the samples, so they can be considered common members of the gut bacterial microbiota. In contrast, 12 families were recorded in less than 10% of the samples, indicating that they were likely to be facultative members (Table S1). We observed few differences in the average abundance of the common families between the rural and urban samples, but the Nocardiaceae were more abundant (but not significantly; one-way ANOVA, F1, 46 = 0.5553, p = 0.460) in rural, while Enterococcaceae were significantly (one-way ANOVA, F1, 46 = 11.6330, p = 0.001) more abundant in urban beetles (Fig. 1).

Fig. 1
Fig. 1
Full size image

Mean abundance per gut sample of the common (> 1% average abundance in all samples) bacterial families (OTUs) in rural and urban C. convexus individuals.

The ordination plot centroids revealed significantly different gut bacterial microbiota between habitat types (Fig. 2A; R2 = 0.1193, p = 0.003, number of permutations: 999). Centroids were also significantly different between females and males (Fig. 2B; R2  = 0.1836, p = 0.007, number of permutations: 999). However, the pairwise comparisons between group centroids showed that only the rural male—urban male, as well as the rural male—urban female group pairs were significantly different (p = 0.003 for both comparisons).

Fig. 2
Fig. 2
Full size image

Non-metric multidimensional scaling ordination using the Bray–Curtis index of dissimilarity of the gut bacterial samples (OTUs) from C. convexus individuals (A) at the habitat-level (open green circles represent gut bacterial samples from rural, while open red ones represent samples from urban beetles), and (B) at the level of habitat type × sex interaction (green symbols represent rural, red ones urban beetles, while open squares represent females, open down triangles males). Ellipses (convex hulls) were based on the standard errors of the averages (centroids) of points multiplied with the 95% confidence value from the Chi-squared distribution (number of permutations: 999). Final stress value: 17.0069.

Taxonomic diversity of the gut bacterial microbiota

The taxonomic diversity of the gut bacterial microbiota expressed by the Hill numbers was significantly higher in the rural than urban beetles for all parameter values, except q = 0, indicating that, apart from the number of OTUs, their bacterial gut microbiota was more diverse (Table 1, Fig. 3). Biologically relevant sex-specific difference in the Hill number at q = 2 of the gut bacterial microbiota indicated that abundant bacterial taxa were slightly more diverse in males than females. While there was no significant habitat × sex interaction (Fig. 3), LMMs performed separately for the rural and urban habitats (considering sex of the studied beetles as a fixed, and site as a random factor) showed that the gut bacterial microbiota was significantly more diverse in rural males than females (Table S2), while there was no such difference in the urban habitat (Table S2).

Table 1 Summary of linear mixed models and post hoc tests on diversity measures of the gut bacterial microbiota (OTUs) in female and male beetles from rural and urban habitats. Values in bold denote significant (p < 0.05) effects. Results of the Tukey test indicate which habitat differed significantly (p < 0.05) from the other.
Fig. 3
Fig. 3
Full size image

Boxplot of taxonomic diversity of the gut bacterial microbiota (OTUs) of C. convexus females and males from rural and urban habitats using the Hill numbers (A) when the parameter value, q = 0 (0D), (B) when the parameter value, q → 1 (1D), and (C) when the parameter value, q = 2 (2D). In boxplots horizontal lines represent median values, boxes show the interquartile ranges, whiskers represent the minimum and maximum values, while points outside the whiskers are outliers.

Functional diversity of the gut bacterial microbiota

Of the 1,163 identified OTUs 62.6% (69.4% of the total reads) could be assigned traits from the FAPROTAX database. The predicted functional diversity of these 728 OTUs was marginally significantly (p = 0.0700) higher in urban than rural beetles (Table 1, Fig. 4). LMM models revealed no significant sex-specific difference whether combined (Table 1) or analysed separately (Table S2). Similarly, the habitat × sex interaction was not a significant predictor for the predicted functional diversity of the gut bacterial microbiota (Table 1).

Fig. 4
Fig. 4
Full size image

Boxplot of functional diversity of the gut bacterial microbiota (OTUs) of C. convexus females and males from rural and urban habitats expressed by the Rao’s quadratic entropy using the traits related to functional roles and respiratory types of the OTUs. In boxplots horizontal lines represent median values, boxes show the interquartile ranges, whiskers represent the minimum and maximum values, while points outside the whiskers are outliers.

Discussion

Methodological considerations

Recent studies of microbiota are increasingly use ASVs because these are generally considered more reliable64. Analysing microbiota using OTUs versus ASVs can give slightly different results. Even in C. convexus higher bacterial “species richness” was indicated using ASVs25 than in our OTU-based analysis. However, by the ASV-based analysis the most common group of the C. convexus microbiota was an unidentified phylum25. Much of our knowledge concerning insect microbiota originates from OTU-based studies. Consequently, a functional analysis—at least currently—ought to rely on OTU basis.

An additional hurdle is that the target 16s RNA genes do not code proteins, so functions can only be attributed by attaching known functions to the identified bacteria which is inevitably indirect, uncertain and imprecise. The resulting analysis should therefore be interpreted cautiously. However, the differences found in functional diversity do not merely reflect differences in taxonomic composition, because there were differences in their reaction to urbanization. The gut microbiota was more diverse in rural individuals, while urban beetles had a higher functional diversity of the gut microbiota.

Composition of the gut bacterial microbiota

The identified OTU richness was similar to previous findings, such as the 1,245 bacterial OTUs in the gut of the carabid Chlaenius pallipes (Gebler, 1823)65.

Similarly, the 21 identified bacterial phyla are not much different from the 19 bacterial phyla found in 218 insect species from 21 taxonomic orders66. The predominant bacterial phyla identified in the intestinal tract of C. convexus individuals sampled from wild populations (Firmicutes, Bacteroidetes, and Proteobacteria, representing more than 80% of the gut-associated bacteria) are generally frequent and thus also common in insects66,67, including ground beetles65,68.

The most abundant families in the gut of C. convexus were Enterococcaceae, Prevotellaceae, and Ruminococcaceae. Similarly, Enterococcaceae was among the most common families in the digestive tracts of ground beetles with various trophic habits31,34,65,69. In our study the average abundance of the Enterococcaceae, however, was significantly higher in the guts of urban than rural adults, suggesting some urbanization-related disturbance on the gut microbial composition. Similarly, another carabid, Pseudoophonus rufipes (DeGeer, 1774) had higher Enterococcaceae abundance when collected from conventionally managed fields with regular disturbance by tillage70.

Gut microbiota can significantly differ between sexes66. However, a previous study on the riparian bombardier beetle, Brachinus elongatulus Chaudoir, 187671, found no significant sex-specific differences in these bacterial communities. In contrast, we found significant differences, both by sex and by habitat. Assuming that microbial taxa in the host gut could be derived from the surrounding environment72, this habitat-related compositional difference can be explained by an impoverishment in the diversity of soil bacteria due to urbanization73. Sex-specific gut bacterial compositional difference, however, may also be triggered by the different mobility of sexes. Males with greater mobility, especially during the breeding period, are likely to pick up a wider range of bacterial symbionts from their environment than the less mobile females, especially in rural sites with a more diverse bacterial landscape. Higher between-individual variability of the gut microbiota in both rural and urban females suggest that diet-mediated stochastic acquisition could be another driver of the composition of gut bacterial microbiota. To cover the energy demand to produce eggs, females may consume a wider range of food items they encounter27, contributing to the between-individual variance in the gut microbiota.

Effects of urbanization on composition and diversity of the gut bacterial microbiota

Urbanization-triggered changes in the various environmental conditions can be reflected in behavioural, physiological, morphological, genetic and life-history parameters, and population size in ground beetles22.

To our knowledge, our OTU-based study is the first to assess the effect of urbanization on the gut bacterial microbiota of ground beetles. Our results show that the diversity of the gut bacterial microbiota was significantly reduced in urban habitats. Similarly reduced microbiota diversity has been observed in urban black-tailed prairie dogs (Cynomys ludovicianus (Ord, 1815)74), and in eastern grey squirrels (Sciurus carolinensis Gmelin, 178875). Urban house sparrows (Passer domesticus (Linnaeus, 1758)) also have less diverse gut microbiota than rural conspecifics76. However, urban environments can also allow a more diverse microbiota, as registered in coyotes (Canis latrans Say, 182377), white-crowned sparrow (Zonotrichia leucophrys (Forster, 1772)78), and eastern water dragons (Intellagama lesueurii Gray, 183179).

In flying insects, the gut bacterial microbiota diversity can also be higher (e.g., bumblebees, Bombus terrestris (L., 1758)23), or lower (e.g., honey bee, Apis mellifera L, 175880) in rural than urban individuals, while no such difference exists in adult dragonflies24. These inconsistent results indicate that the gut bacterial communities in rural and urban individuals may differ even in closely related species. This is exacerbated if a single diversity measure (richness or a single taxonomic diversity index (e.g. Shannon or the Simpson diversity) is used when evaluating diversity. Therefore, using a scalable diversity approach (such as Hill numbers) is recommended to get a more detailed understanding of the diversity of gut bacterial microbiota.

Bacterial microbiota are acquired from the surrounding environment16,72 and/or from food items81. The lower diversity of gut bacterial microbiota in urban C. convexus could reflect the impoverished microbial diversity and reduced food spectrum in urban habitats. However, microbial diversity in urban soils can be lower82, higher83,84,85, or non-different86 in urban than in rural habitats. Although anthropogenic activities may cause serious decrease in arthropod biomass4, estimating the range of potential food items for a carnivorous ground beetle remains a serious challenge.

Previous work in these habitats indicates that the abundance of potential prey items for several groups (other beetles, chilopods, diplopods, gastropods, isopods) was significantly lower in the studied urban than rural areas30,87. Thus, urban C. convexus can experience a less diverse bacterial landscape, leading to microbiota of higher variability with some new functions but overall, a reduced diversity.

The size of the convex hull on the ordination plot, a measure of β-diversity, of the gut samples from C. convexus, however, was bigger in urban than rural habitat, irrespective of whether the sexes were combined or treated separately, indicating higher between-individual variability in urban than rural beetles. Similarly, there is higher β-diversity of the gut bacterial microbiota in urban than rural habitats in mammals74, and birds88. Furthermore, higher β-diversity (between-sites variability) of soil bacterial communities in urban than rural habitats was also reported84. Thus, we assume that soil bacterial diversity was lower in our urban habitat but their composition varied more, resulting in higher soil bacterial β-diversity. This can also be manifested in the gut microbiota through stochastic acquisition of bacteria from soils31. In urban habitats the occasional consumption of human-supplied food items (e.g. pet food, garbage) could also substantially affect the hosts’ gut microbiota composition89. Thus, consumption of anthropogenic food may contribute to the higher β-diversity of gut bacterial communities in urban C. convexus.

These new types of resources may promote the growth of specific bacteria with various functional roles, possibly assisting in more efficient digestion of new food items. This could expand the diet breath, allowing beetles to exploit various food resources81. Indeed, a broader food spectrum is associated with richer, and probably functionally more diverse gut microbiota66,81.

Conclusions

Using next generation sequencing of the bacterial 16S rRNA gene, we showed that the composition of the gut bacterial microbiota in C. convexus was significantly different between rural and urban individuals, while microbiota diversity was significantly reduced in urban habitats. However, their predicted functional diversity was not significantly reduced. As a substantial part of gut bacteria in beetles is derived from the surrounding environment by horizontal transmission31, the observed changes were plausibly triggered by urbanization.

Biodiversity in urban habitats has several advantages for humans. To make urban areas healthier for their inhabitants, maintaining existing urban green habitats, restoring degraded ones, creating green roofs, green walls, urban and community gardens are suggested90. These measures would probably favour microbes as well, with hopefully positive effects on higher organisms via more diverse microbial landscapes.