This is a working Docker implementation of STEGG. The long-term goal is to make the Docker image available via Docker Hub and host a web server so others can use the tool easily—without ever needing to look at any code.
Before building the Docker container, you must download two sets of files:
Download the frequency matrix CSV from this link: MHCFlurry2.0 Frequencies (Box)
Place the CSV file into the following directory:
Ape-Gen2.0-main/helper_files/
Download korp6Dv1.bin from this link:
Download KORP
Copy the binary file to the following directory:
RCD_required_files/
If you want to pack the models into the docker image, download them and place them in the models/ directory.
wget -O models/esm_ppi_650m_tcr.pth https://zenodo.org/record/12602915/files/esm_ppi_650m_tcr.pth && \
wget -O models/tfold_pmhc_trunk.pth https://zenodo.org/record/12602915/files/tfold_pmhc_trunk.pth && \
wget -O models/tfold_tcr_trunk.pth https://zenodo.org/record/12602915/files/tfold_tcr_trunk.pthOnce dependencies are in place:
-
Build the Docker container
run
build_image.shandstart_image.sh -
Run the model inside the container:
Navegate to:
/home/STEGG_controler/And run
python3 model_complex.py demo.json
-
Model Additional Complexes To model other TCR–pMHC complexes, create a new JSON input file following the same structure as
demo.json, and run:python3 model_complex.py your_input.json