Skip to main content

ABlooper

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 is 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. 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.45Å, which drops to 2.02Å when considering only its 76% most confident predictions.

Install

To install via PyPi:

$ pip install ABlooper

To download and install the latest version from github:

$ git clone https://github.com/brennanaba/ABlooper.git
$ pip install ABlooper/

This package requires PyTorch. If you do not already have PyTorch installed, you can do so following these instructions.

Either OpenMM or PyRosetta are required for the optional refinement and side-chain prediction steps. OpenMM and pdbfixer can be installed via conda using:

$ conda install -c conda-forge openmm pdbfixer

If you want to use PyRosetta for refinement and do not have it installed, it can be obtained from here.

Usage

To use ABlooper, you will need an IMGT numbered antibody model. If you do not already have an antibody model, you can generate one using ABodyBuilder.

To remodel the CDRs of an existing antibody model using the command line:

$ ABlooper my_antibody_model.pdb --output ABlooper_model.pdb --heavy_chain H --light_chain L

To remodel the CDRs of an existing model using the python API:

from ABlooper import CDR_Predictor

input_path = "my_antibody_model.pdb"
output_path = "ABlooper_model.pdb"

pred = CDR_Predictor(input_path, chains = ("H", "L"))
pred.write_predictions_in_pdb_format(output_path)

I would recommend using the command line if you just want a quick antibody model. If speed is a priority, it is probably best to just use the trained pytorch model. The python class will work best if you want to incorporate CDR prediction into a pipeline or access other details such as confidence score or RMSD to original model. Both of which can be obtained as follows:

rmsd_from_input = pred.calculate_BB_rmsd_wrt_input()
confidence_score = pred.decoy_diversity 

I have been made aware that ABlooper will occasionally generate abnormal geometries. To fix this, and to generate side-chains you can do (Only works if you have PyRosetta or OpenMM installed):

$ ABlooper my_antibody_model.pdb --output ABlooper_model.pdb --side_chains

As a default this will use OpenMM if it is installed.

Citing this work

The code and data in this package is based on the following paper ABlooper. If you use it, please cite:

@article {Abanades2021.07.26.453747,
	author = {Abanades, Brennan and Georges, Guy and Bujotzek, Alexander and Deane, Charlotte M.},
	title = {ABlooper: Fast accurate antibody CDR loop structure prediction with accuracy estimation},
	year = {2021},
	doi = {10.1101/2021.07.26.453747},
	URL = {https://www.biorxiv.org/content/early/2021/08/17/2021.07.26.453747},
	eprint = {https://www.biorxiv.org/content/early/2021/08/17/2021.07.26.453747.full.pdf},
	journal = {bioRxiv}
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ABlooper-1.0.5.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ABlooper-1.0.5-py3-none-any.whl (2.5 MB view details)

Uploaded Python 3

File details

Details for the file ABlooper-1.0.5.tar.gz.

File metadata

  • Download URL: ABlooper-1.0.5.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for ABlooper-1.0.5.tar.gz
Algorithm Hash digest
SHA256 7c36bd20cfdebd9b990828d5c2c5fd3b6409968d8c71de02099336b6f97f6194
MD5 c0e4a1b2005969235ffb6b32331ab822
BLAKE2b-256 88ffebf0855d1cc3ca02b1019411abd9aeaf193f4a7becbdb0cc21084a9f11f7

See more details on using hashes here.

File details

Details for the file ABlooper-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: ABlooper-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for ABlooper-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d8b62386e92aa0defe97052ac1e0700934f92591cca733cf0b98c3decb56f14e
MD5 0b3e2fa3b18d95a4ad2b48db85fa5946
BLAKE2b-256 997c19ae5ef38c2ceeadfc66d483352c8a194cc2518d5b40e5f5e1f266f60696

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page