Skip to content

Commit ad9f842

Browse files
committed
Switch from 'src' to 'posebench' for package name
1 parent a17d91a commit ad9f842

69 files changed

Lines changed: 244 additions & 244 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ repos:
7070
--ignore-nested-functions,
7171
-vv,
7272
]
73-
exclude: ^src/analysis/casp15_ligand_scoring/
73+
exclude: ^posebench/analysis/casp15_ligand_scoring/
7474

7575
# python check (PEP8), programming errors and code complexity
7676
- repo: https://github.com/PyCQA/flake8
@@ -82,7 +82,7 @@ repos:
8282
"--extend-ignore",
8383
"E203,E402,E501,F401,F841,RST2,RST301",
8484
"--exclude",
85-
"logs/*,data/*,src/analysis/casp15_ligand_scoring/*",
85+
"logs/*,data/*,posebench/analysis/casp15_ligand_scoring/*",
8686
]
8787
additional_dependencies: [flake8-rst-docstrings==0.3.0]
8888

@@ -126,7 +126,7 @@ repos:
126126
hooks:
127127
- id: codespell
128128
args:
129-
- --skip=logs/**,data/**,*.ipynb,src/utils/data_utils.py,src/utils/residue_utils.py,src/data/components/esmfold_fasta_preparation.py,src/models/minimize_energy.py,src/data/components/create_casp15_ensemble_input_csv.py,src/analysis/casp15_ligand_scoring/casp_parser.py
129+
- --skip=logs/**,data/**,*.ipynb,posebench/utils/data_utils.py,posebench/utils/residue_utils.py,posebench/data/components/esmfold_fasta_preparation.py,posebench/models/minimize_energy.py,posebench/data/components/create_casp15_ensemble_input_csv.py,posebench/analysis/casp15_ligand_scoring/casp_parser.py
130130
# - --ignore-words-list=abc,def
131131

132132
# jupyter notebook cell output clearing

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ test-full: ## Run all tests
2727
pytest
2828

2929
train: ## Train the model
30-
python src/train.py
30+
python posebench/train.py

README.md

Lines changed: 136 additions & 136 deletions

configs/analysis/inference_analysis_casp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
full_report: true # whether to generate a full PoseBusters report (i.e. with all metrics) or a summary report (i.e. with only the most important metrics)
22
python_exec_path: ${oc.env:HOME}/mambaforge/envs/casp15_ligand_scoring/bin/python3 # the Python executable to use
3-
scoring_script_path: ${oc.env:PROJECT_ROOT}/src/analysis/casp15_ligand_scoring/score_predictions.py # the path to the script to use for scoring CASP predictions
3+
scoring_script_path: ${oc.env:PROJECT_ROOT}/posebench/analysis/casp15_ligand_scoring/score_predictions.py # the path to the script to use for scoring CASP predictions
44
method: diffdock # the method for which to score predictions - NOTE: must be one of (`diffdock`, `fabind`, `dynamicbind`, `neuralplexer`, `rfaa`, `vina`, `ensemble`, `tulip`)
55
vina_binding_site_method: diffdock # the method to use for Vina binding site prediction - NOTE: must be one of (`diffdock`, `fabind`, `dynamicbind`, `neuralplexer`, `rfaa`)
66
dataset: casp15 # the dataset to use - NOTE: must be one of (`casp15`)

configs/model/ensemble_generation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ output_bash_file_dir: ensemble_generation_scripts # the directory in which to sa
55
cuda_device_index: 0 # the CUDA device to use for inference, or `null` to use CPU
66
input_csv_filepath: ${oc.env:PROJECT_ROOT}/data/test_cases/5S8I_2LY/ensemble_inputs.csv # path to a CSV file containing the following columns: `protein_input`, `ligand_smiles`, `name`
77
temp_protein_dir: ${oc.env:PROJECT_ROOT}/data/ensemble_proteins # directory path to which to save temporary predicted protein structures
8-
structure_prediction_script_path: ${oc.env:PROJECT_ROOT}/src/data/components/esmfold_batch_structure_prediction.py # path to the ESMFold structure prediction script to use
8+
structure_prediction_script_path: ${oc.env:PROJECT_ROOT}/posebench/data/components/esmfold_batch_structure_prediction.py # path to the ESMFold structure prediction script to use
99
structure_prediction_chunk_size: null # optional chunk size to use during ESMFold structure prediction to reduce memory requirements
1010
structure_prediction_cpu_only: false # whether to only use CPU for structure prediction
1111
structure_prediction_cpu_offload: false # whether to offload structure prediction to CPU
@@ -103,7 +103,7 @@ rfaa_exec_dir: ${oc.env:PROJECT_ROOT}/forks/RoseTTAFold-All-Atom # the RoseTTAFo
103103
rfaa_config_dir: ${oc.env:PROJECT_ROOT}/forks/RoseTTAFold-All-Atom/rf2aa/config/inference # the config directory with which to run inference
104104
rfaa_output_dir: ${oc.env:PROJECT_ROOT}/forks/RoseTTAFold-All-Atom/inference/rfaa_ensemble_outputs # the output directory to which to save the inference results
105105
rfaa_max_cycles: 10 # the maximum number recycling iterations to run
106-
rfaa_inference_config_name: null # the name of the inference config to use - NOTE: if `run_inference_directly` is true, this must reference a valid YAML config file name e.g., that was generated by `python src/models/rfaa_inference.py` with `run_inference_directly=false`
106+
rfaa_inference_config_name: null # the name of the inference config to use - NOTE: if `run_inference_directly` is true, this must reference a valid YAML config file name e.g., that was generated by `python posebench/models/rfaa_inference.py` with `run_inference_directly=false`
107107
rfaa_inference_dir_name: null # the name of the inference output directory to use
108108
# Vina inference arguments:
109109
vina_binding_site_methods: [diffdock] # the methods to use for Vina binding site prediction - NOTE: must be one of (`diffdock`, `fabind`, `dynamicbind`, `neuralplexer`, `rfaa`)

configs/model/rfaa_inference.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ output_dir: ${oc.env:PROJECT_ROOT}/forks/RoseTTAFold-All-Atom/prediction_outputs
77
max_cycles: 10 # the maximum number of recycling iterations to run
88
cuda_device_index: 0 # the CUDA device to use for inference, or `null` to use CPU
99
run_inference_directly: false # whether to run the inference code directly (true) or to rely on the user to run the generated scripts manually (false)
10-
inference_config_name: null # the name of the inference config to use - NOTE: if `run_inference_directly` is true, this must reference a valid YAML config file name e.g., that was generated by `python src/models/rfaa_inference.py` with `run_inference_directly=false`
10+
inference_config_name: null # the name of the inference config to use - NOTE: if `run_inference_directly` is true, this must reference a valid YAML config file name e.g., that was generated by `python posebench/models/rfaa_inference.py` with `run_inference_directly=false`
1111
inference_dir_name: null # the name of the inference output directory to use
1212
repeat_index: 1 # the repeat index to use for inference
1313
skip_existing: true # whether to skip running inference if the prediction for a target already exists

docs/source/index.rst

Lines changed: 9 additions & 9 deletions
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)