No retraction, correction or concern found when last checked on Oct 24, 2026.
ABlooper: fast accurate antibody CDR loop structure prediction with accuracy estimation
Brennan Abanades, Guy Georges, Alexander Bujotzek and 1 more
Bioinformatics · 2022 · CC BY
Abstract
Motivation. Antibodies are a key component of the immune system and have been extensively used as biotherapeutics. Accurate knowledge of their structure is central to understanding their antigen-binding function. The key area for antigen binding and the main area of structural variation in antibodies are concentrated in the six complementarity determining regions (CDRs), with the most important for binding and most variable being the CDR-H3 loop. The sequence and structural variability of CDR-H3 make it particularly challenging to model. Recently deep learning methods have offered a step change in our ability to predict protein structures.
Results. In this work, we present ABlooper, an end-to-end equivariant deep learning-based CDR loop structure prediction tool. ABlooper rapidly predicts the structure of CDR loops with high accuracy and provides a confidence estimate for each of its predictions. On the models of the Rosetta Antibody Benchmark, ABlooper makes predictions with an average CDR-H3 RMSD of 2.49 Å, which drops to 2.05 Å when considering only its 75% most confident predictions.
Availability and implementation. https://github.com/oxpig/ABlooper.
Supplementary information. Supplementary data are available at Bioinformatics online.
Full text
From PubMed Central, U.S. National Library of Medicine, as current on Oct 24, 2026. Paragraph numbers are ours, so an answer can point at one.
1.1 Antibody structure
Antibodies are a class of protein produced by B cells during an immune response. Their ability to bind with high affinity and specificity to almost any antigen makes them attractive for use as therapeutics.
Knowledge of the structure of antibodies is becoming increasingly important in biotherapeutic development. However, experimental structure determination is time-consuming and expensive so it is not always practical or even possible to use routinely. Computational modelling tools have allowed researchers to bridge this gap by predicting large numbers of antibody structures to a high level of accuracy. For example, models of antibody structures have recently been used for virtual screening and to identify coronavirus-binding antibodies that bind the same epitope with very different sequences.
The overall structure of all antibodies is similar and therefore can be accurately predicted using current methods (e.g. ). The area of antibodies that it is hardest to model is the sequence variable regions that provide the structural diversity necessary to bind a wide range of antigens. This diversity is largely focussed on six loops known as the complementarity determining regions (CDRs). The most diverse of these CDRs and therefore the hardest to model is the third CDR loop of the heavy chain (CDR-H3).
1.2 Deep learning for protein structure prediction
At CASP14, DeepMind showcased AlphaFold2, a neural network capable of accurately predicting many protein structures. The method relies on the use of equivariant neural networks and an attention mechanism. More recently, RoseTTAFold, a novel neural network based on equivariance and attention was shown to obtain results comparable to those of AlphaFold2.
These methods both rely on the use of equivariant networks. For a network to be equivariant with respect to a group, it must be able to commute with the group action. For rotations, this means that rotating the input before feeding it into the network will have the same result as rotating the output. In the case of proteins, using a network equivariant to both translations and rotations in 3D space allows us to learn directly from atom coordinates. This is in contrast to previous methods like TrRosetta or the original version of AlphaFold that predicted invariant features, such as inter-residue distances and orientations which are then used to reconstruct the protein. A number of approaches for developing equivariant networks have been recently developed (e.g. ).
In this article, we explore the use of an equivariant approach to CDR structure prediction. We chose to use E(n)-Equivariant Graph Neural Networks (E(n)-EGNNs; ) as our equivariant approach due to their speed and simplicity.
1.3 Deep learning for antibody structure prediction
Deep learning-based approaches have also been shown to improve structure prediction in antibodies, e.g. DeepH3, an antibody-specific version of TrRosetta. Recently, DeepAb, an improved version of DeepH3, was shown to outperform all currently available antibody structure prediction methods. DeepAb and DeepH3 are similar to TrRosetta and the original version of AlphaFold in that deep learning is used to obtain inter-residue geometries that are then fed into an energy minimization method to produce the final structure.
In this work, we present ABlooper, a fast and accurate tool for antibody CDR loop structure prediction. By leveraging E(n)-EGNNs, ABlooper directly predicts the structure of CDR loops. By simultaneously predicting multiple structures for each loop and comparing them amongst themselves, ABlooper is capable of estimating a confidence measure for each predicted loop.
2.1 Data
The data used to train, test and validate ABlooper were extracted from SAbDab, a database of all antibody structures contained in the PDB. Structures with a resolution better than 3.0 Å and no missing backbone atoms within any of the CDRs were selected. The CDRs were defined using the Chothia numbering scheme.
For easy comparison with different pipelines, we used the 49 antibodies from the Rosetta Antibody Benchmark as our test set. For validation, 100 structures were selected at random. It was ensured that there were no structures with the same CDR sequences in the training, testing and validation sets. Sequence redundancy was allowed within the training set to expose the network to the existence of antibodies with identical sequences but different structural conformations. This resulted in a total of 3438 training structures.
Additionally, we use a secondary test set composed of 114 antibodies (SAbDab Latest Structures) with a resolution of under 2.3 Å and a maximum CDR-H3 loop length of 20, which were added to SAbDab after the initial test, train and validation sets were extracted (November 8, 2020 to May 24, 2021). A list containing the PDB IDs of all the structures used in the train, test, and validation sets is given in the Supplementary Material.
ABodyBuilder was used to build models of all the structures. Structural models were generated using the singularity version of ABodyBuilder (fragment database from July 8, 2021) excluding all templates with a 99% or higher sequence identity. ABlooper CDR models for the test sets were obtained by remodelling the CDR loops on ABodyBuilder models.
2.2 Deep learning
ABlooper is composed of five E(n)-EGNNs, each one with four layers, all trained in parallel. The model is trained on the position of the -N-C- backbone atoms for all six CDR loops plus two anchor residues at either end. E(n)-EGNNs require a starting geometry, so a non-descriptive input geometry is generated by evenly spacing each CDR loop residue on a straight line between its anchor residues (Fig. 1). The model is given four different types of features per node resulting in a 41-dimensional vector. These include a one-hot encoded vector describing the amino acid type, the atom type and which loop the residue belongs to. Additionally, sinusoidal positional embeddings are given to each residue describing how close it is to the anchors. An outline of how E(n)-EGNNs are used within ABlooper is shown in Figure 1.
Two different losses were used during training. To quantify the structural similarity between the predicted and true structures, RMSD was used. To encourage the conservation of distances between neighbouring atoms in the backbone chain, an L1-loss between the true and predicted inter-atom distances was used. This was composed of five terms between the following pairs of atoms: -----.
Each of the five E(n)-EGNNs were trained to make predictions independently by minimizing the RMSD between their prediction and the crystal structure. The output from the five networks is then averaged to obtain a final prediction. To ensure that the final combined prediction of all E(n)-EGNNs was physically plausible, the L1-loss was used on the final averaged structure.
The model was trained in two phases. First, it was trained until convergence without the L1-loss term using the RAdam optimizer with a learning rate of and a weight decay of. In the second stage, the L1-loss term was added with a weighting of 1.0. For this stage, the model was trained using the Adam optimizer with a learning rate of and early stopping. More details on the implementation of ABlooper can be found in the Supplementary Material.
2.3 Loop relaxation
During training, ABlooper is encouraged to predict physically plausible CDR loops via the intra-residue atom distance loss term. However, ABlooper occasionally produces loops with incorrect backbone geometries. To enforce correct backbone geometries we relax the predicted loops using a restrained energy minimization procedure. As our energy function, we use the AMBER14 protein force field with an additional harmonic potential term keeping the positions of backbone atoms close to their original predicted positions. The spring constant of the harmonic potential is set to 10 kcal/mol2. Energy minimization is done using the Langevin Integrator in the OpenMM python package. This relaxation step typically results in a small loss in accuracy, but ensures that predicted loops are physically plausible.
2.4 Deepab and AlphaFold2
DeepAb structural models were generated using the open-source version of the code (available at https://github.com/RosettaCommons/DeepAb). As suggested in their paper, we generated five decoys per structure. This took around 10 min per antibody on an 8-core Intel i7-10700 CPU.
Antibody structures were generated using the open-source version of AlphaFold2 (available at https://github.com/deepmind/alphafold). We used the ‘full_dbs’ preset and allowed it to use templates from before May 14, 2020. As AlphaFold2 is intended to predict single chains, we predicted and aligned the heavy and light chain independently before comparing to other methods. On a 20-core Intel 6230 CPU this took around 3 h per antibody modelled.
3.1 Using ABlooper to predict CDR loops on modelled antibody structures
We used ABlooper to predict the CDRs on ABodyBuilder models of the Rosetta Antibody Benchmark (RAB) and the SAbDab Latest Structures (SLS) sets. The RMSD between the -N-C- atoms in the backbone of the crystal structure and the predicted CDRs for both test sets is shown in Table 1.
ABlooper achieves lower mean RMSDs than AbodyBuilder for most CDRs (Table 1). By far, the largest improvement is for the CDR-H3 loop, where due to the large structural diversity, homology modelling performs worst. ABlooper predicts loops of a similar accuracy to AlphaFold2 and DeepAb for all CDRs except CDR-H3, where ABlooper and DeepAb outperform AlphaFold2.
One potential source of error for ABlooper is the model frameworks generated by ABodyBuilder, so we examined its resilience to the small deviations seen in these models and found little to no correlation between framework error and CDR prediction error (see Supplementary Material).
3.2 Prediction diversity as a measure of prediction quality
ABlooper predicts five structures for each loop. We found that the average RMSD between predictions can be used as a measure of certainty of the final averaged prediction. If all five models agree on the same conformation, then it is more likely that it will be the correct conformation, if they do not, then the final prediction is likely to be less accurate (Fig. 2). This allows ABlooper to give a confidence score for each predicted loop. As shown in Figure 2D, this score can be used as a filter, removing structures which are expected to be incorrectly modelled by ABlooper. For example, by setting a 1.5 Å inter-prediction RMSD cut-off on structures from the Rosetta Antibody Benchmark, the average CDR-H3 RMSD for the set can be reduced from 2.49 to 2.05 Å while keeping around three quarters of the predictions. As expected, accuracy filtering has a tendency to remove longer CDR-H3 predictions but it is not exclusively correlated to length (see Supplementary Material).
4 Discussion
We present ABlooper, a fast and accurate tool for predicting the structures of the CDR loops in antibodies. It builds on recent advances in EGNNs to improve CDR loop structure prediction.
On an NVIDIA Tesla V100 GPU, the unrelaxed version of ABlooper can predict the CDR backbone atoms for 100 structures in under 5 s. Loop relaxation and side-chain prediction are the most computationally expensive parts of the pipeline taking around 10 s per structure. ABlooper outperforms ABodyBuilder (a state of the art homology method) and produces antibody models of similar accuracy to both AlphaFold2 and DeepAb, but on a far faster timescale.
By predicting each loop multiple times, ABlooper is capable of producing an accuracy estimate for each generated loop structure. It is not clear whether a high prediction diversity score is indicative of loops with multiple conformations or underrepresentation of the given loop sequence in SAbDab. However, due to how ABlooper is trained (with the averaged prediction encouraged to be physically plausible), we would expect individual decoys from ABlooper to be unphysical for divergent predictions.
With the arrival of B-cell receptor repertoire sequencing, the number of publicly available paired antibody sequence data is rapidly increasing. Fast accurate tools such as ABlooper provide the opportunity for structural studies (such as ) at previously infeasible scales. The model used for ABlooper is available at: https://github.com/oxpig/ABlooper.
Funding
This work was supported by the Engineering and Physical Sciences Research Council (EPSRC) with grant number (EP/S024093/1).
Conflict of Interest: none declared.
References 24
- 1.
- 2.
Berman H.M. et al (2000 ) The Protein Data Bank. Nucleic Acids Res., 28, 235–242.
Not in our library10.1093/nar/28.1.235
- 3.
Carter P.J., Lazar G.A. (2018 ) Next generation antibody drugs: pursuit of the ‘high-hanging fruit’. Nat. Rev. Drug Discov., 17, 197–223.
Not in our library10.1038/nrd.2017.227
- 4.
- 5.
Chothia C. et al (1989 ) Conformations of immunoglobulin hypervariable regions. Nature, 342, 877–883.
Not in our library10.1038/342877a0
- 6.
- 7.
- 8.
Finzi M. et al (2021 ). A practical method for constructing equivariant multilayer perceptrons for arbitrary matrix groups. In: Proceedings of the 38th International Conference on Machine Learning, PMLR, Vol. 139, pp. 3318–3328.
Not in our library
- 9.
- 10.
Kingma D.P., Ba J. (2014 ). Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980.
Not in our library
- 11.
Kovaltsuk A. et al (2018 ) Observed antibody space: a resource for data mining next-generation sequencing of antibody repertoires. J. Immunol., 201, 2502–2509.
Not in our library10.4049/jimmunol.1800708
- 12.
Kryshtafovych A. et al (2021 ) Critical assessment of methods of protein structure prediction (CASP)—round XIV. Proteins, 89, 1607–1617.
Not in our library10.1002/prot.26237
- 13.
- 14.
Liu L. et al (2020 ). On the variance of the adaptive learning rate and beyond. In: Proceedings of the Eighth International Conference on Learning Representations (ICLR 2020).
Not in our library
- 15.
Maier J.A. et al (2015 ) ff14SB: improving the accuracy of protein side chain and backbone parameters from ff99SB. J. Chem. Theory Comput., 11, 3696–3713.
Not in our library10.1021/acs.jctc.5b00255
- 16.
- 17.
Robinson,S.A. et al (2021 ) Epitope profiling using computational structural modelling demonstrated on coronavirus-binding antibodies. PLoS Computational Biology, 17, e1009675
Not in our library10.1371/journal.pcbi.1009675
- 18.
Ruffolo J.A. et al (2020 ) Geometric potentials from deep learning improve prediction of CDR H3 loop structures. Bioinformatics, 36, i268–i275.
Not in our library10.1093/bioinformatics/btaa457
- 19.
Ruffolo J.A. et al (2021 ) Antibody structure prediction using interpretable deep learning. Patterns, 100406.
Not in our library10.1016/j.patter.2021.100406
- 20.
Satorras V.G. et al (2021 ). E (n) equivariant graph neural networks. arXiv preprint arXiv:2102.09844.
Not in our library
- 21.
Schneider C., et al. (2021). DLAB: deep learning methods for structure-based virtual screening of antibodies. Bioinformatics, 38(2), 377–383.
Not in our library10.1093/bioinformatics/btab660
- 22.
Senior A.W. et al (2020 ) Improved protein structure prediction using potentials from deep learning. Nature, 577, 706–710.
Not in our library10.1038/s41586-019-1923-7
- 23.
Teplyakov A. et al (2014 ) Antibody modeling assessment II. structures and models. Proteins, 82, 1563–1582.
Not in our library10.1002/prot.24554
- 24.
Yang J. et al (2020 ) Improved protein structure prediction using predicted interresidue orientations. Proc. Natl. Acad. Sci. USA, 117, 1496–1503.
Not in our library10.1073/pnas.1914677117
Cited by papers we hold 3
- Fast, accurate antibody structure prediction from deep learning on massive set of natural antibodies · 2023No notice
- ImmuneBuilder: Deep-Learning models for predicting the structures of immune proteins · 2023No notice
- Protein structure prediction with in-cell photo-crosslinking mass spectrometry and deep learning · 2023No notice
Reads
Read by people on this page
None yet.
Checked or read by AI through naulon
None yet.
A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.
Are you an author?
Is this your paper?
Claim it to add your note and be paid when agents cite it. Free.