Difference between revisions of "2012 AMBER Tutorial with Biotin and Streptavidin"

From Rizzo_Lab
Jump to: navigation, search
(Yuchen)
(Woo Suk)
Line 256: Line 256:
 
  ptraj  ../002.ANTE.TLEAP/1DF8.com.gas.leap.parm  ptraj.5.in  > ptraj.5.log
 
  ptraj  ../002.ANTE.TLEAP/1DF8.com.gas.leap.parm  ptraj.5.in  > ptraj.5.log
  
To visualize trajectories, we use VMD move the trajectory files to Herbie with <b>scp</b> or <b>rsync</b> commands
+
To visualize trajectories, we have to move the trajectory files to Herbie with <b>scp</b> or <b>rsync</b> commands and run VMD.
  
 
  rsync -arv 004.PTRAJ/ ID@compute.mathlab.sunysb.edu:~AMS536/AMBER_tutorial/004.PTRAJ
 
  rsync -arv 004.PTRAJ/ ID@compute.mathlab.sunysb.edu:~AMS536/AMBER_tutorial/004.PTRAJ
  
open one of prm7 files
+
In VMD, we open one of the <b>.prm7</b> files in <b>002.ANTE.TLEAP</b>. If you want to visualize the whole complex in gas state, you can open <b>1DF8.com.gas.leap.prm7</b> with AMBER7 Parm from <b>002.ANTE.TLEAP</b> and then <b>1DF8.com.trj.stripfit</b> from <b>004.PTRAJ</b>. With these files, you can look at the real-time movement of the complex in the gas state like following snapshot.
  
 
===MMGBSA Energy Calculation===
 
===MMGBSA Energy Calculation===

Revision as of 08:56, 14 March 2012

For additional Rizzo Lab tutorials see AMBER Tutorials.

In this tutorial, we will learn how to run a molecular dynamics simulation of a protein-ligand complex. We will then post-process that simulation by calculating structural fluctuations (with RMSD) and free energies of binding (MM-GBSA).

I. Introduction

AMBER

Amber - Assisted Model Building with Energy Refinement - is a suite of about multiple programs for perform macromolecular simulations. Amber11, the current version of Amber, includes newly released functionality such as PMEMD, particle mesh Ewald MD and soft-core Thermodynamics Integration MD. For the tutorial, we are using an older version which is AMBER10.

The Amber 10 Manual is the primary resource to get started with Amber10. (Tip: Using Adobe Acrobat to view the file, you can simply search the document for keywords such as the name of a simulation parameter, which saves much time.) In addition, Amber Tools User's Manual serves as another reference while using Amber tools. You can also read the manual for Amber11 on Amber11 and AmberTools Users' Manuals

Here are some programs in Amber

  1. LEaP: an preparing program for constructing new or modified systems in Amber. It consists of the functions of prep, link, edit, and parm for earlier version of Amber.
  2. ANTECHAMBER: in additional to LEap, this main Antechamber suite program is for preparing input files other than standard nucleic acids and proteins.
  3. SANDER: according to the Amber 10 manual, it is 'a basic energy minimizer and molecular dynamics program' that can be used to minimize, equilibrate and sample molecular conformations. And this is the program we mainly use in this tutorial to generate trajectory files of the molecular system.
  4. PMEMD: version of SANDER that has improved parallel scaling property and optimized speed.
  5. PTRAJ: an analysis program for processing trajectory files. One can use ptraj to rotate, translate the structures, evaluate geometrical features and so on.

There is a mailing list you could sign-up for, as an additional resource.

Biotin and Streptavidin

For information of the Biotin and Streptavidin system, see 2012 DOCK tutorial with Streptavidin.

Organizing Directories

While performing MD simulations, it is convenient to adopt a standard directory structure / naming scheme, so that files are easy to find / identify. For this tutorial, we will use something similar to the following:

~username/AMS536/AMBER-Tutorial/001.CHIMERA.MOL.PREP/  
                                002.ANTE.TLEAP/ 
                                003.SANDER/       
                                004.PTRAJ/
                                005.MMGBSA/

II. Structural Preparation

Preparation in Chimera

In this AMBER tutorial, we will use the same system with previous DOCK part. Chimera can directly get the structure by its PDB ID 1DF8. To begin with, we need three files under directory 001.CHIMERA.MOL.PREP.

1DF8.rec.lig.pdb:
1. To lower computational cost and make the system clear, we remove chain B of the dimer. Select - chain - B, Action - Atoms/Bonds - delete
2. Remove the water molecules. Select - residue - HOH, Action - Atoms/Bonds - delete

Then we separate the receiver and its ligand.

1DF8.rec.noH.pdb:
Select the ligand and delete it. Select - Residue - BTN, Action - Atoms/Bonds - delete

1DF8.lig.chimera.mol2:
1. Select the protein and delete it. Select - Residue - BTN, Select - Invert, Action - Atoms/Bonds - delete
2. Use Dock Prep to add hydrogens and charges(AM1-BCC) to the ligand. Tools - Structure Editing - Dock Prep

antechamber

A antechamber input file requires all the atom names to be unique and it only uses the first 3 characters as the name. So if we use 1DF8.lig.chimera.mol2 as the input file, it will cause errors("H102" and "H103" will have the same name "H10").

    14 O3         26.9770   10.6020   12.2050 O.2       1 BTN201     -0.6531
    15 N2         28.6480   12.1210   11.8210 N.pl3     1 BTN201     -0.4789
    16 C4         28.9670   13.2060   10.9010 C.3       1 BTN201      0.0816
    17 H102       32.0358   17.4077   15.9597 H         1 BTN201      0.0272
    18 H103       30.6885   18.0473   15.0102 H         1 BTN201      0.0219
    19 H92        30.5603   15.6243   15.3130 H         1 BTN201     -0.0094
    20 H93        32.1288   15.4384   14.4982 H         1 BTN201      0.0384
    21 H82        29.6624   16.7125   13.2433 H         1 BTN201      0.0275

We need to manually rename the atoms. One way is to use the first column numbers to be the atom names. If you are using Vim, the visual block mode can help by selecting a rectangular section of text. We rename the atoms and save the file as 1DF8.lig.mol2 under directory 001.CHIMERA.MOL.PREP.

    14 O14       26.9770   10.6020   12.2050 O.2       1 BTN201     -0.6531
    15 N15       28.6480   12.1210   11.8210 N.pl3     1 BTN201     -0.4789
    16 C16       28.9670   13.2060   10.9010 C.3       1 BTN201      0.0816
    17 H17       32.0358   17.4077   15.9597 H         1 BTN201      0.0272
    18 H18       30.6885   18.0473   15.0102 H         1 BTN201      0.0219
    19 H19       30.5603   15.6243   15.3130 H         1 BTN201     -0.0094
    20 H20       32.1288   15.4384   14.4982 H         1 BTN201      0.0384
    21 H21       29.6624   16.7125   13.2433 H         1 BTN201      0.0275

LEaP

To begin with, go to 002.ANTE.TLEAP directory.

To make sure we have access to the three programs that we want to run (antechamber, parmchk and tleap) and we are using the correct version of amber, we can use the which command, type:

which antechamber
which parmchk
which tleap

You should have results similar to this:

/nfs/user03/tbalius/amber10_ompi/bin/antechamber
/nfs/user03/tbalius/amber10_ompi/bin/parmchk
/nfs/user03/tbalius/amber10_ompi/bin/tleap

Please note that you need to be in the tcsh shell for running the which command shown above. Also, if you are using a different version of amber, you might want to change to the correct version by editing the .cshrc file and source it.

Copy parameters of ions to your working directory from the following resource:

scp -r ~lingling/AMS536/AMBER_Tutorial/002.ANTE.TLEAP/rizzo_amber7.ionparms .

Antechamber is a set of tools to generate files for organic molecules, which can then be read into LEaP. The antechamber program itself is the main program of Antechamber package. It can perform many file conversions, and can also assign atomic charges and atom types. In this tutorial, we use antechamber to convert our input mol2 file into files ready for LEaP. In the command line, type:

antechamber -i ../001.CHIMERA.MOL.PREP/1DF8.lig.mol2 -fi mol2 -o 1DF8.lig.ante.pdb -fo pdb

-i input file name; -fi input file format; -o output file name; -fo output file format. You will have an output file:

1DF8.lig.ante.pdb

Similarly, we can use antechamber to change the fomat of 1DF8.lig.mol2 file to prep file:

antechamber -i ../001.CHIMERA.MOL.PREP/1DF8.lig.mol2 -fi mol2 -o 1DF8.lig.ante.prep -fo prepi

You will get a set of output files:

ANTECHAMBER_BOND_TYPE.AC   ATOMTYPE.INF
1DF8.lig.ante.prep         ANTECHAMBER_BOND_TYPE.AC0  NEWPDB.PDB
ANTECHAMBER_AC.AC          ANTECHAMBER_PREP.AC        PREP.INF
ANTECHAMBER_AC.AC0         ANTECHAMBER_PREP.AC0

These files give detailed information of the ligand such as atom coordinates, bond angle, bond length, dihedral angles, etc. For example:

vim ATOMTYPE.INF

You can see this file contains information related to the ring system.

Parmchk is another program included in the Antechamber package. After running antechamber, we run parmchk to check the parameters. If there are missing parameters after antechamber is finished, the frcmod template generated by parmchk will help us in generating the needed parameters:

parmchk -i 1DF8.lig.ante.prep -f prepi -o 1DF8.lig.ante.frcmod

Then open the output file 1DF8.lig.ante.frcmod, you will see something like this:

remark goes here
MASS
BOND
ANGLE
DIHE
IMPROPER
c3-o -c -o          1.1          180.0         2.0          General improper torsional angle (1 general atom type)
n -n -c -o         10.5          180.0         2.0          General improper torsional angle (2 general atom types)
NONBON

This means all the needed force field parameters are avalaible except there are two missing dihedral parameters, which were assigned a default value.

Next, we need create 3 new input files – “tleap.lig.in”, “tleap.rec.in” and “tleap.com.in”, for the ligand, the receptor, and the complex, respectively. These input files will be used by LEaP to create parameter/topology files and initial coordinate files.

vim tleap.lig.in 

In this new ligand input file, type:

set default PBradii mbondi2                                      #set default PBradii                                         
source leaprc.ff99SB                                             #load a force field
loadoff rizzo_amber7.ionparms/ions.lib
loadamberparams rizzo_amber7.ionparms/ions.frcmod                #load an AMBER format parameter file
source leaprc.gaff
loadamberparams rizzo_amber7.ionparms/gaff.dat.rizzo
loadamberparams 1DF8.lig.ante.frcmod
loadamberprep 1DF8.lig.ante.prep                                 #load an AMBER PREP file
lig = loadpdb 1DF8.lig.ante.pdb                                  #load the ligand pdb file
saveamberparm lig 1DF8.lig.gas.leap.prm7 1DF8.lig.gas.leap.rst7  #save the ligand gas phase AMBER topology and coordinate files
solvateBox lig TIP3PBOX 10.0                                     #solvate the receptor using TIP3P, solvent box radii 10 angstroms
saveamberparm lig 1DF8.lig.wat.leap.prm7 1DF8.lig.wat.leap.rst7  #save the ligand water phase AMBER topology and coordinate files
charge lig                                                       #charge the ligand
quit

Similarly, create the tleap.rec.in and tleap.com.in files:

set default PBradii mbondi2
source leaprc.ff99SB
loadoff rizzo_amber7.ionparms/ions.lib
loadamberparams rizzo_amber7.ionparms/ions.frcmod
REC = loadpdb ../001.CHIMERA.MOL.PREP/1DF8.rec.noh.pdb
saveamberparm REC 1DF8.rec.gas.leap.prm7 1DF8.rec.gas.leap.rst7
solvateBox REC TIP3PBOX 10.0                                     
saveamberparm REC 1DF8.rec.wat.leap.prm7 1DF8.rec.wat.leap.rst7
charge REC
quit
set default PBradii mbondi2
source leaprc.ff99SB
loadoff rizzo_amber7.ionparms/ions.lib
loadamberparams rizzo_amber7.ionparms/ions.frcmod
source leaprc.gaff
loadamberparams rizzo_amber7.ionparms/gaff.dat.rizzo
REC = loadpdb ../001.CHIMERA.MOL.PREP/1DF8.rec.noh.pdb
loadamberparams 1DF8.lig.ante.frcmod
loadamberprep 1DF8.lig.ante.prep
LIG = loadpdb 1DF8.lig.ante.pdb
COM = combine {REC LIG}
saveamberparm COM 1DF8.com.gas.leap.prm7 1DF8.com.gas.leap.rst7
solvateBox COM TIP3PBOX 10.0
saveamberparm COM 1DF8.com.wat.leap.prm7 1DF8.com.wat.leap.rst7
charge COM
quit

Use tleap command:

tleap -s -f tleap.lig.in > tleap.lig.out
tleap -s -f tleap.rec.in > tleap.rec.out
tleap -s -f tleap.com.in > tleap.com.out

you will see the following output files:

1DF8.lig.gas.leap.prm7         
1DF8.lig.gas.leap.rst7         
1DF8.lig.wat.leap.prm7                 
1DF8.lig.wat.leap.rst7
1DF8.rec.gas.leap.prm7         
1DF8.rec.gas.leap.rst7
1DF8.rec.wat.leap.prm7     
1DF8.rec.wat.leap.rst7
1DF8.com.gas.leap.prm7  
1DF8.com.gas.leap.rst7  
1DF8.com.wat.leap.prm7  
1DF8.com.wat.leap.rst7
tleap.lig.out
tleap.rec.out
tleap.com.out
leap.log

An alternative way to use antechamber, parmchk and tleap is to make a csh script, which contains the commands you want to do, and run the script.

You can visualize the output files in VMD, and use the output files to run SANDER.

Reference:

Amber Tools User's Manual

2011 AMBER Tutorial with Biotin and Streptavidin

Visualization in VMD

First, copy “002.ANTE.TLEAP”directory back to Herbie. On Herbie,type the following commands:

cd ~/AMS536/AMBER_Tutorial/
scp –r sw:~/AMS536/AMBER_Tutorial/002.ANTE.TLEAP/ .

Open VMD software:

vmd

Then, we can load the gas phase ligand file generated by tleap: VMD Main->File->New Molecule (Please note that in order to visualize in VMD, we need first load the .prm7 file and then load the .rst7 file)

Load file for: New Molecule
File name: 1DF8.lig.gas.leap.prm7
Determine file type: AMBER7 Parm
Load file for: 1DF8.lig.gas.leap.prm7
File name: 1DF8.lig.gas.leap.rst7
Determine file type: AMBER7 Restart

You can see the ligand in the gas phase looks like this:

2012_AMBER_Tutorial_1DF8_lig_gas

You can compare this with ligand in the water phase by opening 1DF8.lig.water.leap.prm7, 1DF8.lig.water.leap.rst7 at the same time.

2012_AMBER_Tutorial_1DF8_lig_water

In order to see the ligands clearly, we can visualize without hydrogen atoms. VMD Main->Graphics->Representations->

In the Selected Atoms command line, type: all and noh->Click Apply

2012_AMBER_Tutorial_1DF8_lig_water_noH

You can actually see the ligand in water is very different from that in gas phase.

III. Simulation using sander

Minimization and equilibration

Production

IV. Simulation Analysis

Ptraj

Yuchen

To run the Ptraj analysis, you should first create a separate folder for it under the root directory if you don't have one.

mkdir  004.PTRAJ

Woo Suk

Finally, we will want to perform MMGBSA analysis to obtain energetic information about the system. To do this, we will need a trajectory file of the gas phase complex (which we already created above and saved as 1DF8.com.trj.stripfit), and will want to create two more trajectory files containing just the receptor and just the ligand. To do so, we’ll need two more ptraj runs using the following ptraj input files:

ptraj.4.in

trajin 1DF8.com.trj.stripfit 1 2000 1
trajout 1DF8.rec.trj.stripfit
strip :119

ptraj.5.in

trajin 1DF8.com.trj.stripfit 1 2000 1
trajout 1DF8.lig.trj.stripfit
strip :1-118

To execute, type in the following commands:

ptraj  ../002.ANTE.TLEAP/1DF8.com.gas.leap.parm  ptraj.4.in  > ptraj.4.log
ptraj  ../002.ANTE.TLEAP/1DF8.com.gas.leap.parm  ptraj.5.in  > ptraj.5.log

To visualize trajectories, we have to move the trajectory files to Herbie with scp or rsync commands and run VMD.

rsync -arv 004.PTRAJ/ ID@compute.mathlab.sunysb.edu:~AMS536/AMBER_tutorial/004.PTRAJ

In VMD, we open one of the .prm7 files in 002.ANTE.TLEAP. If you want to visualize the whole complex in gas state, you can open 1DF8.com.gas.leap.prm7 with AMBER7 Parm from 002.ANTE.TLEAP and then 1DF8.com.trj.stripfit from 004.PTRAJ. With these files, you can look at the real-time movement of the complex in the gas state like following snapshot.

MMGBSA Energy Calculation

V. Frequently Encountered Problems

Barbara

If you have a problem opening the structure of your molecule using VMD, be certain that the prm7 file corresponds to the rst7 file. For example, 1df8.lig.wat.leap.prm7 must be matched to 1df8.lig.wat.leap.rst7.

You may also use the VMD Console window (often hidden behind the visualization screen of your molecule) to determine where VMD has found an error in your typed commands.

Woo Suk

Longfei

Roman

Quan

Hui

Tuoling

Yuchen

Yunting

Kip