AbMAP: Antibody Mutagenesis-Augmented Processing
This repository is a work in progress.
This repository contains code and pre-trained model checkpoints for AbMAP, a Protein Language Model (PLM) customized for antibodies as featured in Learning the Language of Antibody Hypervariability (Singh, Im et al. 2023). AbMAP leverages information from foundational PLMs as well as antibody structure and function, offering a multi-functional tool useful for predicting structure, functional properties, and analyzing B-cell repertoires.
Installation
AbMAP relies on ANARCI to assign IMGT labels to antibody sequences. Please see the ANARCI repo or run the following in a new conda environment:
conda install -c biocore hmmer # Can also install using `brew/port/apt/yum install hmmer`
git clone https://github.com/oxpig/ANARCI.git
cd ANARCI
python setup.py install
Then install abmap using:
pip install abmap # (recommended) latest release from PyPI
pip install git+https://github.com/rs239/ablm.git # the live main branch
Usage:
After installation, AbMAP can be easily imported into your python projects or run from the command line. Please see examples/demo.ipynb for common use cases. Instructions for running via CLI are below.
Command Line Usage
Instructions In Progress
Augment
Given a sequence, generate a foundational PLM embedding augmented with in-silico mutagenesis and CDR isolation.
Train
Given a dataset of labeled pairs of sequences and their augmented embeddings, train the AbMAP model on downstream prediction tasks.
Embed
Given fasta sequences and a pre-trained AbMAP model, generate their AbMAP embeddings (fixed or variable).
Please provide feedback on the issues page or by opening a pull request. If AbMAP is useful in your work, please consider citing our bioRxiv preprint.
Metadata
Release files for abmap 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| abmap-0.1.4.tar.gz | 48.7 kB | Without provenance | Details for abmap-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| abmap-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for abmap-0.1.4-py3-none-any.whl |
Total release size: 106.0 kB
Release files / abmap-0.1.4.tar.gz
| Download URL | abmap-0.1.4.tar.gz |
|---|---|
| Size | 48.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d5cc08fd6a4bdee1c5a3d0884ac99b12c603dcd85fd8ae2be3a2ffd9e56b771
|
|
BLAKE2b-256 checksum How to use checksums |
9fdd86e53cede8cb65eb9e662ddd663e841c98abd93151d32d1a94cf3d35bd0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.11
|
Release files / abmap-0.1.4-py3-none-any.whl
| Download URL | abmap-0.1.4-py3-none-any.whl |
|---|---|
| Size | 57.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5be83a0c9f9095d2aaba2d19dc51b199bc09bb6f9e0d2d7d54f3b9a24c97b78c
|
|
BLAKE2b-256 checksum How to use checksums |
6d9cd1b99183fa702492944688bfb71c11b96ed2a43b0278658faba3afc185ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.11
|
Security for abmap 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.