Sequence-based virtual screening using transformers

Shengyu Zhang, Donghui Huo, Robert I. Horne, Yumeng Qi, Sebastian Pujalte Ojeda, Aixia Yan, Michele VendruscoloNature Communications 2025

Abstract

Protein-ligand interactions play central roles in myriad biological processes and are of key importance in drug design. Deep learning approaches are becoming cost-effective alternatives to high-throughput experimental methods for ligand identification. Here, to predict the binding affinity between proteins and small molecules, we introduce Ligand-Transformer, a deep learning method based on the transformer architecture. Ligand-Transformer implements a sequence-based approach, where the inputs are the amino acid sequence of the target protein and the topology of the small molecule to enable the prediction of the conformational space explored by the complex between the two. We apply Ligand-Transformer to screen and validate experimentally inhibitors targeting the mutant EGFR<sup>LTC</sup> kinase, identifying compounds with low nanomolar potency. We then use this approach to predict the conformational population shifts induced by known ABL kinase inhibitors, showing that sequence-based predictions enable the characterisation of the population shift upon binding. Overall, our results illustrate the potential of Ligand-Transformer to accurately predict the interactions of small molecules with proteins, including the binding affinity and the changes in the free energy landscapes upon binding, thus uncovering molecular mechanisms and facilitating the initial steps in drug design.

Introduction

Traditional drug discovery relies heavily on high-throughput screening (HTS), which is notoriously slow, expensive, and prone to high failure rates. Computational "virtual screening" aims to mitigate these issues, but existing methods face a significant hurdle: protein flexibility. Most current models are either structure-based, requiring a fixed 3D "snapshot" of the protein, or ligand-based, ignoring the protein structure entirely. However, proteins are dynamic entities that often undergo significant conformational changes upon ligand binding. If a model assumes a static protein structure, it may fail to identify ligands that induce or stabilize specific functional states. To address this, we developed Ligand-Transformer, a model that predicts interactions directly from raw sequences, allowing the conformational landscape of the interaction to emerge dynamically.

Methods: The Ligand-Transformer Architecture

Ligand-Transformer treats the protein-ligand complex as a heterogeneous graph, leveraging pre-trained knowledge to enhance predictive power. The architecture consists of several key modules:

  1. Feature Encoders: The model utilizes intermediate outputs from AlphaFold2 to represent the protein sequence and GraphMVP (Graph Multi-View Pre-training) to encode the ligand's 2D topology with implicit 3D geometric priors.
  2. Cross-Modal Attention: A transformer-based network facilitates information exchange between protein and ligand representations, effectively modeling the binding interface.
  3. Dual-Head Output: The model features an Affinity Head for predicting binding constants ($pK_d$ or $pIC_{50}$) and a Distance Head for predicting a distance matrix between protein residues and ligand atoms. This dual approach allows for the simultaneous prediction of binding strength and the resulting 3D conformational space.
Figure 1: Overview of the Ligand-Transformer architecture, integrating AlphaFold2 and GraphMVP encoders with a transformer-based cross-modal attention mechanism.

Key Results and Experimental Validation

The model was benchmarked on the PDBbind2020 dataset and fine-tuned on a curated set of 290 known inhibitors for the triple-mutant EGFR kinase (EGFR-LTC). A prospective virtual screening of the TargetMol library (9,090 compounds) was conducted to identify new inhibitors.

Experimental Validation on EGFR Kinase

In a blind experimental test against the mutant EGFR kinase, Ligand-Transformer achieved a remarkable 58% hit rate, with 7 out of 12 predicted compounds showing significant activity. Notably, two compounds exhibited low nanomolar potency, with compound C10 reaching an $IC_{50}$ of 1.185 nM.

Figure 4: Chemical structures and measured IC50 values of the top-performing compounds identified through virtual screening, including the highly potent C10.

Structural Precision and Population Shifts

The model's distance predictions were highly accurate, with approximately 95% of residue-residue distance errors falling below 0.5 Å. Furthermore, the model demonstrated the ability to predict population shifts in the ABL kinase, correctly identifying how different inhibitors stabilize the protein into distinct conformational states. This suggests that Ligand-Transformer learns the underlying physics of the energy landscape rather than just memorizing patterns.

Discussion and Future Directions

Ligand-Transformer offers a significant speed advantage, running approximately 100x faster than state-of-the-art co-folding models like Boltz-1 while maintaining comparable accuracy. This efficiency enables proteome-wide screening of large chemical libraries.

However, some limitations remain. The current transformer architecture imposes memory constraints, limiting the model to proteins under 384 residues. Additionally, while the model predicts distance matrices, it does not yet output full 3D atomic coordinates directly. Future work will focus on scaling the model for larger proteins and integrating it into generative drug design pipelines to further accelerate the discovery of novel therapeutics.

Summary updated

BibTeX
@inproceedings{zhang2025sequence,
  author = {Shengyu Zhang and Donghui Huo and Robert I. Horne and Yumeng Qi and Sebastian Pujalte Ojeda and Aixia Yan and Michele Vendruscolo},
  title = {{Sequence-based virtual screening using transformers}},
  booktitle = {Nature Communications},
  year = {2025},
  doi = {10.1038/s41467-025-61833-8},
}
Figure