Skip to content
/ ProTCR Public

Predicting neoantigen and T-cell receptor binding by integrating structural context and sequence evolutionary conservation

License

Notifications You must be signed in to change notification settings

bigict/ProTCR

Repository files navigation

header

ProTCR

GitHub License Conventional Commits GitHub Actions Workflow Status GitHub Release

This package provides an implementation of the inference pipeline of ProTCR.

Requirements

Installation

  1. Clone this repository and cd into it.
git clone https://github.com/bigict/ProTCR.git
cd ProTCR
git submodule update --init --remote
  1. Create conda an environment and activate it.
conda create -n tcr python=3.11
conda activate tcr

You need to install the ProFOLD2 dependencies

bash profold2/install_env.sh

And then

pip install -r requirements.txt 

Running ProTCR

  1. Model Parameters

    The ProTCR model parameters are hosted on Hugging Face.

    huggingface-cli download --local-dir params bigict/ProTCR
    
  2. Inference

Once you have installed ProTCR, you can test your setup using e.g. the following input csv file named tcr_pmhc_input.csv

Antigen,TCRB,TCRA,MHC_str
ALSKGVHFV,VSQHPSWVICKSGTSVKIECRSLDFQATTMFWYRQFPKQSLMLMATSNEGSKATYEQGVEKDKFLINHASLTLSTLTVTSAHPEDSSFYICSARGSSGRAEYTQYFGPGTRLTVLE,,SHSMRYFFTSVSRPGRGEPRFIAVGYVDDTQFVRFDSDAASQRMEPRAPWIEQEGPEYWDGETRKVKAHSQTHRVDLGTLRGYYNQSEAGSHTVQRMYGCDVGSDWRFLRGYHQYAYDGKDYIALKEDLRSWTAADMAAQTTKHKWEAAHVAEQLRAYLEGTCVEWLRRYLENGKETLQRTD
./predict.sh --output_dir [OUTPUT_DIR] tcr_pmhc_input.csv

You can run

./predict.sh --help

for further help.

Known Issues

Please create an issue if it is not already listed in the issues tracker

About

Predicting neoantigen and T-cell receptor binding by integrating structural context and sequence evolutionary conservation

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published