Seq2Topt: a sequence-based deep learning predictor of enzyme optimal temperature

Sizhe Qiu, Bozhen Hu, Jing Zhao, Weiren Xu, Aidong Yang

TL;DR

Seq2Topt is a new deep learning tool that predicts an enzyme's optimal temperature ($T_{opt}$) using only its amino acid sequence, significantly outperforming previous sequence-only models. By combining pre-trained protein language models with multi-head attention, it offers a fast, interpretable way to screen for heat-stable enzymes in "biological dark matter" like metagenomic data.

What Problem Does This Paper Address?

Enzymes are the workhorses of biotechnology, but they are picky about their environment. Every enzyme has an optimal temperature ($T_{opt}$) where it is most active; go too high, and it denatures; go too low, and the reaction crawls. For researchers mining new enzymes from nature or engineering them for industrial use, knowing this $T_{opt}$ is essential.

The challenge is that measuring $T_{opt}$ in a lab is slow and expensive. While computational predictors exist, they often have a major "catch": they require the Optimal Growth Temperature (OGT) of the source organism as an input. This information is frequently missing, especially when dealing with sequences from metagenomic samples (DNA scraped directly from the environment). Existing sequence-only models have historically suffered from low accuracy and a "black box" nature that offers no insight into why a prediction was made.

Methods

The authors developed Seq2Topt using a sophisticated three-part deep learning architecture:

  1. ESM-2 Embeddings: Instead of simple one-hot encoding, the model uses ESM-2, a massive pre-trained protein language model. This allows the tool to leverage "knowledge" about protein structure and function learned from millions of sequences.
  2. Multi-head Attention: The model uses four "attention heads" to scan the sequence. This mechanism allows the model to focus on different critical residues simultaneously, mimicking how a biochemist might look for specific structural motifs.
  3. Residual Dense Blocks: The final regression is handled by three residual dense blocks, which help the network learn complex patterns without suffering from the "vanishing gradient" problem common in deep networks.

The researchers also demonstrated the versatility of this architecture by creating two sister models: Seq2pHopt (for optimal pH) and Seq2Tm (for melting temperature).

Datasets

The study utilized several key benchmarks:

  • $T_{opt}$ Dataset: 2,917 entries sourced from the TOMER repository (originally from the BRENDA database). The authors used oversampling for enzymes active above 80°C to correct for the natural scarcity of hyperthermophilic data.
  • $T_m$ (Melting Temperature): 7,790 entries from the DeepTM repository.
  • $pH_{opt}$: 9,855 entries from the EpHod repository.

Key Insights and Ideas

  • Attention as a Structural Probe: One of the most exciting findings is that the model's "attention" isn't random. When the authors mapped the attention weights back onto protein structures, they found the model naturally focused on helical regions in methyltransferases and beta-strands in glycosidases—regions known to be vital for thermal stability.
  • Sensitivity to Mutations: Despite being trained on a global variety of enzymes, Seq2Topt proved sensitive enough to qualitatively predict how single-point mutations shift an enzyme's $T_{opt}$. This makes it a potential "fast-screening" tool for in-silico enzyme design.
  • Independence from OGT: The model achieves performance close to state-of-the-art ensemble models (like TOMER) without needing the source organism's growth temperature, making it far more useful for exploring uncultivated microbial dark matter.

Key Results

  • Superior Accuracy: Seq2Topt achieved an RMSE of 13.3°C and an $R^2$ of 0.48. For context, the previous leading sequence-only model, Preoptem, had an $R^2$ of only 0.36.
  • State-of-the-Art pH Prediction: Seq2pHopt significantly outperformed the existing EpHod model, reducing the error (RMSE) from 1.27 to 0.92.
  • Competitive Melting Temp: Seq2Tm reached an RMSE of 7.57°C, nearly matching the performance of DeepTM (7.5°C) despite DeepTM requiring OGT as an extra input.
  • Real-world Validation: In a case study on beta-agarases, the model's top 10 predicted thermophilic candidates had a 50% overlap with the actual experimental top 10.

Limitations and Future Work

The authors identify two primary hurdles. First, the model's accuracy dips at the extreme high-temperature range (>80°C) due to the imbalance of available data for hyperthermophiles. Second, the model currently ignores environmental factors like salt concentration or the presence of ligands, which can influence experimental $T_{opt}$ measurements.

Looking ahead, the authors suggest that Seq2Topt could be integrated with generative AI to enable "predictor-guided" automatic enzyme design, where the AI dreams up new sequences and Seq2Topt instantly vets their thermal viability.

Summary updated

BibTeX
@article{qiu2025seq,
  author = {Sizhe Qiu and Bozhen Hu and Jing Zhao and Weiren Xu and Aidong Yang},
  title = {{Seq2Topt: a sequence-based deep learning predictor of enzyme optimal temperature}},
  journal = {Briefings in Bioinformatics},
  year = {2025},
  doi = {10.1093/bib/bbaf114},
}
Figure