Table of Contents

Module: autodpfCommands AutoDockTools/autodpfCommands.py

This Module facilitates producing a docking parameter file for AutoDock. The steps in this process are:

  • Selecting the macromolecule filename: The user can select the macromolecule for autodpf in three ways: it can be chosen from molecules previously added to the moleculeViewer, it can be picked as a PDB file, or it can be picked as a MOL2 file:

    • Choose Macromol...

    • Select PDB Macromolecule

    • Select MOL2 Macromolecule

  • Selecting the small molecule which has been previously formatted by AutoTors:

    • Via Reading a PDBQ-File which adds the ligand to the viewer

  • The user sets parameters pertaining to the small molecule

    • Checking that a grid map exists for each of the ligand atom types

    • Indicating whether a floating grid map exists

    • Setting the initial translation of the small molecule

      • by choosing the random option which sets a random starting position for the ligand

      • by entering the desired coordinates in the entry

    • Setting the initial quaternion of the small molecule

      • by choosing the random option which sets a random starting quaternion.

      • by entering the desired initial quaternion -Qx,Qy,Qz,Qw in the entry. Qx, Qy, Qz define the unit vector in the direction of rigid body rotation and Qw the angle of rotation about this unit vector.

    • Setting the coefficient of the torsional DOF

    • By choosing to set the initial dihedrals for the small molecule or not: If not, AutoDock assumes that the chi1, chi2, chi3 etc are all zero and does not change the initial ligand torsion angles. If the user chooses to set the initial dihedrals, he further chooses:

      • for them to be randomly assigned

      • an initial relative dihedral angle for each active torsion in the ligand.

    • The user can specify two types of torsion constraints for the ligand:

      • Gaussian constraints which use an inverted Gaussian bell curve to calculate the energy function input of the constraint. This type of constraint is specified by two floating point numbers: the perferred angle in the range -180-+180decreeds and the half-width which is the difference between two angles at which the energy is half the barrier PLUS an integer which identifies the torsion according to the list at the top of the AutoTors-generated input ligand PDBQ file. More than one constraint of this type may be specified for a single torsion.

      • Hard torsion constraints may also be specified. These differ from the previous type in that the torsion is never allowed to take values bewond the range defined and in that the second parameter is the full width of the allowed range of torsion angles. Moreover, only one constraint of this type is allowed per torsion.

    • If the user specifies torsion constraints, he may also specify the height of the energy barrier to be applied to these constraints.

    • If the user specifies Gaussian torsion constraints, he may also specify whether to store and output the torsion energies

  • The user sets parameters pertaining to docking algorithm(s) he wishes to use : o Setting Simulated Annealing parameters.

    • Setting Genetic Algorithm parameters (GA).

    • Setting Local Search parameters (LS).

    It is important to remember that any of these may be used alone but only GA and LS may be used together

    • The user adjusts these additional parameters:

      • the step sizes of translation, quaternion rotation and dihedral torsion change. o energy parameters including energy assigned to atoms outside the grid volume, the maximum allowable initial energy and the maximum number of retries.

      • output format parameters including the level of detail for the output, the rms cluster tolerance, the reference file for rms calculations and whether to do symmetry checking in the rms calculations.

    • The user selects which kind of docking parameter file to write :

      • Simulated Annealing

      • GA

      • LS

      • GALS

  • The results of the previous steps are written to a file. The user selects a filename via a filebrowser. By convention, the file should have a .dpf extension. If no macromolecule has been selected, it is not possible to write a grid parameter file and the user gets a warning message to that effect. Likewise, the types of the maps to be calculated must be set before the grid parameter file is written and a warning message to this effect appears if the types have not been set. (A checkbutton, "DONE", allows the user to withdraw the autoTools menuBar)

Functions   
checkHasDpo
initModule
setDpoFields
  checkHasDpo 
checkHasDpo ( vf )

  initModule 
initModule ( vf )

  setDpoFields 
setDpoFields ( ligand,  dpo )

Classes   
DpfClusterWriter

allows user to write a dpf to cluster many dockings

DpfEditor

allows user to edit current output file and write it

DpfGALSWriter

allows user to choose an output filename and write it

DpfGAWriter

allows user to choose an output filename and write it

DpfInitLigand

initializes the ligand

DpfLSWriter

allows user to choose an output filename and write it

DpfLigPDBQReader

allows user to choose a PDBQ file for the ligand

DpfLigandChooser

allows user to choose a molecule already present for the ligand

DpfLoadDefaults

allows user to select a file containing a set of defaults

DpfMacroChooser

allows user to choose a molecule already present for the macromolecule

DpfMacroSelector

allows user to select a filename for the macromolecule

DpfSAWriter

allows user to choose an output filename and write simulated annealing parameters

DpfSetDpo
GA

allows user to set necessary parameters for genetic algorithm-based autodock job

LS

allows user to set necessary parameters for local search-based autodock job

SetDockingRunParms

allows user to set these parameters for autodock job: step sizes, energy parameters and format for the output

SimAnneal

allows user to set necessary parameters for simulated annealing-based autodock job

StopAutoDpf

hides the autotools menubar and


Table of Contents

This document was automatically generated on Sun Aug 5 15:51:32 2001 by HappyDoc version r1_5