Skip to content

Commit 92f8382

Browse files
replaced /scratch/scratch/username with /home/${USER}/Scratch
1 parent 428726c commit 92f8382

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

mkdocs-project-dir/docs/Software_Guides/AlphaFold3.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ Having added the model weights, you will also need to create input and output di
2525
You should now have three locations which are unique to you. For ease of reference in the job script I'm going to set environment variables to them so that the command-line is consistent and so you can change them without messing with the command line options.
2626

2727
```
28-
export AF3_INPUT=/scratch/scratch/uccaoke/af3_input # Replace with your input folder
28+
export AF3_INPUT=/home/${USER}/Scratch/af3_input # Replace with your input folder
2929
export AF3_INPUT_FILE=fold_input.json # Replace with a file in your input folder
30-
export AF3_OUTPUT=/scratch/scratch/uccaoke/af3_output # Replace with your output folder
31-
export AF3_WEIGHTS=/scratch/scratch/uccaoke/weights # Replace with the folder you put the weights in
30+
export AF3_OUTPUT=/home/${USER}/Scratch/af3_output # Replace with your output folder
31+
export AF3_WEIGHTS=/home/${USER}/Scratch/weights # Replace with the folder you put the weights in
3232
```
3333

3434
## Running AlphaFold3
@@ -59,10 +59,10 @@ Write a job script that requests GPU nodes:
5959
# Set the working directory to the current working directory.
6060
#$ -cwd
6161
62-
export AF3_INPUT=/scratch/scratch/uccaoke/af3_input # Replace with your input folder
62+
export AF3_INPUT=/home/${USER}/Scratch/af3_input # Replace with your input folder
6363
export AF3_INPUT_FILE=fold_input.json # Replace with a file in your input folder
64-
export AF3_OUTPUT=/scratch/scratch/uccaoke/af3_output # Replace with your output folder
65-
export AF3_WEIGHTS=/scratch/scratch/uccaoke/weights # Replace with the folder you put the weights in
64+
export AF3_OUTPUT=/home/${USER}/Scratch/af3_output # Replace with your output folder
65+
export AF3_WEIGHTS=/home/${USER}/Scratch/weights # Replace with the folder you put the weights in
6666
6767
apptainer exec --nv --bind ${AF3_INPUT}:/root/af_input --bind ${AF3_OUTPUT}:/root/af_output --bind ${AF3_WEIGHTS}:/root/models --bind /shared/ucl/apps/AlphaFold3_db:/root/public_databases --no-home --no-mount bind-paths /shared/ucl/apps/AlphaFold3/alphafold3.sif sh -c "XLA_FLAGS='--xla_disable_hlo_passes=custom-kernel-fusion-rewriter' python3 /app/alphafold/run_alphafold.py --json_path=/root/af_input/${AF3_INPUT_FILE} --model_dir=/root/models --db_dir=/root/public_databases --output_dir=/root/af_output --flash_attention_implementation=xla"
6868
```
@@ -95,12 +95,12 @@ If you wish to queue for an A100, this job should work:
9595
# Set the working directory to the current working directory.
9696
#$ -cwd
9797
98-
export AF3_INPUT=/scratch/scratch/uccaoke/af3_input # Replace with your input folder
98+
export AF3_INPUT=/home/${USER}/Scratch/af3_input # Replace with your input folder
9999
export AF3_INPUT_FILE=fold_input.json # Replace with a file in your input folder
100-
export AF3_OUTPUT=/scratch/scratch/uccaoke/af3_output # Replace with your output folder
101-
export AF3_WEIGHTS=/scratch/scratch/uccaoke/weights # Replace with the folder you put the weights in
100+
export AF3_OUTPUT=/home/${USER}/Scratch/af3_output # Replace with your output folder
101+
export AF3_WEIGHTS=/home/${USER}/Scratch/weights # Replace with the folder you put the weights in
102102
103103
apptainer exec --nv --bind ${AF3_INPUT}:/root/af_input --bind ${AF3_OUTPUT}:/root/af_output --bind ${AF3_WEIGHTS}:/root/models --bind /shared/ucl/apps/AlphaFold3_db:/root/public_databases --no-home --no-mount bind-paths /shared/ucl/apps/AlphaFold3/alphafold3.sif sh -c "python3 /app/alphafold/run_alphafold.py --json_path=/root/af_input/${AF3_INPUT_FILE} --model_dir=/root/models --db_dir=/root/public_databases --output_dir=/root/af_output"
104104
```
105105

106-
For other options you can pass to AlphaFold 3, please consult [DeepMind's documentation](https://github.com/google-deepmind/alphafold3/tree/main/docs).
106+
For other options you can pass to AlphaFold 3, please consult [DeepMind's documentation](https://github.com/google-deepmind/alphafold3/tree/main/docs).

0 commit comments

Comments
 (0)