Soil pot experiment
The acidic soil (0–20 cm) was collected in April 2019 at Yingtan Red Soil Ecological Experiment Station (28° 14′ N, 117° 03′ E) in Jiangxi Province, China. The soil was air-dried and sieved through a 2 mm mesh after the roots and leaves were removed. The basic properties of soil are listed in Supplementary Table 1.
Plants were grown in plastic pots with dimensions of 175 mm (open top) × 135 mm (height) × 125 mm (flat bottom). Calcium superphosphate was supplied as the P fertilizer, and three P fertilization levels were designed: 0 (P0), 20 (P20), and 200 (P200) mg P2O5 kg-1 soil. Urea and potassium sulfate were applied at 88.9 mg N and 33.2 mg K kg-1 soil with P fertilizer as the base fertilizer. Each fertilization treatment had six replicate pots, including three plant pots and three non-planted pots. Basic fertilizer and 2.5 kg of soil were thoroughly mixed in each plastic pot, and the mixed soil was preincubated for 7 days before sowing. All maize seeds (Zea mays L., cv. Zhengdan 958) were sterilized with 10% hydrogen peroxide and then rinsed three times with distilled water. Three seeds per pot were sown directly into the soil. Soil moisture was maintained at 60% field capacity, and all pots were placed in a natural greenhouse.
Sampling and plant nutrient analysis
Plants were harvested after 42 days of sowing. All plant roots were separated from the soil in each pot. The soil that adhered to the roots was defined as rhizosphere soil and collected by shaking manually to remove loosely attached soil. The rhizosphere soil in the same pot was pooled into a single composite sample. The soil samples within the non-plant pots were collected as bulk soil. Each soil sample was mixed by passing it through a 2 mm sieve and divided into three subsamples. One subsample was stored at -20 °C for DNA extraction, and another subsample was stored at 4 °C to analyze soil phosphatase activities, ammonium nitrogen (NH4+-N) and nitrate nitrogen (NO3–-N) within one week; the remaining soil samples were air-dried to measure other soil properties.
Shoots and roots were washed three times using deionized water. Subsequently, all samples were dried at 85 °C in an oven to a constant weight. The biomass of the shoots and roots was measured using an analytical balance, and the shoots were ground (< 1.0 mm) to determine the concentration of each nutrient (N, P and K). The ground shoot samples were digested with H2SO4-H2O2. N and P concentrations were determined by the methods of Kjeldahl (Lu 1999) and Bray (Bray and Kurtz 1945), respectively. K concentration was measured by flame photometry (FP640, Shanghai, China).
Determination of soil properties and phosphatase activities
Fresh soil was extracted by shaking it with 2.0 M KCl to determine NH4+-N and NO3–-N by continuous flow analysis (San++, Skalar, Holland). After the water-and-soil mixture (1: 2.5 w/v) was shaken, the soil pH was determined by pH meter (Mettler Toledo FE20, Shanghai, China). Soil organic C (SOC) was measured by K2Cr2O7 oxidation (Sims and Haby 1971). Soil total N (TN) was measured using a Vario MAX CNS elemental analyzer (Elementar, Hanau, Germany). After the soil was digested with H2SO4-HClO4, total P (TP) and total K (TK) concentrations were determined using the Bray method (Bray and Kurtz 1945) and by flame photometry (FP640, Shanghai, China), respectively. Available P (AP) was extracted with 0.03 M ammonium fluoride–hydrochloric acid and then measured according to the molybdenum blue method (Lu 1999). Available K (AK) was extracted with 1.0 M ammonium acetate at pH 7.0 and then determined by flame photometry (FP640, Shanghai, China). Soil ACP and ALP activities were determined using the Tabatabai and Bremner method (Tabatabai and Bremner 1994).
DNA extraction and quantification of gene abundance
Soil total DNA was extracted from 0.5 g of fresh soil by using the Fast DNA SPIN Kit (MP Biomedicals, CA, USA). DNA was subsequently purified using the PowerClean DNA Cleanup Kit (Mobio, Carlsbad, CA, USA). The quality and quantity of the purified DNA were determined by NanoDrop ND-1000 spectrophotometer (NanoDrop Technologies, Wilmington, NC, USA) and then stored at -20 °C for further use.
The abundances of the phoC and phoD genes were measured by quantitative polymerase chain reaction (qPCR) on a LightCycler 480 real-time PCR system (Roche Diagnostics, Mannheim, Germany) with SYBR®Premix Ex Taq™ (TaKaRa Bio, Dalian, China) by using the universal primers phoc-A-F1 (5′- CGGCTCCTATCCGTCCGG -3′)/phoc-A-R1 (5′- CAACATCGCTTTGCCAGTG -3′) (Fraser et al. 2017) and ALPS-F730 (5′- CAGTGGGACGACCACGAGGT -3′)/ALPS-R1101 (5′- GAGGCCGATCGGCATGTCG -3′) (Tan et al. 2013). The qPCR process, reaction composition and standard curves were described in Zheng et al. (2019). Three replicates for each DNA sample were determined. The PCR amplification efficiencies of phoC and phoD genes were 96.88% and 96.66%, respectively; and both R2 values of the standard curve exceeded 0.98.
High-throughput sequencing and data processing
As already described, each DNA sample was amplified with phoC and phoD gene primers, respectively. Sample-specific 7 bp barcodes were incorporated into the forward primer to differentiate the sample. Three replicates were amplified for each DNA sample, and their PCR products were pooled as one single sample. The purified amplicons were then pooled in equimolar concentrations, and paired-end sequencing was conducted using Illumina HiSeq PE150 and Illumina Miseq PE250 for the phoC and phoD genes, respectively (Shanghai Personal Biotechnology Co., Ltd.). The sequencing data of the phoC and phoD genes were deposited in the NCBI Sequence Read Archive (SRA) database (accession number: SRP332162 for phoC gene and SRP332164 for phoD gene).
Pairs of reads from the raw data were first merged with FLASH (version 1.2.7) (Magoc and Salzberg 2011), and sequencing reads were processed with the Quantitative Insights Into Microbial Ecology (QIIME, version 1.8.0) pipeline (Caporaso et al. 2010). Low-quality sequences with lengths of < 130 bp for phoC and < 150 bp for phoD and sequences containing ambiguous nucleotides and not matching the primer were eliminated. USEARCH (version 5.2.236) were used to examine and remove chimeric sequences. After chimera detection, the remaining high-quality sequences were clustered into operational taxonomic units (OTUs) at 97% sequence identity by UCLUST (Edgar 2010). The sequence, which was the most abundant sequence in each OTU, was identified using the closest relative from a BLAST algorithm-based search within GenBank (http://blast.ncbi.nlm.nih.gov/Blast.cgi). Each sample was rarefied to the identical number of phoC and phoD reads (17,412) to ensure an even sampling depth for community analysis.
Statistical analysis
The α-diversity indices including richness and Shannon index were calculated using QIIME. Significant differences in the plant biomass and nutrient (N, P and K) concentrations of the plant shoots among treatments were tested using one-way analysis of variance (ANOVA) with Duncan's tests in SPSS 20.0 (SPSS Inc., Chicago, IL, USA). Two-way ANOVA was conducted to analyze the effects of P fertilization and sampling sites (bulk and rhizosphere) on soil properties, phosphatase activities, gene copy numbers, the relative abundance of genera, niche breadth and α-diversity indices. If the differences were statistically significant, one-way ANOVA or t-tests were performed to analyze homogeneity of variance.
To visualize the community similarities of phoC- and phoD-harboring bacteria among the samples, a principal coordinate analysis (PCoA) based on the Bray–Curtis distance was performed using the “vegan” package in the software R (version 4.0.2). Permutational multivariate analysis of variance (PERMANOVA) was conducted to analyze the effects of P fertilization and sampling sites on phoC- and phoD-harboring bacterial community compositions. Bray–Curtis dissimilarity analysis was applied to reveal the community dissimilarity between bulk and rhizosphere soil samples for each P fertilizer level and between each P fertilizer (P20 or P200) and P0 (no P fertilizer) for the bulk or rhizosphere soil samples. The contribution of the dominant genus to the community variations was quantified using similarity percentage (SIMPER) analysis. The Mantel test was conducted to identify the correlations between the bacterial community structure and soil properties. PERMANOVA, the Bray–Curtis dissimilarity, SIMPER and the Mantel test were conducted using the “vegan” package in R. The niche breadth of the bacterial community in each sample was analyzed using the “spaa” package in R.
To evaluate the effects of species turnover in shaping rhizosphere bacterial communities, OTUs were divided into three parts: OTUs detected in bulk soil samples but not in the rhizosphere (extinction), OTUs detected in the rhizosphere but not in the bulk soil samples (immigration), and OTUs detected in both the bulk and rhizosphere soil samples (share). The contributions of shared, immigrated and extinct OTUs to the variations in richness and community composition were expressed as proportion and relative abundances, respectively. The proportion was the percentage of the shared, immigrated and extinct OTUs account for the total OTU richness that included these three parts. The relative abundance was calculated using the ratio of the shared, immigrated and extinct OTUs sequences to total gene sequences, respectively. The contributions of the shared, immigrated and extinct OTUs to the community dissimilarity were calculated using the method reported by Hillebrand et al. (2018):

where BC is the Bray–Curtis dissimilarity between bulk soil samples (j) and rhizosphere soil samples (k); X is the gene sequences of the taxon i or S, I, E, respectively, where i represents each taxon, and S, I, and E refer to the shared, immigrated and extinct taxon, respectively. Con denotes the contribution of the shared, immigrated and extinct OTUs to bacterial community dissimilarity, respectively.
Using the aforementioned calculation method, we also determined the contributions of the shared, immigrated and extinct OTUs to the variations in richness, community composition and dissimilarity between each P fertilizer (P20 or P200) and P0 in the bulk or rhizosphere soil samples. Extinct OTUs indicate the OTUs detected under the P0 treatment but not in P fertilizer, and immigrated OTUs represent the OTUs detected in P fertilizer but not under the P0 treatment. Shared OTUs denote the OTUs detected in both P0 and P20 or P200.