一区二区三区日韩精品-日韩经典一区二区三区-五月激情综合丁香婷婷-欧美精品中文字幕专区

分享

TutorialAcpype4Gromacs

 gregory234 2014-10-29

Introduction

This tutorial is to show how to prepare a system to run on GROMACS, starting with a PDB file for a complex protein/ligand.

It is a mere proof of concept. One should see how ACPYPE is trying to do it in

HowAcpypeWorks.
If you have suggestions about how to improve this tutorial, please send a comment (at the bottom of the page).

NB: Besides acpype, antechamber and babel, you will need GROMACS with ffAMBER. GROMACS 4.5.x comes with AMBER force fields now.

Getting GROMACS

Install GROMACS. Something like:

  • sudo apt-get install gromacs # if you use Ubuntu Linux, or
  • fink install gromacs # if you use Mac

should do the trick.

Getting ffAMBER

If you are installing GMX 4.5.x, you don't need ffAMBER.

For GMX 4.0.x fetch the appropriate version of ffAMBER. Got it with PDFs. You definitely need to read those papers.

To summarise in a script-like way:

# Do this block only if not using GMX 4.5.x
# assuming you are at acpype installation folder
gmx_top_dir=/sw/share/gromacs/top
wget -c http://ffamber.cnsm./ffamber_v4.0-doc.tar.gz
tar xvfz ffamber_v4.0-doc.tar.gz
cd ffamber_v4.0/
sudo cp -bv ffamber_* ${gmx_top_dir}
sudo cp -bv ffamber*/* ${gmx_top_dir}
sudo cp -bv vdwradii.dat ${gmx_top_dir}
sudo cp -bv aminoacids-NA.dat ${gmx_top_dir}/aminoacids.dat
# Get ACPYPE additions:
# go to acpype folder
sudo cp -vb ffamber_additions/* ${gmx_top_dir}

NB: /sw/share/gromacs/top/ is pertinent to Mac. Find the equivalent GROMACS top folder within your platform.

Now you should have an operative GROMACS with ffAMBER.

Running an Example

This is for protein 1BVG.pdb (get it at PDB), a homodimer (HIV protease) with a ligand called DMP. We will use force field Amber99SB.

Luckily, this pdb file has all hydrogens for the ligand, which is necessary for antechamber. One can use either, e.g., babel -h _mol_w/o_H_.pdb _mol_with_H.pdb or YASARA View to automatically add missing hydrogens to your compound. The former just puts 'H' for atom names while the latter puts more meaningful atom name, e.g., 'HCA' for a H bonded to a CA and not a simply 'H' as babel does.

In a script-like way:

# Assuming Complex.pdb (= 1BVG.pdb), split it in Protein.pdb and Ligand.pdb
wget -c "http://www./pdb/download/downloadFile.do?fileFormat=pdb&compression=NO&structureId=1BVG" -O 1BVG.pdb
grep 'ATOM  ' 1BVG.pdb>| Protein.pdb
grep 'HETATM' 1BVG.pdb>| Ligand.pdb

# If using GMX 4.0.x
# Edit Protein.pdb according to ffAMBER (http://ffamber.cnsm./#usage)
sed s/PRO\ A\ \ \ 1/NPROA\ \ \ 1/g Protein.pdb | sed s/PRO\ B\ \ \ 1/NPROB\ \ \ 1/g | sed s/PHE\ A\ \ 99/CPHEA\ \ 99/g | sed s/PHE\ B\ \ 99/CPHEB\ \ 99/g | sed s/O\ \ \ CPHE/OC1\ CPHE/g | sed s/OXT\ CPHE/OC2\ CPHE/g | sed s/HIS\ /HID\ /g | sed s/LYS\ /LYP\ /g | sed s/CYS\ /CYN\ /g >| ProteinAmber.pdb

# If using GMX 4.5.x
\cp Protein.pdb ProteinAmber.pdb

# Process with pdb2gmx and define water
pdb2gmx -ff amber99sb -f ProteinAmber.pdb -o Protein2.pdb -p Protein.top -water spce -ignh

# Generate Ligand topology file with acpype (GAFF)
acpype -i Ligand.pdb

# Merge Protein2.pdb + updated Ligand_NEW.pdb -> Complex.pdb
grep -h ATOM Protein2.pdb Ligand.acpype/Ligand_NEW.pdb >| Complex.pdb

# Edit Protein.top -> Complex.top
\cp Ligand.acpype/Ligand_GMX.itp Ligand.itp
\cp Protein.top Complex.top

# See NB(1) below

# If using GMX 4.0.x
cat Complex.top | sed '/\#include\ \"ffamber99sb\.itp\"/a#include "Ligand.itp"
' >| Complex2.top

# If using GMX 4.5.x
cat Complex.top | sed '/forcefield\.itp\"/a#include "Ligand.itp"
' >| Complex2.top

echo "Ligand   1" >> Complex2.top
\mv Complex2.top Complex.top

# Setup the box and add water
editconf -bt triclinic -f Complex.pdb -o Complex.pdb -d 1.0
genbox -cp Complex.pdb -cs spc216.gro -o Complex_b4ion.pdb -p Complex.top

# Create em.mdp file
cat << EOF >| em.mdp
define                   = -DFLEXIBLE
integrator               = cg ; steep
nsteps                   = 200
constraints              = none
emtol                    = 1000.0
nstcgsteep               = 10 ; do a steep every 10 steps of cg
emstep                   = 0.01 ; used with steep
nstcomm                  = 1
coulombtype              = PME
ns_type                  = grid
rlist                    = 1.0
rcoulomb                 = 1.0
rvdw                     = 1.4
Tcoupl                   = no
Pcoupl                   = no
gen_vel                  = no
nstxout                  = 0 ; write coords every # step
optimize_fft             = yes
EOF

# Create md.mdp file
cat << EOF >| md.mdp
integrator               = md
nsteps                   = 1000
dt                       = 0.002
constraints              = all-bonds
nstcomm                  = 1
ns_type                  = grid
rlist                    = 1.2
rcoulomb                 = 1.1
rvdw                     = 1.0
vdwtype                  = shift
rvdw-switch              = 0.9
coulombtype              = PME-Switch
Tcoupl                   = v-rescale
tau_t                    = 0.1 0.1
tc-grps                  = protein non-protein
ref_t                    = 300 300
Pcoupl                   = parrinello-rahman
Pcoupltype               = isotropic
tau_p                    = 0.5
compressibility          = 4.5e-5
ref_p                    = 1.0
gen_vel                  = yes
nstxout                  = 2 ; write coords every # step
lincs-iter               = 2
DispCorr                 = EnerPres
optimize_fft             = yes
EOF

# Setup ions
grompp -f em.mdp -c Complex_b4ion.pdb -p Complex.top -o Complex_b4ion.tpr
\cp Complex.top Complex_ion.top

# If using GMX 4.0.x
echo 13| genion -s Complex_b4ion.tpr -o Complex_b4em.pdb -neutral -conc 0.15 -p Complex_ion.top -norandom

# If using GMX 4.5.x
echo 15| genion -s Complex_b4ion.tpr -o Complex_b4em.pdb -neutral -conc 0.15 -p Complex_ion.top -norandom

\mv Complex_ion.top Complex.top

# Run minimisaton
grompp -f em.mdp -c Complex_b4em.pdb -p Complex.top -o em.tpr
mdrun -v -deffnm em

# Run a short simulation
grompp -f md.mdp -c em.gro -p Complex.top -o md.tpr
mdrun -v -deffnm md

# or with openmpi, for a dual core
grompp -f em.mdp -c Complex_b4em.pdb -p Complex.top -o em.tpr
om-mpirun -n 2 mdrun_mpi -v -deffnm em
grompp -f md.mdp -c em.gro -p Complex.top -o md.tpr
om-mpirun -n 2 mdrun_mpi -v -deffnm md

# Visualise with VMD
vmd md.gro md.trr

NB(1): #include "Ligand.itp" has to be inserted right after ffamber**.itp line and before Protein_*.itp line in Complex.top.

Voila!

    本站是提供個(gè)人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多

    国产午夜福利在线免费观看| 国产一区欧美午夜福利| 午夜国产精品福利在线观看| 亚洲欧美日韩国产自拍| 精品老司机视频在线观看| 小黄片大全欧美一区二区| 国产免费一区二区三区av大片 | 国产熟女一区二区三区四区| 亚洲精品成人综合色在线| 精品视频一区二区三区不卡| 国产日韩精品激情在线观看| 精品国产91亚洲一区二区三区| 色无极东京热男人的天堂| 国产精品免费福利在线| 少妇激情在线免费观看| 日韩在线视频精品中文字幕| 黄色日韩欧美在线观看| 国产精品午夜小视频观看| 日韩欧美三级中文字幕| 国产熟女一区二区不卡| 亚洲一区二区精品国产av| 国产成人免费高潮激情电| 最近日韩在线免费黄片| 国产又大又猛又粗又长又爽| 欧美日韩高清不卡在线播放| 国产一区欧美一区日韩一区| 日韩不卡一区二区在线| 翘臀少妇成人一区二区| 熟妇人妻av中文字幕老熟妇| 亚洲综合伊人五月天中文| 国产精品一区二区三区激情| 男人的天堂的视频东京热| 一二区不卡不卡在线观看| 日韩一区二区三区有码| 久久本道综合色狠狠五月| 在线懂色一区二区三区精品| 欧美日韩视频中文字幕| 国产又黄又猛又粗又爽的片| 国产熟女高清一区二区| 欧美日韩一级aa大片| 精品一区二区三区乱码中文|