1 Introduction

Enzymes are biocatalysts that have been exploited industrially since decades. They have the superiority of being highly specific, ecofriendly and economic thus decreasing the problems associated with dependence on chemical catalysts in industry [1].

Amylases are commercially crucial enzymes as they are contributing 25–30% of worldwide market of catalyst [2]. Alpha-amylase (E.C. 3.2.1.1) plays a crucial part in the conversion of starch into low molecular weight sugars. Also, it is applied in removing environmental pollutant, bakery, fermentation, animal feed, detergent, paper, and desizing of textiles industries [3,4,5].

Amylase can be found in a variety of sources, including plants, animals, and microorganisms; however, only microbial amylases are suitable for use in industry. Microbial amylase are either obtained from fungi [6, 7] or bacteria [1, 5, 8, 9]. Agro-industrial waste is a valuable resource for enzyme and valuable products production [5]. Potato peels are one of worthwhile agro-industrial wastes since a typical potato processing facility can lose between 21 and 25% of the potatoes from peeling, trimming, and cutting. Potato peels are a suitable choice for fermentation to yield amylase because they are rich in numerous reusable chemicals. Among its various nutrients are proteins (18%), carbohydrates (55.0%) which contain starch (25.0%) and non-starch polysaccharides like xylans, cellulose, and glucan (30%), fats (1.0%), ash (6.0%), minerals (Ca 0.12%, Mg 0.23%, P 0.57%, K 0.42%, Na 0.06%), and vitamins (0.021 mg of thiamine, 0.038 mg of riboflavin, 1.033 mg of niacin, and 11.4 mg of ascorbic acid) [4, 10].

Medium optimization is a method to enhance enzyme production. One factor at a time is the traditional optimization method which has the disadvantage of being time consuming and ignoring the interactions between variable factors. However, statistical optimization methods overcome these drawbacks as they are able to screen larger number of significant factors, evaluate the interaction between parameters and finally select the optimum conditions to maximize enzyme production [4, 11].

In textile industry, a sizing agent is added to yarn prior to fabric production. This sizing agent protects the yarn against breaking during weaving. Starch is considered a perfect sizing agent as it is cheap, available and easily removed in textile finishing industry. Desizing process involves the removal of starch from fabric which is carried out either chemically or enzymatically. Amylase desizing has the leverage of selectivity, speed, specificity and ecofriendly [12, 13]. Enzymatic biotreatment of cotton fabrics enhances the physico-chemical properties of the surface and introduces functional groups on the fibers’ surface. Thus, it boosts the affinity of fabric dying [14, 15].

This study targeted microbial amylase production through fermentation of agro industrial residues by a local bacterial isolate. Two steps statistical design [Plackett–Burman design (PBD) followed by Central Composite Design (CCD)] was employed to maximize enzyme production. The resulted crude enzyme was tested for its cotton fabric desizing ability and the dying and pigmentation of biotreated fabrics to evaluate enzyme applicability in textile industry.

2 Materials and Methods

2.1 Raw Material

Agro- industrial wastes [corn cobs (CC), onion peel (OP), rice straw (RS), potato shells (PS), Molokhia stem (MS), okra suppression (OS), lemon peels (LP), and pea peels (PP)] were collected from Egyptian local market. They were cleaned and dried for 24 h at 70 °C in an oven. In order to use the dried materials as the substrate in submerged fermentation (SMF), they were powdered, sieved into coarse particles (1 cm), and then stored in airtight containers.

2.2 Strain Isolation and Identification

Bacillus spp. NRC1 was isolated from potato peels purchased from local Egyptian market. Two grams of potato peels were added to 50 ml sterile distilled water in 250 Erlenmeyer flask, shacked for 1 h then 200 µl was spread on nutrient agar plates. The plates were incubated for 24 h at 37 °C. Single colonies were picked and streaked on nutrient agar plates to check culture purity and incubated again (24 h, 37° C). The pure cultures were transformed to nutrient agar slants for further tests. Molecular identification based on the 16S-rRNA sequence of the selected strains was conducted. The nucleotide sequence of the isolated bacterium was submitted to the GenBank and assigned accession number MN396623 and the phylogenetic tree of Bacillus spp. NRC1 was shown in Supplementary Fig. 1.

2.3 Production of α-Amylase Enzyme Under Submerged Fermentation (SMF)

Two grams of each abovementioned eight dried substrates were added to 50 ml distilled water in 250 ml Erlenmeyer flasks, autoclaved (121 °C, 20 min) and cooled. Each flask was inoculated with 2 ml of cell suspension of 24 h old slant (OD600∼0.4). The flasks were incubated in shacking incubator (150 rpm, 37 °C) for 2 days.

2.4 α-Amylase Assay

According to Sajjad and Choudhry [16], this was accomplished by mixing 0.5 ml of 1% starch solution produced in acetate buffer (0.05 M, pH 5.0) with 0.5 ml of clear culture filtrate (crude enzyme). The combination was incubated for 20 min at 40 °C, and the Somogyi method [17] was used to calculate the amount of released reducing sugars. One unit of α-amylase (IU) was defined as the amount of enzyme which librated 1 µmol of reducing sugar per min under the assay conditions.

2.5 Optimization of Bacillus spp. NRC1 α-Amylase Production by Statistical Factorial Design

2.5.1 Plackett–Burman Design (PBD)

In this design, we looked into the qualitative impact of eleven parameters on the generation of α-amylase, such as A: potato shells weight (g/flask), B: incubation time (h), C: glucose (g/l), D: lactose (g/l), E: baker’s yeast (g/l), F: peptone (g/l), G: (NH4)2SO4 (g/l), H: CuSO4 (g/l), J: FeSO4, K: CaCl2 (g/l), L: KCl (g/l).

Low level (− 1) and high level (+ 1) studies were conducted on each parameter. Twelve experiments in total were conducted using the n + 1 rule, where n: is the total number of elements being studied. Each column in the experimental design corresponded to an independent variable, and each row to an experiment (Table 1). The multiple coefficient of determination, or R2, provides the percentage of variance explained by the model developed and the F-value provides the statistical significance (Table 2). Experimental responses were analyzed by first order model by the following equation: α-amylase activity (U/ml) = β° + ΣβiXi.

Table 1 Plackett–Burman design for Bacillus spp. NRC1 α-amylase production
Table 2 Analysis of variance (ANOVA) for Plackett–Burman design for α-amylase production by Bacillus spp. NRC1

β° is the model intercept and βi is the linear coefficient, and Xi is the level of the independent variable.

2.5.2 Central Composite Design (CCD)

In this design, we examined the quantitative impact of the Plackett–Burman design's most effective variables, including (A) the weight of potato shells (g/flask), (B) peptone (g/l), and (C) (NH4)2SO4 (g/l).The five levels − 1.316, − 1, 0, + 1, and + 1.316 employed in CCD to study the variables resulted in a total of 20 trials as indicated in Table 3. The analysis of variance (ANOVA) was used in the statistical analysis of the model (Table 4).

Table 3 Central composite design for Bacillus spp. NRC1 α-amylase production
Table 4 Analysis of variance (ANOVA) for CCD design for α-amylase production by Bacillus spp. NRC1

2.6 Applications of Bacillus spp. NRC1 Culture Filtrate

2.6.1 Enzymatic Desizing and Half Bleached Treatment

In this experiment an aqueous desizing solution was applied to cotton fabric. It was composed of enzyme solution (30 ml l−1), non-ionic wetting agent (1 g l−1) and NaClO2 (5 g l−1) using a material to liquor ratio of 1:30 and the reaction was carried out in buffer solution. The treatment was carried out in an SK3310HP KUDOS ultrasonic water bath cleaner with a frequency of 45 kHz for 30 min at 60 °C, after that, the fabrics were padded, patched and put in oven at 60 °C for 30 min then washed twice with hot water, then with cold water and finally dried. Wettability was estimated as time required for water drop to be absorbed into the fabric. Desizing efficiency was estimated by the TEGEWA scale method and violet scale shade [18].

2.6.2 Coloration of the Biotreated Cotton Samples

2.6.2.1 Dyeing

A reactive red dye was used to dye treated cotton fabric according to Li et al. [18]. The dyeing was conducted with sodium sulfate (60 g l−1) at 40 °C for 30 min, then fixation for 60 min in sodium carbonate (20 g l−1) at 60 °C. The dyed samples were washed and dried at room temperature.

2.6.2.2 Pigment Printing Technique

Cotton fabric was printed using pigment printing technique. The printing paste was prepared according to Hebeish et al. [19]. It was composed of curcumin (3 g %), urea (2.5 g %), synthetic thickener (2.5 g %), binder (2.5 g %) and NaH2PO4 (0.5 g %) in distilled water. According to the guidelines set out in the test AATCC test method [20], the samples were washed. According to the AATCC test methods [21,22,23] the color fastness to rubbing, perspiration, and light was assessed.

3 Results and Discussion

3.1 Production of α-Amylase

Agricultural wastes are rich in carbon, nitrogen and minerals which make them a perfect target for microbial fermentation to produce enzymes [24]. Out of the eight substrates tried, potato peels gave the highest enzyme yield (6.99 U/ml). This result was similar to that reported by Mukherjee et al. [4] who used potato peels to produce α-amylase. Potato peels have the advantages of being rich in nutrients needed for microbial growth and enzyme production beside their availability from potato processing industries [4]. On the other hand, other agricultural wastes were used for enzyme production; olive oil cake [6], wheat bran [25], rice husk [26], moong husk, maize straw, sugarcane bagasse, wheat straw, orange and pomegranate [27].

3.2 Optimization of Bacillus spp. NRC1 α-Amylase Production

3.2.1 Plackett–Burman Design

We optimized and studied the qualitative effect of 11 factors as shown in Table 1 on α-amylase production. The highest α-amylase production was obtained in trail 8 (14.40 U/ml) causing 2.06-fold increase in production. Showing that the maximum production was obtained after 48 h of incubation similar to that reported by Issac and Prince [28] and Saad et al. [11].

The α-amylase activity (U/ml) can by calculated from the following equation:

$$\begin{aligned} \alpha {\text{ - amylase}}\;\left( {{\text{U}}/{\text{ml}}} \right) & = + 7.67 + 1.33\;*\;{\text{PS}}\;{\text{weight}} - 0.84\;*\;{\text{incubation}}\;{\text{time}} - 0.46\;*\;{\text{glucose}} \\ & \quad - 2.10\;*\;{\text{lactose}} + 1.37\;*\;{\text{peptone}} + 2.24\;*\;\left( {{\text{NH}}_{4} } \right)_{2} {\text{SO}}_{4} - 1.22\;*\;{\text{FeSO}}_{4} - 0.37\;*\;{\text{CaCl}}_{2} . \\ \end{aligned}$$

The validation of the design is expressed by α-amylase production. Each medium component's impact on the production of α-amylase was described by the magnitude and direction of the factor coefficient. The coefficient's (−) and (+) symbols denote the tested factor's respective negative and positive effects on the production of α-amylase. The weight of the potato shells and the addition of additional nitrogen sources, such as peptone and (NH4)2SO4, had the highest positive effects on the production of α-amylase, as shown in Fig. 1, according to some authors [28,29,30,31,32,33,34] found that yeast extract was the most effective source of nitrogen. Contrarily, as reported by Monga et al. [29] and Ahmed et al. [3], the addition of additional carbon sources such as glucose and lactose had a negative impact on the production of α-amylase. In contrast, it was found by Irfan et al. [30], Saleem and Ebrahim [31], Issac and Prince [28] and Hasan et al. [33] that the addition of glucose and lactose increased the production of α-amylase. According to Ahmed et al. [3], incubation time, FeSO4, and CaCl2 had a detrimental influence on the production of α-amylase in Bacillus spp. NRC1. The results of the analysis of variance are displayed in Table 2 and showed the extent to which the design worked to produce α-amylase. The design's success was demonstrated by the R2 value of 0.9948, which showed that the model could account for 99.48% of the response's variability. The model is successful since the values of the predicted R2 of 0.9176 and the adjusted R2 of 0.9811 are closer to one another. For the production of α-amylase in this analysis, adequate precision of 28.326 indicated adequate signal. The value of the coefficient of variation (CV), which measures the accuracy with which experiments were carried out, was discovered to be 7.42. Low CV value indicates that the experiments were accurate and reliable [35].

Fig. 1
figure 1

Pareto chart showing the effect of each factor on Bacillus spp. NRC1 α-amylase production

3.2.2 Central Composite Design

The quantitative effect and interaction between the most effective factors [PS weight, peptone, and (NH4)2SO4] on α-amylase production determined from PB design were shown by Contour plots (Fig. 2a–c). Also, here the validation of CCD is expressed by α-amylase production. According to Table 3, trial number 18 had the highest α-amylase production, 21.76 U/ml, which resulted in increases of 1.51 and 3.11 times when compared to the previous step of optimization and the unoptimized medium, respectively. This yield of α-amylase was greater than those that other writers had reported [28, 30, 36,37,38]. The α-amylase activity (U/ml) can by calculated from the following equation:

$$\begin{aligned} \alpha {\text{ - Amylase}}\;{\text{activity}}\;\left( {{\text{U}}/{\text{ml}}} \right) & = + 13.60 + 0.93\;*\;{\text{PS}}\;{\text{weight}} - 1.52\;*\;{\text{peptone}} + 1.57\;*\;{\text{NH}}_{4} \left( {{\text{SO}}_{4} } \right)_{2} \\ & \quad + 1.21\;*\;{\text{PS}}\;{\text{weight}}\;*\;{\text{peptone}} - 1.51\;*\;{\text{PS}}\;{\text{weight}}\;*\;{\text{NH}}_{\;4} \left( {{\text{SO}}_{4} } \right)_{2} - 2.82\;*\;{\text{peptone}}\;*\;\left( {{\text{NH}}_{4} } \right)_{2} {\text{SO}}_{4} . \\ \end{aligned}$$
Fig. 2
figure 2

Contour plots showing interaction between, a substrate weight (potato shells) and peptone, b peptone and (NH4)2SO4, and c substrate weight and (NH4)2SO4

The relationship between the experimental and predicted values for observed and predicted α-amylase activity was displayed in Fig. 3, and the data points located close to the diagonal line, suggesting a satisfactory correlation. By measuring the coefficient R2, which has a value of 0.9904, the goodness of fit of the model was evaluated. The closer the R2 is to 1.0, the more robust the model is and the more accurately it predicts the generation of α-amylase. This outcome surpassed that of Singh et al. [5], which used CCD to produce α-amylase from Bacillus subtilis 1934 on potato and apple peel. The findings revealed that for potato and apple peel, respectively, R2 is 0.97 and 0.95.

Fig. 3
figure 3

Parity plot to show the distribution of observed and predicted values for Bacillus spp. NRC1 α-amylase production

The adjusted R2 value of 0.9860 and the predicted R2 value of 0.9443 were reasonably consistent. Model significance is indicated by the model's F-value of 224.00 (Table 4). The significance of the model terms is indicated by Prob > F values less than 0.0500. Low CV% score of 2.52 suggested experiment accuracy and reliability [35]. The effectiveness of this design for α-amylase production which indicated by mentioned R2, predicated R2 and adjusted R2 was higher than that reported by other authors [38, 39].

In a numerical optimization, the quadratic model predicted the maximum α-amylase activity of 21.76 U/ml by SMF, which can be achieved with optimal values of media components g/l: 1.00 baker’s yeast, 1.00 peptone, 5.00 (NH4)2SO4, 0.01 CuSO4, 0.01 CaCl2, 0.01 KCl and 4 g potato shells/flask, after 48 h of incubation.

3.3 Textile Applications

3.3.1 Enzymatic Desizing and Half Bleached Treatment

In textile industry, desizing step is important since it removes starch from fabrics to prepare it for dying. The use of ultrasonic increases the hydrophobic interactions between amylase and fabric, thus intensifying enzyme action leading to increased desizing efficacy. Moreover, the ultrasonic enhances loosened products removal from the fabric bulk [14, 40]. The results demonstrated in Table 5 revealed that the desizing activity increased remarkably by increasing enzyme concentration from 2 to 3%. The enzyme enhanced the bleaching activity of sodium chlorite which was confirmed by increased whiteness index from 41.83 to 48.66. Also, maximum weight loss (WL) was at 3% enzyme concentration (6.1%). In this context, our results were better than Hao et al. [40] who reported 3.5% weight loss at 60 °C and similar to Chand et al. [41] who used pure culture of Bacillus sp. KR-8104 for desizing resulting in TEGEWA scale 6. Moreover, Aggarwal et al. [42] applied different conditions to desize grey cotton fabric and the results showed TEGEWA scale range of 4–7. On the other hand, Chand et al. [12] reported weight loss of 14% and TEGEWA violet scale 7–8, while, Nair and Bhat [13] succeeded to desize starched white cotton cloth pieces using amylase from marine isolate.

Table 5 Effect of Bacillus spp. NRC1 α-amylase desizing of cotton fabric

3.3.2 Coloration of the Biotreated Cotton Samples

The effect of Bacillus spp. NRC1 α-amylase on the coloration of cotton fabric was evaluated by studying the fastness properties of dyed and printed samples in comparison to commercial enzyme. The data demonstrated in Table 6 revealed that washing fastness (WF) and rubbing fastness (Rub) of biotreated fabric ranged from fairly good to good (3–4). The perspiration fastness (Per) ranged from moderate to good for dyed fabric (2–4) and fairly good to good (3–4) for printed sample. On the other hand, light fastness (LF) ranged from good to very good (5–6). The light fastness of printed sample was better than that treated with the commercial enzyme. In this context, our results were similar to that showed by Vankar et al. [43] who used natural dye of Terminalia arjuna to color cotton fabric. They reported WF and Peracidic of 4 and Perbasic Rubdry Rubwet of 3–4, however, our results of LF were better. Enzyme treatment of cotton fabric enhanced dying; this can be attributed to surface modification leading to enhanced dye adsorption capacity. Moreover, Vankar and Shanker [44] studied the amylase on dying of cotton fabrics, their results for WF and LF were 4–5. Öner and Sahinbaskan [45] recorded WF and Rub of 4–5 for different synthetic dyes.

Table 6 Fastness properties of biotreated dyed and printed cotton samples

4 Conclusion

Enzyme production optimization through factorial designs is preferred as it studies factors interaction, lowering production cost and saving time. The present study revealed that industrially applicable α-amylase can be produced via safe, low-cost, and environment-green technologies via utilizing Bacillus spp. NRC1 as a potent amylase producer hydrolyzing different agricultural wastes, especially potato peels. By applying PBD and CCD designs, the enzyme yield increased to 2.06-fold and 3.11-fold compared to unoptimized medium, respectively. The enzyme was efficient in cotton desizing and coloration of fabric which makes it a potential candidate for applying in textile sector.