Skip to content
DraconiticResearch
Search Sources API
182,460 studies31 sourcesUpdated 40 min ago
Peer-reviewedCC BYComputational and structural biotechnology journal

A Two-Stage ESM-Based Machine Learning Pipeline for Robust Hierarchically Evaluated Enzyme Function Prediction

  1. 1Division of Biotechnology and Applied Microbiology, Department of Process and Life Science Engineering, Faculty of Engineering, Lund University, SE-221 00 Lund, Sweden.

Abstract

Accurate enzyme annotation remains a major bottleneck in translating rapidly growing protein sequence data into biological knowledge. Enzyme Commission (EC) prediction is particularly challenging because enzyme functions are organized hierarchically, annotations are often imbalanced across classes, and sequence similarity alone may be insufficient to resolve functional differences. To address these challenges, we developed ESM-ECForest, a 2-stage framework that combines protein embeddings generated by the pretrained language model ESM-2 (Evolutionary Scale Modeling 2) with random forest classifiers. The first stage distinguishes enzymes from nonenzymes, whereas the second assigns one or more EC numbers to proteins predicted to be enzymatic. On an external benchmark comprising 25,778 protein sequences, ESM-ECForest achieved competitive weighted F1 scores among the evaluated off-the-shelf methods, decreasing from 0.94 at Level 1 to 0.90 at Level 4. The largest relative improvements were observed for lyases (EC 4), ligases (EC 6), and translocases (EC 7), although EC 6 and EC 7 remained the most difficult classes internally. Uniform manifold approximation and projection of the ESM-2 embedding space showed clustering patterns that broadly reflected enzyme functional relationships, suggesting that the pretrained representations capture functionally relevant information. These results support the use of pretrained protein language model embeddings as an effective foundation for enzyme annotation. By combining pretrained protein representations with a lightweight supervised classifier, ESM-ECForest provides a scalable approach for EC prediction and may facilitate functional annotation of proteins from large microbial genomic and metagenomic datasets within the taxonomic and EC-label space represented during model development.

Related

  1. AutoWrinkleID: a machine learning pipeline for biofilm wrinkle identification and quantitative analysis
    M. Murgia, M. Vali, A. Mookherjee +4
    bioRxivPreprintCC BYFull textBiophysicsbioRxiv
  2. Reframing enzyme function prediction as conditional generation
    W. J. Rieger, S. Haeussermann, L. Herrmann +9
    bioRxivPreprintCC BYFull textMolecular biology & gene regulationbioRxiv
  3. BRIDGE-KO: auditable transfer learning with bridged knockoffs improves cross-cohort microbiome prediction of immunotherapy response
    Briefings in bioinformaticsPeer-reviewedCC BYFull textMolecular biology & gene regulationEurope PMC
  4. Representation learning for low-data protein fitness prediction using sequence–structure embeddings and graph neural networks
    Chanoknun Phunnasorn, Narupat Hongdilokkul, Wasakorn Laesanklang +2
    Scientific ReportsPeer-reviewedCC BY-NC-ND 4.0Full textMolecular biology & gene regulationCrossref
  5. A comparative analysis of graph neural networks and classical machine learning for carbapenem-resistance prediction and genomic interpretation in Acinetobacter baumannii
    Irfan Sharif Shaik, Morteza Sarmadi
    Frontiers in bioinformaticsPeer-reviewedCC BYFull textMolecular biology & gene regulationEurope PMC
BibTeX
@article{hua2026twostage,
  title = {{A Two-Stage ESM-Based Machine Learning Pipeline for Robust Hierarchically Evaluated Enzyme Function Prediction}},
  author = {Xiao Hua and Ghjuvan M Grimaud},
  journal = {Computational and structural biotechnology journal},
  year = {2026},
  month = oct,
  doi = {10.34133/csbj.0246},
  url = {https://europepmc.org/article/PMC/PMC13716986},
  note = {CC BY},
}
RIS
TY  - JOUR
TI  - A Two-Stage ESM-Based Machine Learning Pipeline for Robust Hierarchically Evaluated Enzyme Function Prediction
AU  - Xiao Hua
AU  - Ghjuvan M Grimaud
PY  - 2026
DA  - 2026/10/29
JO  - Computational and structural biotechnology journal
DO  - 10.34133/csbj.0246
UR  - https://europepmc.org/article/PMC/PMC13716986
AB  - Accurate enzyme annotation remains a major bottleneck in translating rapidly growing protein sequence data into biological knowledge. Enzyme Commission (EC) prediction is particularly challenging because enzyme functions are organized hierarchically, annotations are often imbalanced across classes, and sequence similarity alone may be insufficient to resolve functional differences. To address these challenges, we developed ESM-ECForest, a 2-stage framework that combines protein embeddings generated by the pretrained language model ESM-2 (Evolutionary Scale Modeling 2) with random forest classifiers. The first stage distinguishes enzymes from nonenzymes, whereas the second assigns one or more EC numbers to proteins predicted to be enzymatic. On an external benchmark comprising 25,778 protein sequences, ESM-ECForest achieved competitive weighted F1 scores among the evaluated off-the-shelf methods, decreasing from 0.94 at Level 1 to 0.90 at Level 4. The largest relative improvements were observed for lyases (EC 4), ligases (EC 6), and translocases (EC 7), although EC 6 and EC 7 remained the most difficult classes internally. Uniform manifold approximation and projection of the ESM-2 embedding space showed clustering patterns that broadly reflected enzyme functional relationships, suggesting that the pretrained representations capture functionally relevant information. These results support the use of pretrained protein language model embeddings as an effective foundation for enzyme annotation. By combining pretrained protein representations with a lightweight supervised classifier, ESM-ECForest provides a scalable approach for EC prediction and may facilitate functional annotation of proteins from large microbial genomic and metagenomic datasets within the taxonomic and EC-label space represented during model development.
SN  - 2001-0370
ER  -