# Analysing the results

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

# Some analyses that can be performed

See MUD - Michael's Utilities for Docking for a lot of tools to help with analyzing DOCK runs.

## Combining the results of all subdirectories

• in the subdirectory that contains all the individual directories for each chunk of the library, run $mud/combine.py. Then generate a file containing the top 500 molecules using '$mud/topdock.py -o top500.pdb', which you can read into ViewDOCK in chimera as a DOCK 4, 5, or 6 style file.
• to create an .eel1 file containing the top 500 molecules just run $mud/topdock.py -e. If one wants to create an .eel1 file for a different subset of the molecules, first create the list of molecule names plus their energies (on one line) and then feed it to getxpdb.pl name_energy.list < FF.test.eel1 > subset_name.eel1. ## Getting individual atom contributions with scoreopt_so ### First you need an .eel1 file to be scored ##### For the xtal-lig.mol2 in its crystallographic pose New way that outputs your.eel1 starting from your.pdb directly • run '$mud/to_eel1.csh your.pdb'.

If that fails, use the old way to convert an input .mol2 file into an .eel1 file

• run amsol as described here to calculate atomic solvation energies.
• run 'file2file.py -s path/to/amsol.solv path/to/amsol.nmol2 ligand.eel1'.
• run '$mud/topdock.py -e -o top500.eel1' to generate an .eel1 containing the top 500 docked molecules. • or unzip the dock output 'gunzip -c test.eel1.gz > test.eel1' • or to create an .eel1 file for a different subset of the molecules, first create the list of molecule names plus their energies (on one line) and then feed it to 'getxpdb.pl name_energy.list < FF.test.eel1 > subset_name.eel1'. ### Overall molecular score compiled from all scoreopt_so options For default grids • run '$mud/doscoreopt.csh your.eel1 ../path/to/grids'

Or for custom grids, used below to run SEV-based desolvation grids

• run '\$mud/doscoreopt.csh your.eel1 ../path/to/grids rec+sph.phi chem solvmap_sev'

The summary for the whole molecule is output to your.eel1.scores in combine.scores format

### Atomic contributions to the coulombic energy

In your.eel1.delphi from the wrapper

• in every ATOM line, columns 9, 10 and 11 are the partial charge, the electrostatic field and the energy in kT (i.e., 9 × 10) of the atom, respectively.
• the DelPhi electrostatic score is the sum over the entries in column 11 times 0.5924 (conversion from kT to kcal/mol) and can be compared to the elect column in OUTDOCK.

Or to generate this data yourself

• start scoreopt_so and choose option '2' in the first menu.
• enter the name of the DelPhi potential file, presumably grids/rec+sph.phi.
• enter the name of the ligand file, i.e., ligand.eel1 or top500.eel1.
• enter the name of the output file, e.g. ligand.delphi .

### Atomic contributions to the van der Waals energy

In your.eel1.vdw from the wrapper

• the van der Waals interaction energy is calculated as ${vdW}_{(r)}=\frac{A}{r^{12}}-\frac{B}{r^6}=a-b$. In every ATOM line, columns 9, 10 and 11 are $a$, $b$ and $a-b$, respectively.
• DO NOT use the interaction energy, as we only use the vdw component now. Instead, use the vdwsum to compare with the vdW column in OUTDOCK.

Or to generate this data yourself

• start scoreopt_so and choose option '3' in the first menu.
• enter the prefix name of grids for ff scoring as a full path, i.e., grids/chem .
• enter the name of the van der Waals parameter file, presumably grids/vdw.parms.amb.mindock .
• enter a sufficiently large number as maximal van der Waals energy, e.g. 10000.
• enter the name of the ligand file, i.e., ligand.eel1 .
• enter the name of the output file, e.g. ligand.vdw .

### Atomic contributions to the desolvation

In your.eel1.solv from the wrapper

• in every ATOM line, columns 9, 10, and 11 are the total atomic solvation energy (polar + apolar), percentage desolvation, and atomic desolvation energy (i.e. - 9 × 10) of the atom, respectively.
• the total desolvation is the sum over the entries in column 11 and can be compared to the sum of the polsol and apolsol columns in OUTDOCK.

Or to generate this data yourself

• start scoreopt_so and choose option '4' in the first menu.
• enter the name of the grid for partial desolvation, presumably grids/solvmap or grids/solvmap_sev.
• enter the name of the ligand file, i.e., ligand.eel1 .
• enter the name of the output file, e.g. ligand.solv .

## Other small useful things

### Obtaining the net charge of a docked molecule

• take the output .eel1 file and run molcharge_pdb.pl < output.eel1. This will output the sequential number of the molecule, the ZINC identifier, the total charge and the number of atoms for every molecule in the file.