AbMAP: Antibody Mutagenesis Augmented Processing
Project description
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) Link. 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
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_detailed.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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.