Introduction

The β-lactam antibiotics are useful and frequently prescribed antimicrobial agents that share a common structure and mechanism of action-inhibition of synthesis of bacterial peptidoglycan cell wall. The penicillins (PENs) constitute one of the most important groups of these antibiotics. The general structure of penicillins consists of a thiazolidine ring (5-membered ring), connected to a β-lactam ring (4-membered ring) to which an aminoacyl side chain is attached [1]. The study of β-lactam antibiotics covers a very wide field, dealing with its chemistry, antibacterial activity, biosynthesis, and reaction mechanisms [2]. The reactive β-lactam ring is the important structural moiety for antibacterial activity of penicillins, which requires: a ring of sufficient strain; possibilities for electron delocalization outside the lactam ring; and some conformational features [3]. On the other hand, the stereochemistry of penicillins plays an important role in explaining their biological activities. X-ray analyses have shown that the nonplanar thiazolidine ring can exist in two conformations: the axial conformation, where the C3 carbon is out of the plane formed by the other four atoms of the ring and the equatorial conformation, where the sulphur atom is out of the plane. Therefore, in-depth knowledge of the β-lactam-thiazolidine nucleus is essential for establishing a structure–activity relationship. Previous studies demonstrate the axial conformation is more stable than the other one [46]. Also, the X-ray structures available in the Cambridge Structural Database (CSD) reveal that the majority of penicillins (~80 %) are in the axial conformation, which has been interpreted as an evidence for the biological relevance of this conformation. The relationship between the structure of penicillins and their biological activity has been intensively investigated for many years [7, 8]. The antibacterial activity in vitro is defined as the minimum inhibitor concentration (MIC) which is the lowest concentration of an antimicrobial that will inhibit the visible growth of a microorganism after overnight incubation. A lower MIC is an indication of a better antimicrobial agent [9, 10].

Nuclear quadrupole resonance (NQR) is widely used to study the geometry and electronic structure of molecules and solids [11]. It must be noted that since the NQR spectroscopy can be only studied in the solid state [12], this technique would be effective to study the electronic structure of β-lactams. Nuclei with spin angular momentum, I, greater than one half (I >1/2), have electric quadrupole moment, eQ, which interacts with electric field gradient tensor, EFG. The quadrupole coupling constant, QCC, calculated from NQR frequency, is proportional to the charge on quadrupole nuclei and gives information on electron distribution in a molecule, whereas asymmetry parameter, \(\eta_{Q}\), provides information on the direction and order of chemical bonds [13]. Generally, nuclear quadrupole resonance, NQR, spectroscopy provides a sensitive technique for electronic environment and nuclear charge distribution measurements and can be applied for better characterization of hydrogen bond properties [14, 15].

In this work, the density functional theory (DFT) was used to compare the electronic structure and reactivity of some selected penicillins: penicillin-G (PG), penicillin-V (PV) and carbenicillin (CA). Among them, penicillin-G (benzylpenicillin) has the greatest antimicrobial activity and is the only natural penicillin used clinically. The antimicrobial spectra of penicillin-G and penicillin-V (phenoxymethylpenicillin) are very similar for aerobic gram-positive microorganisms. The virtue of penicillin-V in comparison with penicillin-G is that it is more stable in an acidic medium [1], while carbenicillin is active against most gram-negative organisms and some gram-positive organisms [16]. The experimental values for the activities in vitro suggest that PG is the more active molecule, CA is the less active one, and PV is molecule of intermediate activity [9, 17]. X-ray studies on these molecules show that all three of them are in axial conformation [1820]. Unlike most previous studies that have focused more on the structural parameters obtained from geometry optimization such as the bond orders, dipole moments, electrophilicity index, atomic charges, etc., we applied natural bond orbital (NBO) analysis and nuclear quadrupole resonance (NQR) spectroscopy to study the electronic structure and nuclear charge distribution around the nitrogen nucleus in these penicillins. Also, to obtain information about the relative stability of these structures, we have studied their energies. Since the reactivity of the β-lactam ring was linked to the lack of resonance of the amide endocyclic system caused by the pronounced pyramidal character of the β-lactam nitrogen atom [21], in the present work, we have mainly focused on the nitrogen atoms in the β-lactam ring and the side chain positions. Finally, it was seen that a comparison between 14N-NQR parameters of them with the related experimental data (MIC) would be useful in the determination of the activity of penicillins.

Computational details

The quantum chemical calculations were carried out within the Gaussian 03 software package [22]. X-ray structures of PG, PV and CA molecules are already available and these structures are supplied as input [1820]. Geometry optimizations have been performed at the DFT level with B3LYP functional [2325] using 6-31G(d) basis set. Also, natural bond orbital (NBO) analysis and electric field gradient (EFG) calculations have been done at the B3LYP/6-311++G(d,p) level of theory on the optimized structures in gas phase. The principal components of the EFG tensor, q ii , are computed in atomic unit (1 au = 9.717365 × 1021 V m−2), with |q zz | ≥ |q yy | ≥ |q xx | and q xx  + q yy  + q zz  = 0. These diagonal elements relate to each other by the asymmetry parameter: η Q = |(q yy   q xx )/q zz |, 0 ≤ η Q ≤ 1, that measures the deviation of EFG tensor from axial symmetry. The computed q zz component of EFG tensor is used to obtain the nuclear quadrupole coupling constant (χ zz ) from the equation; C Q (MHz) = e2 Qq zz /h [26]. The standard values of Q reported by Pyykkö [27] are employed: Q (14N) = 20.56 mb and Q (2H) = 2.86 mb. For a nucleus of unit spin (such as 14N and 2H), we have three energy levels, so we get three nuclear quadrupole resonance frequencies: υ + = 3/4χ zz (1 + η/3); υ  = 3/4χ zz (1−η/3) and υ 0 = 1/2χ zz η [28].

The occupancies and natural hybrids of lone pair orbital of nitrogen, the stabilization energies associated with LP(N) → σ* or π* delocalizations and some of intramolecular hydrogen bonds were analyzed by the natural bond orbital (NBO) method. In the second part of NBO analysis, we have focused on the common structure of penicillins (6-APA) to investigate the role of acyl side chain on the structural stability of penicillin. The 6-aminopenicillanic acid (6-APA) is the key intermediate of semisynthetic penicillins [29] and for antibacterial activity to be achieved, an acyl group must be attached to the amino group of 6-APA [30]. The penicillin basic bicyclic structure studied in the present work is shown in Fig. 1. In the 6-APA structure of all three penicillins, the acyl group is replaced by a hydrogen atom.

Fig. 1
figure 1

The chemical structures of a penicillin-G (PG), b carbenicillin (CA), c penicillin-V (PV) and d 6-aminopenicillanic acid (6-APA)

Results and discussion

NBO analysis

The interactions between the filled (bonding or lone pair) Lewis-type (donor) NBOs and empty (antibonding and Rydberg) non-Lewis (acceptor) NBOs represent the deviation of the molecule from the Lewis structure and can be used as the measure of delocalization [3134]. For each donor (i) and acceptor (j), the stabilization energy (E 2) associated with i → j delocalization can be estimated by second-order perturbation theory according to the following equation: \(E_{ 2} = {q}_{\text{i}} ({F}^{ 2}_{{({\text{i}},{\text{j}})}} /(\varepsilon_{\text{i}} -\varepsilon_{\text{j}} ))\), where q i is the donor orbital occupancy, ε i and ε j are diagonal elements (orbital energies) and F (i,j) is the off-diagonal NBO Fock matrix elements [35].

The study of NBO analysis in Table 1 for each structure in gas phase revealed that the total stabilization energy for LP(N) → σ* or π* delocalization increases with increasing p character of nitrogen lone pair. In contrast, the occupancy of the LP(N) decreases with increasing p character of the lone pair of nitrogen. We observed that the occupancy values of LP(N4) and LP(N14) in CA, PV and PG molecules decrease, respectively; this trend is correlated with increase in the related total E 2 values for donor–acceptor interactions in these penicillins. Our findings indicate that the trend of the stabilization energies associated with both LP(1) N4 → π* (C7–O8) and LP(1) N14 → π* (C15–O17) delocalizations is: CA > PV > PG. This result is in agreement with the previous study which suggests that the carbonyl groups participation in the hydrolysis mechanism may contribute to increasing the stability of the β-lactam ring [36]. On the other hand, resistance to these antibiotics (PENs) is conferred principally via β-lactamases. Those are enzymes which hydrolyze the amide bond of the β-lactam ring and rendering the drug useless [3740]. Thus probably, the N4–C7 bond is one of the most important bonds in determining the relative stability of penicillin. Present studies demonstrated an increasing order of stability for PG, PV and CA due to the increasing occupancy of the N4–C7 bond (1.98265, 1.98272 and 1.98287, respectively). Furthermore, the interaction energy of LP(2) O8 → σ (N4–C7) delocalization increases in the order: PG, PV and CA (29.09, 29.15 and 29.29 kcal mol−1, respectively).

Table 1 Calculated natural hybrids (NHOs), occupancies and resonance energies (in kcal mol−1) of nitrogen lone pair using NBO analysis at the B3LYP/6-311++G**//B3LYP/6-31G* level of theory and calculated electronic energies, E el, values (in Hartree) at the B3LYP/6-31G* level for PG, PV and CA molecules in the gas phase

The stabilization energy of all intramolecular hydrogen bonds and their hydrogen bond lengths are reported in Table 2. Nangia and co-worker [7] suggested that the axial conformation in penicillins is stabilized by intramolecular N14–H32···S and C10–H30···O8 hydrogen bonds. According to our results in this table, we note that PG and CA molecules have, respectively, the shortest and longest bond lengths in both hydrogen bonds. A comparison between the basic bicyclic structure and the general structure of penicillin reveals that the sum of resonance energy for the hydrogen bonds related to β-lactam-thiazolidine nucleus increases in the order: CA, PV and PG (10.06, 10.57 and 10.66 kcal mol−1, respectively), while the total E 2 value for all intramolecular hydrogen bonds in PG molecule is significantly less than that in two other molecules. Also, Abrahamsson et al. [19] in the X-ray crystallography study of PV explained that the only region where it seems possible for an internal hydrogen bond exists in penicillin-V is between O18 and N14–H32 in the side chain and the effect of this close contact may be sufficiently strong. From the results reported in Table 2, it is obvious that the O18···N14–H32 distance in CA molecule is shorter than that in the PV molecule (1.982 and 2.316 Å, respectively), and the corresponding estimated hydrogen bond length in the PG molecule, C18···N14–H32, is 2.410 Å. As mentioned above, the NBO analysis illustrated that the substituents (the O18 atom in PV and the carboxylic group in CA) attached to the aminoacyl side chain at the position of C16 atom play an important role in increasing the stability of both molecules through hydrogen bonds.

Table 2 Calculated resonance energies in (kcal mol−1) and related distances (Å) of all hydrogen interactions for PG, PV and CA molecules using NBO analysis at the B3LYP/6-311++G**//B3LYP/6-31G* level of theory in the gas phase

The next section of NBO analysis focused on the basic structure of the penicillin. Therefore, the natural hybrids (NHOs), occupancies and stabilization energies (E 2) for nitrogen lone pair calculated using NBO analysis for the 6-APA structure of PG, PV and CA molecules are listed in Table 3. By a quick look at the results reported in this table, it is obvious that the occupancy and p character values of CA and PG are close together and the occupancy of LP(N4) in these two molecules is smaller than that in the PV molecule. Also, the 6-APA structure of PV, PG and CA shows an increasing order of stability due to the increasing total stabilization energy associated with donor–acceptor interactions for lone pair electrons of N4. This trend is in parallel with their increasing electronic energy (Table 3). Furthermore, the N4–C7 bond lengths in the 6-APA structure of CA and PG are smaller than that of PV (CA = PG = 1.403 Å and PV = 1.405 Å). Also, the NBO analysis illustrated that the occupancy values of the N4–C7 bond in the 6-APA structure of CA and PG are greater than that of PV (CA = PG = 1.98271 and PV = 1.98260). Comparison of these results with those reported in Table 1 indicate that by attaching the acyl group to the amino group of 6-APA, the β-lactam ring in CA and PV can be more stable than that in PG. So, our obtained results are in good agreement with the previous studies, suggesting that penicillins with bulky side groups can block the β-lactamases which hydrolyze the lactam ring [4144].

Table 3 Calculated natural hybrids (NHOs), occupancies and resonance energies (in kcal mol−1) of nitrogen lone pair using NBO analysis at the B3LYP/6-311++G**//B3LYP/6-31G* level of theory and calculated electronic energies, E el, values (in Hartree) at the B3LYP/6-31G* level for the 6-APA structure of PG, PV and CA molecules in the gas phase

Finally, for all the above reasons, we suggest that decreasing occupancy of the LP(N) and corresponding increasing interaction energy between LP(N) and non-Lewis NBO can be associated with the contribution of the electron pairs of both nitrogen atoms during the formation of intramolecular hydrogen bond and resonance interactions in the β-lactam ring and the aminoacyl side chain positions. Hence, structural stability of these structures can be increased by the delocalization of electron density of nitrogen lone pair. So, we expect that the stability order of these penicillins is as follows: CA > PV > PG, which accords with the trend of electronic energy obtained from geometry optimization (see Table 1).

14N and 2H NQR parameters

Tables 4 and 5 present the calculated NQR parameters (η and C Q), principal components of the EFG tensors and the associated frequencies of 14N and 2H nuclei in PG, PV and CA molecules. There are only three known stable nuclei with unit spin: 2H, 6Li, and 14N. Most of the NQR work done using integer spin nuclei is for ~100 % naturally abundant 14N. Deuterium (2H) and 6Li have very small electric quadrupole moments, making direct observation with NQR difficult. For spin 1, there are three transition frequencies. The NQR frequency will be determined by the distribution of electric charge in the vicinity of a nucleus [45]. Homonuclear diatomic molecules (such as 14N and 2H) have axial symmetry. In these molecules, q xx  = q yy  = –q zz /2, υ+ = υ, υ0 = 0 and also η = 0. It is concluded from Table 4 that the distribution of electric charge around the nitrogen nucleus is deviated from cylindrical symmetry. This can be attributed to the influence of electric field of neighboring nucleus on the nitrogen atoms. By convention, the z axis is along the direction of axial symmetry. Therefore, the results reported in this table reveal that the η and q zz values of non-protonated nitrogen (N4) in CA, PV and PG molecules increase, respectively, while the q zz value of protonated nitrogen (N14) increases with decreasing its asymmetry parameter value. Also, the asymmetry parameter measure of N4 is smaller than that of N14 in each structure. This means that the distribution of electric charge around N4 is closer to the symmetry axis. Furthermore, our findings show that q zz , C Q and υ+ values of both nitrogens decrease with decreasing the occupancy values of LP(N). This trend corresponds with the increasing stabilization energy values of donor–acceptor interactions in the order of PG, PV and CA. Although in all three molecules, p character of the lone pair of N14 (with 100 % p character) is the same, the q zz and C Q values of N14 in CA molecule are smaller than those in two other molecules. This trend is due to the high measure of delocalization for lone pair electrons of N14 in CA molecule in compaction with those in PV and PG molecules. Also, we note that about the nitrogen of β-lactam ring (N4), the q zz , C Q and υ + values decrease with increasing p character of lone pairs in the order of PG < PV < CA which can be justified by a main reason: the N4 atom in CA and PV molecules has a lower degree of occupancy for lone pair electrons compared to those of PG molecule. As a main result, the 14N electric field gradient (EFG) tensors have been rationalized by natural bond orbital (NBO) analysis, demonstrating that with the increasing contribution of the lone pair electrons of nitrogen in the resonance interactions, the largest component of EFG tensor (q zz ), the nuclear quadrupole coupling constant, C Q, and the υ + frequency values of 14N nuclei decrease. This result is in good agreement with the increasing order of structural stability obtained from the NBO analysis in PG, PV and CA molecules, respectively.

Table 4 Calculated EFG tensor, the NQR parameters and related frequencies of 14N nuclei for PG, PV and CA molecules at the B3LYP/6-311++G**//B3LYP/6-31G* level of theory in the gas phase
Table 5 Calculated EFG tensor, the NQR parameters and related frequencies of 2H nuclei for PG, PV and CA molecules at the B3LYP/6-311++G**//B3LYP/6-31G* level of theory in the gas phase

The calculated 2H NQR parameters for some hydrogen atoms involved in hydrogen bonds are presented in Table 5. The data reported in this table indicate that the electron density distributions around H32 deviate from axial symmetry, but are nearly cylindrical for the other hydrogens (\(\eta\) is close to zero). Recent studies [46] have shown that intermolecular interactions, e.g., hydrogen bonding (HB) interactions, have significant influence on the EFG tensors. Also, it has been suggested that there is a close relationship between the nuclear quadrupole coupling constant, QCC, and hydrogen bond lengths [47]. By a quick look at the present results, we found a relationship between some of the 2H NQR parameters and the related hydrogen bond lengths (Table 2). Analysis of the data in Tables 2, 5 indicates that H24, H25, H30 and H32 contribute to S···C5–H24, N4···C5–H24, O17···C6–H25, O8···C10–H30 and S···N14–H32 hydrogen bonds, respectively. Comparing these three molecules using calculated 2H EFG tensors illustrated that the negative values of q zz , C Q and all three transition frequencies for the H24, H25 and H30 atoms increase with the increasing related hydrogen bond lengths and also these trends can be attributed to decreasing the stabilization energy (E 2) associated with these hydrogen bonds. In contrast, with the increasing negative values of 2H NQR parameters for H32 atom, the distance between the S atom and N14–H32 bond decreases, corresponding with the increase of positive values of the 14N NQR parameters for N14 atom. So, our results reveal that the calculated NQR parameters of 2H nuclei are sensitive to the intramolecular hydrogen bonds and there is an approximately linear relationship between some C Q(2H) values and the related hydrogen bond lengths.

Conclusions

In the present work, DFT calculations were performed to study the effects of nitrogen atom on the relative stability of some selected penicillins. The NBO analysis showed that the increasing order of total resonance between LP(N) and non-Lewis-type NBOs (σ* or π*) is in parallel with the trend of electronic energy obtained from geometry optimization. It was found that by attaching a bulkier acyl group to the amino group of 6-aminopenicillanic acid, the N4–C7 bond order of penicillin molecule decreases and the occupancy value of this bond increases. So, the volume of the substituent joined to the aminoacyl side chain plays an important role in the stability of the β-lactam ring; i.e., the high stability of carbenicillin in comparison with two other molecules can be attributed to the presence of bulky carboxylic group in acyl side chain. Study of the electronic structure of these structures using NQR calculations revealed that the electron density distribution around N4 is closer to the symmetry axis than the charge distributions around N14. Also, it was seen that there is a logical relationship between the occupancy and p character of nitrogen lone pair with the 14N NQR parameters; such that the q zz , C Q and υ + values of nitrogen nuclei decrease with decreasing the occupancy values of LP(N). Also, our results reveal that the calculated NQR parameters of 2H nuclei are sensitive to the intramolecular hydrogen bonds. Finally, the results of NQR parameter calculations with NBO analysis showed that the increasing order of stability in PG, PV and CA molecules is in relatively good agreement with the observed decreasing trend of activity (the MIC values obtained from experimental analysis) in these penicillins. Thus, in this work, we have demonstrated that the electronic and nuclear properties of nitrogen atoms in penicillins are nearly associated with their antibacterial activity.