Introduction To AlphaFold RCS 2022
Introduction To AlphaFold RCS 2022
https://hprc.tamu.edu/wiki/SW:AlphaFold
DOWNLOAD_DIR=/scratch/data/bio/alphafold/2.2.0
and memory resources so # run gpustats in the background (&) to monitor gpu usage in order to create a graph later
monomer_ptm
module purge
● export SINGULARITYENV_TF_FORCE_UNIFIED_MEMORY=1
DOWNLOAD_DIR=/scratch/data/bio/alphafold/2.2.0
that can be graphed # run gpustats in the background (&) to monitor gpu usage in order to create a graph later
using AlphaPickle
gpustats &
small_bfd_database is a
module purge
● export SINGULARITYENV_TF_FORCE_UNIFIED_MEMORY=1
DOWNLOAD_DIR=/scratch/data/bio/alphafold/2.2.0
generated by taking the first # run gpustats in the background (&) to monitor gpu usage in order to create a graph later
non-consensus sequence
gpustats &
export SINGULARITYENV_TF_FORCE_UNIFIED_MEMORY=1
export SINGULARITYENV_XLA_PYTHON_CLIENT_MEM_FRACTION=4.0
● unified memory can be used to request more than just the total GPU
memory for the JAX step in AlphaFold
○ A100 GPU has 40GB memory
○ GPU total memory (40) * XLA_PYTHON_CLIENT_MEM_FRACTION (4.0)
○ XLA_PYTHON_CLIENT_MEM_FRACTION default = 0.9
● this example script has 160 GB of unified memory
○ 40 GB from A100 GPU + 120 GB DDR from motherboard
#!/bin/bash
#SBATCH --job-name=my_gpu_job
#SBATCH --time=1-00:00:00
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=24
#SBATCH --mem=180G
#SBATCH --gres=gpu:a100:1
#SBATCH --output=stdout.%x.%j
#SBATCH --error=stderr.%x.%j
module purge
my_alphafold_command
When the job is complete, login with ssh -X option and eog stats_gpu.3411850.png
view graph of GPU usage stats using the eog command
seff 3411850
eog output_dir/protein_dir/ranked_0_pLDDT.png
you may get different results compared to the image above when using reduced_dbs
multimer as model_preset to
create PAE image
● The colour at position (x, y)
indicates AlphaFold’s
expected position error at
residue x, when the predicted
and true structures are
aligned on residue y.
Scored residue
"plddts": {
"model_1_ptm_pred_0": 94.16585478746399,
"model_2_ptm_pred_0": 94.64120852328334,
"model_3_ptm_pred_0": 89.94980057627299,
"model_4_ptm_pred_0": 77.53515668415058,
see which model has the top rank based on pLDDT score },
"model_5_ptm_pred_0": 88.40610380463586
"order": [
"model_2_ptm_pred_0", ranked_0
"model_1_ptm_pred_0",
"model_3_ptm_pred_0",
cat out_IL2Y_reduced_dbs_monomer_ptm/IL2Y/ranking_debug.json "model_5_ptm_pred_0",
"model_4_ptm_pred_0"
]