Deep Learning model that predicts the binding affinity of antibodies from their three-dimensional structure.
Project description
ANTIPASTI: interpretable prediction of antibody binding affinity exploiting Normal Modes and Deep Learning
ANTIPASTI (ANTIbody Predictor of Affinity from STructural Information) is a Python Deep Learning method that predicts the binding affinity of antibodies from their three-dimensional structure.
Installation
Through PyPI
ANTIPASTI releases are distributed through the Python Package Index (PyPI). To install the latest version use pip
:
pip install antipasti
Through Anaconda
We provide an Anaconda environment that satisfies all the dependencies in antipasti-env.yml
.
git clone https://github.com/kevinmicha/ANTIPASTI
cd ANTIPASTI
conda env create -f antipasti-env.yml
conda activate antipasti-env
pip install .
Next, you can run the tests to make sure your installation is working correctly.
# While still in the ANTIPASTI directory:
pytest .
Manually handling the dependencies
If you want to use an existing environment, just omit the Anaconda commands above:
git clone https://github.com/kevinmicha/ANTIPASTI
cd ANTIPASTI
pip install .
or if you need to install it for your user only:
python setup.py install --user
Requirements
ANTIPASTI requires the following Python packages:
adabelief-pytorch
biopython
matplotlib
numpy
opencv-python
optuna
pandas
scikit-learn
torch
torchmetrics
umap-learn
Example Notebooks and Documentation
The full documentation can be found here.
Example notebooks are located in the notebooks folder:
- [Tutorial] Training ANTIPASTI
- [Tutorial] Predicting affinity using ANTIPASTI
- [Tutorial] Explaining binding affinity with ANTIPASTI
- [Tutorial] Combining AlphaFold and ANTIPASTI
You can download normal mode correlation maps computed at atomistic scale (instead of residue scale) here and place them in data/dccm_maps_full_ags_all_aa
.
Attribution
If you use this code, please cite the paper indicated in the documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file antipasti-1.2.tar.gz
.
File metadata
- Download URL: antipasti-1.2.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab5ba76cf733a8ba6f36bfe4fa6213a4d8d8ce485bcf8605c6e3c56b856ed18f |
|
MD5 | dc65095e8383c62db3a329c840f7abdc |
|
BLAKE2b-256 | d6a041b2569ba03fca17f7707ac6815eeb85c9860ab4bc6cef36679b43594f84 |
File details
Details for the file ANTIPASTI-1.2-py3-none-any.whl
.
File metadata
- Download URL: ANTIPASTI-1.2-py3-none-any.whl
- Upload date:
- Size: 45.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4081bada5060cfa6459665f194e01412fe0bcfa47e7a51876a92cc81ac214d58 |
|
MD5 | 4a09d1050dba0ebbf51d6e717648d625 |
|
BLAKE2b-256 | b823e22c990f28997b83db00477924c5b0fbf49b0a6c2fd10f592c6ee36fb3b0 |