Skip to content

Commit 9919243

Browse files
committed
Update README.md
and pgym official benchmark scripts
1 parent 9cec835 commit 9919243

File tree

6 files changed

+41
-13
lines changed

6 files changed

+41
-13
lines changed

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,3 +493,10 @@ datasets/AVGFP/MLPLMC_DE_trajectories.png
493493
datasets/AVGFP/Predictions_GREMLIN_TopTS.txt
494494
datasets/AVGFP/Predictions_PLMC_TopTS.txt
495495
datasets/AVGFP/uref100_avgfp_jhmmer_119_plmc_42.6.params
496+
497+
scripts/ProteinGym_runs/official/data/cv_folds_multiples_substitutions/*
498+
scripts/ProteinGym_runs/official/data/cv_folds_singles_substitutions/*
499+
scripts/ProteinGym_runs/official/data/DMS_msa_files/*
500+
scripts/ProteinGym_runs/official/data/ProteinGym_AF2_structures/*
501+
scripts/ProteinGym_runs/official/data/DMS_substitutions.csv
502+
scripts/ProteinGym_runs/official/benchmark_runs/output.log

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,6 @@ When incorporating DCA and PLM features, both models are fine-tuned via few-shot
4747
## Quick Installation
4848
A quick installation of the PyPEF command line framework using PyPI for Linux and Windows and Python >= 3.10 can be performed with:
4949

50-
51-
<p align="center">
52-
<img src=".github/imgs/splitting_workflow.png" alt="drawing" width="1000"/>
53-
</p>
54-
55-
<a name="installation"></a>
56-
## Quick Installation
57-
A quick installation of the PyPEF command line framework using PyPI for Linux and Windows and Python >= 3.10 can be performed with:
58-
5950
```bash
6051
pip install -U pypef
6152
# optionally, for GPU support (see requirements section below):

scripts/ProteinGym_runs/official/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ chmod a+x ./run_over_all.sh
2727
./run_over_all.sh split_method=fold_random_5
2828
```
2929

30-
All steps can also performed with running `do_all.sh` (writes output to output.log, where running `python remove_tqdm_lines_log.py` is handy for removing the tqdm progress bars from the output log for eased log reading).
30+
All steps can also performed with running `do_all.sh` (if writing output to output.log, running `python remove_tqdm_lines_log.py` is handy for removing the tqdm progress bars from the output log for eased log reading).
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
defaults:
2+
- override hydra/job_logging: disabled # Prevents creation of .log file from Hydra
3+
4+
DMS_idx: ???
5+
split_method: ???
6+
llm: ???
7+
DMS_reference_file_path: ../data/DMS_substitutions.csv
8+
DMS_data_folder_singles: ../data/cv_folds_singles_substitutions
9+
DMS_data_folder_multiples: ../data/cv_folds_multiples_substitutions
10+
DMS_MSA_data_path: ../data/DMS_msa_files
11+
DMS_PDB_data_path: ../data/ProteinGym_AF2_structures
12+
output_scores_folder: model_scores/supervised_substitutions
13+
14+
seed: 2024
15+
progress_bar: false
16+
overwrite: false
17+
18+
# Disables Hydra logging functionality
19+
hydra:
20+
output_subdir: null
21+
job:
22+
chdir: false
23+
run:
24+
dir: .
25+
26+

scripts/ProteinGym_runs/official/do_all.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -e
23

34

45
split_method=fold_random_5
@@ -11,4 +12,5 @@ cd ..
1112
./get_py_packages.sh
1213

1314
cd benchmark_runs
14-
./run_over_all.sh split_method=$split_method > output.log 2>&1 &
15+
./run_over_all.sh split_method=$split_method # > output.log 2>&1 &
16+
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/bin/bash
22

3-
gh repo clone niklases/pypef
4-
cd PyPEF
3+
wget https://github.com/niklases/PyPEF/archive/refs/heads/main.zip
4+
unzip main.zip && rm main.zip
5+
cd PyPEF-main/
56
pip install -r requirements.txt
67
pip install hydra-core
78
pip install .
9+
cd ..

0 commit comments

Comments
 (0)