AlphaFold
AlphaFold is a protein structure prediction tool (Jumper et al., Nature 2021). The cluster provides access through Apptainer containers optimized for GPU computation.
Prerequisites
Obtain model parameters from Google:
https://forms.gle/svvpY4u2jsHEwWYS6
Set the environment variable to your model directory:
export MODEL_DIR=/home/$USER/alphafold3_models/
Setup
Create Working Directories
mkdir -p ~/alphafold
mkdir -p /resnick/scratch/$USER/alphafold/out
Load Module
module load alphafold/3.0.0
Copy Example Files
cp /resnick/software9/external/alphafold/examples/test.json ~/alphafold/
cp /resnick/software9/external/alphafold/examples/alphafold3.sub ~/
Job Submission
Example SLURM Script
#!/bin/bash
#SBATCH --job-name=alphafold_run
#SBATCH --time=1-00:00:00
#SBATCH --partition=gpu
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --gres=gpu:h100:1
#SBATCH --cpus-per-task=16
#SBATCH --mem=32G
#SBATCH [email protected]
#SBATCH --mail-type=ALL
export MODEL_DIR=/home/$USER/alphafold3_models/
module load alphafold/3.0.0
time alphafold \
--output_dir=/resnick/scratch/$USER/alphafold/out \
--json_path=/home/$USER/alphafold/test.json
Submit
sbatch alphafold3.sub
Output
Results appear in the specified
--output_dirJob logs:
slurm-[jobid].out
Additional Options
View all available flags:
alphafold --helpshort
Tips
Use H100 GPUs for best performance
Allocate sufficient memory (32 GB minimum recommended)
Output to scratch storage for large predictions
Monitor jobs with
squeue -u $USER