Difference between revisions of "Evaluating different components of AMBER energy function with SANDER"

From CUC3
Jump to navigation Jump to search
import>Mp466
 
import>Mp466
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
===Editing Evaluating different components of AMBER energy function with SANDER===
 
===Editing Evaluating different components of AMBER energy function with SANDER===
   
After running AMBGMIN, it is informative to examine the different components of the all-atom energy function.
+
After running AMBGMIN (with 'DUMPSTRUCTURES', 'SAVE 5' set in GMIN 'data' file), it is informative to examine
  +
the different components of the all-atom energy function. The AMBGMIN output contains averages over MD time
The AMBGMIN output contains averages over MD time steps which is not the same at the evaluation of the lowest
 
  +
steps which is not the same at the evaluation of the lowest energy state, naturally. One can use SANDER to run one
energy state. One way of doing this is to run one step of minimisation with SANDER.
 
  +
step of minimisation to generate the different components of the energy function.
   
 
This is easily done. Three input files are needed '''prmtop''', '''inpcrd''', and '''mdin''', along with the SANDER executable.
 
This is easily done. Three input files are needed '''prmtop''', '''inpcrd''', and '''mdin''', along with the SANDER executable.
   
-> '''numreplicas'''
+
-> '''prmtop''' - amber topology file
(number of repilcas)
 
   
-> '''groupfile'''
+
-> '''inpcrd''' - amber coordinates file
-A -i mdin.rep1 -o mdout.rep1 -c inpcrd.rep1 -p ./ala2.prmtop -r restrt.rep1 -x mdcrd.rep1 -inf mdinfo.rep1
 
   
  +
-> '''mdin''' - SANDER input file
The names of 'numreplicas' and 'groupfile' can '''not''' be changed! All other files you can name
 
as you like.
 
   
  +
An easy way to do this is create an seperate directory via 'mkdir eval'
mdin.rep*, inpcrd.rep* and ala2.prmtop define the other input files; all other files are for output.
 
   
  +
'''1. compile SANDER:'''
The '''inpcrd.rep*''' and '''ala2.prmtop''' are the usual '''coordinate''' and '''topology files''', and '''mdin.rep*'''
 
define the input for the MD for each replica:
 
   
  +
'''2. move files from GMIN output directory:'''
REMD run 1
 
  +
&cntrl
 
  +
cp min1.rst eval/inpcrd
imin = 0, nstlim = 500, dt = 0.002,
 
  +
tempi = 0, temp0 = 100.0,
 
  +
cp coord.prmtop eval/prmtop
ntt = 3, tol = 0.000001, gamma_ln = 5.0,
 
  +
ntc = 2, ntf = 1, ntb = 0, ntx = 5,
 
  +
cp min.in eval/mdin
ntwx = 500, ntwe = 0, ntwr =500, ntpr = 500,
 
  +
cut = 99.0, igb = 0, saltcon=0.0,
 
  +
'''3. Run SANDER:'''
nscm = 500, irest=1,
 
  +
ntave = 0, numexchg=100000
 
  +
'''4. output files:'''
&end
 
  +
  +
Performed a sanity check between AMBGMIN and SANDER and the energies are the same.
  +
  +
'''mdinfo''' - Energy function output only
  +
  +
'''mdout''' - Total Amber output
  +
  +
'''restrt''' - coordinates for restarting AMBER
  +
  +
--[[User:mp466|mp466]] 17:03, 3 October 2009 (BST)

Latest revision as of 18:01, 3 October 2009

Editing Evaluating different components of AMBER energy function with SANDER

After running AMBGMIN (with 'DUMPSTRUCTURES', 'SAVE 5' set in GMIN 'data' file), it is informative to examine the different components of the all-atom energy function. The AMBGMIN output contains averages over MD time steps which is not the same at the evaluation of the lowest energy state, naturally. One can use SANDER to run one step of minimisation to generate the different components of the energy function.

This is easily done. Three input files are needed prmtop, inpcrd, and mdin, along with the SANDER executable.

-> prmtop - amber topology file

-> inpcrd - amber coordinates file

-> mdin - SANDER input file

An easy way to do this is create an seperate directory via 'mkdir eval'

1. compile SANDER:

2. move files from GMIN output directory:

cp min1.rst eval/inpcrd

cp coord.prmtop eval/prmtop

cp min.in eval/mdin

3. Run SANDER:

4. output files:

Performed a sanity check between AMBGMIN and SANDER and the energies are the same.

mdinfo - Energy function output only

mdout - Total Amber output

restrt - coordinates for restarting AMBER

--mp466 17:03, 3 October 2009 (BST)