Skip to content

Commit

Permalink
update foldx
Browse files Browse the repository at this point in the history
  • Loading branch information
kxz18 committed May 23, 2023
1 parent 7848001 commit 91704b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Since pdb files are heavy to process, usually people will generate a summary fil
**(Optional) 4. Baselines**

If you are interested in the pipeline baselines, including the following projects and integrate their dependencies according to your needs:

- framework structure prediction:
- [IgFold](https://github.com/Graylab/IgFold/tree/main/igfold)
- docking:
Expand All @@ -80,6 +81,8 @@ If you are interested in the pipeline baselines, including the following project
- side-chain packing:
- [Rosetta](https://new.rosettacommons.org/demos/latest/tutorials/install_build/install_build)

After adding these projects, please also remember to revise the corresponding paths in `./configs.py`. We have also provided the scripts for cascading the modules in `./scripts/pipeline_inference.sh`.


## Experiments

Expand Down Expand Up @@ -290,7 +293,7 @@ where the `1nca_original.pdb` is the original complex, and `1nca_a_b.pdb` means

### *In Silico* "Display"

*In vitro* display are commonly used for selecting binding mutants from antibody libraries. Here we implement an *in silico* version with the **design** API by generating and filtering candidates from existing dataset against the antigen with an epitope definition. Further, we need an metric to evaluate how well the generated antibody binds to the target. Here we use FoldX as the affinity predictor. We still use the TRPV1 example in the previous section, and use the RAbD benchmark as the antibody library providing the framework regions:
*In vitro* display are commonly used for selecting binding mutants from antibody libraries. Here we implement an *in silico* version with the **design** API by generating and filtering candidates from existing dataset against the antigen with an epitope definition. Further, we need an metric to evaluate how well the generated antibody binds to the target. Here we use FoldX as the affinity predictor, so to run this demo, you may need to first download the it from the [official website](https://foldxsuite.crg.eu/products#foldx) and revise the path in `./configs.py` correspondingly. We still use the TRPV1 example in the previous section, and use the RAbD benchmark as the antibody library providing the framework regions:

```bash
python -m demos.display \
Expand Down
6 changes: 3 additions & 3 deletions configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
PROJ_DIR = os.path.split(__file__)[0]
RENUMBER = os.path.join(PROJ_DIR, 'utils', 'renumber.py')
# FoldX
FOLDX_BIN = '/data/private/kxz/dG/baselines/foldx5/foldx_20231231'
FOLDX_BIN = './foldx5/foldx_20231231'
# DockQ
# IMPORTANT: change it to your path to DockQ project)
DOCKQ_DIR = '/data/private/kxz/antibody/DockQ'
DOCKQ_DIR = './DockQ'
# cache directory
CACHE_DIR = '/data/private/kxz/tmp/__cache__'
CACHE_DIR = os.path.join(PROJ_DIR, '__cache__')
if not os.path.exists(CACHE_DIR):
os.makedirs(CACHE_DIR)

Expand Down

0 comments on commit 91704b1

Please sign in to comment.