Functional dynamics analysis of endophytic microbial communities during Amorphophallus muelleri seed maturation Authors: Min Yang, Yongteng Zhao, Lifang Li, Ying Qi, Penghua Gao, Jianwei Guo, Jiani Liu, Zebin Chen, Jianrong Zhao, Lei Yu Published: 2024 ABSTRACT AbstractKonjac seeds of Amorphophallus muelleri are produced through a unique form of apomixis in triploid parthenogenesis, and typically require a longer maturation period (approximately 8 months). To date, the relevant functions of endophytic microbial taxa during A. muelleri seed development and maturation remain largely unexplored. In this study, we analyzed the functional adaptability and temporal dynamics of endophytic microbial communities during three stages of A. muelleri seed maturation. Through metagenomic sequencing, we determined that the functions of the endophytic microbiome in A. muelleri seeds were driven by the seed maturation status, and the functions of the microbial communities in the seed coats and seeds differed significantly. The species annotation results show that Proteobacteria, Actinobacteria, Ascomycota, and Basidiomycota were the dominant bacterial and fungal communities in A. muelleri seeds at different maturation stages. The KEGG and COG functional gene annotation results revealed that the seed samples during the three maturation stages had higher KO functional diversity than the seed coat samples, and the COG functional diversity of the green and red seed samples was also significantly higher than that of the seed coat samples. At different maturation stages, microbial functional genes involved in energy production and conversion as well as carbon fixation were enriched in the A. muelleri seed coats, while microbial functional genes involved in signal transduction mechanisms, amino acid transport and metabolism, carbohydrate metabolism, and lipid metabolism were more highly expressed in the seeds. Moreover, in the middle to late stages of seed maturation, the microbial functional genes involved in the biosynthesis of resistant compounds such as phenols, flavonoids, and alkaloids were significantly enriched to enhance the resistance and environmental adaptation of A. muelleri seeds. The results verified that the functions of the endophytic microbial communities change dynamically during A. muelleri seed maturation to adapt to the current needs of the host plant, which has significant implications for the exploration and utilization of functional microbial resources in A. muelleri seeds.Keywords: Konjac, Amorphophallus muelleri, Seed maturation, Endophytic microbial communities, Metagenomics, FunctionSubject terms: Microbiome, Metagenomics Plants coexist with a large and diverse array of prokaryotes and eukaryotes (i.e., the plant microbiome)1. Plant-associated microbial communities in the rhizosphere and phyllosphere have long been extensively studied. These microorganisms form complex symbiotic relationships with their host plants, playing an important role in promoting the productivity and health of plants in natural environments2,3,4,5,6. In recent years, many researchers have emphasized the specific significance of plant-associated microorganisms (termed endophytes) residing within plant tissues, as they directly interact with plant cells7. Endophytes are associated with almost all plant species and can be found in all plant parts, including roots, stems, leaves, fruits, and seeds8. Seeds, as a reproductive organ, are an important source of plant endophytic microbial communities and represent a unique niche microbiome9,10. To date, many bacterial and fungal phyla have been detected in the seeds of plants of Poaceae11, Solanaceae12,13, Fabaceae14, Asteraceae15, and Cucurbitaceae16 families, exerting a direct impact on the growth and health of seeds and seedlings. A better understanding of the functional dynamics of seed-associated microbes is crucial for developing microbiome-based solutions for sustainable crop production systems17. The microbial communities associated with seeds consist of early and late microbial colonizers. Early microbial colonizers are obtained from the mother plant through the vascular system or stigma, and late colonizers are incorporated through contact with microbes present on the seeds and fruit or fruit residues18. Seed-transmitted endophytic microorganisms co-evolve with their host, and some core microbes can accompany the plant throughout its entire life cycle19. Recent studies emphasize that at different developmental stages, plant hosts exert a strong selective effect to recruit and filter specific microbial taxa and functions to meet their needs during plant development20,21,22. In fact, the composition of the seed microbiome may contribute to seed preservation23, the release of seed dormancy24, and an increase or decrease in the germination rate25 and may also help improve the adaptability of developing seedlings. Moreover, seeds are also important vectors for the transmission of plant pathogens and therefore play a significant role in the emergence of diseases18. Many studies have emphasized the important role of seed endophytic microbial communities in breaking dormancy and in seedling growth, development, and defense. However, little attention has been given to the functional dynamics of endophytic microbial communities during seed maturation. Plants of the konjac species (Amorphophallus spp.) are rich in dietary fiber known as konjac glucomannan (KGM), which is currently widely used in food, pharmaceutical health care, and chemical industries. Therefore, konjac is extensively cultivated in China as a cash crop, and China is also the world’s largest producer and grower of konjac26. Amorphophallus muelleri is a unique species of konjac that can reproduce with seeds (triploid apomixis 2n = 39)27,28. The triploid apomictic characteristics of A. muelleri greatly increase the propagation coefficient of the plant. However, unlike traditional corn and wheat seeds, the seeds of A. muelleri have a longer period of growth and development. Typically, it takes around 8 months for A. muelleri seeds to develop from initiation to full maturity29. In previous studies, we found that the endophytic bacterial communities in A. muelleri seeds are driven by seed maturity; that the relative abundance of the core taxa exhibit dynamic changes; and that with increasing maturity, some bacterial communities with plant growth promoting traits and associated with plant resistance, such as Bacillus, Pseudomonas, Bradyrhizobium, and Streptomyces, all increase in abundance, with the highest relative abundance in fully mature seeds and seed coats30. Therefore, further elucidation of the functional adaptability and temporal dynamics of the endophytic microbial community during A. muelleri seed maturation is of great significance for the exploration, development, and utilization of functional microbial resources. In this study, we used Illumina NovaSeq metagenomic sequencing to further analyze the functional diversity and changes in adaptability of the endophytic microbial communities in A. muelleri seeds and seed coat samples during different maturation stages, aiming to further reveal the relationship between seed endophytic microbial communities and host plant phylogeny. Materials and methods Collection of test samples The konjac seeds of Amorphophallus muelleri (variety: Zhuyajin1) used for the test were provided by Kunming University, Yunnan Key Laboratory of Konjac Biology, Yunnan Urban Agricultural Engineering & Technological Research Center. Based on the change in seed coat color during the maturation process, round and plump konjac seeds were selected at three crucial maturation stages for use as experimental materials. At each stage, we selected three independent konjac inflorescences and collected 10 seeds from each inflorescence, with a total of 90 seeds. To prevent contamination by environmental microorganisms, the picked seeds were sterilized on their surface using the following procedure: rinsed with a large quantity of sterile distilled water for 5 min, soaked in 75% ethanol for 30 s, rinsed with sterile distilled water three times (each time for 5 min), soaked in a 3% sodium hypochlorite solution for 3 min, and then rinsed with sterile distilled water three times (each time for 5 min). After surface sterilization, the seeds are separated into their external seed coat and internal seed using an aseptic surgical knife in the ultra-clean workbench, and each treatment’s seed or seed coat samples are separately ground and mixed uniformly with sterilized mortars and pestles. The mixed samples were placed in 5 ml sterile conical tubes, quickly frozen in liquid nitrogen, and then stored immediately in a refrigerator at -80 ± 2 °C for future use. The experiment included six groups: immature stage seeds (green seeds, G_seed), immature stage seed coats (green seed coats, G_coat), intermediately mature stage seeds (yellow seeds, Y_seed), intermediately mature stage seed coats (yellow seed coats, Y_coat), fully mature stage seeds (red seeds, R_seed), and fully mature stage seed coats (red seed coats, R_coat). Each group included three biological replicates, with a total of 18 samples. DNA extraction and metagenomic sequencing Total genomic DNA of 18 samples was extracted with the E.Z.N.A.® Soil DNA Kit (Omega Bio-tek, Norcross, GA, U.S.) according to the manufacturer’s instructions. Concentration and purity of extracted DNA was determined with TBS-380 and NanoDrop2000, respectively. DNA extract quality was checked on 1% agarose gel. Then, DNA extract was fragmented to an average size of about 400 bp using Covaris M220 (Gene Company Limited, China) for paired-end library construction. Paired-end library was constructed using NEXTFLEX Rapid DNA-Seq (Bioo Scientific, Austin, TX, USA). Adapters containing the full complement of sequencing primer hybridization sites were ligated to the blunt-end of fragments. Paired-end sequencing was performed on Illumina Novaseq 6000 (Illumina Inc., San Diego, CA, USA) at Majorbio Bio-Pharm Technology Co., Ltd. (Shanghai, China). Bioinformatics analysis The data were analyzed on the free online platform of Majorbio Cloud Platform (www.majorbio.com). Firstly, the adapter sequences at the 3’ and 5’ ends of the reads were quality-trimmed using fastp to remove reads with a length less than 50 bp, an average base quality below 20, or the presence of N bases. Then, the filtered sequences were assembled using MEGAHIT31, and contigs with a length ≥ 300 bp were selected as the final assembly results. ORFs were predicted for the assembled contigs using Prodigal32.The genes with nucleic acid lengths greater than or equal to 100 bp were selected, and the gene sequences predicted from all samples were clustered using CD-HIT software33. The longest gene in each class was taken as the representative sequence to construct a nonredundant gene set. High-quality reads were aligned to the non-redundant gene catalogs to calculate gene abundance with 95% identity using SOAPaligner34. The amino acid sequences of the non-redundant gene set were compared with those in the NR database using diamond, and the species annotations were obtained from the taxonomic information database corresponding to the NR database. Then, the abundance of each species was calculated using the sum of the abundances of genes corresponding to the species35. The functional profiles including KEGG Orthology (KO), Cluster of orthologous groups of proteins (COG) and Carbohydrate-active enzymes (CAZyome) annotation was conducted using Diamond against the Kyoto Encyclopedia of Genes and Genomes database36,37, eggNOG database38 and CAZy database39. Non-parametric statistical tests (Kruskal–Wallis test) and least significant difference test (LSD) were employed for statistical analysis to assess the significance of differences in species, function, or gene abundance among different treatment groups. Results and analysis Maturation stages and characteristics of konjac seeds The maturation of A. muelleri seeds mainly includes three stages. The first stage, which is the immature stage, occurs 200 days after flowering. At this point, the seed coat is emerald green (Fig. 1A). The second stage, which is the intermediate maturation stage, takes place 250 days after flowering. At this stage, the seed coat gradually turns from emerald green to golden yellow (Fig. 1B). The third stage, the fully mature stage, comes 280 days after flowering. At this time, the seed coat completely changes from golden yellow to bright red (Fig. 1C). After that, the seeds gradually dehydrate and dry out, and then enter a dormant period of approximately four months. Based on our previous research, the endophytic bacterial community in konjac seeds has changed significantly from the immature to the fully mature stage. Herein, we further analyze the functional adaptability of the endophytic microbiome during the seed maturation process by means of metagenomic data. Phenotypic changes in seeds of Amorphophallus muelleri at different maturation stages. The upper figures depict the three stages of seed maturity, while the lower figures illustrate the external seed coat and internal seed separated at each maturity stage during sample collection. (A): Immature stage, the seed coat was emerald green. (B): Intermediate stage, the seed coat was gradually changing from emerald green to golden yellow. (C): Fully mature stage, the seed coat was bright red. Analysis of microbial community composition Metagenomic sequencing was performed on 18 samples. A total of 1,639,814,968 clean reads were obtained, with an average of 13.65 GB of clean bases per sample. After quality control, a total of 755 bacterial and 1018 fungal species were annotated in the metagenomic data. The bacterial communities mainly included species from Proteobacteria, Actinobacteria, Firmicutes, Bacteroidetes, and Acidobacteria, and the fungal communities mainly included species from Ascomycota, Basidiomycota, Oomycota, and Mucoromycota (Fig. 2). Among the bacterial communities, Proteobacteria, Actinobacteria, and Firmicutes were the dominant bacterial phyla in the different groups, with their relative abundance accounting for more than 85.0% of the total in each group (Fig. 2A). During the different maturation stages, the relative abundance of Proteobacteria in the A. muelleri seed samples was higher than that in the seed coat samples, i.e., G_coat (47.10%) < G_seed (47.74%), Y_coat (44.48%) < Y_seed (47.74%), and R_coat (46.65%) < R_seed (48.51%). In contrast, the relative abundance of Actinobacteria in the seed samples was lower than that in the seed coat samples, i.e., G_coat (26.97%) > G_seed (26.06%), Y_coat (31.11%) > Y_seed (25.88%), and R_coat (27.42%) > R_seed (25.60%). The relative abundance of Firmicutes was G_coat (18.76%) < G_seed (19.02%) and Y_coat (17.39%) < Y_seed (19.12%), with no significant difference between R_coat and R_seed. In the fungal communities (Fig. 2B), Ascomycota was the main dominant phylum in the Y_coat and Y_seed samples, with relative abundances of 98.71% and 98.74%, respectively, which were significantly higher than those in the other four groups; in addition, the relative abundance of Ascomycota in the G_seed (33.75%) and R_seed (23.05%) samples was significantly lower than that in G_coat (56.45%) and R_coat (46.75%). The respective relative abundances of Basidiomycota, Oomycota, and Mucoromycota were G_seed (27.37%, 20.25%, 10.95%) > G_coat (19.53%, 12.99%, 6.60%) and R_seed (28.56%, 22.09%, 9.85%) > R_coat (20.08%, 15.55%, 8.17%). Species composition of endophytic bacterial and fungal communities at the phylum level in seed and coat samples of A. muelleri at different maturity stages. Low abundance phyla with less than 1% of the total sequences across all samples are grouped into “Other”. Comparing the seed samples during the different maturation stages, the R_seed group had the highest relative abundance of Proteobacteria compared with the G_seed and Y_seed groups, while the relative abundances of Actinobacteria and Firmicutes were the lowest; for the fungal communities, compared with the G_seed and Y_seed groups, the R_seed group had the lowest relative abundance of Ascomycota and the highest relative abundances of Basidiomycota and Oomycota. The above results showed that maturity had a considerable effect on the composition of the endophytic microbial community in A. muelleri seeds, especially during the different maturation stages, where the dominant endophytic fungal communities in A. muelleri seeds were markedly different. Functional composition and diversity analysis of the microbial communities Next, we further analyzed the functional composition of the microbial communities in A. muelleri seeds and seed coats during the different maturation stages. PCoA based on Bray‒Curtis distance showed that the maturation stage had a significant effect on the functional composition (i.e., KO, COG) of the endophytic microbiome in A. muelleri seeds (R2: KO = 0.474, COG = 0.532; P < 0.05) (Fig. 3A,B). The seed and seed coat samples were clearly separated on the second principal component, with the seed coat samples during the different maturation stages mainly distributed on the upper side of the PC2 axis and the seed samples mainly distributed on the lower side of the PC2 axis, indicating a distinct difference in the functional composition of the microbiome between the seeds and the seed coats. However, there was no significant difference in the CAZy function of the endophytic microbiome between the seeds and seed coats during the different maturation stages (R2: 0.316, P > 0.05) (Fig. 3C). Functional profiles of microbiomes in different maturity stages of seed and seed coat. PCoA ordinations of functional genes based on Bray–Curtis distance matrices of KO (A), COG (B), and CAZy (C) functional genes show the distinct microbial communities’ function in seed and seed coat at different maturity stages. The results of the analysis of the functional diversity of the endophytic microbiome in A. muelleri seeds and seed coats during the different developmental stages are shown in Fig. 4. First, during each maturation stage, the KO functional diversity (based on the Shannon index) of the seed samples was higher than that of the seed coat samples, while the richness (based on the Chao1 index) of the former was lower than that of the latter (Fig. 4A,B). In terms of COG functions, the Shannon indices of G_seed and R_seed were higher than those of G_coat and R_coat, respectively; the Chao1 index of G_seed was lower than that of G_coat, while the Chao1 index of R_seed was higher than that of R_coat. Comparing the different maturation stages, from the green stage to the yellow stage and then to the red stage, both the functional diversity and richness of endophytic microbiome in A. muelleri seeds and seed coats first increased and then decreased, with the highest functional diversity and richness of KO and COG in the intermediately mature stage of seed maturation. No significant difference was found in the Shannon index for CAZy function across the three maturation stages (Fig. 4A). However, after the seeds fully matured, the functional richness of CAZy in R_seed significantly decreased, with the Chao1 index being the lowest among all groups (Fig. 4,B). The boxplot shows the functional diversity (including KO, COG, and CAZy) of the microbiomes of seed and seed coat across three maturity stages. (A): Differences in the Shannon diversity index among different treatments. (B): Differences in the Chao1 diversity index among different treatments. Differential abundance analysis of KEGG functional genes The KEGG functional annotation results revealed that, at pathway level 1, the microbial communities in A. muelleri seeds during the different developmental stages were mainly enriched in functions such as metabolism, organismal systems, genetic information processing, cellular processes, and environmental information processing, with metabolism being the most important function. At the the pathway level2, metabolism-related functions included global and overview maps, energy metabolism, carbohydrate metabolism, amino acid metabolism, lipid metabolism, metabolism of cofactors and vitamins, nucleotide metabolism, and biosynthesis of other secondary metabolites (Fig. 5A). Comparison of the different groups revealed that the relative abundances of genes related to carbohydrate metabolism, signal transduction, amino acid metabolism, and lipid metabolism in the seed samples during the three maturation stages were significantly higher than those in the seed coat samples. Moreover, with increasing seed maturity, the relative abundances of genes related to signal transduction and lipid metabolism gradually increased. Additionally, the relative abundances of genes related to carbohydrate metabolism and amino acid metabolism were significantly higher in the intermediately mature and fully mature stages than in the immature stage (Fig. 5B). KEGG functional gene annotation and differential abundance analysis. (A): The bar graph shows the functional classification of KEGG Pathway Level 1 and Level 2. The vertical axis represents the functional names of KEGG Pathway Level 2, and the horizontal axis represents their corresponding abundance values. The bar chart is colored according to the KEGG Pathway Level 1 to which the KEGG Pathway Level 2 belongs. (B): Differential abundance analysis of KEGG Pathway Level 2 functional genes among different treatment groups. The vertical axis represents the names of KEGG functional pathways, the horizontal axis represents the percentage numerical values of KEGG functional abundance, and different colors represent different treatment groups. Significance levels are indicated as: p < = 0.05 (*), 0.001 < p < = 0.01 (**). Carbohydrate metabolism includes processes such as glycolysis, gluconeogenesis, and glycogen synthesis and degradation, which are closely related to carbohydrate storage in seeds. A heatmap of the expression levels of genes related to carbohydrate metabolism in this study is shown in Fig. 6. Among the top 30 functional genes in terms of relative abundance (Fig. 6A), ribulose-bisphosphate carboxylase large chain (rbcL) and mannose-1-phosphate guanylyltransferase (GMPP) exhibited high expression levels across the different groups. During the different maturation stages, the expression level of the rbcL gene was higher in the seed coat samples than in the seed samples, while the opposite pattern was observed for the GMPP gene. With increasing seed maturity, the expression level of the rbcL gene in the seed samples gradually decreased, being the lowest in the R_seed sample. In addition, in the seed samples at the intermediately mature stage, the expression levels of enzyme genes such as phospholipase C (plc), beta-fructofuranosidase (sacA), acyl-CoA oxidase (ACOX1), alpha-galactosidase (galA), alpha-amylase (amyA), chitin synthase (CHS1), alcohol dehydrogenase, propanol-preferring (adhP), catalase (katE), alpha-glucosidase (malZ), aldehyde dehydrogenase (NAD +) (ALDH), and beta-glucosidase (bglX) were significantly higher than those in the immature and fully mature stages. Heatmap exhibiting the relative abundance of functional genes (based on KO) involved in carbohydrate metabolism (A), biosynthesis of other secondary metabolites (B), and lipid metabolism (C) which varied among three maturity stages of seed and seed coat. Here: each row of the heatmap corresponds to a specific gene, while each column represents a different treatment group. The colors in the heatmap, with red indicating higher expression levels of the gene in that sample and blue indicating lower expression levels, indicate the variation in gene expression. Lipid metabolism involves the synthesis, esterification, and degradation of fatty acids and the accumulation of triglycerides. These lipids are important energy storage substances in seeds. A functional heatmap of the top 30 genes, in terms of relative abundance, involved in lipid metabolism is shown in Fig. 6B. The expression levels of enzyme genes such as 3-ketoacyl-CoA synthase (KCS), sphinganine C4-monooxygenase (SUR2), glycerol-3-phosphate acyltransferase (GPAT), lipoxygenase (LOX2S), acylglycerol lipase (MGLL), and diacylglycerol kinase (ATP) (dgkA, DGK) were the highest in the fully mature seed samples. However, the expression levels of genes such 3-oxoacyl-[acyl-carrier-protein] synthase II (fabF), ALDH, phospholipase D1/2 (PLD1_2), galA, adhP, omega-6 fatty acid desaturase/acyl-lipid omega-6 desaturase (Delta-12 desaturase) (FAD2), plc, alcohol dehydrogenase (NADP+) (AKR1A1, adh), acetyl-CoA acyltransferase 1 (ACAA1), and beta-galactosidase (lacZ) were still the highest in the seed samples at the intermediately mature stage. During seed development, endophytic microorganisms may produce a variety of secondary metabolites that play multiple roles in seed development, maturation, and germination. This study further analyzed the expression levels of genes involved in the biosynthesis of secondary metabolites in seed and seed coat samples during the different maturation stages. The top 30 functional genes in terms of relative abundance were mainly involved in metabolic processes such as phenylpropane, flavonoid, flavone and flavonol, and alkaloid biosynthesis (Fig. 6C). Similar to those of genes related to carbohydrate metabolism, the expression levels of enzyme genes such as tyrosinase (TYR), phosphoglucomutase (pgm), phenylalanine ammonia-lyase (PAL), tyrosine aminotransferase (TAT), catechol O-methyltransferase (COMT), xanthine dehydrogenase/oxidase (XDH), aspartate aminotransferase, cytoplasmic (GOT1), monoamine oxidase (MAO), branched-chain amino acid aminotransferase (E2.6.1.42), 3-oxoacyl-[acyl-carrier protein] reductase (fabG), 4-coumarate-CoA ligase (4CL), and primary amine oxidase (AOC3) during the intermediately mature stage of seed samples were significantly higher than those during the immature and fully mature stages. The expression levels of scopoletin glucosyltransferase (TOGT1) and aspartate kinase (LysC) gradually increased with seed maturity, i.e., G_seed < Y_seed < R_seed. In addition, the expression levels of enzyme genes such as peroxidase (E1.11.1.7), shikimate O-hydroxycinnamoyltransferase (HCT), tropinone reductase I (TR1), and caffeoylshikimate esterase (CSE) were the highest in the fully mature seed samples. Differential abundance analysis of COG functional genes The COG functional annotation results showed that the functions of the endophytic microbial communities in the A. muelleri seeds in this study involved four main aspects, namely, cellular processes and signaling, information storage and processing, metabolism, and poor characterization. At the functional level, the relative abundances of genes in the energy production and conversion (COG_C) and translation, ribosomal structure and biogenesis (COG_J) module were lower in the seed samples than in the seed coat samples across all three stages (Table 1). From the immature stage to the fully mature stage, the relative abundances of all genes associated with these two modules in both seeds and seed coats initially decreased but then increased, with the relative abundance at the intermediately mature stage being the lowest, i.e., G_seed (26.65%, 9.71%) > R_seed (20.78%, 8.41%) > Y_seed (19.88%, 7.84%) and R_coat (42.16%, 12.83%) > G_coat (38.91%, 12.36%) > Y_coat (33.70%, 10.57%). In contrast, the relative abundances of genes in the signal transduction mechanism (COG_T), amino acid transport and metabolism (COG_E), coenzyme transport and metabolism (COG_H), cell wall/membrane/envelope biogenesis (COG_M), nucleotide transport and metabolism (COG_F), and cell cycle control, cell division, chromosome partitioning (COG_D) modules were higher in the seed samples than in the seed coat samples across all three stages (Table 1). When comparing the different maturation stages, the relative abundances of genes in the above modules in the seed samples from the immature stage to the fully mature stage first increased and then decreased, with the relative abundance in the intermediately mature stage being the highest, followed by that in the fully mature stage, with that in the immature stage being the lowest. The relative abundances of the genes in the above modules in the seed coat samples were also the highest in the intermediately mature stage. Table 1COG functional protein annotation and differential abundance analysis.COG FunctionTreatment (%)G_coatG_seedY_coatY_seedR_coatR_seedCEnergy production and conversion38.91 ± 1.23 a26.65 ± 2.23 bc33.70 ± 11.38 ab19.88 ± 3.98 c42.16 ± 3.13 a20.78 ± 2.24 cJTranslation, ribosomal structure and biogenesis12.36 ± 0.28 a9.71 ± 0.41 bc10.57 ± 2.95 ab7.84 ± 1.49 c12.83 ± 0.67 a8.41 ± 0.65 bcTSignal transduction mechanisms1.74 ± 0.11 b3.24 ± 0.42 a2.34 ± 0.99 b3.67 ± 0.27 a1.68 ± 0.30 b3.75 ± 0.21 aEAmino acid transport and metabolism1.48 ± 0.15 b2.53 ± 0.25 b3.59 ± 3.05 ab4.49 ± 2.81 a1.34 ± 0.21 b2.98 ± 0.23 bHCoenzyme transport and metabolism0.82 ± 0.06 b1.36 ± 0.14 b2.28 ± 2.21 ab2.70 ± 2.02 a0.72 ± 0.13 b1.63 ± 0.08 bMCell wall/membrane/envelope biogenesis0.59 ± 0.01 b1.07 ± 0.18 ab1.32 ± 0.88 ab1.63 ± 0.50 a0.55 ± 0.07 b1.29 ± 0.06 abFNucleotide transport and metabolism0.47 ± 0.01 ab0.77 ± 0.03 ab0.96 ± 0.72 ab1.17 ± 0.59 a0.41 ± 0.07 b0.85 ± 0.07 abDCell cycle control, cell division, chromosome partitioning0.24 ± 0.01 ab0.44 ± 0.05 ab0.55 ± 0.48 ab0.67 ± 0.23 a0.21 ± 0.03 b0.50 ± 0.03 abUIntracellular trafficking, secretion, and vesicular transport0.09 ± 0.01 bc0.15 ± 0.02 ab0.15 ± 0.07 ab0.20 ± 0.02 a0.08 ± 0.01 c0.21 ± 0.01 aNCell motility0.07 ± 0.01 b0.13 ± 0.02 ab0.13 ± 0.08 ab0.20 ± 0.09 a0.06 ± 0.01 b0.17 ± 0.02 aWExtracellular structures0.03 ± 0.01 bc0.04 ± 0.02 bc0.03 ± 0.01 bc0.08 ± 0.03 a0.02 ± 0.01 c0.05 ± 0.01 abSignificant differences among treatments are shown by different lowercase letters within the rows according to a least significant difference test (LSD; p < 0.05). COG functional protein annotation and differential abundance analysis. Significant differences among treatments are shown by different lowercase letters within the rows according to a least significant difference test (LSD; p < 0.05). Discussion Seeds, as the reproductive organs of plants, play a crucial role in plants’ lifecycle. Seeds are also carriers of a variety of microorganisms. The endophytic microbial communities in seeds not only regulate plant development and pathogen resistance but also facilitate nutrient transport in the soil after seed germination40. Elucidating the functional adaptability of seed endophytic microbiome during the different developmental stages not only helps elucidate the coordinated evolution mechanism between the endophytic microbial communities and the host plant but also facilitates the exploration and utilization of seed endophytic microbial resources. Based on the metagenomic sequencing results, the dynamic changes in the functions of the endophytic microbial communities of A. muelleri seeds during the three stages of maturation were analyzed in this study, providing a systematic understanding of the functional adaptability of endophytic microbiome during A. muelleri seed maturation. Composition of endophytic microbiome in A. muelleri seeds during the different maturation stages In previous studies, based on 16S rRNA amplicon sequencing, we found that there exists a large number of bacterial communities in both A. muelleri seeds and their coats and that the relative abundances of some core microbial communities change dynamically across samples during the different maturation stages27. Studies have shown that the dynamics of plant microbiome composition reflect the current needs of the host plant41, representing the result of subtle changes in microbial selection strategies exerted by the host during plant development42,43. This study further analyzed the dynamics of endophytic microbial communities in A. muelleri seeds during the different maturation stages using metagenomic sequencing. The results showed that Proteobacteria, Actinobacteria, Firmicutes, Ascomycota, and Basidiomycota were the dominant bacterial and fungal communities across the groups. Consistent with previous results, the relative abundances of the dominant bacterial and fungal communities in the A. muelleri seeds showed dynamic changes across the different maturation stages. In particular, the relative abundance of Ascomycota in the fungal community was significantly higher in the yellow seed coat and yellow seed samples (intermediately mature stage) than in the other four groups, whereas the relative abundance of Basidiomycota in the two samples was significantly lower than that in the other four groups. Moreover, the relative abundance of Basidiomycota in the green and red seed samples was significantly higher than that in the green and red seed coat samples. Both Ascomycota and Basidiomycota are important decomposers in the carbon cycle, as they can secrete digestive enzymes to break down organic matter (e.g., cellulose, lignocellulose, and lignin in plant litter) into smaller molecules44,45. Therefore, an increase in the abundance of Ascomycota and Basidiomycota is conducive to the degradation of lignin and cellulose and promotes the carbon cycle. With respect to the bacterial community, in the seed samples during the different maturation stages, the relative abundance of Proteobacteria was higher than that in the seed coat samples, while the relative abundance of Actinobacteria was lower than that in the seed coat samples. Compared with those in the green and yellow seeds, the relative abundance of Proteobacteria in the red seeds was higher, while the relative abundances of Actinobacteria and Firmicutes in the red seeds were lower. Many Proteobacteria are decomposers capable of breaking down organic substances such as proteins, fats, and carbohydrates, thus promoting material cycling in nature46. Furthermore, some Proteobacteria are also involved in the nitrogen cycle, including nitrogen fixation, nitrification, and denitrification. Nitrogen-fixing bacteria can convert atmospheric nitrogen into ammoniacal nitrogen, which can be used by plants47,48. Actinobacteria can decompose cellulose, lignin, and lignocellulose by secreting hydrolytic enzymes such as β-glucosidase and xylanase, thereby utilizing recalcitrant carbon sources49. These results further support that the microbial communities in the A. muelleri seeds and seed coats play an important role in degrading organic matter and promoting carbon and nitrogen cycling, and the dynamic changes in the composition of these dominant bacterial and fungal communities during the different stages may be the result of selective regulation by host plants to adapt to current needs. Functional dynamics of endophytic microbiome in A. muelleri seeds during the different maturation stages To further clarify the functional changes in the endophytic microbiome of A. muelleri seeds during the different maturation stages, functional gene annotation and differential abundance analysis were performed based on the KEGG and COG databases. First, the PCoA results showed that the maturation stage had a significant effect on the functional composition of the endophytic microbiome in A. muelleri seeds. Compared with the seed coat samples, the seed samples during the three maturation stages had higher KO functional diversity, and the COG functional diversity of the green seed and red seed samples was also significantly higher than that of the seed coat samples. In general, the microbial functional genes involved in energy production and conversion as well as translation, ribosomal structure, and biogenesis were enriched in A. muelleri seed coats during the different maturation stages, while those related to signal transduction mechanisms, amino acid transport and metabolism, coenzyme transport and metabolism, cell wall/membrane/envelope biogenesis, nucleotide transport and metabolism, and cell cycle control, cell division, chromosome partitioning were more abundant in the seeds. These results further suggested the significant differences in microbial community functions between A. muelleri seeds and seed coats. Seed maturation is a complex biological process involving a variety of metabolic pathways and biochemical reactions, which play important roles in the accumulation of seed nutrients, the establishment of antioxidant systems, and the activation of defense mechanisms50. Carbohydrate metabolism and lipid metabolism are important metabolic pathways for carbohydrate and energy storage in seeds51. In this study, we found that many microbial functional genes involved in carbohydrate metabolism and lipid metabolism were highly expressed in the intermediate stage of seed maturation. Genes such as plc, sacA, galA, amyA, malZ, ALDH, bglX, PLD1_2, adhP and lacZ showed higher expression levels in yellow seeds and yellow seed coats, indicating that this stage is critical for carbohydrate and energy storage in A. muelleri seeds. Additionally, the processes in which these genes are involved, such as sugar and fatty acid metabolism, can provide more energy and carbon sources for microbes, thus promoting the ecological functions of microbial communities during seed maturation. Carbon is the fundamental material basis for plant growth and development. This study also revealed that carbon fixation-related genes, such as rbcL, were expressed at higher levels in the seed coat samples than in the seed samples during the three maturation stages. The rbcL genes participate in photosynthesis to fix atmospheric CO2 into organic matter, which is a key step in the carbon cycle. Compared with seeds, the seed coats act as a regulator between the seeds and the environment52,53. Therefore, the significant enrichment of the rbcL genes in the seed coats is closely related to photosynthesis and carbon fixation. In addition, in individual seed samples, we found that as seed maturity increased, the expression level of the rbcL genes gradually decreased from the green seeds to the red seeds, suggesting that photosynthesis and carbon fixation decreased after the seeds fully matured. These findings further indicate that the seed maturation process drives the functional adaptability of microbial communities. In addition to nutrient accumulation, some secondary metabolites such as phenols, flavonoids, and alkaloids may accumulate during seed development. These substances have antimicrobial and insecticidal properties and can protect seeds from pathogen and pest infection54,55. Most phytoalexins, such as flavonoids, terpenes, alkaloids, and phenolic acids, can be synthesized through the phenylpropane metabolic pathway56. Flavonoid biosynthesis is an important downstream branch of phenylpropane metabolism, and flavonoids are the most described secondary metabolites in the plant defense system57. In this study, we found that the expression levels of genes related to alkaloid synthesis, such as AOC3, TYR, GOT1, and MAO, were highest in yellow seeds and yellow seed coats (intermediately mature stage), especially in the yellow seed coat samples. In contrast, the expression levels of enzyme genes involved in phenylpropane biosynthesis, such as peroxidase (E1.11.1.7), CSE, TOGT1, and HCT involved in flavonoid biosynthesis, were highest in fully mature seed samples (R_seed). These results suggested that during the middle to late stages of A. muelleri seed maturation, microbial functional genes involved in the biosynthesis of resistant compounds such as phenols, flavonoids, and alkaloids are significantly enriched, contributing to the enhancement of the resistance and environmental adaptation of A. muelleri seeds. Overall, our results indicated that the composition and functions of the endophytic microbial communities changed dynamically during A. muelleri seed maturation to adapt to the current needs of the host plant. Conclusion This study investigated the temporal dynamics of the functions of the endophytic microbial communities during the three stages of A. muelleri seed maturation, providing a systematic understanding of the functional adaptability of endophytic microbiome during A. muelleri seed maturation. The results showed that the functions of the endophytic microbiome in A. muelleri seeds were driven by their maturation status and that the functions of the microbial communities in the seed coats and seeds were significantly different. The microbial functional genes involved in energy production and conversion as well as carbon fixation were enriched in the A. muelleri seed coats during the different maturation stages, while microbial functional genes involved in signal transduction mechanisms, amino acid transport and metabolism, carbohydrate metabolism, and lipid metabolism were more highly expressed in the seeds. Moreover, in the middle to late stages of seed maturation, the microbial functional genes involved in the biosynthesis of resistant compounds such as phenols, flavonoids, and alkaloids were significantly enriched to enhance the resistance and environmental adaptation of A. muelleri seeds. These results demonstrated that during seed maturation, the host exerts a strong selective regulatory effect on the potential functions of plant endophytic microbiome. However, relying solely on metagenomic sequencing to elucidate the functions of endophytic microbial communities has certain limitations. In the future, we will combine traditional isolation and culture of microorganisms with field experiments to further explore the functions of relevant microbial communities. Acknowledgements Not applicable. Author contributions LY and MY conceived and designed the experiments; MY analyzed the metagenomic data, wrote and edited the article; YTZ, LFL and YQ performed the experiments and collected the samples; JWG and PHG analyzed and performed visualization of the data; ZBC and JNL contributed to drawing; JRZ and LY contributed to the revision of the manuscript. All authors contributed to the article and approved the submitted version. Funding This study was funded by Yunnan Province Yu Lei Expert Grassroots Research Workstation, Talent Introduction Program of Kunming University (No. YJL24014), Yunnan Province Youth Talent Support Program (Grant No. YNWR-QNBJ-2018-324), Yunnan Provincial Science and Technology Department (Grant Nos. 202449CE340009, 202201AT070113, 202101AO070075, 202401AU070020, 202201AU070043, 202101BA070001-174, 202301AU070136), Yunnan Education Department Research Project (Grant Nos. 2022J0644, 2023J0827). Data availability Sequence data that support the findings of this study have been deposited in the NCBI Sequence Read Archive (SRA) database under the accession number PRJNA1132492 and PRJNA1132756. Declarations Competing interests The authors declare no competing interests. Consent for publication Not applicable. Footnotes Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Reference:s Associated Data Data Availability Statement Sequence data that support the findings of this study have been deposited in the NCBI Sequence Read Archive (SRA) database under the accession number PRJNA1132492 and PRJNA1132756.