Next Article in Journal
Correction: Domingues et al. Pediatric Drug Development: Reviewing Challenges and Opportunities by Tracking Innovative Therapies. Pharmaceutics 2023, 15, 2431
Previous Article in Journal
Artificial Intelligence-Driven Strategies for Targeted Delivery and Enhanced Stability of RNA-Based Lipid Nanoparticle Cancer Vaccines
Previous Article in Special Issue
Natural Gomesin-like Peptides with More Selective Antifungal Activities
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Predicting Antimicrobial Peptide Activity: A Machine Learning-Based Quantitative Structure–Activity Relationship Approach

by
Eliezer I. Bonifacio-Velez de Villa
,
María E. Montoya-Alfaro
,
Luisa P. Negrón-Ballarte
and
Christian Solis-Calero
*
Faculty of Pharmacy and Biochemistry, Universidad Nacional Mayor de San Marcos, Lima 15001, Peru
*
Author to whom correspondence should be addressed.
Pharmaceutics 2025, 17(8), 993; https://doi.org/10.3390/pharmaceutics17080993 (registering DOI)
Submission received: 30 June 2025 / Revised: 24 July 2025 / Accepted: 28 July 2025 / Published: 31 July 2025

Abstract

Background: Peptides are a class of molecules that can be presented as good antimicrobials and with mechanisms that avoid resistance, and the design of peptides with good activity can be complex and laborious. The study of their quantitative structure–activity relationships through machine learning algorithms can shed light on a rational and effective design. Methods: Information on the antimicrobial activity of peptides was collected, and their structures were characterized by molecular descriptors generation to design regression and classification models based on machine learning algorithms. The contribution of each descriptor in the generated models was evaluated by determining its relative importance and, finally, the antimicrobial activity of new peptides was estimated. Results: A structured database of antimicrobial peptides and their descriptors was obtained, with which 56 machine learning models were generated. Random Forest-based models showed better performance, and of these, regression models showed variable performance (R2 = 0.339–0.574), while classification models showed good performance (MCC = 0.662–0.755 and ACC = 0.831–0.877). Those models based on bacterial groups showed better performance than those based on the entire dataset. The properties of the new peptides generated are related to important descriptors that encode physicochemical properties such as lower molecular weight, higher charge, propensity to form alpha-helical structures, lower hydrophobicity, and higher frequency of amino acids such as lysine and serine. Conclusions: Machine learning models allowed to establish the structure–activity relationships of antimicrobial peptides. Classification models performed better than regression models. These models allowed us to make predictions and new peptides with high antimicrobial potential were proposed.

Graphical Abstract

1. Introduction

The growing global crisis of resistance to conventional antibiotics represents one of the most urgent threats to public health, generating, year after year, significant societal costs linked to clinical care [1,2]. In this scenario, the search and development of new antimicrobial agents with novel mechanisms of action has become a critical priority. Antimicrobial peptides (AMPs), key components of the innate immune system present in virtually all life forms, have emerged as highly promising therapeutic candidates [3,4].
Despite their vast potential, the discovery and optimization of effective and safe AMPs faces significant challenges. The relationship between amino acid sequence, three-dimensional structure, and antimicrobial activity is intricate and nonlinear. The synthesis and experimental evaluation of the immense diversity of possible peptides are slow, expensive, and low-throughput processes [5]. Therefore, computational methodologies become indispensable to accelerate this process, allowing the screening, prediction, and design of candidates with a higher probability of success before experimental validation [6,7,8,9].
Quantitative Structure–Activity Relationships (QSARs) offer a powerful framework for correlating the physicochemical and structural properties (molecular descriptors) of peptides with their biological (in this case, antimicrobial) activity. By building predictive models, QSAR facilitates the efficient exploration of peptide chemical space [10]. The application of machine learning (ML) techniques to QSAR has revolutionized the field, allowing the modeling of the complex nonlinear interactions that characterize the structure–activity relationship in biomolecules such as AMPs. Advanced ML algorithms, such as Support Vector Machines, Random Forests, or even Deep Learning for sequences, they are particularly suited to handling the high dimensionality of peptide descriptors and building robust models to predict antimicrobial activity [9,11,12,13]. Beyond prediction accuracy, these methods enable mechanistic insights into bioactivity, as demonstrated in network pharmacology studies of compound-target interactions [14] and clinical risk stratification for complex diseases [15].
Based on the above, the main objective of this work is to develop robust machine learning models to establish reliable QSAR for a set of antimicrobial peptides [16]. Beyond the construction of high-performance predictive models, a central focus of our research is the identification and analysis of the most important molecular descriptors that determine the antimicrobial activity of these peptides. Employing these machine learning algorithms, we seek to unravel the key physicochemical and structural features that drive antimicrobial potency, providing fundamental insights for the de novo design or rational breeding of peptides with optimized activity and selectivity profiles in the fight against antimicrobial resistance.

2. Materials and Methods

2.1. Data Collection

Antimicrobial activity information and linear peptide sequences were collected from the curated databases: DBAASP [17] and APD3 [18]. The information from these databases is condensed since each record corresponds to a peptide, regardless of whether this same peptide has been evaluated against multiple microorganisms. Therefore, an antimicrobial peptide database was generated from these data considering that each record corresponds to a peptide against a specific microorganism and the measurement of its antimicrobial activity.

2.2. Calculation of Descriptors

To quantitatively represent the physicochemical properties of the analyzed peptides, molecular descriptors were calculated from previously defined amino acid scales. Each peptide was transformed into a single numerical value, representative of its descriptor profile, using a sliding window approach. Briefly, the calculation of the global descriptor for a peptide ( p ) of length l ( p ) was performed as follows: a fixed-size analysis window v was applied that moved along the sequence, generating a total of N v possible windows. For each window ( i ) , the mean descriptor value V i ¯ was calculated as the average of the f ( a j ) values corresponding to the amino acids contained in that window. The function f ( a j ) represents the descriptor index on the selected scale for the amino acid at position j. The final value of the molecular descriptor for the peptide ( D p ) was obtained by averaging the values V i ¯ of all the generated windows, according to the following equations:
N v = l ( p ) v + 1
D p = i = 1 N v V i ¯ N v ,   where   V i ¯ = j = i i + v   f ( a j ) v
This procedure allows to obtain a robust numerical representation of the analyzed property, by incorporating both the composition and the local distribution of the amino acids along the peptide sequence. The calculation of these descriptors was performed using the Python programming language (version 3.11.13), employing the modlAMP peptide analysis package [19]. A total of 321 descriptors were calculated, which were selected from the AAIndex database (v9.2) and the modlAMP analysis package (v4.0).

2.3. Dataset

2.3.1. Preprocessing

Only peptide records reporting antimicrobial activity as minimum inhibitory concentration (MIC) were selected. To ensure consistency, all MIC values were standardized to the same unit (µg/mL). Subsequently, the data were transformed to logMIC values to normalize their distribution, reduce skewness, and improve the performance of statistical and machine learning models, which often assume normally distributed input variables.

2.3.2. Data Preparation for Regression Models

A single peptide can exhibit multiple antimicrobial activity scores (MIC values) when tested against different microorganisms or reported by various authors under different experimental conditions. To obtain a representative and consistent value for each peptide, the average of all reported logMIC values was calculated. This approach assumes that while the antimicrobial activity can vary depending on the target organism, the peptide’s intrinsic antimicrobial potential remains comparable across contexts. Averaging reduces noise from experimental variability and allows the model to focus on sequence-dependent properties rather than microorganism-specific effects. To mitigate the influence of extreme values, outliers were identified and removed using the interquartile range method.

2.3.3. Data Preparation for Classification Models

Each peptide record was labeled against each of the microorganisms against which they were experimentally evaluated based on their MIC following a pre-established convention: (i) Those with MIC values lower than 25 µg/mL were labeled as “active peptide” (logCMI < 1.3979). (ii) On the other hand, those with MIC values equal to or greater than 100 µg/mL were labeled as “inactive peptide” (logCMI > 2) [20]. Likewise, since the same peptide can be active against some microorganisms and inactive against others, each peptide was labeled as antimicrobial (AMP or Class 1) if it is an “active peptide” against 50% or more of the microorganisms against which it was evaluated and as non-antimicrobial (NO-AMP or Class 0) if it was active against less than 50% of the microorganisms against which it was evaluated. Additionally, some peptides, considered non-antimicrobial, were added to balance the datasets [21]. This classification allows us to distinguish between molecules that have high antibacterial activity and those that do not have it or have a lower or limited activity.

2.3.4. Separation of Subsets

Following the data preparation criteria and from the newly generated database, peptide datasets were extracted against all microorganisms, Gram-positive bacteria, Gram-negative bacteria, Escherichia genus, Pseudomonas genus, Staphylococcus genus and Bacillus genus. Finally, 14 datasets were obtained, 7 for regression and 7 for classification. All datasets were separated and isolated into training and testing, in a ratio of 8:2.

2.4. Generation of Learning Models

2.4.1. Descriptor Selection and Training

Given this potential predictor redundancy, it was decided to randomly retain only one of the predictors, and a correlation analysis was performed to identify highly similar predictors (Pearson correlation R > 0.8). Low-variance descriptors were also eliminated since they do not provide information that differentiates the peptides. To meet the mechanistic objective of the study (interpreting biological activity based on important properties), it was decided to reduce the number of predictors. Briefly, the first stage focused on applying the Recursive Variable Elimination (RFE) technique. This methodology iteratively eliminates the least relevant features. To do this, the RFE algorithm based on Random Forest was used with 5-iteration cross-validation, repeated 5 times. In the second stage, optimization using a genetic algorithm was used to identify the optimal combination of predictors. This process was also based on the Random Forest algorithm and was carried out with a 5-iteration cross-validation. The genetic algorithm was run over 100 to 200 generations, with 20 individuals per generation, an 80% crossover probability, and a 7% mutation probability.
Once the most appropriate descriptors were selected, various algorithms were trained. These algorithms included Multiple Linear Regression (MLR), Partial Least Squares Regression (PLS), Logistic Regression, Random Forest, Support Vector Machine, and Gradient Boosting Machine. Each algorithm was trained using the corresponding peptide datasets. To maximize model performance, hyperparameter optimization was performed for each model through an exhaustive search for optimal configurations. This was performed using 5-iteration internal cross-validation with 5 replicates.

2.4.2. Determining the Domain of Applicability

The scope of applicability was determined using the Euclidean distance-based method known as the Local Outlier Factor (LOF), which is based on the k-nearest neighbors algorithm. Therefore, the scope of applicability of the observations was determined by the population density in a multidimensional space. If the population density of an observation is significantly lower than its nearest neighbors, then it corresponds to an outlier because it lies outside the scope of applicability.

2.5. Model Validation/Evaluation

Finally, as part of the external validation, the final performance of the models was evaluated using the test sets. For the regression models, the coefficient of determination (R2) was used as the main metric, along with other metrics not shown, such as RMSE (root mean square error) and MAE (mean absolute error). For the classification models, the Matthews correlation coefficient (MCC) was used as the main metric, along with other metrics not shown, such as precision (Pr), accuracy (Ex), sensitivity (Sn), and the area under the ROC curve (AUC–ROC).

2.6. Evaluation of Predictors

The importance of the descriptors in the models was determined by the permutation method in each of the generated models and in order to compare the contribution of each descriptor, the importance values were scaled, so that a relative importance (RI) value was obtained on the scale of 0 to 100 in each type of model, with 0 being the least relative importance and 100 the greatest relative importance.

2.7. Design and Prediction of New AMPs

Peptides were randomly designed using the modlAMP library in Python, with lengths ranging from 5 to 50 amino acids, excluding cysteine and methionine for synthesizable reasons [19]. Repeated or existing sequences in the database were removed. Classification and regression models were then applied to predict their activity. Peptides with the highest antimicrobial potential, according to the classification model, were modeled in PEPFOLD 3.0 to predict their secondary structure [22]. Likewise, to characterize these peptides externally, their physicochemical properties were calculated using protein scaling from the Expasy server. ProtScale [23].

2.8. Statistical Analysis

For all statistical calculations and data analysis, the programming languages python and R were used with the pandas, numpy, scikit-learn, sciPy, seaborn, matplotlib, tidyverse, rstatix and caret libraries. The Kruskal–Wallis test (α < 0.05) was considered for the comparison between the importance means according to the type of descriptor.

3. Results

3.1. Dataset Description and Descriptor Calculation

A total of 35,329 records of experimental assays evaluating the antimicrobial activity of 4874 peptides against a wide variety of microorganisms and cell types were collected. Of these records, 28,666 (81.3%) corresponded to evaluations carried out against bacteria, of which 18,428 (52.3%) focused on Gram-negative bacteria and 10,238 (29.0%) on Gram-positive bacteria. In addition, 3605 assays (10.2%) were registered against fungi, 1384 (3.9%) against viruses, and 581 (1.6%) against other organisms such as protozoa and bacteria not classified as Gram-positive or -negative (Figure 1). Additionally, 1031 records (2.9%) were identified that reported antineoplastic activity, an aspect that could represent an interesting field of analysis. When analyzing the distribution of records according to microbial genus, it is observed that the majority were concentrated in the following groups: Staphylococcus with 5961 records (17.5%), Escherichia with 5687 (16.7%), Pseudomonas with 3871 (11.3%), Candida with 2058 (6.0%), Bacillus with 1944 (5.7%), Salmonella with 1590 (4.7%), Klebsiella with 1200 (3.5%), Enterococcus with 1071 (3.1%), Streptococcus with 978 (2.9%), Acinetobacter with 763 (2.2%), Micrococcus with 642 (1.9%), Vibrio with 638 (1.9%), Lentivirus with 619 (1.8%) and Listeria with 565 (1.7%). The remaining 6529 records (19.1%) were distributed among other microbial genera (Figure 1). Regarding the methodologies used to evaluate antimicrobial activity, the Minimum Inhibitory Concentration (MIC) stands out widely, with 22,792 records (71.3%), consolidating its position as the most widely used method. This is followed by the Minimum Bactericidal Concentration (MBC) with 2970 records (9.3%), the Median Inhibitory Concentration (MIC) with 1562 (4.9%), and the Lethal Concentration (LC) with 611 (1.9%). Other diverse methods covered 4040 records (12.6%), reflecting the variety of experimental approaches present in the database (Figure 1).

3.2. Generation of Learning Models and Application Domain

3.2.1. Variable Selection

After applying preprocessing with the removal of low-variance and highly correlated descriptors, a refined dataset was obtained, consisting of 218 to 221 predictors, representing the most relevant and non-redundant features for the analysis. Predictor selection using RFE and subsequent genetic algorithm significantly reduced the number of these variables for both the regression and classification models (Table 1).

3.2.2. Training and Validation Results

The classification algorithms logistic regression (LR), support vector machine (SVM), Random Forest (RF) and Gradient were trained. Boosting Machine (GBM) using each of the previously described datasets. Among these, the Random Forest and GBM-based models demonstrated the best performance in cross-validation processes (Tables S1 and S2).
Similarly, regression models were trained using partial least squares (PLS), SVM, RF, and GBM algorithms on the corresponding datasets. However, the performance of the regression models was generally poor and inconsistent.
During the validation and prediction process of antimicrobial activity in the test set, the predictive capacity of the regression models was evaluated. Using the Random Forest model, antimicrobial activity of 599 peptides was predicted. The coefficient of determination between the predicted and experimental logMIC values was low (R2 = 0.459). However, when applying specific models, an improvement in fit was evident. For example, the model trained with data from Gram-negative bacteria achieved an R2 of 0.476, while the model for Gram-positive bacteria showed a lower performance (R2 = 0.339). Even more specific models, based on the bacterial genus, showed a better fit. The Escherichia genus model achieved an R2 of 0.547, followed by the model for Pseudomonas (R2 = 0.415) and Bacillus (R2 = 0.574), however the model for Staphylococcus was lower (R2 = 0.360).
Regarding the classification models, predictions were made using the corresponding test sets for each peptide type, employing models trained with Random Forest. Overall, the classification models showed good performance, with Matthew’s correlation coefficients (MCC) between 0.662 and 0.755, as well as adequate accuracy, precision, and sensitivity values (Table 2). The ROC curves evidence robust performance in all models, highlighting that those trained with more specific datasets obtained better performance (AUC > 0.91) compared to the general models, which is consistent with the other metrics evaluated (Figure S1).

3.2.3. Domain of Applicability

Additionally, as an additional step to the predictions made with the test sets, it was determined whether the observations in this set belonged to this analysis domain. The figure shows the AD scores of the overall classification model, for both the training set and the test set, with some values showing outside the domain (ScoreAD < 0) (Figure 2).

3.3. Importance of Descriptors

3.3.1. Importance of Each Descriptor

The importance of peptide descriptors was quite heterogeneous, both in regression and classification models, as well as in models generated in each dataset (Figures S2–S15, Table S5). However, the physicochemical charge descriptors (Charge, ChargeDensity, charge_acid_1_mean and pI) stand out very notably as the most important in almost all models. Also more relevant are the molecular weight (MW) descriptors, the descriptors of the tendency to form alpha helices (CHOP780212, QIAN880129, among others) and those related to hydrophobicity (FAUJ880112, hoopwoods, among others). To explore the relevance that the models give to these descriptors, the distributions of those descriptors in which we found differences in their means were graphed considering antimicrobial and non-antimicrobial peptides in the general classification model (Figure 3).

3.3.2. Importance of the Descriptor Type

The importance of peptide descriptors was grouped by type to reveal the impact of their nature on the generated models. In the classification models, physicochemical property descriptors were found to have the highest average scores across all models (Table 3 and Figure 4. Similarly, in the regression models, physicochemical property descriptors, hydrophobicity, composition, and other properties were found to have the highest average scores depending on the model (Table 4 and Figure 4).

3.4. Prediction and Modeling of New Peptides

3.4.1. Generation of New Peptides and Prediction of Their Antimicrobial Activity

Using the modlAMP peptide analysis package in Python, a total of 999,591 new peptide sequences were generated. Peptides were named with the prefix NPEP (Novel Peptide) followed by a number in order. The probability of these peptides being antimicrobial was then predicted using the general classification model as well as specific Random Forest-based models. In addition, the minimum inhibitory concentration of the generated peptides was estimated using the general regression model and specific Random Forest-based regression models. The peptides with the highest probabilities of being antimicrobial according to the general model were selected as having the highest antimicrobial potential (Table 5, Tables S3 and S4).

3.4.2. Modeling of Peptides with the Greatest Antimicrobial Potential

The previously described peptides with the greatest antimicrobial potential were subjected to a structure modeling process using the PEPFOLD3.5 server. This process generated 200 structures for each peptide based on its sequence. The models that obtained lower energy scores according to OPEC (Optimized Potential for Efficient structure Prediction) were considered the most representative. Figure 5 shows these peptides, and they were illustrated taking into account their hydrophobic residues, which are marked in blue. Among them, four peptides exhibit notable secondary structures in the form of alpha helices (NPEP160435, NPEP411179, NPEP251829, NPEP608070), five of them present alpha-helix structures with twisted portions (NPEP857629, NPEP535227, NPEP551925, NPEP785404, NPEP494819), while a last peptide shows a beta-sheet conformation (NPEP90259).

3.4.3. Characterization of the New Peptides

A six-scale amino acid profile was calculated for the modeled peptides, and the average was determined, generating a table with these properties. The properties of these peptides were similar, with a few minor exceptions (Table 6). Furthermore, it is observed that all peptides are cationic with a net charge greater than 9 and a lysine frequency greater than or equal to 5.

4. Discussion

Antimicrobial peptides act against bacteria, fungi, and viruses through key properties such as cationic charge, hydrophobicity, secondary structure (α-helix, β-sheet), and amphipathicity, which facilitate membrane interaction and microbial lysis. For instance, positively charged peptides bind to anionic phospholipids on bacterial membranes, while hydrophobicity aids in bilayer penetration [24]. To explore the link between structure and activity, experimental and structural data were compiled into a structured database. The APD3 database [18], established in 2004, was a pioneer in collecting natural antimicrobial peptides, followed by others like CAMPR3 [25] and DBAASP [17], reflecting ongoing advances. This study incorporates manually curated information, including new data such as measurement type, quantitative specificity, and taxonomic details of target microorganisms. Additionally, peptides were structurally represented using molecular descriptors—numerical values derived from physicochemical and structural properties—calculated from side-chain characteristics [26] using tools like modLamp and AA-INDEX, enabling precise encoding of peptide composition and shape.
Machine learning models allow establishing relationships between data and a specific dependent variable. This study used such models to analyze the relationship between the chemical structure of peptides (based on flanking residues) and their antimicrobial activity. The independent variables were the molecular descriptors, and the dependent variable was antimicrobial activity, the definition of which is somewhat complex due to the variability in evaluation methods (Figure 1). Therefore, the minimum inhibitory concentration (MIC) was selected as the dependent variable, as it is considered the standard for measuring the antimicrobial activity of peptides [17,18,27]. However, there are microbiological experimental factors not considered in this study, such as incubation times and culture media, under the premise that QSAR can still be established despite these variations [28]. Since the same peptide may be active against some microorganisms but not others, it was necessary to establish a criterion to define whether a peptide is antimicrobial or non-antimicrobial, since machine learning classification models require these classes to be well defined. Thus, peptides were classified considering that AMPs have MICs < 25 µg/mL in more than 50% of the microorganisms evaluated, while the NON-AMPs have MIC > 100 µg/mL in 50% of the microorganisms evaluated [20]. In contrast, other studies do not explain the criteria for this classification, differentiating only between antimicrobial and non-antimicrobial peptides in databases [29,30,31,32], which is not clear or it is assumed that a peptide is antimicrobial if it has activity against at least one microorganism, whatever it may be. To characterize each of the peptides, 318 molecular descriptors were calculated, although not all were useful, since some were redundant (highly correlated) or of low variance, which can affect the efficiency and accuracy of the models [33]. Therefore, these variables were discarded using RFE and genetic algorithms, resulting in different subsets of predictor variables for each organism (Table 1). The domain of applicability (DA) of the QSAR model refers to the chemical space defined by the molecular descriptors and allows the reliability of predictions to be assessed [34,35]. In this study, the k-nearest neighbors (KNN) method was used, which considers the variance and covariance of the dataset to ensure that predictions are made on chemically similar molecules [35,36]. Some studies do not consider DA, which limits the implementation of predictive models [20,29,37]. Although there is no consensus on the best methodology to determine it, distance-based techniques are the most commonly used [35]. For example, Tian et al. used Euclidean distances for HIV-1 antiviral peptides [38], and Pinacho-Castellanos et al. employed a consensus of five methods in AMBIT Discovery for antimicrobial peptides [21]. Being outside the applicability domain (AD) does not invalidate a prediction, but it does reduce its reliability, and therefore such predictions should be treated with greater caution.
In this study, 28 regression and 28 classification models were generated based on four algorithms (Tables S1 and S2), trained with physicochemical, structural, hydrophobic, and compositional descriptors calculated from the amino acid sequence. Random Forest (RF)-based models were the best performers in both regression and classification. However, the regression models showed limited performance on the test set (R2 = 0.33–0.57), with better results (in some cases) when training was restricted to specific bacterial groups (Table 2). Wang et al. [39] multiple regression models for three classes of antimicrobial peptides, achieving R2 of 0.326, 0.589 and 0.663, using 89 descriptors. Their peptides were homogeneous in length (9 or 12 residues), unlike this work that considered peptides of any length. On the other hand, Avram et al. [40] used only eight descriptors for 37 mastoparan-derived peptides, obtaining R2 between 0.655 and 0.720, possibly due to the high similarity between the analyzed peptides. In contrast, this study is the first to apply regression models to a large and diverse set of peptides, which increases the complexity of the analysis, but allows to address greater structural and biological variability.
The classification models showed good performance (ACC ≥ 0.831 and MCC ≥ 0.662), also improving when using data restricted by bacterial (Table 2). Pinacho-Castellanos et al. [21] developed five RF models with 96,026 descriptors, achieving an ACC of 0.90 with 135 predictors. This study obtained an ACC of 0.831 using only 26 predictors, facilitating the interpretation of the structure–activity relationship. Vishnepolsky et al. [20] used the DBSCAN algorithm and nine redesigned molecular descriptors to differentiate peptides against Gram-negative bacteria, achieving ACC = 0.80 ± 0.02, slightly lower than that of this study. Here, the optimization and selection of a larger set allowed a more precise characterization, while also searching for a relationship with their antimicrobial activity. Dong et al. [41] acid-based (RAAC) descriptors to classify peptides according to their target microorganism, achieving high ACCs for parasites, viruses, and cancer (89.72–91.92), but lower performance for fungi and Gram-positive and -negative bacteria (74.73–77.92). In comparison, the models in the present study showed superior performance, indicating that compositional descriptors may not be sufficient to classify antimicrobial peptides against bacteria due to their higher complexity and variability.
After model generation, the relative importance of each descriptor, both individually and by type, was assessed in the classification and regression models. In the classification models, all descriptors contribute to overall performance; however, those related to physicochemical properties are, on average, most relevant. Similarly, in the regression models, physicochemical descriptors showed the highest relative importance, although certain descriptors related to hydrophobicity, alpha-structure propensity, and composition were also identified as relevant. Among the physicochemical descriptors, easy-to-interpret variables such as molecular weight (MW), isoelectric point (pI), and peptide charge (net charge and charge density) stood out. In particular, descriptors associated with peptide charge were the most significant in both types of models. Net charge, charge density, charge at acidic pH, and isoelectric point suggest that a positive charge is a common requirement in most antimicrobial peptides. This finding is consistent with one of the main mechanisms of action of the peptides proposed, based on electrostatic interactions between the cationic charges of the peptide and the anionic charges of the bacterial membrane [42]. Furthermore, descriptors such as isotropic surface area and ISAECI index (related to steric effects and the ability to form local dipoles) indicate that antimicrobial peptides are characterized by their tendency to have bulky side chains with greater steric effects. This can be associated with the structural stability required for their activity. It was also identified that a low molecular weight is favorable, since it can allow peptides to cross barriers such as the cell wall and reach the bacterial membrane, facilitating greater interaction with it [43]. Hydrophobicity descriptors were also relevant, although to a lesser extent. These quantify the frequency and orientation of polar and non-polar residues and are essential for the insertion of peptides into the lipid bilayer, as well as for the formation of transmembrane pores that destabilize the electrochemical gradient and lead to bacterial death [44]. Interestingly, we observed that antimicrobial peptides tend to be less hydrophobic than those without antimicrobial activity. This could be explained by the need for antimicrobial peptides to also contain polar residues, which could facilitate specific interactions with components of the bacterial membrane or favor a more controlled permeabilization, without compromising selectivity or inducing non-specific aggregation. Descriptors assessing the propensity to form secondary structures (alpha helices and turns) were also well rated by the models. For example, levitt-alpha and QIAN880129 estimate the probability of alpha-helix formation, while CHOP780212 assesses the probability of absence of these structures. The models show that antimicrobial peptides tend to incorporate amino acids that favor these conformations, which is consistent with their mechanism of action [43]. In this sense, it is recommended to favor the incorporation of amino acids such as alanine, glutamic acid, leucine and methionine, and to avoid glycine, tyrosine, serine and proline, since the latter discourage the formation of these structures. In contrast, beta-sheet-related descriptors were considered in only five classification models and two regression models, suggesting a limited contribution to predicting antimicrobial activity. This is possibly because few AMPs exist with this type of conformation, although they could also form functional amphipathic structures. Finally, the frequency of occurrence of certain amino acids, such as serine (S) and lysine (K), the latter with a positive charge, was evaluated, being more relevant in the regression models [45]. Despite the lower relative importance in this study, it is highlighted that lysine content may play a key role in antimicrobial activity and should be considered in the design and evaluation of new peptides.
To assess model performance, we predicted the antimicrobial activity (logMIC) of peptides not included in the original QSAR training set. Using the general regression model trained on the full dataset, the correlation with experimental logMIC values was low (R2 = 0.459), likely due to the dataset’s heterogeneity, which includes diverse microorganisms. To improve generalization, models were then generated for specific bacterial groups. The Gram-negative model showed a higher correlation (R2 = 0.476), possibly due to greater structural homogeneity and a larger subset size. Conversely, the Gram-positive model showed reduced performance (R2 = 0.339), possibly due to insufficient peptide data and higher bacterial diversity. Further refinement by bacterial genera improved predictions: Escherichia (R2 = 0.547) and Bacillus (R2 = 0.574) models showed higher accuracy, suggesting that intra-genus homogeneity and data quantity enhance prediction. In contrast, Pseudomonas (R2 = 0.415) and Staphylococcus (R2 = 0.360) models did not show improvement, likely due to high diversity and limited data. Peptides are highly heterogeneous molecules, which limits the development of species-specific QSAR models due to data scarcity [40]. Although similarity clustering can enhance predictability, general classification models still showed strong performance (MCC = 0.662). The Random Forest-based model effectively predicts antimicrobial activity using features like physicochemical properties, hydrophobicity, and secondary structure propensity. Additionally, specific models targeting Gram-positive (MCC = 0.708), Gram-negative (MCC = 0.675), and the genera Escherichia (MCC = 0.754), Staphylococcus (MCC = 0.701), Bacillus (MCC = 0.746), and Pseudomonas (MCC = 0.755) achieved even better results. These improvements in Matthews correlation and accuracy (see Table 6) support the strategy of restricting datasets to enhance model performance.
In the final part of this work, approximately one million peptides were designed, and their antimicrobial activity was predicted using classification and regression models. From these predictions, the 10 peptides with the greatest antimicrobial potential were selected. The structures of these peptides were modeled, revealing the presence of total or partial alpha-helix secondary structures in most of them. This suggests that the presence of secondary structures, especially alpha helices—a feature linked to membrane disruption mechanisms—is a common trait among high-activity AMPs, aligning with key descriptors identified in our QSAR analysis (e.g., propensity for helical folding). To advance these in silico findings toward therapeutic applications, future work should focus on experimental validation and stability optimization, such as using stability-guided design strategies similar to those employed for oncolytic peptides like LTX-315 [46], or mirror-image phage display techniques to enhance proteolytic resistance [47]. Furthermore, targeted delivery systems [48] could be explored to improve the bioavailability and tissue specificity of these promising candidates. Future work includes generating experimental MIC data for Enterobacteriaceae to correlate these values with specific molecular descriptors and develop more accurate, group-specific QSAR models. This strategy may be extended to other bacterial groups to strengthen predictive capabilities. Although the tool was validated using independent test sets, further experimental validation is planned to enhance its applicability.

5. Conclusions

In this study, we constructed a database comprising over 35,000 records of antimicrobial activity corresponding to 4874 peptides, from which 56 predictive models were developed using machine learning techniques. Models based on Random Forest algorithms demonstrated the best overall performance, particularly in classification tasks (MCC = 0.662–0.755), outperforming the regression models. Further analysis revealed that higher net positive charge, lower molecular weight, reduced hydrophobicity, increased alpha-helical propensity, and a greater frequency of residues such as lysine and serine were associated with enhanced antimicrobial activity. Nearly one million in silico–designed peptides were evaluated using the top-performing models, identifying those with the greatest predicted potential, with MIC values ranging from 12.58 to 33.87 µg/mL. These promising peptides shared distinct structural and physicochemical characteristics that may serve as key determinants of activity, offering valuable insights for the rational design of novel antimicrobial peptides.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/pharmaceutics17080993/s1, Figure S1: ROC curve of the Random Forest -based classification models on the test dataset during validation. Figure S2: Importance of descriptors in the classification model against all microorganisms, Figure S3: Importance of descriptors in the classification model against Gram-negative organisms, Figure S4: Importance of descriptors in the classification model against Gram-positive organisms, Figure S5: Importance of descriptors in the classification model against organisms of the genus Escherichia, Figure S6: Importance of descriptors in the classification model against organisms of the genus Pseudomonas, Figure S7: Importance of descriptors in the classification model against organisms of the genus Staphylococcus, Figure S8: Importance of descriptors in the classification model against organisms of the genus Bacillus, Figure S9: Importance of descriptors in the regression model against all microorganisms, Figure S10: Importance of descriptors in the regression model against Gram-negative organisms, Figure S11: Importance of descriptors in the regression model against Gram-positive organisms, Figure S12: Importance of descriptors in the regression model against organisms of the genus Escherichia, Figure S13: Importance of the descriptors in the regression model against organisms of the genus Pseudomonas, Figure S14: Importance of the descriptors in the regression model against organisms of the genus Staphylococcus, Figure S15: Importance of the descriptors in the regression model against organisms of the genus Bacillus. Table S1: Performance of the regression models on the training set (Train) and internal validation (CV), Table S2: Performance of the regression models on the training set (Train) and internal validation (CV), Table S3: Prediction of the probability of peptides being antimicrobial, Table S4: MIC prediction of the designed peptides according to the regression models, Table S5: Set of Descriptors used in this study and their importance, Table S6: Dataset of peptide sequences and original experimental MIC values used to generate ML models.

Author Contributions

Conceptualization, E.I.B.-V.d.V., M.E.M.-A. and C.S.-C.; Data curation, E.I.B.-V.d.V.; Formal analysis, E.I.B.-V.d.V.; Funding acquisition, M.E.M.-A., L.P.N.-B. and C.S.-C.; Investigation, E.I.B.-V.d.V. and C.S.-C.; Methodology, E.I.B.-V.d.V. and C.S.-C.; Project administration, M.E.M.-A., L.P.N.-B. and C.S.-C.; Resources, E.I.B.-V.d.V., M.E.M.-A., L.P.N.-B. and C.S.-C.; Software, E.I.B.-V.d.V.; Supervision, C.S.-C.; Validation, E.I.B.-V.d.V.; Visualization, E.I.B.-V.d.V. and C.S.-C.; Writing—original draft, E.I.B.-V.d.V.; Writing—review and editing, M.E.M.-A., L.P.N.-B. and C.S.-C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Universidad Nacional Mayor de San Marcos—RR N° 006081-R-23 and project number A23042271 and the support provided by the Division of Theoretical and Computational Biochemistry, which is an integral part of the UNMSM-Research Group Genobidc.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The antimicrobial peptide dataset is available as supplementary information. The complete data presented in this study are available upon request from the corresponding author. The machine learning models and prediction tool are available at: https://github.com/EliezerBonifacio/AMP_Prediction_ColabTool, accessed on 27 July 2025.

Acknowledgments

This research was supported by the Universidad Nacional Mayor de San Marcos—RR N° 006081-R-23 and project number A23042271, the Research Group Genobidc, a division of Theoretical and Computational Biochemistry, and the Research Institute of the Peruvian Amazon (IIAP).

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AMPAntimicrobial peptides
QSARQuantitative structure–activity relationship
LRLogistic regression
RFRandom forest
SVMSupport vector machine
GBMGradient boosting machine
PLSPartial least squares regression
MLMachine learning
RFERecursive features elimination
GAGenetic algorithm
LOFLocal outlier factor
RMSERoot mean square error
MAEMean absolute error
AUCArea under the receiver operating characteristic curve
MCCMatthews correlation coefficient

References

  1. Marcos-Carbajal, P.; Galarza-Pérez, M.; Huancahuire-Vega, S.; Otiniano-Trujillo, M.; Soto-Pastrana, J. Comparación de Los Perfiles de Resistencia Antimicrobiana de Escherichia Coli Uropatógena e Incidencia de La Producción de Betalactamasas de Espectro Extendido En Tres Establecimientos Privados de Salud de Perú. Biomédica 2020, 40, 139–147. [Google Scholar] [CrossRef]
  2. Romani, A.A.; Baroni, M.C.; Taddei, S.; Ghidini, F.; Sansoni, P.; Cavirani, S.; Cabassi, C.S. In Vitro Activity of Novel in Silico-Developed Antimicrobial Peptides against a Panel of Bacterial Pathogens. J. Pept. Sci. 2013, 19, 554–565. [Google Scholar] [CrossRef] [PubMed]
  3. Jukič, M.; Bren, U. Machine Learning in Antibacterial Drug Design. Front. Pharmacol. 2022, 13, 864412. [Google Scholar] [CrossRef] [PubMed]
  4. Organización Mundial de la Salud. Plan de Acción Mundial Sobre la Resistencia a los Antimicrobianos; Organización Mundial de la Salud: Ginebra, Suiza, 2016; ISBN 978-92-4-350976-1. [Google Scholar]
  5. Mahlapuu, M.; Håkansson, J.; Ringstad, L.; Björn, C. Antimicrobial Peptides: An Emerging Category of Therapeutic Agents. Front. Cell. Infect. Microbiol. 2016, 6, 194. [Google Scholar] [CrossRef]
  6. Mitra, J.B.; Sharma, V.K.; Kumar, M.; Mukherjee, A. Antimicrobial Peptides: Vestiges of Past or Modern Therapeutics? Mini-Rev. Med. Chem. 2019, 20, 183–195. [Google Scholar] [CrossRef] [PubMed]
  7. Browne, K.; Chakraborty, S.; Chen, R.; Willcox, M.D.P.; Black, D.S.; Walsh, W.R.; Kumar, N. A New Era of Antibiotics: The Clinical Potential of Antimicrobial Peptides. Int. J. Mol. Sci. 2020, 21, 7047. [Google Scholar] [CrossRef]
  8. Ao, C.; Zhang, Y.; Li, D.; Zhao, Y.; Zou, Q. Progress in the Development of Antimicrobial Peptide Prediction Tools. Curr. Protein Pept. Sci. 2020, 22, 211–216. [Google Scholar] [CrossRef]
  9. Taboureau, O. Methods for Building Quantitative Structure-Activity Relationship (QSAR) Descriptors and Predictive Models for Computer-Aided Design of Antimicrobial Peptides. In Methods in Molecular Biology; Humana Press: Totowa, NJ, USA, 2010; Volume 618, pp. 77–86. [Google Scholar] [CrossRef]
  10. Wang, G. Improved Methods for Classification, Prediction, and Design of Antimicrobial Peptides. Methods Mol. Biol. 2015, 1268, 43–66. [Google Scholar] [CrossRef]
  11. Fjell, C.D.; Hiss, J.A.; Hancock, R.E.W.; Schneider, G. Designing Antimicrobial Peptides: Form Follows Function. Nat. Rev. Drug Discov. 2011, 11, 37–51. [Google Scholar] [CrossRef]
  12. Rondón-Villarreal, P.; Sierra, D.A.; Torres, R. Machine Learning in the Rational Design of Antimicrobial Peptides. Curr. Comput. Aided Drug Des. 2014, 10, 183–190. [Google Scholar] [CrossRef]
  13. Dara, S.; Dhamercherla, S.; Jadav, S.S.; Babu, C.M.; Ahsan, M.J. Machine Learning in Drug Discovery: A Review. Artif. Intell. Rev. 2022, 55, 1947–1999. [Google Scholar] [CrossRef]
  14. Wang, K.; Yin, J.; Chen, J.; Ma, J.; Si, H.; Xia, D. Inhibition of Inflammation by Berberine: Molecular Mechanism and Network Pharmacology Analysis. Phytomedicine 2024, 128, 155258. [Google Scholar] [CrossRef]
  15. Zhang, N.; Wang, Y.; Zhang, H.; Fang, H.; Li, X.; Li, Z.; Huan, Z.; Zhang, Z.; Wang, Y.; Li, W.; et al. Application of Interpretable Machine Learning Algorithms to Predict Macroangiopathy Risk in Chinese Patients with Type 2 Diabetes Mellitus. Sci. Rep. 2025, 15, 16393. [Google Scholar] [CrossRef]
  16. Powers, J.-P.S.; Hancock, R.E.W. The Relationship between Peptide Structure and Antibacterial Activity. Peptides 2003, 24, 1681–1691. [Google Scholar] [CrossRef] [PubMed]
  17. Pirtskhalava, M.; Amstrong, A.A.; Grigolava, M.; Chubinidze, M.; Alimbarashvili, E.; Vishnepolsky, B.; Gabrielian, A.; Rosenthal, A.; Hurt, D.E.; Tartakovsky, M. DBAASP v3: Database of Antimicrobial/Cytotoxic Activity and Structure of Peptides as a Resource for Development of New Therapeutics. Nucleic Acids Res. 2021, 49, D288–D297. [Google Scholar] [CrossRef] [PubMed]
  18. Wang, G.; Li, X.; Wang, Z. APD3: The Antimicrobial Peptide Database as a Tool for Research and Education. Nucleic Acids Res. 2016, 44, D1087–D1093. [Google Scholar] [CrossRef]
  19. Müller, A.T.; Gabernet, G.; Hiss, J.A.; Schneider, G. modlAMP: Python for Antimicrobial Peptides. Bioinformatics 2017, 33, 2753–2755. [Google Scholar] [CrossRef]
  20. Vishnepolsky, B.; Gabrielian, A.; Rosenthal, A.; Hurt, D.E.; Tartakovsky, M.; Managadze, G.; Grigolava, M.; Makhatadze, G.I.; Pirtskhalava, M. Predictive Model of Linear Antimicrobial Peptides Active against Gram-Negative Bacteria. J. Chem. Inf. Model. 2018, 58, 1141–1151. [Google Scholar] [CrossRef]
  21. Pinacho-Castellanos, S.A.; García-Jacas, C.R.; Gilson, M.K.; Brizuela, C.A. Alignment-Free Antimicrobial Peptide Predictors: Improving Performance by a Thorough Analysis of the Largest Available Data Set. J. Chem. Inf. Model. 2021, 61, 3141–3157. [Google Scholar] [CrossRef] [PubMed]
  22. Lamiable, A.; Thévenet, P.; Rey, J.; Vavrusa, M.; Derreumaux, P.; Tufféry, P. PEP-FOLD3: Faster de Novo Structure Prediction for Linear Peptides in Solution and in Complex. Nucleic Acids Res. 2016, 44, W449–W454. [Google Scholar] [CrossRef]
  23. Wilkins, M.R.; Gasteiger, E.; Bairoch, A.; Sanchez, J.C.; Williams, K.L.; Appel, R.D.; Hochstrasser, D.F. Protein Identification and Analysis Tools in the ExPASy Server. In Methods in Molecular Biology; Humana Press: Totowa, NJ, USA, 1999; Volume 112, pp. 531–552. [Google Scholar] [CrossRef]
  24. Zhang, L.J.; Gallo, R.L. Antimicrobial Peptides. Curr. Biol. 2016, 26, R14–R19. [Google Scholar] [CrossRef]
  25. Waghu, F.H.; Barai, R.S.; Gurung, P.; Idicula-Thomas, S. CAMPR3: A Database on Sequences, Structures and Signatures of Antimicrobial Peptides. Nucleic Acids Res. 2016, 44, D1094–D1097. [Google Scholar] [CrossRef]
  26. Beltran, J.A.; Aguilera-Mendoza, L.; Brizuela, C.A. Optimal Selection of Molecular Descriptors for Antimicrobial Peptides Classification: An Evolutionary Feature Weighting Approach. BMC Genom. 2018, 19, 672. [Google Scholar] [CrossRef]
  27. Kang, X.; Dong, F.; Shi, C.; Liu, S.; Sun, J.; Chen, J.; Li, H.; Xu, H.; Lao, X.; Zheng, H. DRAMP 2.0, an Updated Data Repository of Antimicrobial Peptides. Sci. Data 2019, 6, 148. [Google Scholar] [CrossRef]
  28. Rudilla, H.; Merlos, A.; Sans-Serramitjana, E.; Fusté, E.; Sierra, J.M.; Zalacaín, A.; Vinuesa, T.; Viñas, M. New and Old Tools to Evaluate New Antimicrobial Peptides. AIMS Microbiol. 2018, 4, 522–540. [Google Scholar] [CrossRef]
  29. Boone, K.; Camarda, K.; Spencer, P.; Tamerler, C. Antimicrobial Peptide Similarity and Classification through Rough Set Theory Using Physicochemical Boundaries. BMC Bioinform. 2018, 19, 469. [Google Scholar] [CrossRef] [PubMed]
  30. Fernandes, F.C.; Rigden, D.J.; Franco, O.L. Prediction of Antimicrobial Peptides Based on the Adaptive Neuro-Fuzzy Inference System Application. Pept. Sci. 2012, 98, 280–287. [Google Scholar] [CrossRef] [PubMed]
  31. Wang, P.; Hu, L.; Liu, G.; Jiang, N.; Chen, X.; Xu, J.; Zheng, W.; Li, L.; Tan, M.; Chen, Z.; et al. Prediction of Antimicrobial Peptides Based on Sequence Alignment and Feature Selection Methods. PLoS ONE 2011, 6, e18476. [Google Scholar] [CrossRef] [PubMed]
  32. Xiao, X.; Wang, P.; Lin, W.-Z.; Jia, J.-H.; Chou, K.-C. iAMP-2L: A Two-Level Multi-Label Classifier for Identifying Antimicrobial Peptides and Their Functional Types. Anal. Biochem. 2013, 436, 168–177. [Google Scholar] [CrossRef]
  33. Zhao, L.; Wang, W.; Sedykh, A.; Zhu, H. Experimental Errors in QSAR Modeling Sets: What We Can Do and What We Cannot Do. ACS Omega 2017, 2, 2805–2812. [Google Scholar] [CrossRef]
  34. Organization for Economic Co-Operation and Development. OECD Principles for the Validation, for Regulatory Purposes, of (Quantitative) Structure-Activity Relationship Models. Available online: https://www.oecd.org/content/dam/oecd/en/topics/policy-sub-issues/assessment-of-chemicals/oecd-principles-for-the-validation-for-regulatory-purposes-of-quantitative-structure-activity-relationship-models.pdf (accessed on 14 September 2023).
  35. Kar, S.; Roy, K.; Leszczynski, J. Applicability Domain: A Step Toward Confident Predictions and Decidability for QSAR Modeling. In Methods in Molecular Biology; Humana Press: New York, NY, USA, 2018; Volume 1800, pp. 141–169. [Google Scholar] [CrossRef]
  36. Hanser, T.; Barber, C.; Marchaland, J.F.; Werner, S. Applicability Domain: Towards a More Formal Definition. SAR QSAR Environ. Res. 2016, 27, 893–909. [Google Scholar] [CrossRef] [PubMed]
  37. Fields, F.R.; Freed, S.D.; Carothers, K.E.; Hamid, M.N.; Hammers, D.E.; Ross, J.N.; Kalwajtys, V.R.; Gonzalez, A.J.; Hildreth, A.D.; Friedberg, I.; et al. Novel Antimicrobial Peptide Discovery Using Machine Learning and Biophysical Selection of Minimal Bacteriocin Domains. Drug Dev. Res. 2020, 81, 43–51. [Google Scholar] [CrossRef]
  38. Tian, Y.; Zhang, S.; Yin, H.; Yan, A. Quantitative Structure-Activity Relationship (QSAR) Models and Their Applicability Domain Analysis on HIV-1 Protease Inhibitors by Machine Learning Methods. Chemom. Intell. Lab. Syst. 2020, 196, 103888. [Google Scholar] [CrossRef]
  39. Wang, Y.; Ding, Y.; Wen, H.; Lin, Y.; Hu, Y.; Zhang, Y.; Xia, Q.; Lin, Z. QSAR Modeling and Design of Cationic Antimicrobial Peptides Based on Structural Properties of Amino Acids. Comb. Chem. High Throughput Screen. 2012, 15, 347–353. [Google Scholar] [CrossRef]
  40. Avram, S.; Mihailescu, D.; Borcan, F.; Milac, A.-L. Prediction of Improved Antimicrobial Mastoparan Derivatives by 3D-QSAR-CoMSIA/CoMFA and Computational Mutagenesis. Monatshefte Chem. 2012, 143, 535–543. [Google Scholar] [CrossRef]
  41. Dong, G.-F.; Zheng, L.; Huang, S.-H.; Gao, J.; Zuo, Y.-C. Amino Acid Reduction Can Help to Improve the Identification of Antimicrobial Peptides and Their Functional Activities. Front. Genet. 2021, 12, 669328. [Google Scholar] [CrossRef]
  42. Mba, I.E.; Nweze, E.I. Antimicrobial Peptides Therapy: An Emerging Alternative for Treating Drug-Resistant Bacteria. Yale J. Biol. Med. 2022, 95, 445–463. [Google Scholar]
  43. Malanovic, N.; Lohner, K. Antimicrobial Peptides Targeting Gram-Positive Bacteria. Pharmaceuticals 2016, 9, 59. [Google Scholar] [CrossRef] [PubMed]
  44. Eisenberg, D. Three-Dimensional Structure of Membrane and Surface Proteins. Annu. Rev. Biochem. 1984, 53, 595–623. [Google Scholar] [CrossRef]
  45. Meher, P.K.; Sahu, T.K.; Saini, V.; Rao, A.R. Predicting Antimicrobial Peptides with Improved Accuracy by Incorporating the Compositional, Physico-Chemical and Structural Features into Chou’s General PseAAC. Sci. Rep. 2017, 7, 42362. [Google Scholar] [CrossRef] [PubMed]
  46. Fu, X.-Y.; Yin, H.; Chen, X.-T.; Yao, J.-F.; Ma, Y.-N.; Song, M.; Xu, H.; Yu, Q.-Y.; Du, S.-S.; Qi, Y.-K.; et al. Three Rounds of Stability-Guided Optimization and Systematical Evaluation of Oncolytic Peptide LTX-315. J. Med. Chem. 2024, 67, 3885–3908. [Google Scholar] [CrossRef] [PubMed]
  47. Qi, Y.-K.; Zheng, J.-S.; Liu, L. Mirror-Image Protein and Peptide Drug Discovery through Mirror-Image Phage Display. Chem 2024, 10, 2390–2407. [Google Scholar] [CrossRef]
  48. Sun, W.; Jang, M.-S.; Zhan, S.; Liu, C.; Sheng, L.; Lee, J.H.; Fu, Y.; Yang, H.Y. Tumor-Targeting and Redox-Responsive Photo-Cross-Linked Nanogel Derived from Multifunctional Hyaluronic Acid-Lipoic Acid Conjugates for Enhanced in Vivo Protein Delivery. Int. J. Biol. Macromol. 2025, 314, 144444. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Number of records in the antimicrobial peptide database. Records by microorganism type at top left, records by antimicrobial activity measurement type at top right, and records by microorganism genus at bottom.
Figure 1. Number of records in the antimicrobial peptide database. Records by microorganism type at top left, records by antimicrobial activity measurement type at top right, and records by microorganism genus at bottom.
Pharmaceutics 17 00993 g001
Figure 2. Distribution of the decision score for the applicability domain performed by k-NN on the general classification model. Values less than 0 are considered outliers and therefore outside the applicability domain. The orange indicates the observations corresponding to the test set, which defines the applicability domain, and the blue indicates the training set.
Figure 2. Distribution of the decision score for the applicability domain performed by k-NN on the general classification model. Values less than 0 are considered outliers and therefore outside the applicability domain. The orange indicates the observations corresponding to the test set, which defines the applicability domain, and the blue indicates the training set.
Pharmaceutics 17 00993 g002
Figure 3. Distribution of some of the most important descriptors. AMPs (Class 1) are shown in blue, and non-AMPs (Class 0) are shown in red. The figure shows that the data have a differentiable distribution based on their class. The most relevant descriptors for the generated regression and classification models are shown.
Figure 3. Distribution of some of the most important descriptors. AMPs (Class 1) are shown in blue, and non-AMPs (Class 0) are shown in red. The figure shows that the data have a differentiable distribution based on their class. The most relevant descriptors for the generated regression and classification models are shown.
Pharmaceutics 17 00993 g003
Figure 4. Box plots showing the importance of each descriptor type in the classification (top) and regression (bottom) models. The legend indicates the descriptor categories: Propensity for alpha-helical and coil structures (A), beta-sheet structures (B), general composition (C), amino acid composition (CA), hydrophobicity (H), other properties (O), and physicochemical properties (P).
Figure 4. Box plots showing the importance of each descriptor type in the classification (top) and regression (bottom) models. The legend indicates the descriptor categories: Propensity for alpha-helical and coil structures (A), beta-sheet structures (B), general composition (C), amino acid composition (CA), hydrophobicity (H), other properties (O), and physicochemical properties (P).
Pharmaceutics 17 00993 g004
Figure 5. Secondary structures of peptides with the highest predicted antimicrobial potential. Hydrophobic residues are colored in red, while hydrophilic residues are shown in blue.
Figure 5. Secondary structures of peptides with the highest predicted antimicrobial potential. Hydrophobic residues are colored in red, while hydrophilic residues are shown in blue.
Pharmaceutics 17 00993 g005
Table 1. Number of descriptors selected by the recursive elimination process (RFE) and genetic algorithm (GA) in each dataset.
Table 1. Number of descriptors selected by the recursive elimination process (RFE) and genetic algorithm (GA) in each dataset.
RegressionClassification
DatasetInitialsRFEGAInitialsRFEGA
Peptides vs. All22166392506026
Peptides vs. GramN21966402507045
Peptides vs. GramP2195241250245118
Peptides vs. Escherichia219624825020593
Peptides vs. Pseudomonas21964642505528
Peptides vs. Staphylococcus220464625012067
Peptides vs. Bacillus21840402505532
Table 2. Final performance of the models on the test sets.
Table 2. Final performance of the models on the test sets.
Dataset R e g r e s s i o n T e s t C l a s s i f i c a t i o n T e s t
R2MCCACCPrSn
Peptides vs. All0.4590.6620.8310.8380.829
Peptides vs. GramN0.4760.7080.8540.8830.845
Peptides vs. GramP0.3390.6750.8370.8250.863
Peptides vs. Escherichia0.5470.7540.8760.8510.909
Peptides vs. Pseudomonas0.4150.7550.8770.8560.911
Peptides vs. Staphylococcus0.3600.7010.8490.8180.884
Peptides vs. Bacillus0.5740.7460.8730.9020.860
Table 3. The average importance of variables in classification models based on Random Forest.
Table 3. The average importance of variables in classification models based on Random Forest.
Classification ModelsABCCAHOPp-Value **
vs. All11.4*8.66.09.713.125.70.853
vs. GramN7.37.817.917.417.111.331.30.349
vs. GramP21.516.219.12.524.419.126.00.000
vs. Escherichia10.38.114.6239.19.118.60.000
vs. Pseudomonas6.72.67.4*3.13.232.40.366
vs. Staphylococcus8.913.215.88.415.318.634.00.755
vs. Bacillus10.9*8.816.616.411.942.80.674
*: No variable of that type was considered by the model. ** α < 0.05, Kruskal–Wallis test, there is at least one significant difference between groups. A: Propensity for alpha-helical and twist structures; B: Propensity for beta-sheet structures; C: Composition; A: Amino acid composition; H: Hydrophobicity; O: Other properties; P: Physicochemical properties.
Table 4. The average of the importance of the variables in the regression models based on Random Forest.
Table 4. The average of the importance of the variables in the regression models based on Random Forest.
Regression ModelsABCCAHOPp-Value **
vs. All***3.7923.5336.5972.120.005
vs. GramN36.93**5.8327.6736.9140.110.000
vs. GramP54.52**7.1647.5649.6058.550.000
vs. Escherichia25.12**3.4322.7826.8828.130.000
vs. Pseudomonas11.2512.8414.610.6811.9910.3116.810.042
vs. Staphylococcus10.039.367.680.0012.149.0618.920.162
vs. Bacillus22.80**4.3617.8919.4620.630.000
*: No variable of that type was considered by the model. ** α < 0.05, Kruskal–Wallis test, there is at least one significant difference between groups. A: Propensity for alpha-helical and twist structures; B: Propensity for beta-sheet structures; C: Composition; A: Amino acid composition; H: Hydrophobicity; O: Other properties; P: Physicochemical properties.
Table 5. Sequence of peptides with the greatest antimicrobial potential.
Table 5. Sequence of peptides with the greatest antimicrobial potential.
PeptideSequence
NPEP160435RNSIKPKVKKKWLKLTAKGLLLK
NPEP857629KKLVKLKRGSQKKRILYYVGIPTLFKAAFKRISKL
NPEP411179GIRIPKATSRKRYLKKIFEKKQAFVLFRFIP
NPEP535227LFILNRAKRPKKSKIGLPRKITK
NPEP785404TRVLGGTKKRRGVKLGAIKKWTLLGIRVLPQKR
NPEP551925WRRLKLFKTSKVKYIYKKKGSLVK
NPEP90259RLLNKPRKIKFVIIPRKPFKRKSFAIWTKLKLG
NPEP251829AKVRLLITRLKKKFLIGRRDK
NPEP494819AKIALLAPRITKKIKKFRFSAKKHFIF
NPEP608070GRIRKTFLGLVGKKWYTKRIYSKR
Table 6. Properties and characteristics of the peptides with the greatest antimicrobial potential. AT: Alpha-helix trend, BT: Beta Trend-Turn, CT: Coil Trend, H: Hydrophobicity P: Polarity R: Refractivity: K: Number of lysines C: Net Charge.
Table 6. Properties and characteristics of the peptides with the greatest antimicrobial potential. AT: Alpha-helix trend, BT: Beta Trend-Turn, CT: Coil Trend, H: Hydrophobicity P: Polarity R: Refractivity: K: Number of lysines C: Net Charge.
PeptideAT 1BT 1CT 1HPRKC
NPEP1604351.0871.0070.937−0.1608.52018.55389
NPEP8576291.0440.9450.9560.1598.12017.780912
NPEP4111791.1310.9120.913−0.1068.55719.65169
NPEP5352271.0191.0821.004−0.5009.00716.99869
NPEP7854041.0180.9980.9610.0188.25816.364610
NPEP5519251.0210.9790.950−0.2348.48819.639810
NPEP902591.0500.9040.9630.1438.17319.888812
NPEP2518291.1170.8810.902−0.0128.17219.83058
NPEP4948191.1210.9020.927−0.0938.42818.84179
NPEP6080700.9910.9690.9710.1468.06019.42059
1 Deleage and Roux scale.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Bonifacio-Velez de Villa, E.I.; Montoya-Alfaro, M.E.; Negrón-Ballarte, L.P.; Solis-Calero, C. Predicting Antimicrobial Peptide Activity: A Machine Learning-Based Quantitative Structure–Activity Relationship Approach. Pharmaceutics 2025, 17, 993. https://doi.org/10.3390/pharmaceutics17080993

AMA Style

Bonifacio-Velez de Villa EI, Montoya-Alfaro ME, Negrón-Ballarte LP, Solis-Calero C. Predicting Antimicrobial Peptide Activity: A Machine Learning-Based Quantitative Structure–Activity Relationship Approach. Pharmaceutics. 2025; 17(8):993. https://doi.org/10.3390/pharmaceutics17080993

Chicago/Turabian Style

Bonifacio-Velez de Villa, Eliezer I., María E. Montoya-Alfaro, Luisa P. Negrón-Ballarte, and Christian Solis-Calero. 2025. "Predicting Antimicrobial Peptide Activity: A Machine Learning-Based Quantitative Structure–Activity Relationship Approach" Pharmaceutics 17, no. 8: 993. https://doi.org/10.3390/pharmaceutics17080993

APA Style

Bonifacio-Velez de Villa, E. I., Montoya-Alfaro, M. E., Negrón-Ballarte, L. P., & Solis-Calero, C. (2025). Predicting Antimicrobial Peptide Activity: A Machine Learning-Based Quantitative Structure–Activity Relationship Approach. Pharmaceutics, 17(8), 993. https://doi.org/10.3390/pharmaceutics17080993

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop