bioRxiv · 10.64898/2026.11.26.769488
A Reproducible, Leakage-Aware Machine Learning Pipeline for Antimicrobial Peptide Activity Prediction
Abstract
Antimicrobial peptides (AMPs) are key alternatives to conventional antibiotics, but published machine learning models may overestimate predictive performance because of positive-class sequence redundancy and data leakage. We developed a leakage-aware pipeline using 13,469 peptides from DRAMP v5.0 and UniProt, clustered at 40% sequence identity with CD-HIT to enforce cluster-level splitting. A Random Forest trained on sequence and physicochemical features achieved an AUC-ROC of 0.939 and a Matthews correlation coefficient (MCC) of 0.671 on a cluster-disjoint test set (mean AUC-ROC 0.923 {+/-} 0.012 across 20 repeated cluster-disjoint splits, versus 0.945 {+/-} 0.004 under random splitting). Adding ESMFold-derived structural features did not improve aggregate metrics; a diagnostic analysis that separated directly folded from propagated sequences, and examined a length confound, showed a small positive difference (+0.010 AUC, not tested for significance) on directly folded sequences and a small negative difference (-0.007) on sequences with propagated features. SHAP analysis identified net cationic charge as the primary driver of predictions, consistent with known membrane-disruption mechanisms. Secondary classifiers of activity spectrum achieved AUC-ROCs of 0.871 (Gram-positive) and 0.851 (Gram-negative). Among 22 clinical-stage peptides with no exact-sequence match in the training or test sets, the mean predicted probability was 0.73; a high score for the non-antibacterial amphipathic peptide enfuvirtide suggests that the features capture broad membrane-interaction traits rather than antibacterial specificity. The pipeline is implemented as an open-source, 29-rule Snakemake workflow.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Oluwafemi, I. A., Yentumi, J. A.. 2026-11-28. A Reproducible, Leakage-Aware Machine Learning Pipeline for Antimicrobial Peptide Activity Prediction. https://doi.org/10.64898/2026.11.26.769488. https://searchbiorxiv.org/record/biorxiv%3A10.64898%2F2026.11.26.769488/a-reproducible-leakage-aware-machine-learning-pipeline-for-antimicrobial-peptide-activity-prediction
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search bioRxiv by Indiciae: BibTeX · RIS.