Introduction

Considering that agricultural waste is one of the primary sources of recyclable materials, management of this waste is a major challenge. The majority of researchers have recently focused their attention on cellulosic components in this agricultural waste [1, 2]. The use of cellulosic materials continues to increase due to their distinctive structure, non-toxic, biodegradable, biocompatibility, and capacity to form more hydrogen bonds, which makes them more reactive [3, 4]. Industry uses for cellulose moiety include environmentally friendly conductive materials that can be utilized as replacement materials in a variety of applications [5, 6]. The most widely used cellulose derivative is carboxymethyl cellulose (CMC) due to the presence of 1, 4-glycosidic linkages, which reduce cellulose's viscosity and make its surface more thickening and emulsifying, it has great chemical interaction ability [7, 8]. When the release of metals occurs within a tied range, complex-based biopolymers are employed in biological systems with a high safety profile. Biopolymers are also listed as the highest-safety polymers for biological systems [9, 10]. Moreover, the presence of metal compounds on the surface of the cellulosic fabric increases intramolecular hydrogen interactions, which can lead to an increase in the aggregation of bacterial cells on the fabric's surface and an increase in the active sites' antimicrobial effectiveness [11, 12], and the docking relationship supports the metals' interaction with the surface of the cellulose [13, 14]. Also, the biological activity of cellulose in pharmaceutical applications and the most important drug in medication used to treat cancer is Bleomycin (I), also Clindamycin (II) which used for antibiotic for treatment of a number of bacterial infections, as displayed in Fig. 1.

Fig. 1
figure 1

Some drugs containing cellulose moiety

In this case, an electron will be excited from the highest occupied molecular orbital (HOMO) to the lowest unoccupied molecular orbital (LUMO) due to optical or electrical processes, creating a hole in the HOMO. The LUMO is the energy required to take electrons into a molecule, meaning a reduction process, while the HOMO indicates the energy required to lose electrons from a molecule, which is an oxidation process. The energy band gap is the name given to the potential difference between these levels (Eg) for researching novel synthetic organic materials that show promise for use in organic light-emitting diodes in real-time (OLED) [15], organic solar cells (OSC) [16], and organic field-effect transistors (OFET) [17]. The HOMO and LUMO energy levels as well as the energy band gap between them must be understood. Electrochemical measurements can quickly reach these energy level positions. In addition, the electrochemical behaviors demonstrated cyclic voltammetry (CV) to determine their electrocatalytic activity as well as their electron transfer to determine their HOMO–LUMO of the ligands and chelate [18]. Aqueous media and the presence of electrically conductive substances, such as tetra butyl ammonium salts, were traditionally used while conducting cyclic voltammetry. This method, however, has significant drawbacks, including the need for an overnight drying process to remove trace water and the need for a solvent distillation under vacuum to remove electroactive organic interference. Additionally, passing nitrogen gas through the process to remove dissolved oxygen from the solvents can also result in air pollution that is toxic or hazardous to human health and/or the environment. Moreover, an internal organic solvent-containing reference electrode made of Ag/AgCl must be prepared. Moreover, some organic compounds, particularly those with lengthy chains of polymers, are scarcely soluble in organic solvents. A newly developed alternative method, which is now being investigated with additional information and preparation for a separate publication, can easily eliminate all these flaws [19, 20]. As shown by the results below, this method involves fabricating carbon paste electrodes that have been changed with the organic compounds under investigation and measuring the oxidation and reduction potentials in aqueous solutions.

Using carboxymethyl cellulose (CMC) and thiosemicarbazide as catalysts, we created novel 5-amino-1,3,4-thiadiazol cellulose (CMSC) in this study, which was then verified using spectral analysis. Through investigation using SEM, FT-IR, and TGA analysis, the chemical characterization of CMSC, which includes NH2 and the OH of cellulose, gave the capacity to interact effectively with metals like Cu(II), Cd(II), and Fe(III) and proved their stabilities. Particularly, cellulosic Cu(II) complex, tightly accumulated on the surface of cellulose and made more hydrogen bonding interactions that were confirmed via docking stimulation, electrochemical analysis, and computational studies using the DFT/ B3PW91/LANDZ2 basis set and confirmed their stabilities; metal complexes were found to have high antimicrobial evaluation [21, 22].

Materials and methods

Instruments

The Shimadzu FT-IR 8101 PC infrared spectrophotometer was used to explore the FT-IR. Images were produced using an accelerating voltage of 10–15 kV. The 1H NMR spectra were determined in DMSO-d6 at 300 MHz on a Varian Mercury VX 300 NMR spectrometer using trimethyl silane as an internal typical, and scanning electron microscopes (SEM) were investigated using the JEOL JXA-840A electron probe microanalyzer firm. Using a heating rate of 10oC/min, a TGA Perkin-Elmer (STA6000) was used to test the thermal stability of films. Under an environment of air, the temperature ranged from ambient temperature to 900 C. On a Diano X-ray diffractometer with a CoK radiation source energized at 45 kV and a Philips X-ray diffractometer (PW 1930 generator, PW 1820 goniometer) with a CuK radiation source (wavelength = 0.15418 nm), the XRD patterns were examined in the reflection mode at a diffraction angle range of 2 from 10° to 70°.

Materials and reagents

Carboxymethyl cellulose (CMC), thiosemicarbazide, (CuCl2⋅2H2O), (CdCl2⋅2H2O), and (FeCl3⋅6H2O) were purchased from Sigma Aldrich, USA. All chemicals were used as received without further treatment. The reagents and microbial media were of analytical grade and used without any previous treatment.

Methods of synthesis

Synthesis of (2R,3R,4S,5R,6R)-6-((5-amino-1,3,4-thiadiazol-2-yl)methyl)-2,5-dimethoxytetrahydro-2H-pyran-3,4-diol(CMSC) (4)

Thiosemicarbazide (0.09 g, 1 mmol) and carboxymethyl cellulose (CMC) (0.2 g, 1 mmol) were dissolved in 40 ml of distilled water with constant stirring, and pH was adjusted to 3 using HCl. The reaction was reflexed for 1 h, and the results were detected using TLC using diluted NH3, the acidic reaction media was neutralized to a pH of 6. After neutralization, the oily portion was separated from the watery layer that had developed. The leftover oily portion was treated with ether to solidify it. The resultant solid was then refined and filtered using the appropriate solvent to allow recrystallization (2R,3R,4R,5R,6R) Six-(((5-amino-1,3,4-thiadiazol-2-yl)methyl)tetrahydro-2H-pyran-2,3,4,5-tetraol (CMSC)(4): (grey solid); yield(88%) at m.p = 235°; IR (KBr) vmax/cm−1: 3877 (OH), 3456 (NH2) and its 1H NMR (DMSO-d6, δ ppm): 2.40 (m, 2H, H2C), 3.61 (m, 2H, HC), 4.39 (m, 2H, HC), 5.00 (t, 2H, HC), 5.02 (m, 1H, HO-exchangeable),5.08 (d, 1H, HO-exchangeable), 6.39 (m, 2H, NH2-exchangeable), MS (m/z): 291 ((M-H)+, 100.0%), (Anal.Calcd. for C10H17N3O5S (291.32): Calc: C, 41.23; H, 5.88; N, 14.42; S, 11.01;Found: C, 41.24; H, 5.89; N, 14.46; S, 11.03.

Synthesis of metals complex

Cellulosic metal complexes were created by combining metal chloride (5.0 mmol) and CMSC (0.472, 2 mmol) ethanol solutions in a 2:1 ratio, followed by 6 h of heating. Items have been isolated on ice following water bath evaporation. Before drying in vacuum desiccators over anhydrous calcium chloride, all of the complexes were purified and cleaned using EtOH and diethyl ether.

C17H28CuN6O12S2 blue solid, with 77% yield, m.p =  > 300 °C, IR (KBr) ν max/cm–1: ῡ = 3323(OH), 3209 (NH2), 3044(Cu–N), 2633(C-SH), 564.5(Cu–S), 514.8(Cu–O).

C17H28CdN6O12S2: white solid, with 66% yield, m.p =  > 300oCIR (KBr) νmax/cm–1: ῡ = 3523(OH), 3321(NH2), 3155(Cd–N), 544.5(Cd-S), 529(Cd–O).

C17H28FeN6O12S2: brown solid, with 68% yield, m.p =  > 300 °C, IR (KBr) νmax/cm–1: ῡ = 3555(OH), 3213(NH2), 3123 (Fe–N), 571(Fe-S), 522(Fe–O).

Also, the fingerprint region showed absorption bands for metal oxide at 500, 600, 620 cm−1 for Cd(II), Cu(II) and Fe(III), respectively, and the formation of metal oxide bond in the cellulose metal complex cannot be confirmed only by FTIR spectrum.

Antimicrobial evaluation

Microbial strains

The dilution method was used from 100 to 0 mg/ml as a –Ve control. Cultures of the following microorganisms were used in the tests: (i) Gram-negative bacteria: Escherichia coli (NCTC-10416) and Pseudomonas aeruginosa (NCID-9016); (ii) Gram-positive bacteria: Staphylococcus aureus (NCTC-7447) and Bacillus subtilis (NCID-3610); (iii) unicellular fungi, namely Candida albicans (NCCLS 11) using nutrient broth medium; (vi) filamentous fungi, namely Aspergillus niger (ATCC-22342) [23,24,25].

Antimicrobial study

The antimicrobial studies were carried out via the turbid metric method to judge the antimicrobial activity according to the procedure described [19]. One colony of each microbial strain was suspended in a physiological saline solution (NaCl 0.9% in distilled water at pH 6.5). Mueller Hinton broth medium was inoculated by the above-mentioned bacterial strains and incubated individually at 37 °C for 24 h. After the incubation process, the turbidity was measured with a V-630 UV–Vis spectrophotometer (Jasco, Japan) at a wavelength of 530 nm, and the above concentrations were used to determine the MIC values under the same incubation conditions as observed in our previous work [11].

Molecular docking

The Moe program was used to optimize the molecular docking of CMSC and metal complexes using bond distance [26]. As a result, the geometry optimization, a systematic conformational examination, and energy minimization of the resulting conformations using the Confirmation Examination were carried out, supported by an RMS gradient of 0.01. Escherichia coli MenB's crystal structure in combination with its analogous substrate, OSB-NCoA (PDB ID: 3t88) [27], the crystal structure of the tyrosine phosphatase Cps4B from Streptococcus pneumoniae TIGR4 (PDB ID:2wje) [28], the crystal structure of Aspergillus flavus FAD glucose dehydrogenase (PDB ID:4ynt) [29], and 1.8-angstrom refined structure of the lipase from Geotrichum candidum (PDB ID:1tgh) [30]. The confirmations were determined based on the arrangement of total statistics and conformation, with the pertinent amino acids in the binding pocket for each protein, independently, using ten dispersed docking runs with default parameters.

Analytical investigation

Metrohm model 693 VA processor and 694 VA stand equipped with three electrodes were employed. The electrodes were Ag/AgCl-3 M KCl a reference electrode and a platinum counter electrode. The carbon paste electrode CPE was used as a working electrode for electrochemical measurements and was prepared by mixing 100 µL paraffin oil and 200 mg synthetic carbon powder 1–2 microns in an agate mortar for at least 20 min. The paste was then packed into the tip of a 1 ml insulin plastic syringe, and a copper wire was inserted to obtain the external electric contact. In the same way, several similar carbon electrodes were prepared but contained organic materials to be analyzed electrochemically, corresponding to 10% of the weights of the paste contents. Electrochemical detection was performed by cyclic voltammetry, scanning between − 1.5 and 1.8 V with a rate of 100 mV/s in a 10 mL 0.05 M KCl supporting electrolyte solution. Before each measurement, the working electrode was polished and webbed with wetted tissue and the supporting electrolyte solution was purged with high-purity nitrogen gas for at least 3 min to eliminate interference from dissolved oxygen. The electronic energies of HOMO and LUMO levels were calculated by correlating the onset (starting point) of the first oxidation/reduction potentials to the vacuum energy, according to the equation EHOMO/LUMO = − 4.44 + (Eponset − E1/2ferrocene) eV, where 4.44 eV is the electronic energy of the absolute standard hydrogen electrode potential relative to the vacuum energy [31, 32], The electrode potentials of ferrocene "E1/2ferrocene" and organic materials "Eponset" were measured against the Ag/AgCl-3 M KCl electrode potential. On the other hand, electronic absorption spectra were measured by JASCO V-570 UV/VIS/NIR spectrometer of solutions in N,N Dimethylformamide DMF (spectroscopic grade). The onset of the longest wavelength absorption was used to determine the optical HOMO–LUMO gaps according to the equation Eg = 1242/λonset.[12, 33].

Computational calculations

Calculations of DFT utilized B3PW91/LANDZ2 basis set for metals utilizing the Berny method [34] were performed with the Gaussian 09W program [35, 36]. No symmetry constraints were applied during geometry optimization. Furthermore, the Gauss-View molecular visualization program was used [36]. The wide-ranging assignments of the vibrational modes were accomplished based on the potential energy distribution (PED), calculated using vibrational energy distribution analysis (VEDA) program [37, 38].

Results and discussion

Chemistry and metal complexes

Reactivity of carboxymethyl cellulose (CMC) (1) with thiosemicarbazide, (2) in the presence of an acidic medium undergo intermolecular cyclization to afford the corresponding (2R,3R,4S,5R,6R)-6-((5-amino-1,3,4-thiadiazol-2-yl)methyl)-2,5-dimethoxytetrahydro-2H-pyran-3,4-diol (4)(CMSC) as represented in Scheme 1.

Scheme 1
scheme 1

Reaction of carboxymethyl cellulose with thiosemicarbazide

The compound 4 was confirmed by spectral analysis such as FT-IR that showed characteristic bands at 3677 and 2456 cm−1 for OH and NH2, respectively. Consequently, some observations were noticed including that through delocalization of a unique couple of electrons on nitrogen to and afford the corresponding monomer of 2-(2-((2R,3R,4S,5R,6R)-4,5-dihydroxy-3,6-dimethoxytetrahydro-2H-pyran-2-yl)acetyl) hydrazine-1-carbothioamide intermediate (3) which showed the conjugation and delocalization result and attack of C=S to C=N to afford the monomer of (2R,3R,4S,5R,6R)-6-((5-amino-1,3,4-thiadiazol-2-yl)methyl)-2,5-dimethoxytetrahydro-2H-pyran-3,4-diol (4)(CMSC). The attack of the amino group of thiosemicarbazide of C=O of COOH of CMC and then cleavage of the water molecule to give the corresponding 5-amino-1,3,4-thiadiazol cellulose moiety (CMSC) and the 1HNMR of this compound showed the formation of the amino signal at 6.39 ppm and more aliphatic region from 2.40 to 5.08 ppm due to cellulose ring as displayed in Scheme 1.

The reactivity of 5-amino-1,3,4-thiadiazol cellulose toward metal chlorides Cu(II), Cd(II), and Fe(III) was obtained via ligand/metal ratio (2:1); the ligand and its metal complexes were stable at 27 °C and are mostly soluble in DMF and DMSO [39]. As shown in Scheme 2, we noticed that the amino group in 5-amino-1,3,4-thiadiazol cellulose was chelated with metals through a hydrogen bond. The obtained complexes with high melting points and investigated through TGA and also were investigated through FT-IR which were noticed that the presence of NH2 in CMSC at ῡ = 3300 cm−1 which decreased in metal complexes to 3209, 3321, and 3213 for Cu(II), Cd(II) and Fe(III) [40], respectively.

Scheme 2
scheme 2

Complexation of 5-amino-1,3,4-thiadiazol cellulose with metal chlorides

Characterization of CMC, CMSC, and metal complexes

FT-IR investigation

Figure 2A shows the structural characterization of CMC and CMSC. The typical peaks of stretching vibration -OH groups appear at 3500 cm−1 in the pure CMC spectrum, which is a useful tool for FT-IR analysis in elucidating chemical structure and bond formation, and stretching at 2900 cm−1, C–O–C ether linkage at 1180 cm−1, and CH stretching at 2900 cm−1. Due to the carboxyl group (–C=O), the peak was visible at 1700 cm−1. A new absorption band with a double beak develops in the spectra of CMSC, indicating the presence of an NH2 peak in this area for CMSC with intramolecular OH groups of CMC. In addition, it was found that N–H bending vibration existed at 1500 cm−1. Moreover, the CMSC fingerprint region contains distinct distinctive absorption bands at 1400 cm−1 due to CH aliphatic and 1020 cm−1 at C–N of the amino group, respectively. The presence of NH2 for CMSC was noted at a range of 3300 cm−1, and it was noted that the metal complexes Cd(II), Cu(II), and Fe(III) are shielded in this peak at 3400–3500 cm−1 due to the formation of a coordination bond between the metal and NH2 and be NH group, in addition to the presence of stretching -OH groups of cellulose. Moreover, the presence of strong absorption bands between 1660 and 1600 cm−1 caused by the thiazole ring's C=C bending alkene [41], The C-N absorption band is at 1400 cm−1, the C–O–C stretch is at 1250 cm−1, and the C–OH stretch is at 1200 cm−1, where all metals and CMSC are complex. Additionally, the fingerprint region displayed metal oxide absorption bands at 529, 514.8, and 522 cm−1 for Cd(II), Cu(II), and Fe(III), respectively, as well as the Cu–S(564.4), Cd-S(544.5), and Fe-S(571), as shown in Fig. 2B. Additionally, there are bending vibrations of the cellulose backbone in region 900–400 cm−1.

Fig. 2
figure 2

A FT-IR of CMC and CMSC, B FT-IR spectrum of CMSC metal complexes

XRD of cellulosic complexes

The breakdown of the CMC chain caused by the creation of the metal complex is seen in Fig. 3 and is used to characterize the crystallinity of the CMC and metals complex. CMC displayed two diffraction peaks at 2θ of 10 and 20° due to amorphous and crystalline regions, respectively. These peaks disappeared due to metals chelation and new peaks appeared at 2θ = 35, 45 for Cd, 2θ = 35 for Fe, and 2θ = 40, 45 for Cu which means that metals complexes and the chelation have destroyed the CMC morphology structure (microcrystalline and amorphous) [13, 42]. The Cd–O showed at 2θ = 45, while the Cu–O and Fe–O showed at 2θ = 40 shown in Fig. 3A–C.

Fig. 3
figure 3

XRD of CMC, CMSC metal complexes

Thermal analysis (TGA)

Figure 4 displays the thermogravimetric analysis of CMC and metals complex composite. The thermal stability behavior of CMC has occurred via three steps; the first was up to 100 °C due to humidity removal with weight loss of about 5%. In the second step, successive degradation occurred at temperatures 200–300 °C with weight loss of about 80%. Finally, the most weight degradation occurred above 300 °C with a residue of about 10%. The CMSC showed stability behavior at 300 °C, and the metal chelation of CMSC with Cu(II), Fe(III), and Cd(II), respectively, showed thermal stability higher than pure CMSC. The metal complex composite was characterized by thermal instability in the early stage due to humidity removal at 100 °C; this stage was followed by thermal degradation with weight loss of about 32%, 40%, and 45% for Cd(II), Cu(II) and Fe(III) due to formation of metal oxide, respectively, at a temperature above 300 °C.

Fig. 4
figure 4

TGA of CMC, CMSC, and CMSC metal complexes

Scanning electron microscope (SEM)

The surface morphology of CMC, CMSC, and metal complexes was investigated through an SEM with a high magnification of 140kX. All investigated cellulosic derivatives CMC and complexes matrixes were homogenous sponge surfaces. As seen in Fig. 3, it was noticed that the fibers of CMC with tied bundles on each other with no pore sizes this bundle has destroyed as it seems in the CMSC image. A highly rough surface appears on the surface of CMSC as small needles due to the formation of amino cellulose on the CMC surface. Furthermore, the CMSC had multi-coordination sites like NH2 and OH groups through its efficiency through metal complexes; the Cd(II) showed a white foam surface (smooth surface) with pores with different diameters between 5-20 nm with un-separated vacancies’ between pores, while Cu(II) complex showed as white cracks with needles on the surface with needle diameter size ranging between 100 nm, also Fe(III) complex showed that ice rough solid surface on cellulose surface with size ranging between 250 nm. So we concluded that the metal chelate on the surface of cellulose changes the surface of homogenous and bundle structure of CMC and CMSC which confirms the chelation of all surfaces of cellulose and coating it from all sides as shown in Fig. 5.

Fig. 5
figure 5

SEM of CMC, CMSC, and CMSC metal complexes

Biological evaluation

Antimicrobial activities

Antimicrobial activity has a significant role in biological activity. Indeed, the insoluble material antimicrobial activity detection is very stable to determine via the turbidimetric method [43]. Anywhere the turbidimetric technique was performed as the simulated method for the solid material in general applications. The eukaryotic and prokaryotic microbial cells are presented in this study. The ligand material has slightly antimicrobial activity. Additionally, the addition of metals enhances the sample's antimicrobial activity. In general, Cu shows excellent antimicrobial activity followed then Cd and Fe (Fig. 6). Where, MICs values of tested metals complex observed low values for all tested metals samples against gram-positive, gram-negative, and fungi strains. Cd and Fe complexes observed the appropriate values of MICs where the concentration of about 6.25 µg/ml is adequate to inhibit all microbial populations. On the other hand, the Cu complex performed an excellent MICs value where the MIC value in which all microbial populations are inhibited is 1.562 µg/ml. Moreover, the concentration of 0.39 is effective to inhibit gram-negative bacteria. Overall nanomaterials are deformed to cellular enzymes and DNA by coordinating with electron-donating groups and destroying the cell membrane's selective permeability [44, 45]. However, some metals are used as micronutrients by microorganism, e.g., iron and cadmium which are involved in many metabolic pathways and enzyme structure this explain the superiority of copper [46]. The above finding affirmed that the characterization of the prepared samples were solve the understating of the antimicrobial activity for each one. The CMC lacked any antimicrobial activity whereas is a polymer of glucose with a carboxy group which has not any antimicrobial activity. Otherwise, the CMCS contains amine group which play a role in antimicrobial activity [45]. Additionally, the metal complexes observed excellent antimicrobial activity as a result of the synergetic effect of amino group activity and the role of metals to deactivate microbial activity via different mechanisms [47,48,49].

Fig. 6
figure 6

Antimicrobial activity percentage for cellulosic metal complexes (50 µg/ml) against tested organisms (A) and MICs of the tested samples against tested microorganisms (B)

Docking stimulation

CMSC and metals complex docking research for the Moe program [50] to identify and characterize the biological activity of different amino groups of CMSC and metals which were found to be compatible with the experimental results. Docking of these compounds against the crystal structure of Escherichia Coli MenB in complex with substrate analog, OSB-NCoA (PDBID:3t88) [27], showed the most stable compound CMSC with − 10.4680 kcal/mol and with short bond distance 3.02 Ǻ, 1.45 Ǻ, 2.62 Ǻ with different proteins (Arg 230, Gli 248, Arg 64, Tyr 65); this is because the presence of NH2 bounded to cellulose moiety led to the presence of several amino groups which increase its in-silico studies. The metal complexes Cu(II), Fe(III), and Cd(II) showed high binding energy with − 10.5659 kcal/mol, − 11.6577 kcal/mol, and − 11.0558 kcal/mol, respectively, with a bond length range of 1.5–3.25 Ǻ and different types of proteins due to the presence of NH2 group which attached to glycoside nucleus with several proteins (Tyr 170, Asn 202, Arg 173, Asp 142), (Asp 239, Arg 173, Ile 174, Leu 236) and (Asn 202, Leu 143, Leu 236) due to the metal chelation and more adsorption on the surface of cellulose and make more attachments with different proteins.

Similarly, the Crystal structure of the tyrosine phosphatase Cps4B from Streptococcus pneumoniae TIGR4 (PDBID:2wje) [28] attached with CMSC and metal complexes with − 11.7051, − 12.1088, − 11.9250, and − 12.7961 kcal/mol and a least bond distance 1.75 Ǻ, 3.43 Ǻ with (Lys 45, Tyr 82, Thr 84), (Gl y 205, Lys 171, Ser 165, Arg 176), (Lys 171, Tyr 177, Gly 205, Arg 176) and (Lys 171, Gly 205, Tyr 177), respectively.

Designation of the Crystal structure of Aspergillus flavus FAD glucose dehydrogenase (PDBID:4ynt) [29] with the CMSC and metals complex confirmed that the most stable compound is CMSC with proteins (Val 369, Asn 424, Asn 298, Ser 428) at binding energy − 11.1898 kcal/mol and distance 2.97 Ǻ, 1.58 Ǻ, 1.68 Ǻ, 2.98 Ǻ mostly attached to C = O group, also the Cd complex showed − 10.6527 kcal/mol (Asp 251, Lys 241, His 266, Asn 242) with attached bond length 1.32 Ǻ, 1.86 Ǻ where these proteins attached to thiazole ring. Also, the reactivity of Fe complex is − 8.4781 kcal/mol with binding energy for protein (Tyr 199, Ser 33, Asn 51, Gly 94) with bond length (1.42 Ǻ, 2.58 Ǻ) due to the amino of thiazole and OH groups of cellulose as shown in Fig. 7. Furthermore, the investigation of these triazole rings with 1.8 Ǻ refined structure of the lipase from Geotrichum candidum (PDB ID: 1tgh) [30] is displayed in Fig. 7. The Fe complex compound showed least binding energy rather than other compounds with − 11.5321 kcal/mol which attached to Gly 195, His 188, Tyr 230, His 41 with 2.85 Ǻ, 2.81 Ǻ, 2.64 Ǻ to NH2 groups, Cu complex, and Cd complex class showed good stability in protein pocket with binding energy − 10.0548, and − 11.2576 kcal/mol which attached with less bond distance range 1.37–2.83 Ǻ and give the stability of these metals inside the pocket [51] (Table 1).

Fig. 7
figure 7figure 7

Modes of docking cellulosic and metal complexes with different proteins

Table 1 Molecular docking pose of CMSC and metals complex with different proteins

Electrochemical analysis

Cyclic voltammetry

In the potential range of interest (between − 1.5 and 1.8 V), no electroactive activities are observed in the absence of organic materials. In the presence of ferrocene, reversible ferrocene/ferrocenium Fc/ Fc + redox process is exhibited as an internal standard in 0.05 M KCl and its half potential E1/2 is measured to be 0.431 V against Ag/AgCl, 3 M KCl. Electrochemical characterization of four organic moieties at the carbon paste interface exhibited irreversible oxidation and quasi-reversible oxidation/reduction processes as displayed in Fig. 8A. The first one reveals two overlapped irreversible oxidation peaks arising probably from the electrochemical C–C bond cleavage of vicinal diol in cellulosic derivatives, CMC and CMSC, form in sequential aldehyde at about 0.35 V and then the carboxylic group at about 0.85 V. This conclusion supports through a research article demonstrated that two oxidation peak potentials were detected at ca. 0.09 V and ca. 0.24 V on gold electrode under the alkaline conditions and could be applied successfully as a direct electrical-based fuel source. Furthermore, the LUMO levels of CMC (− 1.2 eV) and CMSC (− 2.2 eV) are lower than the conduction band of a semiconductor such as TiO2 (− 3.2 eV) and nominated to act as an electrolyte in the fabrication of organic fuel cells. But on binding CMSC with different divalent metal ions, a massive drop in energy levels LUMO is shown in the order Cd > Cu > Fe as demonstrated in Table 2 and Fig. 8A. This attributes to binding strengths between metal and CMSC which decrease in the molar absorptivity, i.e., hypochromic effect, and increase to longer wavelengths, i.e., bathochromic shift as displayed in Fig. 8B. On applying the cyclic voltammetry, the metals complex undergoes two electrochemical processes, one due to the irreversible oxidation of CMSC and another due to the quasi-reversible reaction of metals. As shown in Fig. 8C, Cu(II) complex displays the characteristic of the electric double-layer capacitance enhancing the electrochemical activity of the redox materials at the interface.

Fig. 8
figure 8

Cyclic voltammetry of cellulosic and metal complexes with a sweep rate of 100 mV/ s in aqueous 0.05 M KCl solution (A), UV Absorption spectrum, and optical band gap (B) and Energy Band Diagram (C)

Table 2 Electronic properties of CMC, CMSC, and metal complexes

The LUMOs values given in the 3rd column were estimated by the cyclic voltammetry, while given in the 7th column were estimated by the UV–Vis spectrophotometry.

Based on each spectrum, the optical energy gap Eg can be estimated according to the following equation [1].

$${\varvec{E}}_{{\text{g}}} = {\varvec{h}} \times {\varvec{f}} = {\varvec{h}} \times \frac{{\varvec{c}}}{{\lambda_{{{\text{eg}}}} }}\sim \frac{1242}{{\lambda_{{{\text{eg}}}} }}$$
(1)

Eg represents the optical band gap expressed in eV and λeg denotes the absorption edge wavelength expressed in nm, obtained from the offset wavelength derived from the low energy absorption band as schematically represented in Fig. 9.

Fig. 9
figure 9

Shows, as an example, the treatment of the UV–Vis spectrum of the Cd complex, to show in detail how the onset wavelength is determined, which eventually leads to the calculations of the Eg value [52]

Computational calculations

The optimization of the one unit of cellulose m(CMC), thiosemicarbazide, m(CMSC) utilizing DFT/ B3PW91/LANDZ2 basis set with Gaussian 09 [53] and showing their physical properties for example absolute electronegativities (χ), chemical potentials (Pi), absolute hardness (η), absolute softness (σ), global electrophilicity (ω), global softness (S), and additional electronic charge, (ΔNmax) is scheduled in Table 3 and Fig. 10 according to the following equations [4, 14, 18, 54]. These CMC, thiosemicarbazide, CMSC, and metal complexes were not plane and takes different angles

$$\Delta E = E_{{{\text{LUMO}}}} - E_{{{\text{HOMO}}}}$$
(2)
$$\chi = \frac{{ - (E_{{{\text{HOMO}}}} + E_{{{\text{LUMO}}}} )}}{2}$$
(3)
$$\eta = \frac{{(E_{{{\text{LUMO}}}} - E_{{{\text{HOMO}}}} )}}{2}$$
(4)
$$\sigma = 1/ \, \eta$$
(5)
(6)
$$S \, = 1/2 \, \eta$$
(7)
$$\omega = {\text{ Pi}}^{2} /2\eta$$
(8)
$$\Delta N_{\max } = \, - {\text{ Pi}}/ \, \eta$$
(9)
Table 3 Physical analysis of compounds CMC, thiosemicarbazide, and CMSC utilizing DFT/ B3PW91/LANDZ2
Fig. 10
figure 10

Chemical and optimized structure, compounds m(CMC), thiosemicarbazide, intermediate m(CMSC), and m(CMSC) using DFT/ B3PW91/LANDZ2 (A, B) FMO and ESP of m(CMC), thiosemicarbazide and m(CMSC) and (C)

From DFT/ B3PW91/LANDZ2 and their physical parameters, we noticed that there is possible interaction of this reaction which is clarified as the HOMO–LUMO interaction of CMC with thiosemicarbazide as HOMO–LUMO1 as (∆E = 6.316e V) with HOMO–LUMO2 of thiosemicarbazide was (∆E = 5.4656 e V) as presented in Fig. 4 to afford the thiosemicarbazide intermediate with (∆E = 0.389395e V) which is cyclized to afford them(CMSC) with (∆E = 5.700516 e V) which gave its stability and more reactivity and amino group make more electron distribution for can easily react again. Additionally, the chemical hardness η (eV) indicates the extent resistance of change of electron cloud density in the system; we noticed that CMSC has a low value compared with CMC through (0.308e V) (≈ 7.10265 kcal/mol), and thiosemicarbazide with (24.47 eV)(≈ 564.291 kcal/mol) which gave it the ability for cyclized easy and gave CMSC Molecular electrostatic potential (ESP) that the atom of a molecule generates the surrounding space which is important to elucidate the molecular action, and biological recognition interactions. So, the CMSC designate a certain point which indicates that there is a uniform distribution of surface contour for these rings rather than the other compound because they have contains the C=N, C=S, and O atom which act as electrophilic centers which induced more protonation and gave more reactivity in the biological interaction and the binding sites of proteins in molecular docking [36, 43, 55] as demonstrated in Fig. 10.

Optimization of metal complexes

The optimization of metal cellulose complexes Cu(II), Cd(II), and Fe(III) were elucidated utilized DFT/B3PW91/LANDZ2 basis set are used to demonstrate the environment and stability of these complexes. Calculated geometrical parameters are bond angles, bond lengths, and dihedral angles, natural charges on active centers, and the energetic of the optimized ground state for the studied chelates. These geometrical parameters together with the practical spectroscopic data proved that the metal ions are coordinated to the ligand via (N, O, and S) atoms forming stable chelates. These results indicate that; in Cu(II), Cd(II), and Fe(III) metal complexes, the metal ion coordinates with N68 and N34 with O71, O72 and mask the cellulose from these two sites which refer that regular distorted octahedral geometry for all the metal chelates. Also, we noticed that the three complexes were near to each other’s in the energy with range (− 2152.5433 to − 2155 au) with ligand: metal ration 2:1, as shown in Fig. 11 it was metal complexes were no in the same planar and also their dipole moment similar to each other’s which all have easily charge separation and gave it more reactivity [56,57,58,59].

Fig. 11
figure 11

A, B The chemical structure and optimized structures of metal complexes; C FMO of metal complex utilized DFT/ B3PW91/LANDZ2 basis set

Global reactivity descriptors of CMSC, Cu(II), Cd(II), and Fe(III) chelates using the DFT/ B3PW91/LANDZ2 basis set we noticed the difference in energy between the HOMO–LUMO energy gap for Cu(II), Cd(II) and Fe(III) were 1.30, 0.8 and 1.0029 e V, respectively [60,61,62], and values of HOMO and LUMO was matched with oxidation and reduction of cyclic voltammetry and UV spectrum, From Fig. 11, we notice that the charge distribution of electrons in HOMO and LUMO molecular orbitals in one side for Cu(II) complex, while the distribution of Cd(II) and Fe(III) was mostly of all complex and they have the smallest energy and can easily charge transfer to use further in solar energy batteries [57, 59] (Table 4).

Table 4 Physical descriptors of CMSC, Cu(II), Cd(II), and Fe(III) chelates utilized DFT/ B3PW91/LANDZ2 basis set

Conclusion

In this study, the reactivity of carboxymethyl cellulose with thiosemicarbazide in an acidic medium produced 5-amino-1, 3, 4-thiadiazol cellulose derivatives that were confirmed by FT-IR, XRD, and theoretical investigation using the DFT/B3LYP/6-31 level that served as the ligand (HL) and complexed with metals to form Cu(II), Cd(II), and Fe(III) cellulose complex. Also, the structures had greater antibacterial activity and demonstrated greater reactivity of the Cu(II) complex structure when docked with various proteins. Furthermore, cyclic voltammetry was used to examine these metals and their ligands during oxidation and reduction. This method is consistent with theoretical studies that used DFT DFT/ B3PW91/LANDZ2 level of theory, which has the smallest gap between HOMO–LUMO energy gap and is therefore easily capable of electron transfer.