Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
start:software:topical:lifesciences:molecular_docking:vina [2021/01/29 16:55] meesters removed |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Screening the binding of Lingands with Autodock Vina ====== | ||
- | |||
- | Screening / docking lingand binding with [[http:// | ||
- | |||
- | ===== Using the wrapper script ===== | ||
- | |||
- | To leverage the task from 1 (or a few) ligands to be screened to several thousand, we provide a wrapper script, which is available as a module: | ||
- | |||
- | '' | ||
- | |||
- | The code is under version management and hosted [[https:// | ||
- | |||
- | <callout type=" | ||
- | The wrapper script will submit a job, it is not intended to be just within a SLURM environment, | ||
- | </ | ||
- | Calling '' | ||
- | |||
- | <callout type=" | ||
- | The Vina configuration file is important. Without it or with a minor glitch in it, Vina will either refuse to run or might not yield meaningful results. We therefore strongly encourage to run a couple of screenings (different ligands / receptors) per configuration on a login node //before launching the wrapper script and producing zillions of error messages whilst wasting time and your productivity.// | ||
- | </ | ||
- | |||
- | The script, after loading the module, can then be run like: | ||
- | |||
- | <code bash> | ||
- | $ parall_Vina [options] -C <path to configuration file> <path to ligand directory> | ||
- | </ | ||
- | |||
- | About Arguments: | ||
- | * both, the ligand directory and the path to the pdbqt file, are mandatory | ||
- | * both can be relative paths | ||
- | * the ligand directory should contain one ligand per file | ||
- | * '' | ||
- | |||
- | The options: | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | |||
- | The output will be in the output directory. There will be 3 files: | ||
- | * the SLURM output with a prefix composed of the ligand prefix and the target prefix. | ||
- | * a file called '' | ||
- | * a compressed tarball with all vina results, called '' | ||
- | |||
- | The '' | ||
- | |||
- | <code bash> | ||
- | $ sort -k3 -t',' | ||
- | </ | ||
- | |||
- | Particular hits can be extracted from the tar file: | ||
- | <code bash> | ||
- | $ tar -zxvf docking_results.tar.gz <desired prefix> | ||
- | </ | ||
- | where the " | ||
- | |||
- | ===== Downstream Analysis ===== | ||
- | |||
- | ==== Downstream Analysis with Autodock ==== | ||
- | |||
- | For a downstream analysis with our [[: | ||
- | |||
- | <code bash> | ||
- | $ # we assume a new directory for autodock ligands | ||
- | $ autodock_ligand_dir=" | ||
- | $ # this is where our ligands, screened with Vina, are stored | ||
- | $ vina_ligand_dir=" | ||
- | $ # link the best n-results to the new Autodock input directory location: | ||
- | $ for prefix in $(tail -n+2 energies.csv| sort -k3 -t',' | ||
- | > ln -s ${vina_ligand_dir}/ | ||
- | > done | ||
- | </ | ||