Skip to content

Modeling antibody design based on antibody and antigen information. Will also look at other existing methods for modeling antibodies.

Notifications You must be signed in to change notification settings

dgorhe/antibody-design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Antibody Design

Originally this repository was about designing antibodies based on known epitopes. I wasn't able to find a database with antibody-epitope combinations specifically, but I was able to find the Immune Epitope Database and Analysis Resource (IEDB). They have data on T-cell receptors (TCRs), B-cell receptors (BCRs), and MHC ligands. Designing an antibody is a really complicated problem so I'm starting with a much simpler problem. How can we produce a sequence of amino acids that is similar to the known variable regions in known TCRs, BCRs, and MHC Ligands? The variable region is typically one of the most consequential as far as epitope binding so it's a natural place to start. There are also statistical measures for sequence similarity so we have a way to compare different models against known sequences (i.e. the problem is supervised and has a clean loss function).

Motivation

Developing therapeutics increasingly relies on biologics. Look no further than the recent mRNA COVID-19 vaccines as a testament to this. A challenge in developing precise biologics is developing antibodies. Antibodies are proteins which help our immune system develop pattern recognition for pathogens. Alternatively, there could be antibodies which trick our immune system into thinking our healthy cells are pathogens (i.e. auto-immune diseases).

In both cases, understanding how to design antibodies based on the properties of previously successful antibodies as well as the current antigen of interest (i.e. the thing that antibody sticks to) is paramount. For example, we could develop patient-specific antibodies to attach to cancer cells which would allow the patient's immune system to selectively attack cancerous cells in a way that isn't possible with traditional therapeutics like chemotherapy.

The subproblem that this repository focuses on can also be useful in research and synthetic biology. There are companies which make nanobodies, which are essentially just the variable regions of an antibody. They are typically very small (~15 kilo Daltons) and offer protocol advantages due to their small size. The work done here, could help progress the creation of novel nanobodies for research and development.

Approaches

For each of these approaches, I will outline the math in more detail in the latex folder.

First Order Markov Model (models/mm) [Implemented]

This is the simplest models because it simply ignores the long-range dependencies of each amino acid. It assumes that only the previous amino acid is necessary to predict the following amino acid. This is probably not true but this model is still useful as a sanity check. Most other models should outperform this one.

Hidden Markov Model (models/hmm) [Not Implemented]

There are specific regions within the variable domain called complementary determining regions (CDRs) which are the most variable parts of the variable regions. We know where these sequences are so the hidden Markov model incorporates these as priors.

Deep AutoEncoders (models/dae) [Implemented]

Given a sequence, can we simply train a deep neural network to reconstruct that sequence? This is the naive, deep learning way to perform sequence reconstruction.

This method performs well overall acheiving an MSE loss of ~2 in 100 epochs on the training data. The extent to which this translates into real world accuracy is yet to be tested. I will update this section with better visualizations in the near future.

Variational AutoEncoders (models/vae) [Implemented]

Although it is an autoencoder at its core, this implementation uses the reparametrization trick outlined in this paper from 2014. They showed that it is sufficient to simply learn a mu and sigma associated with a latent distribution of any distribution and recapitualte an input. This has worked empirically well in practice in other fields so it's worth trying out here.

Vaswani Transformer (models/vtransformer) [Not Implemented]

I mean, how could you not try a transformer in this day and age?


Validation

Some validation sets are still being worked on but basically, calculating n-grams and calculating KL Divergence on random subsamples are the primary benchmarks being used. Implementation details can be found in models/benchmark.py.

About

Modeling antibody design based on antibody and antigen information. Will also look at other existing methods for modeling antibodies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published