Introduction

Soil is an important ecosystem where microbial populations are established, which interact with plants through the roots, favoring their growth and protecting them from diseases caused by pathogens1. Successful microorganism utilization promotes soil health, water retention, carbon storage, root development, accessibility and recycling of nutrients, pollutant treatment, as well as biodiversity conservation2. The influence of plants on the microbial communities may not be readily apparent, making predictions difficult, as other factors come into play, such as the soil type3.

Superfoods such as cherimoya (Annona cherimola) have gained attention because of their anticancer bioactive chemicals and nutrients. Also, their family (Annonaceae) has medicinal use in the treatment of epilepsy, cardiac diseases, pathogenic infections, hemorrhage, ulcers, cancer, liver disorders, and other ailments4. Some results indicated that cherimoya juice is a potent antioxidant5. Similarly, lucuma (Pouteria lucuma) was an important part of the pre-Hispanic diet6,7. Because of its high dietary fiber, carotenoids, and sugar content, lucuma may be an alternative to refined sugars and artificial colorants in the dairy and bakery industry8. The cultivation of these plants has been reevaluated due to the demand for superfoods9,10.

The research in deep soils can reveal microorganisms with unique characteristics and adaptations to extreme conditions, opening a wide potential for biotechnology and the development of applications beneficial to society, such as new drugs, industrial enzymes, and bioplastics11,12. Also, examining changes in microbial properties across different soils and depths can enhance the understanding of long-term processes vital for agricultural ecosystem health. Previous studies have demonstrated that soil depth is a significant factor affecting microbial communities, especially alpha bacterial diversity, which exhibits its highest abundance in the upper 10 cm and tends to decrease by 20 to 40% in deeper layers13,14,15. The studies also note that microbial community composition is notably variable in the upper soil layers but maintains relative consistency in the deeper layers across different locations14,16,17,18.

Microbes via their enzymatic activities can alter soil physico chemical properties, organic matter, and potential soil respiration rate19. Also, the cycling of organic carbon and nitrogen, and their pools would be related to changes in the microbial community20. Other studies indicate that physico chemical soil properties, such as pH, carbon, electric conductivity, CEC, and soil texture were correlated with the differences between communities measured by UniFrac21. Differences in soil moisture, temperature, aeration, and substrate availability by soil depths may change the microbial communities. A linkage between tree species and microbial diversity reflects mutual feedback between plants and the soil22,23,24.

The comparison of the 16S rRNA gene sequences makes it possible to establish phylogenetic relationships between bacteria, facilitating their rapid identification25. The sequencing of the 16S rRNA gene is a widely used technique, with the V3-V4 regions being the most common. Miseq, Illumina's next-generation integrated sequencing instrument allows sequencing from 1 × 36 bp to 2 × 300 bp in length26. This is a limitation since the 16S region consists of 1550 bp in length. A new technology called PacBio-HiFi (Single-molecule, real-time sequencing developed by Pacific BioSciences) offers longer reads and faster executions27 and allows us to identify a higher proportion of phylum, class, family, genus, and species level than the V4 region-only dataset, expanding the microbial ecology studies28,29,30,31,32.

There is no information about the rhizosphere microbiome of these species, but it is important to understand their impact on the growth, development, and properties of these trees. The objective was to analyze how depth influences the diversity of microbes in the rhizosphere of fruit trees, how other soil properties impact microbial composition, and identify specific taxa associated with shallow or deep rhizosphere layers. Comprehension of soil microbial characteristics concerning alterations in soil depth has the potential to make significant contributions to the enduring well-being of agricultural soils or the identification of soil conditions that are not optimal.

Results

A total of 38,481 Operational taxonomic units (OTUs) were identified and assigned to 27 phyla, 71 classes, 178 orders, 382 families, and 955 genera. The rarefaction plot lines indicated the trend of the behavior of the curves, indicating that they tended to level off where the slope approached zero (Fig. S1).

Alpha diversity indices at different soil depths

Diversity was assessed using Shannon and Observed features indices, revealing variations across soil depth. Higher values of both indices were evident in samples closer to the surface.

In the ANOVA analysis, significant differences were observed for the Shannon and Observed features indices across different soil depths, but not among tree types. Subsequent post hoc Tukey's Honest Significant Difference (HSD) tests revealed significant differences (p < 0.05) between cherimoya samples at 3 cm and 30 cm depths in Shannon diversity index (Fig. 1a). Regarding the results of the Observed features test, a significant contrast was identified for the combinations of lucuma samples at a depth of 3 cm vs 30 cm (Fig. 1b).

Figure 1
figure 1

Alpha diversity analysis (Two-way ANOVA with Tukey HSD test) for the samples collected of different depths (3 cm, 12 cm and 30 cm) from cherimoya (a) and lucuma (b) soil. Significant differences among soils were indicated with an asterisk (p < 0.05).

Bacterial community composition changes with variations in soil depth

Principal coordinate analysis (PCoA) allowed us to represent differences or make comparisons between samples. The dissimilarity matrix was obtained with the Bray–Curtis method and the obtained coordinates were plotted with the help of PCoA to visualize and analyze patterns of dissimilarity in biological communities.

The beta diversity results (Fig. 2) illustrated the arrangement of the points of the Bray–Curtis dissimilarity matrix. It was observed that the lucuma samples at 30 cm replicates were grouped in a certain space, while the 3 cm and 12 cm samples overlapped. In the case of the cherimoya samples, there was an overlap between the 3 cm and 12 cm samples, but without a well-defined spacing pattern for the 30 cm samples. A PERMANOVA analysis using the Bray–Curtis distance as a measure of dissimilarity was performed to evaluate bacterial diversity and changes in composition between different tree types and soil depths. The results indicated that there was a significant difference in bacterial composition by plant type and no significant differences were observed as a function of soil depth (Table S5).

Figure 2
figure 2

Beta diversity by PCoA based on Bray–Curtis distances between two evaluated groups: lucuma and cherimoya, obtained from different soil depths: 3 cm, 12 cm, and 30 cm.

Taxonomic distribution in bacterial communities

Across all the samples, the relative abundance of bacterial phyla Proteobacteria, Acidobacteria, Planctomycetes, Actinobacteria, Firmicutes, and Gemmatimonadetes was 32, 21, 13, 11, 8 and 7%, respectively. The phyla with an abundance of less than 1% were Armatimonadetes, Candidatus Tectomicrobiota, Cyanobacteria, Deinococcus-Thermus, Fibrobacteres, and Verrucomicrobia. Fifteen phyla and the twenty most abundant families and genera were evaluated by each tree species. ANOVA and Tukey HSD statistical tests were performed to determine the significantly different samples (Fig. 3a).

Figure 3
figure 3

Taxonomic summaries of cherimoya and lucuma soil (a). Relative abundance of the dominant microbial composition at phylum level in Bacteria. Statistical comparison of the relative abundance of each phylum, family, and genus in each soil depth of both types of plants by ANOVA test (b).

In the case of lucuma, Proteobacteria, Acidobacteria, Planctomycetes, Actinobacteria, and Firmicutes were identified as the most abundant phyla (Fig. 3b).The ANOVA test indicated that the abundance of the phylum Acidobacteria is high at a depth of 3 cm and decreases as depth increases; while the phylum Actinobacteria and Planctomycetes increase in abundance at 30 cm depth. The most common families evaluated were: Alcaligenaceae, Bacillaceae, Gemmataceae, Gemmatimonadacea, Nitrospiraceae, and Pyrinomonadaceae, but significant distinctions were noted among the following four taxonomic categories: (i) Thermoanaerobaculaceae was the most abundant in shallow soils from 3 to 12 cm, while (ii) Burkholderiales, (iii) Hyphomicrobiaceae and (iv) Pirellulaceae were the most abundant in deep soils. The most abundant genera were Derxia, Bacillus, Gemmata, Gemmatimonas, and Nitrospira. Nevertheless, Pirellula and Thiobacter were significantly more abundant at a depth of 30 cm, whereas Thermoanaerobaculum had a predilection for growing in shallow areas (Table S1). For cherimoya, significant differences were observed in near-surface soils. It was observed that in soils 3 cm deep, there was a higher abundance of Armatimonadetes and the genus Holophaga (Table S2).

Soil physicochemical parameters related to diversity

Between lucuma and cherimoya trees, significant disparities were identified in parameters such as total nitrogen, available potassium, potassium exchangeable cation, calcium exchangeable cation, CEC, available phosphorus, B, Al, V, Cr, Cu, Zn, As, Mo, Ag, Cd, Sb, Ba, Pb, Na, Mg, and K content (Table S4).

The pH was neutral to basic (interval from 7.01 to 8.24), the lucuma soil was saline for the three depths (AVG: 4.44 dS m−1); although, for the cherimoya soil, up to the first 3 cm it was saline (AVG: 4.02 dS m−1), and for the other two depths slightly saline (AVG: 2.59 dS m−1). The P content was high for all three depths for both tree soils. The K content was medium for the lucuma soil at the depths of 3 and 12 cm, and low for the 30 cm depth. In contrast, for the cherimoya soil, it was high at depths of 3 and 12 cm, and medium at 30 cm. The organic matter content was very low at all three depths for both tree soils, resulting in low levels of carbon and nitrogen. The CEC was high for the lucuma soil at all depths for cherimoya soil at the depth of 3 cm, and medium for depths of 12 and 30 cm.

In the cherimoya soil, significant differences were detected in the total carbon, organic carbon, and available potassium contents between the content at 3 cm and that observed at 12 and 30 cm. Furthermore, significant differences were identified in potassium exchangeable cation, calcium exchangeable cation, and CEC between the content at 3 cm and that observed at 30 cm. Nonetheless, the total nitrogen content did not vary between the evaluated depths (Table S3). In the rhizospheric soil of the cherimoya crop, notable distinctions were noted. A negative correlation emerged between the total organic carbon (TOC) content and the se.ACE functional diversity index, whereas a positive correlation was evident between TOC and the Shannon and Inverse Simpson diversity indices. Similarly, a positive correlation was established between the total carbon (TC) content and the Shannon diversity index. Additionally, there was a negative correlation between Ka and se.ACE. Moreover, the Inverse Simpson index displayed a positive correlation with Ti and a negative correlation with Ni. Total nitrogen demonstrated positive correlation with phosphorus (Fig. 4a).

Figure 4
figure 4

Pearson correlation coefficients between the soil physicochemical properties and the microbial alpha diversity (a) cherimoya and (b) lucuma. The value indicates the correlation coefficient, blue colors represent positive correlation and red colors represent negative correlation. *p < 0.05.

In the lucuma rhizospheric soil, only differences in calcium exchangeable cation were identified. No differences were observed in the contents of important parameters like total carbon, organic carbon, and total nitrogen content (Table S3). Pearson's correlation analysis on lucuma indicated that alpha diversity indices were significantly correlated with some of the soil physicochemical properties (Fig. 4). The indices of se.chao1, se.ACE, and Shannon were negatively correlated with several metals such as Ni, K, Al, Co, Fe, Na, Hg, Mg, Ba, Ti, Mn, Zn, and Be, as well as with sodium exchangeable cation, total organic carbon, and total carbon (Fig. 4a). On lucuma soil, total carbon (TC) demonstrated negative correlations with diversity indices, Observed, Chao1, ACE, and Fisher. Additionally, total organic carbon (TOC) exhibited negative correlations with Observed, Shannon, and Fisher indices. Total nitrogen (TN) exhibited a positive correlation with the Simpson index. Furthermore, phosphorus (Pa) displayed positive correlations with Simpson and Inverse Simpson indices. Beryllium (Be) exhibited negative correlations with Chao1, ACE, and Shannon indices. Moreover, the Chao1 index exhibited negative correlations with Mg2, K, Na, Ba, Ni, Ti, and Zn. The Shannon index displayed negative correlations with Ba, Cd, Cr, Cu, Pb, and Zn (Fig. 4b).

LEfSe analysis

The figure presents LEfSe analyses illustrating variations in OTU abundance between different soil depths. In Fig. 5a, corresponding to cherimoya soils, variations in OTU abundance are observed. Taxa such as Rubrobacteria and Holophagae were more enriched at a depth of 3 cm, while at 30 cm, OTUs from the phyla Proteobacteria and Nitrospirae predominate. In Fig. 5b, corresponding to lucuma soils, it is highlighted that taxa such as Acidobacteria, including classes Thermoanaerobaculia and Blastocatellia, as well as the family Pyrinomonadaceae, were enriched at a depht of 3 cm. At 30 cm, OTUs from the phylum Planctomycetes predominate. Additionally, Nitrospira also enriched at 3 cm, exhibits a significant presence, further illustrating the distribution patterns in these soil layers.

Figure 5
figure 5

Variations in OTU abundance between two soil depths (3 cm and 30 cm) according to LEfSe analysis: (a) cherimoya and (b) lucuma.

Discussion

The PacBio Hi-Fi system significantly improved sequencing quality with the introduction of circular consensus sequencing (CCS) protocols, producing accurate long high-fidelity (Hi-Fi) reads33. In this study, PacBio-HiFi sequencing technology was used for sequencing 16S rRNA gene, as it is more robust and of higher quality than technologies using short amplicons. This technology enhances the ability to achieve greater taxonomic annotation resolution, enabling the differentiation of closely related organisms at the species level or even within mild clones34,35,36. In addition, the detection of novel or rare variants within microbial communities is a distinct capability of long-read sequencing37. Nevertheless, there is insufficient experimental data on how new long-read technologies, particularly SMRT PacBio Hi-Fi, could be utilized to estimate the microbial composition in rhizosphere soils and extreme environments such as deep soils. On the other hand, PacBio Hi-Fi is more error-prone than the Illumina platform, and even though PacBio Hi-Fi is classified as third-generation sequencing (TGS), it represents a higher cost per base compared to short-read DNA metabarcoding.

A comparative analysis of the diversity of OTUs in two Peruvian superfruit trees, cherimoya and lucuma, and different soil depths was carried out. The results revealed significant differences in bacterial diversity between the different soil depths and trees evaluated. These findings suggest the existence of bacterial groups particularly associated, indicating specific adaptations or symbiotic relationships between these groups and trees38,39.

The alpha diversity was determined by Shannon and Observed features indices; both indicated that in surface layers the microbial diversity is higher in comparison to depth soil. The ANOVA test confirmed significant differences in microbial diversity with soil depth, aligning with other investigations that reported a decrease in microbial diversity at greater soil depths40,41. This decrease in richness and diversity of microbial communities has been observed across various ecosystems, including agricultural soils, reforested ecosystems, and eroded soils42,43. Beta diversity results demonstrated by the Bray–Curtis dissimilarity matrix revealed a clear separation between lucuma and cherimoya samples in the PCoA. Nonetheless, the replicates did not form distinct groups according to soil depth, except for the lucuma samples at 30 cm. Differences in microbial communities between the two soils may be due to species presence or relative abundances influenced by edaphic factors or root exudates, which provide nutrients and drive bacterial metabolic activities. Several studies indicate the direct effects that plants have on the composition and relative abundance of microbial diversity44,45,46.

There were no significant differences in the total carbon content and total organic carbon between crops; nevertheless, significant differences were observed at different depths in cherimoya soil. Carbon variations across the soil profile can be attributed to changes in labile carbon fractions. In other studies, the topsoil (0–10 cm and 10–20 cm) has been observed to harbor a higher concentration of SOC and plant roots compared to deeper soil layers. This distribution of SOC and roots can influence carbon dynamics across the soil profile47.

In a study, low stable carbon content reduced community richness. Nonetheless, high carbon sites with different depths exhibited a uniform diversity pattern48. The low nitrogen content of Peruvian coastal soils may contribute to the lack of significant differences between depths49. Nonetheless, nitrogen levels were higher in cherimoya soil, presumably due to the application of fertilizers (Table S4). Peruvian coastal soils also have a relatively high content of potassium, with glauconite-K being more enriched in these samples50. Therefore, it is expected that the crops do not have nutritional deficiencies.

Metals such as B, Zn, As, and Pb were determined to exceed the maximum allowable limit according to Canadian Environmental Quality Guidelines (CEQGs). In the case of copper and cadmium, higher concentrations were detected only in the cherimoya soil (Table S4). Variations in organic matter are related to the cation exchange capacity (CEC). Certain metal cations can stabilize SOC by facilitating the interaction between soil minerals and organic matter through cation bridging, and they can form complexes with organic molecules when their hydration shells are disrupted. The effective cation exchange capacity (CEC eff.) is a comprehensive measure that considers the available soil surfaces where metal cations are retained51. In this study, the effective CEC was not measured, as the neutral to basic pH condition allowed the assumption that there was no significant difference between the effective CEC and the total CEC.

A study evaluated the potential ecological risk index of heavy metals and suggested that the risk to soil bacterial community was more relevant to Cu than Cd52. The primary mechanism of copper toxicity is not oxidative stress, but rather the replacement of the Fe co-factor53. In contaminated soils, heavy metals such as Hg, Cr, Pb, Mn, and As can cause diseases and even death of organisms, although trace amounts can be beneficial54. The pH factor significantly impacts the dynamics of microbial communities; a slightly basic pH would reduce the availability of heavy metals in the soil, preventing harmful levels55. A negative correlation was identified between the Shannon index and the concentration of beryllium in lucuma soil, indicating a potential adverse impact on microbial diversity within this agricultural context. This finding corroborates previous studies that underscore the detrimental effects of beryllium on soil microbiota within soil–water systems56. Likewise, an inverse relationship was observed between concentrations of cadmium, lead, and zinc in cherimoya soil and the Shannon index, suggesting a decrease in microbial diversity. This concurs with prior research indicating the negative influence of these heavy metals on soil microbiome diversity. The notable decline in bacterial metabolic activity and the selective displacement of specific bacterial phyla further underscore the adverse effects of Cd, Pb, and Zn contamination on soil microbiota composition and diversity57. Additionally, the discovery of a negative correlation between copper concentration and the Shannon index implies a detrimental effect of copper on soil microbial diversity, consistent with previous findings illustrating the selective pressure exerted by copper on soil microbiota58. This association raises concerns regarding the potential adverse impacts of copper contamination on the health and functionality of soil microorganisms, pivotal for sustaining soil health and agricultural and natural ecosystem productivity59.

The bacterium Rubrobacter radiotolerans was identified in rhizospheric soils of cherimoya, suggesting a possible influence of heavy metal contamination on the microbial community in these soils60,61. The Rubrobacteraceae family exhibited significant differences in its abundance in the superficial soil of cherimoya plantations. The presence of this family was reported in soils evaluated at a depth of 0 to 15 cm62. Despite being a minority group of Acidobacteria, the abundance of the genus Holophaga was significant, especially in soils at a depth of 3 cm, highlighting its relevance in future research to better understand bacterial diversity in this environment63,64. The prevalence of Proteobacteria in the deeper layers of chirimoya rhizospheric soil at a 30 cm depth, as observed in our investigation, corroborates previous findings across diverse soil ecosystems65,66. This observation underscores the notable adaptation and persistence of Proteobacteria in agricultural settings67. Similarly, our LEfSe analysis identified Nitrospira as a distinctive biomarker in the 30 cm chirimoya rhizospheric soil. Moreover, the relative abundance of Nitrospirae exhibited a significant increase with soil depth, indicative of their competitive advantage in deeper soil layers68. These outcomes are consistent with those reported in a separate investigation conducted in a poplar plantation69. Nitrospira, a member of the bacterial phylum Nitrospirae, stands out as one of the most diverse and abundant groups of nitrite-oxidizing bacteria (NOB)70. In addition, Nitrospira was identified in 3 cm lucuma soil; Nevertheless, this reported discrepancy can be attributed to the significant variations in total nitrogen in soil type between these plant species (Table S4).

The presence of Thermoanaerobaculum aquaticum and Pyrinomonadaceae in the rhizospheric soil of the lucuma plant has significant implications for understanding biogeochemical processes in this unique environment71,72. Thermoanaerobaculum aquaticum known for its anaerobic reduction of iron and manganese oxides, probably plays a crucial role in soil nutrient availability and, consequently, in plant nutrition having been studied in superficial tundra soils73. Furthermore, the presence of Pyrinomonadaceae, adapted to nutrient-limiting conditions and capable of degrading complex organic compounds, underlines their fundamental role in nutrient cycling processes and organic matter decomposition of surface soil74.

Furthermore, the detection of Blastocatellia in lucuma rhizosphere soil demonstrates its adaptation to this different environment. A previous study reporting the prevalence of Blastocatellia in bulk soils underscores the critical need to understand microbial diversity in specific habitats such as the lucuma rhizosphere75,76. Additionally, the identification of Planctomycetes in the 30 cm rhizosphere of the lucuma plant77, known for their ability to degrade complex heteropolysaccharides, further emphasizes the intricate interplay between microbial communities and soil health. Their association with the degradation of complex organic compounds can profoundly influence rhizospheric microbial community dynamics, subsequently impacting nutrient availability and overall plant health78

Relative abundance analysis indicated that the phylum Acidobacteria was more common in superficial lucuma soils (3 cm) than in deep soils. On the other hand, Acidobacteria is a soil bacterial phylum that is not widely represented, but its members are ubiquitous and widely distributed in almost all ecosystems. Acidobacteria exhibit a remarkable ability to adapt to nutrient-deficient conditions and complex environments, allowing them to decompose complex substrates in tropical peatlands and other similar environments79. Burkholderiales, Hyphomicrobiaceae, and Pirellulaceae were identified as significantly more abundant in 30 cm lucuma soils. Hyphomicrobiaceae are key bacteria that play an important role in soil carbon and nitrogen cycling80. Studies have indicated that the relative abundance of Pirellulaceae is strongly correlated with certain soil pH levels81. Notably, it was intriguing to observe that Thiobacter was detected in significantly greater abundance at 30 cm of soil depth in lucuma compared to soils at different depths. This bacterium has also been documented in subterranean environments, such as caves and groundwater systems82. Moreover, Thiobacter exhibited remarkable resilience in heavy metal-rich soils, thanks to its ability to use sulfur compounds as an energy source and its capacity to endure adverse environmental conditions83. Also, a high concentration of metals was detected in the deepest soils.

PacBio sequencing, with its long reads, is advantageous for 16S rRNA gene metabarcoding, providing comprehensive taxonomic resolution84. Nonetheless, it produces fewer reads per sample compared to Illumina 2 × 300 bp, which generates more short, accurate reads. This lower read count can result in rarefaction curves not reaching a plateau, indicating incomplete microbial diversity coverage. Increasing sequencing depth or combining PacBio with Illumina can mitigate this issue85.

Methods

Field site and sampling

All tree specimens were roughly 15 years of age and had a history of fruit-bearing. Regardless of soil variation, all trees were subjected to standard irrigation practices at Sede Central Agricultural Research Station of INIA, maintaining constant agronomic management for five months from July to November 2022 ( moment of sampling). within La Molina district, Lima, Peru. This is situated at coordinates 12° 4′ 25″S and 76° 56′ 35″W and an elevation of 241 m about sea level (Fig. 6a). The region registers an average yearly temperature of 27 °C, an annual precipitation of 5 mm, and an average evaporation rate of 200 mm per year. At the experimental center, organic amendments, such as compost produced from crop residues and guinea pig manure, are primarily applied. The approximate amount is 1 t ha−1. Rhizosphere sampling involved taking three evenly spaced replicates from each soil depth level for each individual tree. These three subsamples were combined into a single replicate. Soil surrounding the roots with a diameter of less than 1 cm was collected at depths of 3 cm, 12 cm, and 30 cm for each plant (Fig. 6b), resulting in 10 samples for A. cherimola (Fig. 6c) and 12 samples for P. lucuma (Fig. 6d). After filtering through a 2 mm sieve, each soil was split into two segments: one was left to air-dry to assess soil biogeochemical properties, while the other was preserved at − 80 °C for DNA isolation. All the field experiments were approved by the Administration Bureau of the National Institute of Agrarian Innovation in Peru, following all the relevant guidelines.

Figure 6
figure 6

(a) The geographical map of the location of the two plots: cherimoya and lucuma soil. (b) Reference image of soil sampling, (c) cherimoya tree, (d) and lucuma tree. Geographic map was built using software ArcGIS v10.8 (ESRI, California, USA)86.

Soil biogeochemical properties

The cherimoya soil was loamy, in contrast to the sandy loam soil where the lucuma trees were. The soil samples (1 kg) for these analyses were dried for 24 h at 40 °C and sieved 2 mm. The pH and electrical conductivity were measured using potentiometers pH7310 inoLab and Cond7310 inoLab (WTW™) in a 1:1: soil: water suspension (U.S.EPA SW-846-9045D)87 and considering a soil: water 1:1 ratio (ISO 11265:1994)88, respectively. Cation exchange capacity (CEC) was determined by saturation with ammonium acetate (pH 7.0). Available phosphorus was estimated by the modified Olsen method89, and available potassium was determined by extraction with ammonium acetate. Total nitrogen (TN) and total carbon (TC) were estimated by dry combustion (ISO 13878). Total organic carbon (TOC) was estimated after correcting for carbonates present in the sample (ISO 10694:1995 (E)), and total metals were estimated by microwave-assisted acid digestion of soils (EPA 3051A) and measured by Inductively Coupled Plasma-Mass Spectrometry (EPA 6020B).

Bacterial DNA extraction and sequencing

The total DNA of soil microorganisms was extracted from 0.5 g of each soil sample using a DNeasy PowerSoil Kit (QIAGEN Benelux B.V., Venlo, Netherlands), and each sample was run in triplicate. DNA concentration and quality were assessed using Qubit (Invitrogen, USA), a nucleic acid quantifier, and DNA integrity was checked using 1% agarose gel electrophoresis. DNA extraction of all samples was conducted on the same day. For bacterial identification purposes, the 16S rRNA gene PCR primers 27F/1492R with barcode on the forward primer were used in a 35-cycle PCR (5 cycles used on PCR products) using the HotStarTaq Plus Master Mix Kit (QIAGEN, USA) under the following conditions: 94 °C for 3 min, followed by 35 cycles of 94 °C for 30 s, 53 °C for 40 s and 72 °C for 90 s, after which a final elongation step at 72 °C for 5 min was performed. After amplification, PCR products were checked in 2% agarose gel to determine the success of amplification and the relative intensity of bands.

The complete sequence of 16S RNA was amplified by the PacBio platform, which has the advantage of providing more accurate species-level information. The SMRTbell libraries (Pacific Biosciences) were prepared following the manufacturer’s user guide, with indexing and library preparation executed according to the manufacturer’s instructions, applying the same PCR conditions as the first amplification, except the number of thermal cycles was reduced to 5. Sequencing was performed at the Molecular Research LP (MR DNA) (Shallowater, TX, USA) on the PacBio Sequel following the manufacturer’s guidelines. After completion of initial DNA sequencing, each library underwent a secondary analysis using PacBio’s CCS (circular consensus sequencing) algorithm. The CCS algorithm aligned the subreads individually from each template to generate consensus sequences, thereby correcting the stochastic errors generated in the initial analysis.

Bioinformatic and statistical analysis

Barcodes were removed from CCS sequencing data. The sequences were then oriented 5' to 3', and sequences with ambiguous base calls were removed. Later, sequences were denoised for the generation of OTUs at 3% divergence (97% similarity) using the software package Mothur v. 1.34.490, and chimeras were removed wih UCHIME91. Final OTUs were taxonomically classified using the 16S NCBI curated bacterial and Archaea RefSeq (http://www.ncbi.nlm.nih.gov) based on Blast92. searches (word size = 7; reward = 1; penalty =  − 1; gap opening cost = 1; gap extension cost = 2).The data was normalized and filtered to remove low-quality sequences. Normalization uses the median of the sample sums to calculate a total normalization factor, which it uses to normalize the sample counts. Then, the result was multiplied by the total normalization factor. Normalization of the reads in each sample was performed using the Phyloseq package v4.0 in R software93. Rarefaction curve was calculated using species richness as a statistical estimator and plotted by MicrobiotaProcess packages in R software. The alpha diversity was determined via Shannon index and Observed features analysis. Two-way ANOVA was used to test the significant interaction between variables soil depth and type of plant. Tukey HSD was performed for multiple comparisons among different groups. Principal coordinate analysis (PCoA) using Bray–Curtis dissimilarity matrices was employed to measure beta-diversity. Through a permutational multivariate analysis of variance (PERMANOVA) with 999 permutations, soil depth and plant type were evaluated on the microbial community data using the adonis2 function of the R vegan package. Linear discriminant analysis effect size (LEfSe) was used to identify bacterial taxa that differed significantly between soil depth. All the analysis and graphics were generated by the following R packages: Phyloseq, ggplot2, and microbiome.