Skip to main content

Co-AMPpred for in silico-aided predictions of antimicrobial peptides by integrating composition-based features



Antimicrobial peptides (AMPs) are oligopeptides that act as crucial components of innate immunity, naturally occur in all multicellular organisms, and are involved in the first line of defense function. Recent studies showed that AMPs perpetuate great potential that is not limited to antimicrobial activity. They are also crucial regulators of host immune responses that can modulate a wide range of activities, such as immune regulation, wound healing, and apoptosis. However, a microorganism's ability to adapt and to resist existing antibiotics triggered the scientific community to develop alternatives to conventional antibiotics. Therefore, to address this issue, we proposed Co-AMPpred, an in silico-aided AMP prediction method based on compositional features of amino acid residues to classify AMPs and non-AMPs.


In our study, we developed a prediction method that incorporates composition-based sequence and physicochemical features into various machine-learning algorithms. Then, the boruta feature-selection algorithm was used to identify discriminative biological features. Furthermore, we only used discriminative biological features to develop our model. Additionally, we performed a stratified tenfold cross-validation technique to validate the predictive performance of our AMP prediction model and evaluated on the independent holdout test dataset. A benchmark dataset was collected from previous studies to evaluate the predictive performance of our model.


Experimental results show that combining composition-based and physicochemical features outperformed existing methods on both the benchmark training dataset and a reduced training dataset. Finally, our proposed method achieved 80.8% accuracies and 0.871 area under the receiver operating characteristic curve by evaluating on independent test set. Our code and datasets are available at


Antimicrobial peptides (AMPs)

In 1928, Alexander Fleming accidentally discovered the first commercialized antibiotic, “Penicillin, " that enormously changed the world of medicine [1]. Over the period, this finding was turned into a wonder drug that can miraculously cure bacterial infections in patients, and countless lives have been saved [2]. Since then, several antibiotics were discovered that contributed to revolutionizing the 20th-century healthcare system and achieved undeniable success in treating and deterring infectious diseases [3]. Unfortunately, however, unnecessary prescribing and overprescribing of antibiotics over the years lead to antibiotic resistance in microbes [4]. According to the World health organization (WHO) report, 0.7 million people die each year due to antibiotic-resistant disease, including 0.23 million deaths from multidrug-resistant tuberculosis, which is perhaps the major public health concern today.

Antibiotic resistance is defined as the ability of the pathogen to resist antibiotics to which they were first sensitive [5]. There are various mechanisms by which microorganisms gain resistance to antibiotics. First is by limiting the uptake of antibiotics by reducing their permeability, as in Gram-negative bacteria [6]. Compared to the peptidoglycan layer of Gram-positive bacteria, Gram-negative species have a lipopolysaccharide outer membrane, which is a superior permeability barrier for bacteria to keep drugs out [7]. Similarly some bacteria may also gain resistance to specific antibiotics by altering the hydrophobic properties of the outer membrane barrier [8]. Second is by modifying the drug targets as the antibiotics may target multiple components of the bacterial cell. Therefore, in response to the drug, bacteria also modify its components to enable resistance. For example, Gram-positive bacteria alter the structure and number of PBPs (Penicillin-binding proteins) against β-lactam drugs. PBPs are transpeptidase enzymes that help in cell wall biosynthesis by cross-linking peptidoglycans. An increase or decrease in the PBPs affects the drug binding to its target [6]. Third is by the inactivation of the drug through its modification by the bacterial enzyme. For example, β-lactamase can hydrolyze many β-lactam antibiotics like penicillin, cephalosporin, carbapenems, etc., making them ineffective [9]. Fourth way of bacterial resistance to antibiotics is by drug efflux. Exposure of the antibiotic activates bacterial pathways causing overexpression of transporter gene and efflux pumps that can pump out the antibiotics before reaching their target sites imparting resistance to the bacteria [10, 11]. Lastly, microbes also gain resistance by bypassing the effects of antibiotics by developing new cellular processes. For example, trimethoprim drug targets prokaryotic dihydrofolate reductase (DHFR) enzyme activity required for DNA synthesis more efficiently than eukaryotic DHFR. Nevertheless, Staphylococcus aureus bacteria gain resistance to the antibiotic by substituting amino acid in the chromosomally encoded DHFR or by horizontal transfer of plasmid encoding DHFR enzyme, which is not sensitive to inhibition [12].

As described above, resistance to an antibiotic is a major public health concern, and the development of new therapeutics alternatives is much needed. Antimicrobial peptides (AMPs) are promising potential candidates to serve as an alternative to antibiotics to counteract multidrug-resistant in microbes. AMPs are ancient conserved gene-encoded molecules that act as critical components of host innate immunity against invading pathogens. These oligopeptides naturally occur in multicellular organisms as the first line of defense against invading microbes [13]. These peptides exhibit a broad spectrum of antibacterial activities against gram-positive and gram-negative bacteria. AMPs consist of positively charged (cationic) residues (arginine and lysine) and a large portion (30–60%) of hydrophobic residues [14]. The basic properties (amphipathicity, cationic charge, and helical structure) of these residues permit them to interact and disturb membranes with negatively charged lipopolysaccharide membranes (outer membrane) or with the cytoplasmic membrane composed of lipoteichoic acids and peptidoglycan of gram-positive bacteria via ‘barrel-stave’, ‘carpet’, or toroidal pore mechanisms [15]. Moreover, AMPs also have antibacterial, antifungal, antiviral, and antiparasitic activities [16].

Since the first AMP was discovered, researchers have been inclined to understand the importance of amino acid residues in antimicrobial activity to design and yield better peptides [17]. Typically, amino acids were substituted to redesign peptides with increased positive charges and hydrophobic residues. However, several studies led to the discovery of distinct cationic host defense peptides (CHDPs) comprising magainins [18], cathelicidins [19], defensins [20], and cecropins [21]. These peptides have remarkably different structures and bioactivity profiles from conventional drugs [22]. Comprehensive work done in this field concluded that these bioactive peptides act as direct antimicrobial agents and are crucial regulators of the innate immune response. They can promote recruitment and accumulation of various immune cells at inflammatory sites, enhance phagocytosis, stimulate angiogenesis and induce wound repair [23]. Contrary to this, all conventional drug screening and design approaches require considerable patience and commitment, intensive effort, and atrocious costs with an ancillary workforce. Additionally, the experimental validation of a vast array of molecules for specific healing properties is comparatively challenging.

Literature review

In the past two decades, numerous sequence-based in silico methods were reported to help develop novel candidate molecules. Generally, these prediction methods were based on exploring sequence-based and physiochemical-based properties of AMPs with machine-learning methods. Spänig et al. have recently presented a review introducing existing important encodings of amino acids and the efficient models for AMP classification [24]. Xiao et al. proposed a two-level prediction method based on pseudo amino acid compositions with a fuzzy K-nearest neighbour (FKNN) algorithm [25]. Mehar et al. developed a prediction method based on a support vector machine with compositional, physicochemical, and structural features of peptides [26]. Bahdra et al.proposed AmPEP, a random forest (RF) classifier-based prediction model in which distribution patterns of amino acid properties were used as input to develop a highly accurate prediction model [27]. In 2018, Veltri et al. developed the first deep-learning method with primary sequence composition; for that, they proposed a neural network model with convolutional and recurrent layers. The datasets used in the study were 1,778 AMPs and 1,778 non-AMPs, respectively, downloaded from the APD vr.3 and UniProt databases. Their proposed method's overall performance showed an accuracy of 91.0% and an area under the receiver operating characteristics curve (AUROC) of 0.964 [28]. Lin et al. developed a MAMP-Pred prediction model to address the multilevel problem with the PS-RF and LC-RF classifiers’ help. They obtained their dataset from APD database with 2,618 AMPs, while the 4,371 non-AMP sequences were obtained from UniProt database. The overall performance of this model had 85.6% accuracy [29]. Yan et al. proposed another convolutional neural network (CNN)-based deep learning prediction model, DEEP-AmPEP30, with the help of PseKRAAC, with reduced amino acid compositions to predict short AMPs. The dataset used in their study consisted of comparably shorter (5 ~ 30 amino acid residues) peptide sequences than previous studies. DEEP-AmPEP30 outperformed the existing methods with a similar dataset with an overall accuracy of 77.1% and AUROC of 0.851 [30]. ACEP, a deep neural network (DNN)-based deep learning method that used a convolutional layer and LSTM layer to generate feature tensors of the dataset comprising 3,556 peptide sequences, was divided into three parts: 1,424 for training, 708 for tuning, and 1,424 for testing; they achieved an accuracy of 93% with the test dataset [31]. All existing methods [28, 29, 31] were developed based on AMP collections without considering sequence lengths. This observation was first reported by Yan et al. [32], tested all existing methods on short AMPs with lengths of 5 ~ 33 amino acid residues and found that the prediction accuracy ranged 65% ~ 73%, which was far worse than previously reported accuracies of 90% ~ 95%. The significant variation displayed by the existing models indicated that large sequences might not contain the optimal compositions for antimicrobial activity, and large sequences with 80 ~ 255 amino acid residues may contain sequence segments that do not depict antimicrobial activity. However, AMPs are short-length peptides ranging from 5 ~ 30 amino acid residues. Accordingly, it is reasonable to use a maximum sequence cut of 30 amino acid residues with optimal sequence compositions to enhance a model’s effectiveness. We further elucidated a hypothesis proposed by the previous study. We developed our model based on several encoding schemes of amino acids compositional and physicochemical properties for a short-length AMP dataset.

Challenges in AMP predictions

Despite many attractive advantages of AMPs over conventional drugs including lesser development of resistance against AMPs [33], inhibition of biofilm formation [34], and the modulation of host immune response [35], many fail to reach the market because of their low stability, shorter half-lives, and challenges with oral delivery, immunotoxicity, cytotoxicity, and most importantly, higher manufacturing costs. Several chemical strategies were established to address these problems but ended unsuccessfully with higher manufacturing costs and limited response rates. Thus, instead of conventional approaches for predicting AMPs, researchers have recently been inclined towards in silico approaches to elucidate the mechanisms of direct killing of pathogens and assist the pharmaceutical industry in developing novel therapeutics.

Specific aims of this study

The broad spectra of antimicrobial activities of AMPs with lower rates of resistance development make AMPs promising candidates for developing novel broad-spectrum antibiotics. This study proposes a prediction method in which composition-based sequence and physicochemical features are computed for short-length AMPs incorporated into several machine-learning algorithms. First, stratified tenfold cross validation was performed on the training dataset to test and evaluated multiple times. Second, boruta feature selection algorithm was used to identify discriminative features. The constructed classifier was used to evaluate the model on the holdout test dataset. The proposed AMP prediction method can further help to develop more-potent antimicrobial agents.


In the current study, we have used various approaches to classify AMPs over non-AMPs. Here we have elaborated all the analysis done in this study, such as AMPs sequence preference and compositional analysis, model development on the state-of-art dataset, and the reduced dataset generated by applying CD-HIT at various sequence identity thresholds. The detailed information is mentioned in the method section.

Sequence preference analysis and compositional analysis

In this study, we visually investigated differences in amino acid residues between positive and negative dataset based on positional information of charged and hydrophobic residues within the primary sequence of the AMP peptides with the help of a two-sample logo (TSL). The height of the peptide logo was scaled (t-test by p < 0.05) for statistical significance. To further examine amino acid residues' preferences at the N and C termini, we selected the greatest length (i.e., 30 amino acids) of AMPs and non-AMPs. Since, the sequence length of all the peptides differs, therefore, we used padding (-) to make the peptide lengths equal. Thus, the first 15 amino acid residues represented the N-terminal, and the last 15 residues represented the C-terminal. Notably, the most significant amino acid represents the relative abundance in the sequences.

Upon examination of the preference analysis based on charge and hydrophobicity, we found that in Fig. 1, positively charged residue, i.e., lysine (K), frequently occurred at the 7th, 8th, 11th, 12th, and 15th positions in the N-terminal, as well as the 19th, 22nd, and 23rd positions in C-terminal of AMPs. On the other hand, in non-AMPs negatively charged residues (aspartic acid and glutamic acid) were frequently present at the 2nd, 3rd, 4th, 5th, 6th, 7th, 8th, 9th, 10th, 12th, 14th, and 15th in N-terminal positions, as well as the 20th and 21st positions in the C-terminal. These data indicate that in AMPs, lysine is preferred in N-terminals among other cationic residues, while in non-AMPs, negatively charged residues are abundant in the N-terminus and dominated almost at every position. Similarly, the preference of hydrophobic amino acid residues such as leucine (L), isoleucine (I), and alanine (A) in AMPs were frequent at 2nd, 4th, 5th, 6th, 9th, and 13th positions of the N-terminal. Whereas at C-terminus, 17th, 20th, 21st, and 25th positions of L and I residues were frequent. Conversely, if we look at non-AMPs, hydrophobic residues occur only at 11th position in the N-terminal and at 18th, 19th, and 23rd positions in the C-terminal.

Fig. 1

Two-sample logo shows the preference of positively charged and hydrophobic residues in antimicrobial peptides (AMPs) and non-AMPs at different positions. The first 15 positions represent the N-terminus of peptides, and the last 15 positions represent the C-terminus of peptides

Compositional analysis of AMP datasets

Proteins are combinations of small molecules naturally present in polypeptides, known as proteinogenic or natural amino acids. Various organisms can diversify these amino acids into hormones, enzymes, antibodies, antibiotics, and many more with discrete biological activities. AMPs are cationic (positively charged) and amphiphilic (hydrophilic and hydrophobic) in nature [36]. With this knowledge, we analyzed AACs of both positive and negative AMP datasets. Average compositions of AMPs and non-AMPs are shown in Fig. 2. The average composition of positive residues such as lysine (K) and histidine (H) and hydrophobic residues such as alanine (A), isoleucine (I), leucine (L), proline (P), and tryptophan (W) in AMPs were higher than those in non-AMPs. Besides, negatively charged residues such as aspartic acid (D) and glutamic acid (E) were more abundant in non-AMPs than in AMPs.

Fig. 2

Average percentages of amino acid compositions (AACs) in antimicrobial peptides (AMPs) and non-AMPs

Machine-learning prediction models on the DEEP-AmPEP30 dataset

In our study, we used various machine-learning algorithms with the help of PyCaret, a python library. At first, we collected the dataset from a previous study [32]. Furthermore, we computed a vast array of feature descriptors (1,400 feature descriptors) for a given dataset. Then, we performed stratified tenfold cross-validation (CV) on the DEEP-AmPEP30 training dataset. Next, we used boruta feature-selection algorithm with a cutoff of 0.9 to select essential features, i.e., 70 feature descriptors. Then, we implemented several machine-learning algorithms on the selected features. To finalize the best model among the classifiers, GBC achieved the optimum performance with an AUROC of 0.814, an accuracy of 75.0%, and MCC of 0.504 on the training dataset, and an AUROC of 0.871 with an accuracy of 80.8%, and MCC of 0.606 on the test dataset with an AUCPR of 0.89. We listed the other classifier’s predictive performance on the benchmark DEEP-AmPEP30 training and independent test datasets in Table 1, and the AUROC values are given in Fig. 3.

Table 1 Performances of machine-learning models on the benchmark training and independent test datasets. Values shown are mean ± SD for the training dataset
Fig. 3

The area under the receiver operating characteristic (AUROC) curve shows the models' performance developed using selected features on the independent test dataset

Additionally, to evaluate the robustness of our model on the different independent test set. We retrieved the dataset used in the previous study IAMp-2L [25]. Initially, the test dataset contains 920 AMPs and 920 non-AMPs sequences. Then, we further processed the data by applying CD-HIT at a 90% sequence identity threshold to remove redundant sequences and finally, we obtained 674 AMPs and 630 non-AMPs. Our best model GBC achieved the AUROC of 0.951 with an accuracy of 88.3%. Contrastingly, we observed improved performance on the iAMp-2L test dataset compared to the DEEP-AmPEP30 independent test dataset. This improved performance is mainly affected by peptide sequence length distribution in both (DEEP-AmPEP30 and iAMp-2L) independent test sets and the benchmark training dataset. The differences in sequence length distribution are shown in Fig. 4. The performance of our models on the iAMp-2L test set is shown in Additional file 1.

Fig. 4

Sequence length distribution between training and test dataset. a) Sequence length distribution between DEEP-AMP30 training and independent test dataset. b) Sequence length distribution between DEEP-AMP30 training and iAMP-2L independent test dataset

Machine-learning model predictions on the reduced training datasets

CD-HIT is indeed the state-of-art method that is widely used in biological studies. We used CD-HIT to examine the benchmark dataset to minimize redundant sequences and address the overfitting problem. We used three different (i.e., 90%, 80%, and 70%) sequence identity thresholds to create three different training datasets. All these training datasets were used to train the model. Furthermore, we computed all feature descriptors listed in Table 2. We performed stratified tenfold cross-validation on the training set to fit and evaluate models’ multiple times. Based on the wrapper algorithm, we used boruta feature-selection method with a selection threshold of 0.9 to select the most important biological features, i.e., 171, 98, and 96 feature descriptors. With the obtained feature set, we used several machine-learning algorithms to predict AMPs on the holdout set. We listed all prediction performances in Additional files 24.

Table 2 List of all descriptors along with their abbreviations and numbers of features


This study tried to understand the importance of the PCPs of AMPs and their sequence-based amino acid compositions. The dataset had significant impact on machine-learning tasks. Hence, we collected training and benchmark test datasets from a previous study [32]. First, we developed our model on the same dataset for a comparative analysis with the state-of-the-art method and created other reduced datasets with CD-HIT at 90%, 80%, and 70% sequence identity thresholds from the training dataset. Second, we used available software packages and webservers to compute 1,400 feature descriptors from the peptide sequences.

Evaluation of the top 10 selected features

For real-world machine-learning problems, data representation often uses several features. However, few of them may be relevant to the target variable. In such cases, feature selection is crucial to accelerate the learning process and improve prediction performance [37]. Therefore, we have applied feature selection on our dataset that was initially created by Bhadra et al., in their study AmPEP, by retrieving naturally occurring and experimentally validated AMP sequences from three major databases namely CAMPR3 [38], APD3 [39], and LAMP [40]. Since, there is not enough evidence reported for experimentally validated non-AMPS in literature. Therefore, the author followed data preparation procedure undertaken by other studies to create negative dataset [25, 41]. Furthermore, all sequences retrieved from UniProt were processed by removing sequences that were annotated as AMP, membrane, toxic, secretory, defensive, antibiotic, anticancer, antiviral, and antifungal. Subsequently, the subset of the AmPEP dataset was used in the state of art method Deep-AmPEP30. Similarly, we used benchmark training dataset from the state of art method and generated three additional training datasets by applying CD-HIT with the cutoff of 90%, 80%, and 70% to remove highly similar sequences within the Deep-AmPEP30 training set. Later, we computed vast array of features from available webservers and standalone packages. To identify discriminative biological features for predicting AMPs, the boruta feature-selection algorithm was used to select optimal features among other feature descriptors. This algorithm works on an all-relevant variable selection method, where the boruta algorithm attempts to curate the subset of features from the dataset to all-relevant stopping points to identify relevant features for a given classification task [42]. As a result, we respectively obtained 70, 171, 98, and 96 feature descriptors for the benchmark training dataset and the three other reduced training datasets. Finally, we presented the top 10 selected feature importance plots in Fig. 5.

Fig. 5

Top 10 feature importance plot for benchmark DEEP-AMP30 training and reduced training datasets at 90%, 80%, and 70% sequence identity thresholds

Based on the structure activity relationship (SAR) studies of antimicrobial peptides, various parameters have been shown to influence the specificities and biological activity of peptides. These parameters are secondary structure, charge, hydrophobicity, and amphipathicity [43]. In general, AMPs are classified into four major structural categories such as helical peptides, β-strand/sheet peptides, mixed helical/sheet peptides and extended non-helical/sheet peptides [44]. However, amphipathic, α-helical conformation is assumed to be the important class of AMPs as they permit efficient interaction with the lipid bilayer [45]. Most AMPs are known to carry net positive charge ranging from + 2 to + 9 and target negatively charged bacterial membranes through electrostatic interactions [46, 47]. Moreover, as we increase the net positive charge up to + 9 antimicrobial activity gradually increases. However, if the charge increases beyond + 9 the antimicrobial activity decreases [47]. Hydrophobicity is essential factor for interaction with membranes, and as it is believed that cytoplasmic membrane is the main target of AMPs and hydrophobicity is the crucial parameter for their biological activity. Usually AMPs contain approximately 50% hydrophobic residues [48]. Similar to charge, various studies have revealed that increasing the hydrophobicity, at optimal hydrophobicity window, can increase the antimicrobial activity [49]. The importance of charge, structure and hydrophobicity is not limited as we discussed above, but these three factors also jointly form an amphipathic structure, that too is of greater importance. Usually all AMPs form some kind of amphipathic structure which is crucial factor for potent anti-microbial activity of AMPs [50].These physicochemical property of AMPs allows peptides to attack membrane by interacting with the hydrophobic-hydrophilic character of the lipids. The quantitative measure of amphipathicity is hydrophobic moment (μH) that is the total of amino acid two dimensional vectorial hydrophobicity’s [51]. Several studies reported that hydrophobic moment is strongly correlated with antimicrobial activity, as an increase in hydrophobic moment will increase the disruption of bacterial membrane and hemolytic activity [49].

Interestingly, we found in our study that the selected features fell into parameters which modulate AMP activities and specificities. These includes, structure, charge, hydrophobicity, and amphipathicity that were equally important in our datasets, for example top features like distance distribution for residues methionine (DDR_M) and arginine (DDR_R) imparts two major characteristics, hydrophobicity and positive charge, respectively. Hydrophobicity is an essential feature for AMP-membrane interactions [52] and cationic residues help AMPs to direct them to negatively charged bacterial membranes via electrostatic attraction [53]. Therefore, balance between these two characteristics is crucial for selective antimicrobial activity. Physicochemical features generated from AAI includes alpha-helix weight at position 6 (QIAN880113), hydrophobicity (ZIMJ680104), net charge (KLEP840101), dependence of the partition coefficient on the ionic strength (ZAS820101), non-bonded energy per atom (OOBM850104), activation of Gibbs energy (YUTK870103), normalized positional frequency at helix termini C4’ (AURR98012), and the hydropathy scale based on the self-information value in two-state model (NADH010101).

Using stringent criteria to reduce redundant sequences from the state-of-the-art dataset, we observed that our machine learning models’ performances gradually decreased in the training dataset and increased in the test dataset. In Sect. 3.4, we discussed three different training datasets created from the benchmark DEEP-AmPEP30 training dataset by reducing peptide sequences at various sequence identity threshold (CD-HIT, 90%, 80%, and 70%). By applying CD-HIT with a 90% sequence identity threshold, we obtained 2136 peptide sequences (1076 AMPs and 1060 non-AMPs). GBC achieved 92.9% accuracy on this training data and 70.2% accuracy on the test dataset (Additional file 2). Similarly, we applied CD-HIT at 80% sequence identity threshold where we get a total of 1957 peptides (946 AMPs and 1011 non-AMPs). GBC achieved 80.6% accuracy on this training dataset and 76.6% accuracy on the test dataset (Additional file 3). After applying CD-HIT at 70%, the total number of sequences obtained was significantly reduced as compared to the original dataset, comprising 1697 peptides (787 AMPS and 910 non-AMPs). Overall performance on CD-HIT 70% training dataset obtained by GBC is 79.9% accuracy, and 78.1% accuracy on the test dataset (Additional file 4). Therefore, we hypothesized that to develop a more accurate and reliable method; ideally, one should use more stringent redundant sequence-reduction criteria to train the model and evaluate it on an experimentally verified independent test dataset.

Positional preferences and composition analysis of AMPs

The widespread class of AMPs is cationic amphipathic with an alpha-helical domain [54]. These AMPs have two distinct features, i.e., a net positive charge and an amphipathic character, with a nonpolar face and a polar/charged face [55]. Similarly, the top selected features emphasized the characteristics of AMPs. In addition, we used TSL and compositional analytics to analyze preferential positions of amino acid residues in AMPs and non-AMPs. Our positional analysis based on charge revealed that the positively charged lysine (K) residue often occurred in AMPs, while negatively charged aspartic acid and glutamic acid residues were abundantly present in non-AMPs. In addition, a preference study based on hydrophobic residues suggested that hydrophobic residues such as leucine (L), isoleucine (I), and alanine (A) were favored in AMPs and not in non-AMPs.

Performance comparison with state-of-the-art methods

Using the benchmark dataset and the reduced training dataset at various sequence identity thresholds, we compared our Co-AMPpred (composition-based antimicrobial peptide prediction) method with six state-of-the-art general AMP prediction methods. As shown in Table 3, our Co-AMPpred and CO-AMPpred70 classifiers outperformed all available AMP prediction methods and short-length AMP prediction models on most performance matrices. Co-AMPpred attained the best performance with 80.3% accuracy, an AUROC of 0.871, and MCC of 0.606 on the benchmark dataset. Moreover, CO-AMPpred70 achieved better performance than the state-of-the-art methods with an accuracy of 78.6%, an AUROC of 0.861, and MCC of 0.554. In this study, we used various approaches to examine the performance of our model. We first developed our model on the benchmark Co-AMPpred dataset and attained the best performance among other classifiers developed in this study. Then, to further evaluate our model performance, we created other dataset by applying CD-HIT at various sequence identity thresholds to reduce redundant sequences from the benchmark training dataset. Among all classifiers developed on reduced training datasets (i.e., Co-AMPpred70, Co-AMPpred80, and Co-AMPpred90), Co-AMPpred70 attained the best performance and outperformed the existing state-of-the-art methods.

Table 3 Performance comparison with existing methods on the benchmark test dataset

Limitations of the study

In our study, we developed a prediction method to identify AMPs and non-AMPs. The dataset we used comprised AMPs from different sources to develop our classification model. Tentatively, one should develop host-specific methods for predicting AMPs. We will shortly try to develop a host-specific AMP classification model with perfect size data to develop a precise and more reliable method. This study exploits several compositional and physicochemical-based features to develop the best possible models in the current situation.


AMPs are evolutionary conserved molecules which act as the first defense line in all multicellular organisms. AMPs have different mechanisms to disrupt bacterial membranes. However, all these mechanisms are dependent on various factors such as physicochemical properties, amino acid sequences, secondary structures, charges, and amphipathic properties. AMPs can demonstrate a broad spectrum of activities to modulate immune responses and demonstrate antiviral, antifungal, antibacterial, and even anticancer activities [56]. Increasing resistance of microbes against conventional antibiotics motivates researchers to develop new therapeutic alternatives such as AMPs. In the past two decades, several in silico-based approaches were developed. However, in this study, we used various encoding schemes of an amino acid, compositional and physicochemical properties to develop our prediction model. As a result, the top selected informative features yield better performance and outperformed the-state-of-art-method.

Our findings also indicate that our classification task's top selected features reproduce the parameters that modulate AMPs' activities and specificities, such as structure, charge, hydrophobicity, and amphipathicity. Along with selected feature importance values, we further investigated the position preference and composition analysis of the AMPs/non-AMPs to understand the importance of amino acid compositions in AMPs. Finally, our investigation revealed that selected features imparted distinct characteristics of the amino acid residues available in AMPs. Although our positional preference and compositional analysis corresponded well with other biological studies [57], further insights should be validated experimentally in the future.

The state-of-the-art method inspired us to develop a model with short sequences of AMPs (5 ~ 30 residues). We also addressed the bias caused by redundant sequences within training data and developed a model based on reduced training datasets. Experimental results showed that the combining composition-based and physicochemical features outperformed existing methods on both the benchmark training dataset and the reduced training dataset at a 70% sequence identity threshold. However, we further observed that minimizing redundant sequences at various sequence identity thresholds affected the machine-learning prediction performances: the more stringent the criteria, the better was the prediction performance of the models on the independent test dataset.

Material and methods

Dataset preparation and pre-processing

We used an initial training dataset consisting of 1,529 AMP and 1,529 non-AMP sequences originally compiled in Deep-AmPEP30 [32]. The study aims to predict short anti-microbial peptides. Nevertheless, the test dataset used in the previous study was constructed without considering the peptide length. To address this issue, we constructed an independent dataset from the benchmark dataset reported in the recent publication [58]. Sequences that are 5–30 amino acids in length were taken as positive samples, whereas negative samples were selected randomly to generate a balanced test dataset by following the procedure reported in the state-of-the-art method. Furthermore, we checked whether or not the benchmark dataset contains highly similar sequences (> 90%) to either the training dataset of our method or existing AMP methods with which we made comparisons in our study. Then, CD-HIT was applied with an 80% cutoff to remove highly similar sequences within the dataset to reduce redundancy and avoid bias. Finally, the constructed independent set contains 94 AMPs and 94 non-AMPs.

To deal with the overfitting problem of the prediction model, we then performed a major pre-processing step. We first used CD-HIT [59, 60] to decrease sequence redundancy within the training data with maximum sequence identities of 90%, 80%, and 70%. After checking for any redundant peptides, a new training dataset was developed to train our model. However, the more stringent the criterion, steadier the performance like a 30% or 40% sequence identity cutoff we noted. Despite this, the sequence length of the reduced dataset was < 30 amino acid residues. If we applied a stringent criterion of < 70%, the number of available AMPs was significantly reduced, and we were unable to retrieve datasets employed by this state-of-the-art method. We describe all datasets with various sequence identity thresholds in Table 4.

Table 4 Benchmark datasets used for the antimicrobial peptide (AMP) prediction

Feature extraction

Feature representation plays a crucial role in the accuracy prediction by machine-learning models. Sequence transformation is essential to obtain a numerical representation of amino acids before using them as input for machine-learning models. Various approaches have been reported to encode amino acid sequences into numerical vectors, which have been rigorously used in biomedical classification. However, there is no precise guideline published that allows researchers to use specific encodings for a biomedical classification task. Moreover, in a recent publication, Spänig et al. attempted to investigate the performance of various encoding schemes on previously published datasets. Their performance results indicate that none of the encodings are superior across all biomedical domains. Despite this, some encodings often perform better than others, thus reducing the initial encoding selection considerably [61]. It is evident that amino acids are the building blocks of peptides and proteins, and each of 20 amino acids maintains unique and different properties. The composition of amino acids with their unique properties can influence protein’s structural and functional diversification and characteristics. This study aimed to develop a prediction model by employing numerous features of protein and peptide sequences.

Composition and physicochemical feature descriptors

Composition-based features and each amino acid residue's physicochemical properties are widely used in computational biology [62]. In the current study, we used available webservers and standalone packages to generate a broad spectrum of feature-encoding schemes derived from protein and peptide sequences [63, 64]. Composition-based features were subcategorized into five different modules. First, a simple composition included the amino acid composition (AAC), dipeptide composition (DPC), atom-type composition (ATC), and bond-type composition (BTC). The AAC represents the occurrence frequency of each amino acid in query peptides [65]. Similarly, the DPC calculates the amino acid pair frequency in query peptide sequences [66]. The second module represents physicochemical properties (PCPs) and amino acid index (AAI) of residues. This feature represents the overall sum of all PCPs and AAI residue values of discrete types. The third is a repeat and distribution module, which comprises three feature schemes of distance distribution of repeats (DDR), residue repeat information (RRI), and property repeat information (PRI). Fourth is the Shannon entropy module, which also consists of three feature descriptors, i.e., Shannon entropy of a residue (SER), Shannon entropy of properties (SEP), and Shannon-entropy of protein (SE) to measure the complexity at the protein and residue levels. Finally, the fifth module of composition-based features was a collection of several feature schemes. For example, the amphiphilic amino acid composition (APAAC) and pseudo amino acid composition (PAAC) are somewhat like the AAC and contain more information on discrete correlation factors. This additional information gives more insight into the hydrophobic and hydrophilic distribution patterns of peptide chains [67, 68]. Autocorrelation descriptors are used to compute the distribution of amino acid properties and sequences [69]. Composition-enhanced transition and distribution (CeTD) compute the overall composition, enhanced transition, and distribution (CTD) of amino acid attributes, such as hydrophobicity, normalized Van der Waal volume, polarity, polarizability, charge, secondary structure, and solvent accessibility of protein sequences [70]. Quasi-sequence order (QSO) and the sequence order coupling number (SOC) descriptors can be used to represent the distribution patterns of PCPs along the peptide sequence [71]. We describe the complete list of all descriptors along with feature numbers in Table 2.

Machine-learning algorithms

In the present study, we used various machine-learning algorithms to develop a classification model for AMPs and non-AMPs. To deploy several machine-learning models together, we used PyCaret, an open-source, low code machine-learning library in python [72]. This python library includes 15 different machine-learning algorithms, including CatBoost classifier, gradient boosting classifier (GBC), extra trees classifier (ETC), extreme gradient boosting (XGB), light gradient boosting machine (LGBM), random forest (RF), ada boost classifier (ABC), logistic regression (LR), SVM-linear kernel, naive Bayes (NB), decision tree (DT), ridge classifier, K-nearest neighbor classifier (KNN), quadratic discriminant analysis (QDA), and linear discriminant analysis (LDA). We briefly describe information about the top five algorithms used for prediction. The CatBoost classifier is a newly developed machine learning algorithm based on gradient boosting [73]. GBCs are used for regression and classification problems. This model's strength is that it creates weak prediction models and merges them to produce the best prediction model [74]. The ETC is an ensemble machine-learning algorithm that creates many randomized decision trees using a training dataset and combines average prediction accuracies of all decision trees to improve the prediction accuracy [75]. Similarly, we used another supervised machine-learning method, the RF classifier, an ensemble learning method that creates a random decision tree from the training set and uses majority voting to identify the final output [76]. Light gradient boosting, a tree-based learning algorithm, grows vertically and can easily handle a large dataset with low memory consumption [77].

Evaluation measures

Model assessment becomes crucial when the nature of predictions needs to be measured. We used a training set to build up or train the predictive model and a test set to test a classifier's performance. Although receiver operating characteristic (ROC) curves are the best choice for comparing models, we also considered other scalar metrics that are still popular among the machine learning community, such as recall/sensitivity (Sen.) in Eq. (1) and the specificity (Spe.) in Eq. (2), to measure how well a classifier detects AMPs and non-AMPs in the dataset. Precision, as shown in Eq. (3), defines the proportion of positively predicted AMPs that are true real positives. Accuracy (Acc.) in Eq. (4) is the summation of true positives and true negatives divided by the total number of the data. The area under the ROC curve (AUROC) [78] and the area under the precision-recall curve (AUCPR) [79]. Equation (5) states Matthew’s correlation coefficient (MCC), which is also used to measure the quality of our binary classification task, and Eq. (6) defines the kappa statistic [80].

$$Sen. = Recall = \frac{TP}{{TP + FN}}$$
$$Spe. = \frac{TN}{{TN + FP}}$$
$$Precision = \frac{TP}{{TP + FP}}$$
$$Acc. = \frac{TP + TN}{{TP + TN + FP + FN}}$$
$$MCC = \frac{TP \times TN - FP \times FN}{{\sqrt {\left( {TP + FP} \right)\left( {TP + FN} \right)\left( {TN + FP} \right)\left( {TN + FN} \right)} }}$$

where TP is the number of true positives, TN is the number of true negatives, FP is the number of false positives, and FN is the number of false negatives. The ROC curve is used to assess the performance during parameter selection; AUROC is the most appropriate performance measure, as it is non-parametric and threshold dependent. In the ROC curve, the true positive rate (sensitivity) is plotted as a function of the false positive rate (1—specificity) for different parameter cutoff points. The AUCPR plots the positive predictive value against the true positive rate. The MCC measures the quality of a binary classification task. Kappa statistics measure inter-rater reliability, where p0 is the overall accuracy of the model as shown in Eq. (7), and pe is the measure of agreements between the model prediction and the actual class values expected by chance in Eq. (8) [80].

$$Kappa = \frac{po - pe}{{1 - pe}}$$
$$p_{0} = \frac{{{\text{TP}} + {\text{TN}}}}{{{\text{TP}} + {\text{FN}} + {\text{TN}} + {\text{FP}}}}$$
$$p_{e} = \frac{{\left( {{\text{TP}} + {\text{FN}}} \right) \times \left( {{\text{TP}} + {\text{FP}}} \right) \times \left( {{\text{TN}} + {\text{FN}}} \right) \times \left( {{\text{TN}} + {\text{FP}}} \right)}}{{({\text{TP}} + {\text{FN}} + {\text{TN}} + {\text{FP}})^{2} }}$$

We used a training dataset for internal validation, where models were trained and tested using a stratified10-fold cross-validation method. The constructed classifier was later used to evaluate our model on the holdout test dataset.

System architecture

The system architecture of our proposed method for predicting AMPs is shown in Fig. 6. The analytical workflow involved various steps, including collecting AMPs for input, feature extraction, feature selection, machine-learning algorithms, and prediction results. First, we downloaded oligopeptides using the existing state-of-the-art method. Along with the benchmark dataset, we created three additional datasets by applying CD-HIT with sequence identity thresholds of 90%, 80%, and 70% to reduce redundant sequences. Further, sequence-based compositional features and PCPs were extracted and encoded with the aid of various available webservers and standalone packages [63, 64] for both training and test dataset. Then, we performed a stratified tenfold CV on the training dataset. Boruta feature-selection algorithm was incorporated to select only discriminative biological features to build an optimal model that was later evaluated on the holdout set [42]. Finally, we examined all the models, and the execution of the prediction model was illustrated. Our system architecture represents the systematic procedures followed in this study. The name of our proposed method is Co-AMPpred (composition-based antimicrobial peptide prediction).

Fig. 6

The systematic architecture of the proposed method, Co-AMPpred, includes collecting the dataset, removing redundant sequence at 90%, 80%, and 70% sequence identity thresholds, feature generation and selection, machine-learning algorithms, and evaluation process

Availability of data and materials

All data generated or analyzed during this study are included in the supplementary information. The codes and dataset are publicly available at



Amino acid composition


Amino acid index


Ada boost classifier




Antimicrobial peptide


Amphiphilic pseudo amino acid composition


Antimicrobial peptide database


Atom-type composition


Area under the precision-recall curve


Area under the receiver operating characteristic curve


Bond-type composition


Composition enhanced transition and distribution


Cationic host defense peptide


Distance distribution of repeats


Dipeptide composition


Extra trees classifier


Fuzzy k-nearest neighbor


False negative


False positive


Gradient boosting classifier


K-nearest neighbor


Linear discriminant analysis


Light gradient boosting machine


Logistic regression


Matthew’s correlation coefficient


Pseudo amino acid composition


Physicochemical property


Property repeats index


Pseudo k-tuple reduced amino acid composition


Quadratic discriminant analysis


Quasi-sequence order


Residue repeat information


Shannon-entropy of protein


Shannon entropy of properties


Shannon entropy of a residue


Sequence order coupling number


Random forest






Support vector machine


True negative


True positive


Two-sample logo


Extreme gradient boosting


  1. 1.

    Durand GA, Raoult D, Dubourg G. Antibiotic discovery: history, methods and perspectives. Int J Antimicrob Agents. 2019;53(4):371–82.

    CAS  PubMed  Article  Google Scholar 

  2. 2.

    Ventola CL. The antibiotic resistance crisis: part 1: causes and threats. P T. 2015;40(4):277–83.

    PubMed  PubMed Central  Google Scholar 

  3. 3.

    Thomson WAR, Underwood EA, Guthrie DJ, Rhodes P, Robert GEA. History of medicine. Encyclopedia Britannica. 2020.

  4. 4.

    Llor C, Bjerrum L. Antimicrobial resistance: risk associated with antibiotic overuse and initiatives to reduce the problem. Ther Adv Drug Saf. 2014;5(6):229–41.

    PubMed  PubMed Central  Article  Google Scholar 

  5. 5.

    de Sousa Oliveira K, de Lima L, Cobacho N, Dias S, Franco O. Mechanisms of antibacterial resistance: shedding some light on these obscure processes? Antibiotic Resistance. 2016;4:19–35.

    Article  Google Scholar 

  6. 6.

    Reygaert WC. An overview of the antimicrobial resistance mechanisms of bacteria. AIMS Microbiol. 2018;4(3):482.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  7. 7.

    Bhattacharjya S. NMR structures and interactions of antimicrobial peptides with lipopolysaccharide: connecting structures to functions. Curr Top Med Chem. 2016;16(1):4–15.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  8. 8.

    Miller SI. Antibiotic resistance and regulation of the gram-negative bacterial outer membrane barrier by host innate immune molecules. MBio. 2016;7(5):e01541-e11516.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  9. 9.

    Blair JM, Webber MA, Baylay AJ, Ogbolu DO, Piddock LJ. Molecular mechanisms of antibiotic resistance. Nat Rev Microbiol. 2015;13(1):42–51.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  10. 10.

    Du D, Wang-Kan X, Neuberger A, van Veen HW, Pos KM, Piddock LJ, Luisi BF. Multidrug efflux pumps: structure, function and regulation. Nat Rev Microbiol. 2018;16(9):523–39.

    CAS  PubMed  Article  Google Scholar 

  11. 11.

    Pagès J-M, Amaral L. Mechanisms of drug efflux and strategies to combat them: challenging the efflux pump of Gram-negative bacteria. Biochimica et Biophysica Acta (BBA)-Proteins and Proteomics. 2009;1794(5):826–33.

    Article  CAS  Google Scholar 

  12. 12.

    Foster TJ. Antibiotic resistance in Staphylococcus aureus. Current status and future prospects. FEMS Microbiol Rev. 2017;41(3):430–49.

    CAS  PubMed  Article  Google Scholar 

  13. 13.

    Cole JN, Nizet V. Bacterial evasion of host antimicrobial peptide defenses. Microbiol Spectr. 2016.

    Article  PubMed  PubMed Central  Google Scholar 

  14. 14.

    Sitaram N, Nagaraj R. Host-defense antimicrobial peptides: importance of structure for activity. Curr Pharm Des. 2002;8(9):727–42.

    CAS  PubMed  Article  Google Scholar 

  15. 15.

    Shai Y. Mechanism of the binding, insertion and destabilization of phospholipid bilayer membranes by α-helical antimicrobial and cell non-selective membrane-lytic peptides. Biochimica et Biophysica Acta (BBA) Biomembranes. 1999;1462(1):55–70.

    CAS  Article  Google Scholar 

  16. 16.

    Huan Y, Kong Q, Mou H, Yi H. Antimicrobial peptides: classification, design, application and research progress in multiple fields. Front Microbiol. 2020;11:1–21.

    Article  Google Scholar 

  17. 17.

    Raheem N, Straus SK. Mechanisms of action for antimicrobial peptides with antibacterial and antibiofilm functions. Front Microbiol. 2019;10:2866.

    PubMed  PubMed Central  Article  Google Scholar 

  18. 18.

    Berkowitz BA, Bevins CL, Zasloff MA. Magainins: a new family of membrane-active host defense peptides. Biochem Pharmacol. 1990;39(4):625–9.

    CAS  PubMed  Article  Google Scholar 

  19. 19.

    Zanetti M. The role of cathelicidins in the innate host defenses of mammals. Curr Issues Mol Biol. 2005;7(2):179–96.

    CAS  PubMed  Google Scholar 

  20. 20.

    Lehrer RI. Primate defensins. Nat Rev Microbiol. 2004;2(9):727–38.

    CAS  PubMed  Article  Google Scholar 

  21. 21.

    Boman HG. Innate immunity and the normal microflora. Immunol Rev. 2000;173:5–16.

    CAS  PubMed  Article  Google Scholar 

  22. 22.

    Wang G. Antimicrobial peptides: discovery, design and novel therapeutic strategies, 2nd ed. Cabi; 2017, p. 1–230.

  23. 23.

    Jenssen H, Hamill P, Hancock RE. Peptide antimicrobial agents. Clin Microbiol Rev. 2006;19(3):491–511.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  24. 24.

    Spänig S, Heider D. Encodings and models for antimicrobial peptide classification for multi-resistant pathogens. BioData Mining. 2019;12(1):7.

    PubMed  PubMed Central  Article  Google Scholar 

  25. 25.

    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(2):168–77.

    CAS  PubMed  Article  Google Scholar 

  26. 26.

    Meher PK, Sahu TK, Saini V, Rao AR. Predicting antimicrobial peptides with improved accuracy by incorporating the compositional, physico-chemical and structural features into Chou’s general PseAAC. Sci Rep. 2017;7(1):42362.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  27. 27.

    Bhadra P, Yan J, Li J, Fong S, Siu SWI. AmPEP: Sequence-based prediction of antimicrobial peptides using distribution patterns of amino acid properties and random forest. Sci Rep. 2018;8(1):1697.

    PubMed  PubMed Central  Article  CAS  Google Scholar 

  28. 28.

    Veltri D, Kamath U, Shehu A. Deep learning improves antimicrobial peptide recognition. Bioinformatics. 2018;34(16):2740–7.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  29. 29.

    Lin Y, Cai Y, Liu J, Lin C, Liu X. An advanced approach to identify antimicrobial peptides and their function types for penaeus through machine learning strategies. BMC Bioinform. 2019;20(8):291.

    Article  Google Scholar 

  30. 30.

    Yan J, Bhadra P, Li A, Sethiya P, Qin L, Tai HK, Wong KH, Siu SWI. Deep-AmPEP30: improve short antimicrobial peptides prediction with deep learning. Mol Ther Nucleic Acids. 2020;20:882–94.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  31. 31.

    Fu H, Cao Z, Li M, Wang S. ACEP: improving antimicrobial peptides recognition through automatic feature fusion and amino acid embedding. BMC Genomics. 2020;21(1):597.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  32. 32.

    Yan J, Bhadra P, Li A, Sethiya P, Qin L, Tai HK, Wong KH, Siu SW. Deep-AmPEP30: improve short antimicrobial peptides prediction with deep learning. Mol Ther Nucleic Acids 2020;20:882–94.

  33. 33.

    Fjell CD, Hiss JA, Hancock REW, Schneider G. Designing antimicrobial peptides: form follows function. Nat Rev Drug Discov. 2012;11(1):37–51.

    CAS  Article  Google Scholar 

  34. 34.

    Batoni G, Maisetta G, Lisa Brancatisano F, Esin S, Campa M. Use of antimicrobial peptides against microbial biofilms: advantages and limits. Curr Med Chem. 2011;18(2):256–79.

    CAS  PubMed  Article  Google Scholar 

  35. 35.

    Magana M, Pushpanathan M, Santos AL, Leanse L, Fernandez M, Ioannidis A, Giulianotti MA, Apidianakis Y, Bradfute S, Ferguson AL: The value of antimicrobial peptides in the age of resistance. Lancet Infect Dis. 2020;E216–E230.

  36. 36.

    Lei J, Sun L, Huang S, Zhu C, Li P, He J, Mackey V, Coy DH, He Q. The antimicrobial peptides and their potential clinical applications. Am J Transl Res. 2019;11(7):3919–31.

    CAS  PubMed  PubMed Central  Google Scholar 

  37. 37.

    Kira K, Rendell LA. A practical approach to feature selection. In: Sleeman D, Edwards P, editors. Machine learning proceedings 1992. San Francisco: Morgan Kaufmann; 1992. p. 249–56.

    Chapter  Google Scholar 

  38. 38.

    Waghu FH, Barai RS, Gurung P, Idicula-Thomas S. CAMPR3: a database on sequences, structures and signatures of antimicrobial peptides. Nucleic Acids Res. 2016;44(D1):D1094–7.

    CAS  PubMed  Article  Google Scholar 

  39. 39.

    Wang G, Li X, Wang Z. APD3: the antimicrobial peptide database as a tool for research and education. Nucleic Acids Res. 2016;44(D1):D1087–93.

    CAS  PubMed  Article  Google Scholar 

  40. 40.

    Zhao X, Wu H, Lu H, Li G, Huang Q. LAMP: a database linking antimicrobial peptides. PLoS ONE. 2013;8(6):e66557.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  41. 41.

    Wang P, Hu L, Liu G, Jiang N, Chen X, Xu J, Zheng W, Li L, Tan M, Chen Z. Prediction of antimicrobial peptides based on sequence alignment and feature selection methods. PLoS ONE. 2011;6(4):e18476.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  42. 42.

    Kursa MB, Rudnicki WR. Feature selection with the Boruta package. J Stat Softw. 2010;36(11):1–13.

    Article  Google Scholar 

  43. 43.

    Lee T-H. N Hall K, Aguilar M-I: Antimicrobial peptide structure and mechanism of action: a focus on the role of membrane structure. Curr Top Med Chem. 2016;16(1):25–39.

    CAS  PubMed  Article  Google Scholar 

  44. 44.

    Ahmed TA, Hammami R. Recent insights into structure–function relationships of antimicrobial peptides. J Food Biochem. 2019;43(1):e12546.

    PubMed  Article  Google Scholar 

  45. 45.

    Tossi A, Sandri L, Giangaspero A. Amphipathic, α-helical antimicrobial peptides. Pept Sci. 2000;55(1):4–30.

    CAS  Article  Google Scholar 

  46. 46.

    Mishra AK, Choi J, Moon E, Baek K-H. Tryptophan-rich and proline-rich antimicrobial peptides. Molecules. 2018;23(4):815.

    PubMed Central  Article  CAS  PubMed  Google Scholar 

  47. 47.

    Lopez Cascales JJ, Zenak S, García de La Torre J, Lezama OG, Garro A, Enriz RD. Small cationic peptides: influence of charge on their antimicrobial activity. ACS Omega. 2018;3(5):5390–8.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  48. 48.

    Kumar P, Kizhakkedathu JN, Straus SK. Antimicrobial peptides: diversity, mechanism of action and strategies to improve the activity and biocompatibility in vivo. Biomolecules. 2018;8(1):4.

    PubMed Central  Article  CAS  Google Scholar 

  49. 49.

    Chen Y, Guarnieri MT, Vasil AI, Vasil ML, Mant CT, Hodges RS. Role of peptide hydrophobicity in the mechanism of action of α-helical antimicrobial peptides. Antimicrob Agents Chemother. 2007;51(4):1398–406.

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  50. 50.

    Baul U, Kuroda K, Vemparala S. Interaction of multiple biomimetic antimicrobial polymers with model bacterial membranes. J Chem Phys. 2014;141(8):084902.

    PubMed  Article  CAS  Google Scholar 

  51. 51.

    Phoenix DA, Harris F. The hydrophobic moment and its use in the classification of amphiphilic structures. Mol Membr Biol. 2002;19(1):1–10.

    CAS  PubMed  Article  Google Scholar 

  52. 52.

    Cardoso P, Glossop H, Meikle TG, Aburto-Medina A, Conn CE, Sarojini V, Valery C. Molecular engineering of antimicrobial peptides: microbial targets, peptide motifs and translation opportunities. Biophys Rev. 2021;13(1):35–69.

    CAS  PubMed Central  Article  PubMed  Google Scholar 

  53. 53.

    Gan BH, Gaynord J, Rowe SM, Deingruber T, Spring DR. The multifaceted nature of antimicrobial peptides: current synthetic chemistry approaches and future directions. Chem Soc Rev. 2021;50:7820–80.

  54. 54.

    Tossi A, Sandri L, Giangaspero A. Amphipathic, alpha-helical antimicrobial peptides. Biopolymers. 2000;55(1):4–30.

    CAS  PubMed  Article  Google Scholar 

  55. 55.

    Hancock RE. Peptide antibiotics. Lancet. 1997;349(9049):418–22.

    CAS  PubMed  Article  Google Scholar 

  56. 56.

    Kurpe SR, Grishin SY, Surin AK, Panfilov AV, Slizen MV, Chowdhury SD, Galzitskaya OV. Antimicrobial and amyloidogenic activity of peptides can antimicrobial peptides be used against SARS-CoV-2? Int J Mol Sci. 2020;21(24):9552.

    CAS  PubMed Central  Article  PubMed  Google Scholar 

  57. 57.

    Wang X, Mishra B, Lushnikova T, Narayana JL, Wang G. Amino acid composition determines peptide activity spectrum and hot-spot-based design of merecidin. Adv Biosyst. 2018;2(5):1700259.

    PubMed  PubMed Central  Article  CAS  Google Scholar 

  58. 58.

    Manavalan B, Basith S, Shin TH, Choi S, Kim MO, Lee G. MLACP: machine-learning-based prediction of anticancer peptides. Oncotarget. 2017;8(44):77121.

    PubMed  PubMed Central  Article  Google Scholar 

  59. 59.

    Li W, Godzik A. Cd-hit: a fast program for clustering and comparing large sets of protein or nucleotide sequences. Bioinformatics. 2006;22(13):1658–9.

    CAS  Article  Google Scholar 

  60. 60.

    Fu L, Niu B, Zhu Z, Wu S, Li W. CD-HIT: accelerated for clustering the next-generation sequencing data. Bioinformatics. 2012;28(23):3150–2.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  61. 61.

    Spänig S, Mohsen S, Hattab G, Hauschild A-C, Heider D. A large-scale comparative study on peptide encodings for biomedical classification. NAR Genomics Bioinform. 2021;3(2):1–13.

    Article  Google Scholar 

  62. 62.

    Deng L, Fan C, Zeng Z. A sparse autoencoder-based deep neural network for protein solvent accessibility and contact number prediction. BMC Bioinformatics. 2017;18(Suppl 16):569–569.

    PubMed  PubMed Central  Article  CAS  Google Scholar 

  63. 63.

    Pande A, Patiyal S, Lathwal A, Arora C, Kaur D, Dhall A, Mishra G, Kaur H, Sharma N, Jain S et al. Computing wide range of protein/peptide features from their sequence and structure. bioRxiv 2019:599126.

  64. 64.

    Dong J, Yao Z-J, Wen M, Zhu M-F, Wang N-N, Miao H-Y, Lu A-P, Zeng W-B, Cao D-S. BioTriangle: a web-accessible platform for generating various molecular representations for chemicals, proteins, DNAs/RNAs and their interactions. J Cheminform. 2016;8(1):1–13.

    CAS  Article  Google Scholar 

  65. 65.

    Bhasin M, Raghava GP. Classification of nuclear receptors based on amino acid composition and dipeptide composition. J Biol Chem. 2004;279(22):23262–6.

    CAS  PubMed  Article  Google Scholar 

  66. 66.

    Saravanan V, Gautham N. Harnessing computational biology for exact linear B-cell epitope prediction: a novel amino acid composition-based feature descriptor. Omics J Integr Biol. 2015;19(10):648–58.

    CAS  Article  Google Scholar 

  67. 67.

    Chou KC. Prediction of protein cellular attributes using pseudo-amino acid composition. Proteins Struct Funct Bioinform. 2001;43(3):246–55.

    CAS  Article  Google Scholar 

  68. 68.

    Chou K-C. Using amphiphilic pseudo amino acid composition to predict enzyme subfamily classes. Bioinformatics. 2005;21(1):10–9.

    CAS  PubMed  Article  Google Scholar 

  69. 69.

    Kawashima S, Pokarowski P, Pokarowska M, Kolinski A, Katayama T, Kanehisa M. AAindex: amino acid index database, progress report 2008. Nucleic acids Res. 2007;36(suppl_1):D202–5.

    PubMed  PubMed Central  Article  CAS  Google Scholar 

  70. 70.

    Dubchak I, Muchnik I, Holbrook SR, Kim S-H. Prediction of protein folding class using global description of amino acid sequence. Proc Natl Acad Sci. 1995;92(19):8700–4.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  71. 71.

    Chou K-C. Prediction of protein subcellular locations by incorporating quasi-sequence-order effect. Biochem Biophys Res Commun. 2000;278(2):477–83.

    CAS  PubMed  Article  Google Scholar 

  72. 72.

    Ali M: PyCaret: An open source, low-code machine learning library in Python. PyCaret version 2020, 2.

  73. 73.

    Dorogush AV, Ershov V, Gulin A.s CatBoost: gradient boosting with categorical features support. arXiv preprint arXiv:181011363; 2018.

  74. 74.

    Friedman JH. Greedy function approximation: a gradient boosting machine. Ann Stat. 2001;29:1189–232.

    Article  Google Scholar 

  75. 75.

    Geurts P, Ernst D, Wehenkel L. Extremely randomized trees. Mach Learn. 2006;63(1):3–42.

    Article  Google Scholar 

  76. 76.

    Breiman L. Random forests. Mach Learn. 2001;45(1):5–32.

    Article  Google Scholar 

  77. 77.

    Ke G, Meng Q, Finley T, Wang T, Chen W, Ma W, Ye Q, Liu T-Y. LightGBM: a highly efficient gradient boosting decision tree. In: Proceedings of the 31st international conference on neural information processing systems; Long Beach, California, USA. Curran Associates Inc. 2017: 3149–3157.

  78. 78.

    Hanley JA, McNeil BJ. The meaning and use of the area under a receiver operating characteristic (ROC) curve. Radiology. 1982;143(1):29–36.

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  79. 79.

    Raghavan V, Bollmann P, Jung GS. A critical investigation of recall and precision as measures of retrieval system performance. ACM Trans Inf Syst (TOIS). 1989;7(3):205–29.

    Article  Google Scholar 

  80. 80.

    Li J, Fong S, Mohammed S, Fiaidhi J. Improving the classification performance of biological imbalanced datasets by swarm optimization algorithms. J Supercomput. 2016;72(10):3708–28.

    Article  Google Scholar 

Download references


We are grateful to Dr. Yu-Lun Hsieh and Mr. Tso-Yang Yeh for their support and suggestions in experimental work. We want to extend our gratitude to Ms. Diksha Agnihotri for her effort in technical editing of the manuscript.


This study was funded in part by the Ministry of Science and Technology (MOST) in Taiwan (grant number MOST109-2221-E-038–018 and MOST110-2628-E-038–001) and the Higher Education Sprout Project by Ministry of Education (MOE) in Taiwan (grant number DP2-108–21121-01-A-01–04) to Emily Chia-Yu Su. The funders had no role in the study design, data collection and analysis, decision to publish, or manuscript preparation.

Author information




OS implemented the system, analyzed the data, and drafted the manuscript with support from WLH. ECYS designed the method, supervised the project. ECYS and WLH revised the manuscript. All authors have read and approved the manuscript.

Corresponding author

Correspondence to Emily Chia-Yu Su.

Ethics declarations

Ethics approval and consent to participate

Not applicable.

Consent of publication

Not applicable.

Competing interests

The authors declare that there are no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary Information

Additional file 1

. Performances of machine learning-based models using DEEP-AMP30 training dataset and IAMP-2L independent test dataset. Values shown are mean ± SD for the training dataset.

Additional file 2

. Performances of machine learning-based models using 171 selected features on the reduced training (CD_HIT 90%) and independent test dataset. Values shown are mean ± SD for the training dataset.

Additional file 3

. Performances of machine learning-based models using 171 selected features on the reduced training (CD_HIT 80%) and independent test dataset. Values shown are mean ± SD for the training dataset.

Additional file 4

. Performances of machine learning-based models using 171 selected features on the reduced training (CD_HIT 70%) and independent test dataset. Values shown are mean ± SD for the training dataset.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Singh, O., Hsu, WL. & Su, E.CY. Co-AMPpred for in silico-aided predictions of antimicrobial peptides by integrating composition-based features. BMC Bioinformatics 22, 389 (2021).

Download citation


  • Antimicrobial peptide
  • Amino acid composition
  • Composition-based feature
  • Machine learning