Analysing the results: Difference between revisions

From DISI
Jump to navigation Jump to search
m (18 revisions)
 
(5 intermediate revisions by one other user not shown)
Line 10: Line 10:
==Getting individual atom contributions with scoreopt_so==
==Getting individual atom contributions with scoreopt_so==


===First you need and <tt>.eel1</tt> file to be scored===
===First you need an <tt>.eel1</tt> file to be scored===


=====For the xtal-lig.mol2 in its crystallographic pose=====
=====For the xtal-lig.mol2 in its crystallographic pose=====


Convert an input <tt>[http://www.tripos.com/index.php?family=modules,SimplePage,,,&page=sup_mol2&s=0 .mol2]</tt> file into an <tt>.eel1</tt> file
New way that outputs your.eel1 starting from your.pdb directly
*run '<tt>$mud/to_eel1.csh your.pdb</tt>'.
 
If that fails, use the old way to convert an input <tt>[http://www.tripos.com/index.php?family=modules,SimplePage,,,&page=sup_mol2&s=0 .mol2]</tt> file into an <tt>.eel1</tt> file
*run <tt>amsol</tt>  as described [[Preparing_the_ligand#Running amsol|here]] to calculate atomic solvation energies.
*run <tt>amsol</tt>  as described [[Preparing_the_ligand#Running amsol|here]] to calculate atomic solvation energies.
*run '<tt>file2file.py -s path/to/amsol.solv path/to/amsol.nmol2 ligand.eel1</tt>'.
*run '<tt>file2file.py -s path/to/amsol.solv path/to/amsol.nmol2 ligand.eel1</tt>'.
Line 24: Line 27:
*or to create an <tt>.eel1</tt> 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 '<tt>getxpdb.pl name_energy.list < FF.test.eel1 > subset_name.eel1</tt>'.
*or to create an <tt>.eel1</tt> 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 '<tt>getxpdb.pl name_energy.list < FF.test.eel1 > subset_name.eel1</tt>'.


===Individual contributions to the coulombic energy===
===Overall molecular score compiled from all scoreopt_so options===
 
 
For default grids
*run <tt>'$mud/doscoreopt.csh your.eel1 ../path/to/grids'</tt>
Or for custom grids, used below to run SEV-based desolvation grids
*run <tt>'$mud/doscoreopt.csh your.eel1 ../path/to/grids rec+sph.phi chem solvmap_sev'</tt>
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 &times; 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 <tt>scoreopt_so</tt>  and choose option '2' in the first menu.   
*start <tt>scoreopt_so</tt>  and choose option '2' in the first menu.   
*enter the name of the DelPhi potential file, presumably <tt>grids/rec+sph.phi</tt>.   
*enter the name of the DelPhi potential file, presumably <tt>grids/rec+sph.phi</tt>.   
*enter the name of the ligand file, i.e., <tt>ligand.eel1</tt> or <tt>top500.eel1</tt>.   
*enter the name of the ligand file, i.e., <tt>ligand.eel1</tt> or <tt>top500.eel1</tt>.   
*enter the name of the output file, e.g. <tt>ligand.elec</tt> .
*enter the name of the output file, e.g. <tt>ligand.delphi</tt> .
*in every ATOM line, columns 9, 10 and 11 are the partial charge, the electrostatic field and the energy in kT (i.e., 9 &times; 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.
===Atomic contributions to the van der Waals energy===


===Individual contributions to the van der Waals energy===
In your.eel1.vdw from the wrapper 
 
*be adequately [http://www.merriam-webster.com/dictionary/scared scared]. 
*the van der Waals interaction energy is calculated as  <math>{vdW}_{(r)}=\frac{A}{r^{12}}-\frac{B}{r^6}=a-b</math>. In every ATOM line, columns 9, 10 and 11 are <math>a</math>, <math>b</math> and <math>a-b</math>,    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 <tt>scoreopt_so</tt>  and choose option '3' in the first menu.   
*start <tt>scoreopt_so</tt>  and choose option '3' in the first menu.   
*enter the prefix name of grids for ff scoring as a full path,    i.e., <tt>grids/chem</tt> .   
*enter the prefix name of grids for ff scoring as a full path,    i.e., <tt>grids/chem</tt> .   
Line 42: Line 60:
*enter the name of the ligand file, i.e., <tt>ligand.eel1</tt> .   
*enter the name of the ligand file, i.e., <tt>ligand.eel1</tt> .   
*enter the name of the output file, e.g. <tt>ligand.vdw</tt> .   
*enter the name of the output file, e.g. <tt>ligand.vdw</tt> .   
*be adequately [http://www.merriam-webster.com/dictionary/scared scared]. 
*the van der Waals interaction energy is calculated as  <math>{vdW}_{(r)}=\frac{A}{r^{12}}-\frac{B}{r^6}=a-b</math>. In every ATOM line, columns 9, 10 and 11 are <math>a</math>, <math>b</math> and <math>a-b</math>,    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.


===Individual contributions to the desolvation===
 
===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 &times; 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 <tt>scoreopt_so</tt>  and choose option '4' in the first menu.   
*start <tt>scoreopt_so</tt>  and choose option '4' in the first menu.   
*enter the name of the grid for partial desolvation, presumably <tt>grids/solvmap</tt> .   
*enter the name of the grid for partial desolvation, presumably <tt>grids/solvmap</tt> or <tt>grids/solvmap_sev</tt>.   
*enter the name of the ligand file, i.e., <tt>ligand.eel1</tt> .   
*enter the name of the ligand file, i.e., <tt>ligand.eel1</tt> .   
*enter the name of the output file, e.g. <tt>ligand.solv</tt>
*enter the name of the output file, e.g. <tt>ligand.solv</tt> .
*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 &times; 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.


==Other small useful things==
==Other small useful things==
Line 61: Line 79:


[[Category:Manual_DOCK]]
[[Category:Manual_DOCK]]
[[Category:Tutorials]]

Latest revision as of 18:10, 8 October 2012

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'.
For molecules that have already been docked
  • 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

  • be adequately scared.
  • the van der Waals interaction energy is calculated as <math>{vdW}_{(r)}=\frac{A}{r^{12}}-\frac{B}{r^6}=a-b</math>. In every ATOM line, columns 9, 10 and 11 are <math>a</math>, <math>b</math> and <math>a-b</math>, 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 .
  • answer the question about interpolation with 'yes'.
  • 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.