Introduction

The constantly increasing amount of organic wastes produced worldwide is a growing concern (Oleszek et al. 2016; Oszust et al. 2017a). On the other hand, the interest in biowaste has risen recently; it is regarded as a source of renewable energy (Bruni et al. 2010; Lim and Wang 2013; Wartell et al. 2012; Oszust et al. 2017b). In general, large amounts of different organic wastes originating from the production of food and agro-industrial products pose a significant risk to the environmental pollution; however, it also represents a great opportunity to combine waste treatment and energy production (Esposito et al. 2012).

To date, there has been significant research demonstrating the benefits of co-digestion of different substrates, as described by, for example, Rajagopal et al. (2013) or Westerholm et al. (2012). The conceptual conditions necessary for effective biogas production are also related to certain subsequent microbial changes that occur during biowaste decomposition. The initial diversity of microbial communities in co-substrate biowastes and their chemical properties play a very important role in biogas yield enhancement. These factors may be regarded as a prospective useful tool for the determination and subsequent manipulation of appropriate species in anaerobic digesters in order to produce a more stable and satisfactory process.

The biogas residue is regarded as a nutrient-rich end product of anaerobic digestion (Coban et al. 2016). More specifically, the utilization of the biogas residue as exogenous organic matter (EOMs) in field applications is considered to act as a soil conditioner and to enhance crop yield. Therefore, it represents a strategy that may counteract the depletion of organic matter in soils. The application of exogenous organic matter to agricultural land to enrich the soil requires careful monitoring as well as enriched soil (Oszust et al. 2015).

The microbial state of the residue before the application may therefore lead to possible perturbations in soil microbial quality after the application thereof in the soil. Consequently, the evaluation of the structure, function, and activity of the microbial community, either as a whole or in terms of specific phylogenetic or functional groups, presents the optimal method to ascertain the most probable events occurring in soil (Arthurson 2009; Curieses et al. 2016).

Community genomic and bolomic analyses used to characterize biowaste co-substrates for biogas production and its residues are adequate approaches to gain further insight into microbial properties. Schlüter et al. (2008) affirm that the metagenome sequence data from the microbial community provides a sound on the basis of a rational approach to improving the biotechnological process. In essence, environmental metabolomics is the application of metabolomics to the characterization of the interactions of living microorganisms with their environment. The evaluation of the functionality of the co-substrate microbiome may be regarded as the first tool required to identify the phenotype of environmental samples. The assessment of the community genomics and bolomics in biowaste or residues may serve as a sustainable, collateral (to physicochemical) strategy for better characterization of feedstock co-substrates (Bundy et al. 2009).

In this paper, it was proposed to gain further insight into the substrate characteristics of substrates and their combinations, especially in order to devise co-substrate mixtures that will be effective in biogas production. The other objective of this work was to elucidate the land utilization of biogas residues, including the ecotoxicological evaluation of the waste. The advantage of this work is that our research links the standard physicochemical properties with the use of genomic and metabolomic techniques. This allowed for investigations of the composition and functionality of microbial communities directly in the environment of the proposed materials and provided an explanation for the possible relationship with physicochemical conditions.

Materials and methods

Biowaste and biogas residues

The following organic components: dairy sewage sludge, fruit waste, corn silage, grass silage, and grain brew, were used in various proportions to prepare three biowaste mixtures:

  • BW1: 25% fruit wastes + 25% dairy sewage sludge + 12% corn silage + 38% grain brew;

  • BW2: 30% fruit wastes + 35% dairy sewage sludge + 8% corn silage + 27% grain brew;

  • BW3: 25% fruit wastes + 25% dairy sewage sludge + 15% grass silage + 35% grain brew.

The three proposed biowaste mixtures (BW1–BW3) were subjected to the batch anaerobic digestion process, from which biogas residues (BR1–BR3) corresponding to BW1–BW3 were obtained. The anaerobic digestion was conducted under mesophilic conditions at 37 °C in glass chambers with a working volume of 0.5 dm3, with stirring. The operating anaerobic digestion temperature was maintained using a thermostat connected to the fermenter water jacket. The biomass amount introduced into the reactor was properly calculated in order to achieve similar load values of dry organic matter for each of the experimental variants; this amounted to 4.95 g of dry matter for each dm3 in the chamber. The hydration value and organic matter content in each type of biowaste were similar: 11–16% and 88–92%, respectively. The pH of the biowaste was adjusted to 7.0 using Na2CO3 prior to anaerobic digestion. Anaerobic granular sludge taken from an agricultural biogas plant was used as inoculum (20% of the fermenter volume) for anaerobic digestion after concentration by sedimentation.

Biowaste and biogas residues and the particular components of biowaste (dairy sewage sludge, fruit waste, corn silage, grass silage, and grain brew) were subjected to the quantification of total solids (TS), volatile solids (VS), ash content, chemical oxygen demand (COD), total Kjeldahl nitrogen (TKN), and pH using the following standard methods: PN-C-04616-01:1975 (TS, VS, ash), PN-74/C04578.03 (COD), PN-EN 13342:2002 (TKN) and CPI-505 pH meter. Phosphorus and heavy metal contents were evaluated by the inductively coupled plasma with mass spectrometry (ICP-MS) method after microwave digestion (Gałązka and Gembal 2015).

Community-level physiological profiling (CLPP) analysis

Interpretation of the CLPPs was based on metabolic profiles obtained using Biolog® ECO plates designed by Insam (1997) for the bacterial community, Biolog® FF plates for aerobic fungal community, and Biolog® AN plates for the anaerobic microbial community. The recent study of Borowik et al. (2017) or Wolińska et al. (2017) shows that the Biolog® system is an useful tool to explore the shifts in microbial community functional diversity of different environments. One gram portions of biowaste/biogas residues were shaken in 99 ml of sterile peptone water for 20 min at 20 °C and followed by incubation at 4 °C for 30 min. Next, 120 µl of each sample was inoculated into each well of the ECO plates, whereas 100 µl of the suspension was inoculated into the FF and AN plates; this was followed by incubation at 27 °C. The AN plates were incubated in anaerobic jars with a gas mixture (H2: 5%, CO2: 10%, N2: 85%) injected using an Anoxomat® instrument (MART Microbiology B.V., USA). Data were recorded with a plate reader at 590 nm every 24 h until readings that exhibited approximately the same average well colour development (AWCD). The microbial response in each microplate was expressed by the Shannon index (H) and was assessed as described by Oszust et al. (2014).

Genomic DNA extraction

Genomic DNA was extracted from 0.5 g of soil from every sample, using a FastDNA® SPIN Kit for Faeces (MP Biomedicals, Solon, OH, USA), following the protocol of the manufacturer.

Denaturing gradient gel electrophoresis (DGGE) analysis

The PCR was performed in a total volume of 30 μl containing approximately 20 ng of DNA template, 15 μl RedTaq® ReadyMix™ PCR Reaction Mix (Sigma-Aldrich, St. Louis, MO, USA). The volumes of the primers used for PCR amplification were 0.2 μl (10 μM). The primers were as follows: primer R: UNI1401r 5′GCGTGTGTACAAGACCC3′ and primer F: GC-968f5′CGCCCGGGGCGCGCCCCGGGCGGGGCGGG GGCACGGGGGGAACGCGAAGAA3′ (Nübel et al. 1996). Thermal cycling was carried out by an initial denaturation step at 94 °C for 1.5 min, followed by 56 °C for 0.5 min and 72 °C, 45 s. The major cycling program for each primer set was optimized and included (95 °C, 20 s; 56  °C, 30 s; 72 °C, 45 s) × 33; 72 °C, 7 min for biowaste probes and (95 °C, 20 s; 56 °C, 30 s; 72 °C, 45 s) × 27; 72 °C, 7 min for biogas residues..

The 16S rDNA-DGGE was performed using the Dcode System (Universal Mutation Detection System, Bio-Rad). 80 ng of amplicons were loaded in triplicate (top filling method) on 6% polyacrylamide gel containing a denaturant gradient of 46–56% parallel to the electrophoresis direction made of urea and formamide (100% denaturant contains 7 M urea and 40% formamide). The gels were electrophoresed at a constant temperature (60 °C) and electric voltage (70 V) for 16 h, followed by 1-h colouration using SybrGreen I (Sigma-Aldrich, St. Louis, MO, USA), scanned, and analysed with Quantity One software (Bio-Rad, Richmond, California).

Next-generation sequencing (NGS)

The PCR was performed using primers specific for the sequence of the V4 region of the 16S rRNA: 515F and 806R, NEBNext® High-Fidelity PCR Master Mix 2X reaction conditions as recommended by the manufacturer. Libraries were indexed in TruSeq technology, Illumina. The libraries were prepared in an analogous way to the attached Illumina protocol. Sequencing of PE 2 × 250 bp was performed using a v2 Illumina kit. All of the bioinformatic analyses were based on a database of reference sequences Greengenes. The analysis was performed on the available camera MiSeq and QIIME softwares.

Sanitary analysis of the co-substrates and mixtures of organic waste

Sanitary analysis consisted of the detection of the presence of Salmonella spp. with the conventional culture method and the presence of microorganisms belonging to the Enterobacteriaceae family and parasitological analysis. The isolation of Salmonella spp. involved nonselective pre-enrichment of a defined weight of the sample, followed by a selective enrichment step, plating onto selective agars, and biochemical and serological confirmation of suspect colonies. The presence of Enterobacteriaceae was evaluated by the next-generation sequencing analyses. The prevalence analyses of Ascaris sp., Trichuris sp., and Toxocara sp. ova were carried out according to the Wasilkowa method described by Olańczuk-Neyman et al. (2003). A viability assay was performed by incubating the eggs in Petri dishes at 28 °C for 10–14 days.

Statistical analyses

A cluster analysis, including the grouping of treatments and features and H-index calculation, based on Biolog® ECO and FF plates, was performed on the standardized data of the absorbance average values for readings at 144 h and 72 h for AN plates. A dendrogram representing the similarities of the carbon utilization patterns from substrates located on the Biolog ECO, FF, AN plates® between the biowaste samples was set on scaled axis bond distances (Ward’s method, within Euclidean distance), with marked boundaries of Sneath’s criteria (restrictive and less restrictive, 33% and 66%, respectively). The cluster analyses that followed the evaluation of the Biolog plates were performed with Statistica 10.0 software (StatSoft Inc., Tulsa, OK, USA, 2011). In the same mode, a cluster analysis of the DGGE results was performed on Quantity One software (Bio-Rad Laboratories Inc., CA, USA, 2003).

Results and discussion

The total solids (TS) amount was 11–16% in the biowaste and approx. 1% in the biogas residues. 88–92.7% volatile solids were detected in the biowaste, while in the residues they reached 55%. The C/N ratio was 27.1, 26.36, and 28.17 in BW1, BW2, and BW3, respectively, and 7.94, 5.65, and 8.96, respectively, in BR1, BR2, and BR3. The C/N ratio varying from about 15 to 30 indicates an optimal carbon and nitrogen content in the tested biowaste for optimal methane fermentation (Wang et al. 2014). The pH value in BW 1–3 was approx. 4.36, 4.52, and 4.69, respectively. In the corresponding biogas residues, it was 7.98, 8.00, and 7.95. The phosphorus content was the highest in BW2 and reached 9.15 g kg−1 TS, whereas 6.87 and 5.77 g kg−1 TS were noted in BW1 and BW3, respectively. The contents of heavy metals such as Cr, Ni, Cu, Cd, Pb, and Hg in the biowaste, biogas residues, and in the particular components of biowaste were relatively low. However, the Zn content was 78.5 ppm, especially in BR1. The growth of methanogens that play a crucial role is dependent on a few cations (Zn, Na, Ni, Co, Fe, Mg, Ca, and K) and molybdate or tungstate and phosphate anions. Among others, they are required for methanogenesis, for the synthesis of enzymes, prosthetic groups, and coenzymes. The work of Zhang et al. (2008) established the restrictive Zn amount at 1 mg l−1. The relatively high concentrations of Zn and other cations obtained in our work might have had a limiting effect on the functionality of the methanogens. Significant differences in volatile solids, nitrogen, and pH in the particular biowaste components were observed. The difference in COD (1.2 and 2.03 g O2 kg−1 TS in corn silage and dairy sewage sludge, respectively) was evidenced, and they might supervene the influence on biogas yield odds (Table 3, Fig. 7). The tested biowaste differed significantly in nitrogen content. The highest values were determined in dairy sewage sludge (7.9% TS) and in grain brew (7.65% TS) (Table 1).

Table 1 Characteristics of co-substrates and organic waste mixtures

There were differences between the metabolic profiles (CLPPs) of the analysed materials in aerobic fungal (FF), bacterial (ECO) and anaerobic (AN) communities demonstrated by Biolog Plates® as well as the metagenomic approach based on 16S rRNA by next-generation sequencing (NGS) and denaturing gel gradient electrophoresis (DGGE). The results of the Shannon index (H) presented in Table 1 showed the lowest diversity in the bacterial community structure based on DGGE. The functional biodiversity calculated on the FF and AN plates was both relatively high and at the same level (> 4), whereas the ECO plates revealed lower biodiversity (< 3.21) than that shown by the other metabolic approaches. The H-index value based on the AN plates approach revealed a greater degree of diversity for biogas residues compared to that of the biowaste. These results were consistent with the findings of the H-index calculated on the basis of methanogen OTUs (operational taxonomic units) after filtering the NGS data results, which also suggests no considerable presence of methanogens in the biowaste and their differentiated composition in biogas residues. The data of the diversity of methanogens are presented in Table 2. The following genera were revealed in the analysed probes: Methanobacterium, Mathanobrevibacter, Methanocorpusculum, Methanoculleus, Methanoseaeta, Methanosarcina, Methanospharea, Methanospiryllum, Syntrophobacter, and Syntrophomonas. Only Methanospiryllum and Syntrophomonas were found in BW1 and Methanoseaeta in BW2. In BW3, no methanogens were identified. In contrast to the biowaste, biogas residues contained a greater diversity of methanogens. Among all the genera revealed, 34 readings of methanogens, without the presence of Mathanobrevibacter and Syntrophomonas, were noted in BR1. None were detected in BR2, whereas BR3 was characterized by the presence of Mathanobrevibacter and Methanospharea, with 34 and 33 readings, respectively. The differences found in methanogens biodiversity between biowaste and biogas residues result from the stage of anaerobic digestion. The composition of methanogens is in consistent with the results of Gryta et al. (2017). At the beginning of the process, methanogens inoculum is added to the substrates in order to initialize methanogenesis and thus biogas production. Depending on the physicochemical properties of biowaste development, the various groups were quite distinct. Methanosaetaceae were the most abundant organisms in all of the bioresidues tested, which means that primarily acetoclastic conversion to methane was noted (Karakashev et al. 2006). Also, Methanobacteriales, which are hydrogenotrophic methanogens, have been observed. This indicates the occurrence of a second mechanism of methanogenesis. The established hydrogenotrophic methanogenesis encompasses a two-step process. Acetate is first oxidized to H2 and CO2 and subsequently converted to methane. The occurrence of Methanobrevibacter genus members is typical for fruit waste anaerobic digestion (Gryta et al. 2017), as found in the biowaste examined.

Table 2 Methanogens composition via new-generation sequencing

Furthermore, the allocation of the assembled contig sequences to Prokaryote genome sequences is presented in Fig. 1. Six phyla among the Bacteria (Proteobacteria, Firmicutes, Planctomycetes, Actinobacteria, Bacteroidetes, and an unidentified one denoted as “x1”) and 1 Archaea (Euryarchaeota) were identified. Among the Proteobacteria, the families Xanthomonadaceae, Rhodobacteraceae, and Rhizobiaceae were identified. Among the Firmicutes, we identified Enterococcaceae, Streptococcaceae, Lactobacillaceae, Peptostreptococcaceae, and Clostridiaceae; Pirellulaceae families represented Planctomycetes. There were also Propionibacteriaceae, Nocardiaceae, Corynebacteriaceae, and Intrasporangiaceae within Actinobacteria. Bacteroidetes were varied and were represented by the families of Marinilabiaceae and Porphyromonadaceae. There were no Archaea revealed in biowaste samples. However, Archaea constituted more than 20% of the biogas residues. An increasing proportion of Firmicutes and Bacteroidetes were noted in biogas residues, compared to the biowaste. In biogas residues, an over 40% decrease was noted in the share of Proteobacteria. Consistently, we noted an increase in Actinobacteria, Proteobacteria, and Planctomycetes. The share of the particular groups differed depending on the residue type.

Fig. 1
figure 1

Fungal functional diversity following Biolog FF plates®a Dendrogram of carbon utilization patterns, b percentage of total carbon source utilization fungal response. Explanations: biowaste; BW1: 25% fruit waste + 25% dairy sewage sludge + 12% corn silage + 38% grain brew, BW2: 30% fruit waste + 35% dairy sewage sludge + 8% corn silage + 27% grain brew; BW3: 25% fruit waste + 25% dairy sewage sludge + 15% grass silage + 35% grain brew; and corresponding biogas residues, after their anaerobic processing. Grouping according to the stringent Sneath’s criterion (33%) and less restrictive criterion (66%), n = 3 (A–C)

To gain more insight into the similarities or differences between the microbial communities inhabiting the tested biowaste and residues, clustering analyses were performed. When the anaerobic fungal community was taken into consideration (Fig. 2a), the bond distance dendrogram revealed that the metabolome of biowaste and biogas residue clustered separately, even based on the strict Sneath’s criterion (33%). This means that the fungal communities showed different modes of the C-substrate utilization. Taking into account the less restrictive Sneath’s criterion (66%), we noted that BR1 and BR2 grouped together and differed from BR3. Figure 2b presents shifts in the utilization pattern of the C-substrate groups located on the FF plate. We showed that the fungal community in the biowaste more readily utilized carbohydrates than in the residues. It may be noted that the community of BR2 more readily utilized amino acids than of BW2. The opposite results in the level of amino acids utilization were met in BR3 and BW3, and simultaneously C-substrates belonging to other groups in BR3 were more preferably metabolized than in BW3. The bond distance in the utilization of C-substrates located on the ECO plate (Fig. 3a) showed clustering results corresponding to the FF plate, i.e. a group composed of BW1, BW2, and BR1 and a separate group comprising only BR2. However, the results shown in Fig. 3b revealed that bacterial communities from the corresponding materials before and after anaerobic digestion utilized carbohydrates in the same manner. The most intense shifts were found in the increasing level of utilization of amines and amides in BR1 compared to BW1 (from 0.2 to 3.3%) and reduction in utilization of polymers from 24% in BW3 to 19% in the corresponding residue (BR3).

Fig. 2
figure 2

Bacterial functional diversity following Biolog ECO plates®a Dendrogram of carbon utilization patterns, b percentage of total carbon source utilization bacterial response. For explanations, please see Fig. 1

Fig. 3
figure 3

Anaerobes functional diversity following Biolog AN plates®a Dendrogram of carbon utilization patterns, b percentage of total carbon source utilization anaerobic community response. For explanations, please see Fig. 1

The bond distance tree of the anaerobic communities (AN plates) (Fig. 4a) revealed clustering into just two groups (regardless of Sneath’s criteria). All residue metabolic profiles grouped together, whereas BW2 and BW3 formed a separate cluster. Surprisingly, BW1 was closer to the residue groups. We noted an increase in the percentage of amino acid utilization in residues BR2 and BR3 (20% and 13%, respectively). Figure 4b presents shifts in the pattern of C-substrate group utilization located on the AN plate. We revealed a reduced utilization level of carbohydrates in biogas residues, compared to biowaste in favour of the increased share of amino acid utilization.

Fig. 4
figure 4

Clustering groups of 16S rDNA based on denaturing gradient gel electrophoresis. For explanations, please see Fig. 1

In the metagenomic approach, the cluster analysis performed on 16S rDNA-DGGE demonstrated two or three clustering groups depending on Sneath’s criteria. Based on the less restrictive criterion, we revealed that BW1 and BW2 clustered together and differed from BW3 (Fig. 5). The NGS neighbour-joining tree showed similarities to the results of the DGGE cluster analysis in revealing a dichotomy in the clustering groups: one group comprising all tested biowaste and the other tested biogas residues (Fig. 6).

Fig. 5
figure 5

16S next-generation sequencing neighbour-joining tree. For explanations, please see Fig. 1

Fig. 6
figure 6

Allocation of assembled contig sequences to microbial genome sequences based on next-generation sequencing. For explanations, please see Fig. 1

The results obtained from the co-digestion analyses of biowaste are presented in Table 3 and Fig. 7. The highest biogas efficiency reached 629.4 dm3 kg−1 TS for BW1, which meets the optimum efficacy of co-digestion, being comparable to the recent findings of other authors (Neshat et al. 2017; Pavi et al. 2017; Rahman et al. 2017). For this substrate, the highest methane yields were obtained as well (402.81 dm3 kg−1 TS, 64%). In contrast, lower biogas and methane yields were obtained from BW3 and BW2 (545.2 and 316.21 dm3 kg−1 TS, respectively). The daily changes in the biogas yield were the highest on the third day of the digestion process. Afterwards, the biogas productivity of all biowaste decreased steadily until the end of the process. Biogas yield effectiveness of bioresidue mixtures depended on their composition and reached relatively high levels compared to substrates analysed separately. For example, the yield of biogas and methane from fruit waste was reported to reach 480 dm3 kg−1 TS and 250 dm3 kg−1 TS, respectively (Zieliński et al. 2016). To the best of our knowledge, there are no reports on the biogas yield from dairy sewage sludge by itself, separate from other waste; however, our unpublished data indicate that this level does not exceed 400 dm3 kg−1 TS, which is not sufficient for our requirements. Among the various types of feedstock substrates available for the production of biogas, corn silage is currently the most advantageous, with biogas production of up to 700 dm3 kg−1 TS, (Oleszek et al. 2016). This is due to the fact that corn silage is a source of proteins, fats, starch, and cellulose, which makes it the preferred starting material for biodegradation in the anaerobic digestion process. Thus, adding some energy-rich substrates, such as corn silage to the feedstock substrate mixture and regulating its composition, should be one of the best options available to resolve adequate biogas effectiveness limitations.

Table 3 Biogas yield and composition in anaerobic digestion
Fig. 7
figure 7

Biogas yield in anaerobic digestion a BW1; b BW2; c BW3. For explanations, please see Fig. 1

Many studies have revealed that anaerobic digestion may be a valuable tool for the management of different wastes. However, it is more probable that higher biogas production will be obtained if combined (co-digestion) (Kamali et al. 2016; Zhang et al. 2014). This is in agreement with our study. We propose waste materials (dairy sewage sludge, fruit waste, corn silage, grass silage, and grain brew) requiring reasonable development, since most of them are produced recently on a large scale (Sawatdeenarunat et al. 2015). However, the data of the physicochemical properties of waste (Table 1) indicate that most of them are not proper for anaerobic bioconversion separately. This particularly applies to dairy sewage sludge which revealed a very low ratio of C/N, amounting only to 3.84. If the ratio of C/N is too low as in dairy sewage sludge, nitrogen is released in the form of ammonia, up to a concentration that is toxic to the methanogenic Archaea (De Vrieze et al. 2015). Consequently, there was a need to combine dairy sewage sludge with other materials, e.g. corn silage or fruit waste (which demonstrated more preferable properties); this solution was proposed for the multicomponent biowaste arrangement. The results demonstrate that a significant improvement was achieved in C/N ratio in the tested combined biowaste, which was relatively high: 26 in BW1. Nonetheless, as suggested by Oleszek et al. (2016) the optimum C/N is 20–30. In BW3, the ratio of C/N was too high (> 38). It is probable that nitrogen was rapidly consumed by methanogens to meet their protein needs and was not available for the actual methane fermentation process. Therefore, we noted the lowest biogas yield from BW3. Surprisingly, the substitution of one ingredient, i.e. barley 12–15% (grass silage in BW3 to corn silage in BW1), led to a better (12%) biogas yield (Table 3). The increased amount of biodegradable organic substances in BW1 introduced with corn silage caused an increase in the amount of biogas produced in comparison with BW3. Modification of the composition of the substrate, compared to a single waste, improved hydration (Table 1) by weight and the balance of the fermentation of biogenic elements. This result is also consistent with the separate cluster of BR3 based on community metabolomics (Figs. 2a, 3a). This shows the differences in the bioconversion efficiency but also the consistency in the characteristics of the physicochemical and microbial properties. Overall, the impact of the relationship between these properties of the process that takes place in a biogas reactor plays a pivotal role in the biogas yield. This is in agreement with the finding reported by Oleszek et al. (2014). What is more, attention should be paid to the composition of BW1 and BW2. Despite the greater differences in the proportions of ingredients between BW1 and BW2 than between BW1 and BW3, the difference in biogas yields was significant and lower biogas yields were noted in BW3. This was evidently caused by the use of grass silage in BW3 and corn silage in BW1 and BW2, since corn silage is one of the most energy-rich substrates for anaerobic digestion (Jankowski et al. 2016).

Since biowaste processing is controlled by microorganisms, mixed wastes ensure better environmental start-up conditions before anaerobic digestion and probably provide a unique microbial community that together cause differences in the biogas yield. The findings described by Satpathy et al. (2016) also indicate that the initial diversity of biomass co-substrates plays a very important role in the methanogenesis process and eventually the biogas yield. The inherent ecological factors, which were found to trigger a prompt start-up for biogas production, focus on the initial relative abundance and concentration of anaerobic ammonium-oxidizing (anammox) bacteria that are capable of ammonium oxidization (De Vrieze et al. 2015; Tao et al. 2013). A considerable share of anammox bacteria belonging to Planctomycetes was identified in biowaste (Fig. 6). The process of assembling of co-substrates might first of all influence the hydrolysis step, since it was identified as the rate-limiting step of anaerobic digestion (Park et al. 2005). The allocation of the assembled contig sequences to the microbial genome sequences in our study produced molecular evidence for the genus-level diversity of Bacteria and Archaea. Bacteria belonging to Firmicutes, Bacteroides, and Spirochaetes seem to be involved in the hydrolysis of cellulose and proteins, especially in BW1 and BW2 (Fig. 6). These groups may be regarded in the genomics approach as a prospective useful tool for the determination and subsequent manipulation of appropriate species and an additional marker in models for the prediction of potential biogas yields. Achinas and Euverink (2016) or Demirel and Scherer (2008) also suggest that these microorganisms are important marker groups in methanogenesis.

On the other hand, the bolomic study based on the Biolog® plates (Table 1) demonstrated higher biodiversity indices of aerobic Fungi and anaerobic microbial communities than those of aerobic Bacteria and Archaea. These findings may reflect the fact that many different types of aerobic Fungi may be engaged equally in organic matter decomposition, followed by anaerobic transformations in the bioreactor. These are probably hydrolytic aerobic Fungi, which are useful in biological pre-treatment for the next step, i.e. anaerobic digestion, as indicated by Vasco-Correa et al. (2016). However, the relatively high-diversity index of the total anaerobic community may also suggest that anaerobic Fungi inhabiting biowaste are involved in biomass decomposition. The presence and role of anaerobic hydrolytic microbes in the conversion of lignocellulosic biomass for biogas production were noted by Azman et al. (2015). The results of our investigations indicating a separate cluster of anaerobic microbial communities in BW1 (Fig. 3a) may impose the significant role of fungi in the effective biodegradation of wastes, as was previously stated by Oszust et al. (2017a). A characteristic trait of the BW anaerobic communities is the high level of carbohydrate utilization, which was not observed in biogas residues (an increased share of microorganisms utilizing amino acids and carboxylic acids was observed instead) (Fig. 3b). The role of anaerobic Fungi in the first step of the hydrolytic degradation of substrates with higher biogas efficiency than anaerobic Bacteria was highlighted by Procházka et al. (2012).

On the other hand, these properties play a crucial role when introducing biogas residues or other exogenous organic matter into the soil as organic fertilizers, because they may change soil properties in a positive or negative manner (Frąc et al. 2012; Malý 2015). Residues incorporated into the soil may impose an additional load of microorganisms and affect the microbial community of soil (Hupfauf et al. 2016). The microbial genetic composition and metabolic capabilities may affect the course of the microbial process and the efficiency of organic material turnover in soil (Oszust et al. 2015). The role of the great diversity of Fungi should also be taken into consideration (Table 1).

Residue characterization is important to provide ecotoxicological and sanitary protection against the introduction of undesirable microbial factors into the soil that could pose a threat, as specified by Regulation (EC) No. 1069/2009 of The European Parliament (Mitter et al. 2016). The presence of Salmonella and Enterobacteriaceae is regarded to be an adverse agent. Besides, the presence of gastrointestinal parasite eggs: Ascaris spp., Trichuris spp., and Toxocara spp., is similarly disadvantageous in residues designed for field application as exogenous organic matter. In our study, no such factors were revealed (Table 1), which indicate that the proposed residues may be allowed for field application as organic fertilizers. The heavy metals content in biowaste and postfermentation biofertilizers was low. The Zn content was relatively high (78.5 mg kg−1 TS), which could have a positive aspect, taking into consideration the role of micronutrients in plant production. Therefore, the potential of biogas residue as a crop fertilizer and soil conditioner appears likely and promising. However, the application of the residue to cropland requires rigorous monitoring to detect early perturbations in soil quality, which may result in reduced crop yield (Abubaker et al. 2012). The plant holobiont comprises the plant and its associated microbiota, which interact with each other and determine holobiont functioning and plant performance.

The investigations demonstrate that biogas residues contain numerous typical representatives of hydrogenotrophic or acetotrophic methanogens (Table 2), whereas no methanogenic microorganisms are present in biowaste. Therefore, biogas residues may successfully be used as seeding sludge (inoculum) for further effective biogas production and may serve as exogenous organic matter.

Conclusion

The main research objective presented in this work involved the microbiological and physicochemical characterization of biowaste and bioresidues to elucidate the significance of their properties for the beneficial exploitation thereof in biogas production or soil application, respectively. Among the waste-based substrates, fruit waste, dairy sewage sludge, corn silage, grass silage, and grain brew were proposed as combined co-substrate loads for anaerobic bioconversion that result in simultaneously relatively high biogas yields; BW1 composed of 25% fruit wastes, 25% dairy sewage sludge, 12% corn silage, and 38% grain brew was the most satisfactory mixture.

The community genomic and bolomic approaches were selected as tools facilitating the characterization of microbial communities in biogas residues, which constitutes a rapid and reliable source of information on the ecotoxicity and quality of wastes in the context of the agricultural application of biogas residues. Most particularly, the usefulness of metagenomics was emphasized in determining the accurate start-up community composition for biogas production, highlighting the pivotal role of anammox and hydrolytic Bacteria as marker groups. The importance of the great diversity of Fungi was also revealed based on the bolomic approach.