AMBER for Dummies

(Acknowledgment: Thanks to Ms Lee Hui Jun for giving me a crash course on AMBER)

 

 

Setup

Remember to append these lines to your .bashrc:

            export PATH=$PATH:/usr/local/amber/exe

            export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/mkl/lib/32

            export AMBERHOME=/usr/local/amber

Note: You have to change the path according to where AMBER is installed

 

 

 

In the following step through example, I use p53.pdb as an example

Step Through

 

 

 

RMSF (rms.in)

 

Edit rms.in by changing <file>_mdx.crd to whichever crd files that you want to analyze.

 

 

(Content of rms.in)

trajin <file>_md3.crd

trajin <file>_md4.crd

rms first out cyca_mol.rms @N,C,CA time 1.0

 
 

 

 

 

 

 

 

To check rmsf against simulation time, type ‘ptraj <file>.top < rms.in’

 

Output: <file>.rms

 

 

Extract frames from trajectories (getframe.in)

 

Edit getframe.in by changing <file>_mdx.crd to whichever crd files that you want to extract frames.

The trajin line includes ‘trajin <crd file> <start frame> <end frame> <frame interval>.

In this case, 15 frames will be extracted from md3 and md4 files each. (Total of 30 frames.)

The frames extracted are output as pdb file without water molecules.

 

 

(Content of getframe.in)

trajin <file>_md3.crd 1 15000 1000

trajin <file>_md4.crd 1 15000 1000

trajout <file>_mdx.pdb pdb nowat

strip :WAT

go

 

 
 

 

 

 

 

 

 

 

 


To get the frames, type ‘ptraj <file>.top < getframe.in’.

 

Output: <file>.pdb.xxx where xxx is the frame number.

 

 

 

 

MM_PBSA for Dummies

 

 

To calculate binding free energy, you have to calculate enthalpy and entropy. But before that, you have to extract the frames from the MD simulations:

Step Through

 

Energy decomposition

For example, 1H24B.pdb is the receptor, 1H24E is the ligand and 1H24BE is the complex, then you should use xleap or tleap to generate 1H24B_vac.top and 1H24B_vac.crd, 1H24E_vac.top and 1H24E_vac.crd, 1H24BE_vac.top and 1H24BE_vac.crd.

To do this, you can do the following:

·        tleap

·        source leaprc.ff94

·        p=loadpdb 1H24B.pdb

·        saveamberparm p 1H24B_vac.top 1H24B_vac.crd

·        q=loadpdb 1H24B.pdb

·        saveamberparm q 1H24B_vac.top 1H24B_vac.crd

·        r=loadpdb 1H24BE.pdb

·        saveamberparm r 1H24BE_vac.top 1H24BE_vac.crd

·        quit

 

Then go to decomp directory and type ‘bsub –n 1 –q long /usr/local/amber/exe/mm_pbsa.pl decomp.in’.