Skip to content

AutoDock GPU

Description

The AutoDock-GPU Suite is a growing collection of methods for computational docking and virtual screening, for use in structure-based drug discovery and exploration of the basic mechanisms of biomolecular structure and function. The source code is available at github page.

It is highly recommended to run AutoDock GPU within the container using Singularity utility.

Versions

Following versions of AutoDock GPU are currently available:

  • Runtime dependencies:
    • singularity

You can load dependencies as modules by following command:

   module load singularity


User guide

You can find the software documentation and user guide at official website and for running in singularity at nvidia catalog.

Example run script

You can copy and modify this script to autodock_singularity.sh and submit job to a gpu node by command sbatch autodock_singularity.sh. Values for number of GPUs, ntasks and CPUs per task have been tested and optimized for best performance on Devana cluster.

#!/bin/bash
#SBATCH -J "AD_GPU"     # name of job in SLURM
#SBATCH --account=<project> # project number
#SBATCH --partition=ngpu    # selected partition
#SBATCH --gres=gpu:1        # runs on one gpu
#SBATCH --ntasks=1      # number of parallel tasks
#SBATCH --cpus-per-task=8   # number of cpus per task
#SBATCH --time=hh:mm:ss     # time limit for a job
#SBATCH -o stdout.%J.out    # standard output
#SBATCH -e stderr.%J.out    # error output

# Modules
module load singularity

# Shortcuts
Container_loc=
Script_loc=

# Execute AD_GPU_sing.sh script within the container 
singularity exec --nv $Container_loc/autodock_gpu_zinc_latest.sif "$Script_loc/AD_GPU_sing.sh"

Second script that is started within the container loops over desired directory, can be modified to specify targets or loop over list of ligands (see section AutoDock Vina).

#!/bin/bash

# Shortcuts
Ligands_location=
Proteins_location=
Outputs=

# Loop over compounds
Ligands=$(ls $Ligands_location/*.pdbqt)

for ligand in $Ligands; do
    #   autodock_gpu_128wi -lfile $ligand -ffile $Proteins_location/6WQF_clean.maps.fld -nrun 50 -resnam $Outputs/$ligand.dlg
    autodock_gpu_128wi -lfile $ligand -ffile $Proteins_location/6WQF_clean.maps.fld -nrun 50
done
Created by: Martin Blaško