15.07.2013 Views

Introduction to Biomolecular Simulation using CHARMM

Introduction to Biomolecular Simulation using CHARMM

Introduction to Biomolecular Simulation using CHARMM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Introduction</strong> <strong>to</strong> <strong>Biomolecular</strong> <strong>Simulation</strong><br />

<strong>using</strong> <strong>CHARMM</strong><br />

Yuk Sham<br />

Supercomputing Institute Consultant<br />

Phone: (612) 627-7472<br />

Email: shamy@msi.umn.edu


• <strong>Introduction</strong> <strong>to</strong> Molecular Dynamic <strong>Simulation</strong><br />

• Access <strong>to</strong> Charmm<br />

• Input files<br />

• Getting started: Preparing your system<br />

• Script for MD <strong>Simulation</strong><br />

Outline


What is Molecular Dynamic (MD) simulation ?


What is Molecular Dynamics (MD) <strong>Simulation</strong><br />

• Based on New<strong>to</strong>n’s classical equations of motion<br />

• What can MD simulation provide ?<br />

– Dynamic behavior of system with time<br />

– Conformational flexibility of large molecules<br />

– Provide accessible conformation of states<br />

– Give the timescale of structural fluctuation<br />

– The MD trajec<strong>to</strong>ry can be used <strong>to</strong> calculate<br />

thermodynamic properties<br />

lim<br />

T →∞<br />

A(<br />

t)<br />

=<br />

A


How does MD works<br />

1) Get a properly energy minimized conformation<br />

2) Give each a<strong>to</strong>m a randomly assigned velocity based on<br />

Maxwell-Boltzmann distribution for the temperature of<br />

interest ( 0 0 )<br />

3) Based on a given potential energy function (forcefields),<br />

calculate the forces on all a<strong>to</strong>ms<br />

4) With position, velocity and force, use New<strong>to</strong>n’s equation<br />

<strong>to</strong> predict the position and velocity of an a<strong>to</strong>m at a new<br />

time.<br />

5) Use the new a<strong>to</strong>mic position <strong>to</strong> recalculate the forces.<br />

6) Keep repeating step (4) and (5) <strong>to</strong> generate the<br />

dynamical events of your system over time<br />

r r r r r r<br />

r r r<br />

r v , F → r , v , F →→→→ r , v , F<br />

,v<br />

r<br />

r<br />

( r r r<br />

r )<br />

0 , v0,<br />

F0<br />

( r r r<br />

) r r<br />

r0<br />

, v0,<br />

F0<br />

→ ( rt<br />

1,<br />

vt1)<br />

r r<br />

r<br />

( r ) ( r r )<br />

t1<br />

, vt1<br />

→ rt<br />

1,<br />

vt1,<br />

Ft1<br />

( ) ( ) ( )<br />

t1,<br />

t1<br />

t1<br />

t2<br />

t2<br />

t2<br />

T<br />

T<br />

T<br />

( )<br />

0<br />

r r


Forcefields<br />

• Describes the system in the a<strong>to</strong>mic level<br />

• An empirical energy function use <strong>to</strong><br />

describe your system<br />

• Consist of bonded and non-bonded<br />

interactions<br />

• Bonded interactions: e.g. bonds, angle,<br />

dihedral and improper <strong>to</strong>rsion<br />

• Non-bonded interactions: e.g. Van der<br />

Waals and coulombic.


E<br />

=<br />

=<br />

+<br />

+<br />

+<br />

Typical example of a forcefield<br />

E<br />

1<br />

2<br />

1<br />

2<br />

1<br />

2<br />

bond<br />

∑<br />

bonds<br />

∑<br />

∑<br />

+<br />

K<br />

angles<br />

∑<br />

φ<br />

dihedrals<br />

non−bonds<br />

b<br />

K<br />

E<br />

K<br />

angle<br />

+<br />

E<br />

( b − b )<br />

θ<br />

0<br />

( θ −θ<br />

)<br />

0<br />

2<br />

[ 1+<br />

cos(<br />

nφ<br />

−)<br />

]<br />

⎧ ⎡⎛σ<br />

⎞<br />

⎪4ε<br />

⎢⎜<br />

⎟<br />

⎪ ⎢<br />

⎨ ⎣⎝<br />

r ⎠<br />

⎪ q1q2<br />

⎪+<br />

⎩ Dr<br />

dihedral<br />

2<br />

12<br />

+<br />

E<br />

2<br />

vdw<br />

+<br />

6<br />

⎛σ<br />

⎞ ⎤⎫<br />

− ⎜ ⎟ ⎥⎪<br />

⎝ r ⎠ ⎥⎦<br />

⎪<br />

⎬<br />

⎪<br />

⎪<br />

⎭<br />

E<br />

elec<br />

+<br />

-<br />

(short range)<br />

(long range)


Couple more equations <strong>to</strong> keep in mind<br />

N<br />

∑<br />

i=<br />

1<br />

1<br />

2<br />

m<br />

i<br />

v<br />

2<br />

i<br />

F<br />

F<br />

=<br />

=<br />

=<br />

3<br />

2<br />

NkT<br />

∂E<br />

−<br />

∂r<br />

m&r<br />

&


Then what is minimization ?<br />

• Use <strong>to</strong> refine the initial<br />

conformation of a molecule<br />

• Great <strong>to</strong> remove bad bonds, angles,<br />

<strong>to</strong>rsion etc as well as clashes<br />

between a<strong>to</strong>ms<br />

• Knows only about the a<strong>to</strong>mic<br />

positions and the potential energy<br />

function


How does minimization works ?<br />

• Remember calculus !! Find me the<br />

minima <strong>to</strong> a function - in this<br />

case your potential energy<br />

function (forcefield)<br />

• First order method<br />

F<br />

=<br />

−<br />

∂E<br />

∂r<br />

• Repeatedly move the coordinates<br />

in your system in such a way that<br />

the derivative goes <strong>to</strong> zero<br />

(minimum)<br />

An illustration of how<br />

steepest descent (SD) work<br />

(*SD only finds local<br />

minimum)


Fixing a<strong>to</strong>ms<br />

• S<strong>to</strong>p a<strong>to</strong>m(s) from moving during<br />

minimization and/or MD<br />

• Certain a<strong>to</strong>mic interactions are excluded<br />

Restraining a<strong>to</strong>ms<br />

• Keep a<strong>to</strong>m(s) from moving away from a<br />

defined position, distance, angle etc during<br />

minimization or MD<br />

• Calculation include additional energy terms<br />

<strong>to</strong> the existing potential energy function


Charmm


Chemistry hemistry at Harvard Harvard<br />

Macromolecular<br />

acromolecular<br />

Mechanics echanics (<strong>CHARMM</strong> ( <strong>CHARMM</strong>)<br />

• MD core<br />

• Implicit Solvent Model (GB, PB, EEF1)<br />

• Interface <strong>to</strong> GAMES for QM/MM<br />

• Free Energy Perturbation Methods<br />

• Replica Exchange Methods<br />

• Monte Carlo and Genetic Algorithms<br />

• Analysis <strong>to</strong>ol<br />

• Internal Parser for scripting


Availability<br />

• Academics/Government (<strong>CHARMM</strong>) $<br />

– http://www.charmm.org<br />

• Commercial (CHARMm) $$$$$$$$$$ !!!<br />

– Accelrys Inc.


Licensing<br />

MSI research licenses<br />

- 8 restricted licenses <strong>to</strong> MSI researchers<br />

- only 8 single CPU job, 4 two CPU job etc …..<br />

can be run at any given time.<br />

Group research licenses<br />

- Individual research group can purchase<br />

Charmm at academic price.<br />

- Unrestricted <strong>to</strong> group members and<br />

collabora<strong>to</strong>rs.<br />

- Unlimited usage.


uild<br />

doc<br />

exec<br />

lib<br />

Source tree<br />

Version<br />

source<br />

support<br />

test<br />

<strong>to</strong>ol<br />

<strong>to</strong>ppar


Compiling Charmm<br />

install.com [ ]<br />

= { alpha, alphamp, cm5, convex, cray, cspp, dec, gnu,<br />

gws, hal, hpux, ibmrs, ibmsp, intel, sgi, stardent, sun, t3d, terra }<br />

= { reduced, small, medium, large}<br />

= { 1, 2, FULL, LITE, F77, G77, P, M, S, 64, Q, C, X, G}<br />

SGI:<br />

install.com sgi large FULL M 64<br />

IBM SP3:<br />

install.com ibmsp3 large FULL


When parallel version does not compile<br />

= { 1, 2, FULL, LITE, F77, G77, P, M, S, 64, Q, C, X, G}<br />

2 <strong>to</strong> halt after making installation utilities<br />

Check pref.dat in build//<br />

IBMSP<br />

UNIX<br />

SCALAR<br />

CMPI<br />

MPI<br />

LARGE<br />

PUTFCM<br />

FCMDIR=fcm<br />

OLDDYN<br />

PBOUND<br />

PARALLEL<br />

GENCOMM<br />

PARAFULL<br />

SYNCHRON<br />

.<br />

.<br />

END


When things does not compile<br />

• Check Makefile_hosts in build//Makefile_hosts<br />

• ROOT = rootdir<br />

• SRC = $(ROOT)/source<br />

• FLX = $(ROOT)/<strong>to</strong>ol/preflx<br />

• LIB = $(ROOT)/lib/ibmsp3<br />

• EXEC = $(ROOT)/exec/ibmsp3<br />

• FC = mpxlf -qalign=4k -qarch=au<strong>to</strong> -qcache=au<strong>to</strong> -qtune=au<strong>to</strong> -qmaxmem=-1<br />

• CC = cc -Dnographics -Dnographics -Dibmrs<br />

• .<br />

• .<br />

• .<br />

• VPATH = fcm<br />

• FC0 = $(FC) -c -g<br />

• FC1 = $(FC) -c -O -g<br />

• FC2 = $(FC) -c -O3 -qarch=pwr3 -qtune=pwr3<br />

• FC3 = $(FC) -c -O3 -qarch=pwr3 -qtune=pwr3<br />

• FCR = $(FC) -c -O3 -qstrict -g<br />

• FCD = $(FC) -c -no -g<br />

• FCRD = $(FC) -c -no -g<br />

• LIBS = \<br />

• $(LIB)/adumb.a \<br />

• .<br />

• .


Platforms<br />

-SGI, IBM, SUN<br />

Where find <strong>CHARMM</strong> at MSI<br />

-BSCL, VWL, SDVL<br />

-Altix<br />

-SP, regatta<br />

Accessing <strong>CHARMM</strong><br />

Running the executable<br />

/usr/local/charmm/c30b2/exec/ibmsp3/charmm<br />

/usr/local/charmm/c30b2/exec/sgi-par/charmm<br />

Charmm Documentation<br />

/usr/local/charmm/c30b2/doc<br />

Current version is c30b2


Interactively<br />

/usr/local/charmm/c29b2/exec/sun-ser/charmm<br />

Non-interactive Serial<br />

Running <strong>CHARMM</strong><br />

/usr/local/charmm/c29b2/exec/sun-ser/charmm < file.inp > file.out &<br />

In parallel (with MPI on SGI)<br />

mpirun –np 4 /usr/local/charmm/c29b2/exec/sgi-ser/charmm < file.inp<br />

> file.out &<br />

np is the number of processors


Online documentation at www.charmm.org


Documenta<strong>to</strong>n<br />

<strong>CHARMM</strong> Element doc/cons.doc 1.1<br />

­<br />

File: Cons, Node: Top, Up: (chmdoc/commands.doc), Next: Harmonic A<strong>to</strong>m<br />

CONSTRAINTS<br />

The following forms of constraints are available in <strong>CHARMM</strong>:<br />

* Menu: command<br />

* Harmonic A<strong>to</strong>m:: "CONS HARM" Hold a<strong>to</strong>ms in place<br />

* Dihedral:: "CONS DIHE" Hold dihedrals near selected values<br />

* Internal Coord:: "CONS IC“ Holds bonds, angles and<br />

dihedrals near table values<br />

* Quartic Droplet:: "CONS DROP" Puts the entire molecule in a cage<br />

about the center of mass<br />

* RMSD restraints: "RMSD" Holds a<strong>to</strong>ms in place relative <strong>to</strong><br />

reference structure<br />

.<br />

.<br />

File: Cons, Node: Harmonic A<strong>to</strong>m, Up: Top, Next: Dihedral, Previous: Top<br />

Holding a<strong>to</strong>ms in place


[SYNTAX CONS HARMonic]<br />

Syntax:<br />

Documenta<strong>to</strong>n<br />

CONS HARMonic {[ABSOlute] absolute-specs force-const-spec coordinate-spec }<br />

{ BESTfit bestfit-specs force-const-spec coordinate-spec}<br />

{ RELAtive bestfit-specs force-const-spec 2nd-a<strong>to</strong>m-selection}<br />

{ CLEAr}<br />

force-const-spec ::= { FORCE real } a<strong>to</strong>m-selection [MASS]<br />

{ WEIGhting }<br />

absolute-specs ::= [EXPOnent int] [XSCAle real] [YSCAle real] [ZSCAle real]<br />

bestfit-specs ::= [ NOROtation ] [ NOTRanslation ]<br />

coordinate-spec::= { [MAIN] }<br />

{ COMP }<br />

{ KEEP }


One useful tip <strong>to</strong> find things in<br />

documentation and test cases !!<br />

cd /usr/local/charmm/c30b2/test<br />

grep -i “diffusion” */*.inp<br />

cd /usr/local/charmm/c30b2/doc<br />

grep -i “diffusion” *.doc<br />

This will find “case case-insensitively<br />

insensitively” in all<br />

the documentations and test cases that<br />

has the word “diffusion diffusion”


<strong>CHARMM</strong> INPUT FILES


What is in the <strong>CHARMM</strong> input<br />

• Topology file – predefined <strong>to</strong>pological library<br />

• Parameter file – predefined parameters<br />

• PDB or CRD file – Spatial A<strong>to</strong>mic coordinates<br />

• PSF file – Topological definition of system<br />

• RST file – Latest velocity and coordinate from MD


Topology File<br />

Topology File<br />

• These files are a beta release; additional parameter development<br />

* and testing may lead <strong>to</strong> alteration of the contents.<br />

* 22 1<br />

MASS 1 H 1.00800 ! polar H<br />

MASS 2 HC 1.00800 ! N-ter H<br />

MASS 11 C 12.01100 ! carbonyl C, peptide backbone<br />

MASS 12 CA 12.01100 ! aromatic C<br />

MASS 13 CT1 12.01100 ! aliphatic sp3 C for CH<br />

.<br />

.<br />

.<br />

RESI GLY 0.00<br />

GROUP<br />

ATOM N NH1 -0.47 ! |<br />

ATOM HN H 0.31 ! N-H<br />

ATOM CA CT2 -0.02 ! |<br />

ATOM HA1 HB 0.09 ! |<br />

ATOM HA2 HB 0.09 ! HA1-CA-HA2<br />

GROUP ! |<br />

ATOM C C 0.51 ! |<br />

ATOM O O -0.51 ! C=O<br />

! |<br />

BOND N HN N CA O C C CA<br />

BOND C +N CA HA1 CA HA2<br />

IMPR N -C CA HN C CA +N O<br />

DONOR HN N<br />

ACCEPTOR O C<br />

IC -C CA *N HN 1.3475 122.8200 180.0000 115.6200 0.9992<br />

IC -C N CA C 1.3475 122.8200 180.0000 108.9400 1.4971<br />

IC N CA C +N 1.4553 108.9400 180.0000 117.6000 1.3479<br />

IC +N CA *C O 1.3479 117.6000 180.0000 120.8500 1.2289<br />

IC CA C +N +CA 1.4971 117.6000 180.0000 124.0800 1.4560<br />

IC N C *CA HA1 1.4553 108.9400 117.8600 108.0300 1.0814<br />

IC N C *CA HA2 1.4553 108.9400 -118.1200 107.9500 1.0817


BONDS<br />

!<br />

!V(bond) = Kb(b - b0)**2<br />

!<br />

!Kb: kcal/mole/A**2<br />

!b0: A<br />

!<br />

!a<strong>to</strong>m type Kb b0<br />

!<br />

Parameter File<br />

C C 600.000 1.3350 ! ALLOW ARO HEM<br />

CA CA 305.000 1.3750 ! ALLOW ARO<br />

ANGLES<br />

!<br />

!V(angle) = Ktheta(Theta - Theta0)**2<br />

!<br />

!V(Urey-Bradley) = Kub(S - S0)**2<br />

!<br />

!Ktheta: kcal/mole/rad**2<br />

!Theta0: degrees<br />

!Kub: kcal/mole/A**2 (Urey-Bradley)<br />

!S0: A<br />

!<br />

!a<strong>to</strong>m types Ktheta Theta0 Kub S0<br />

!<br />

CA CA CA 40.000 120.00 35.00 2.41620 ! ALLOW ARO<br />

CE1 CE1 CT3 48.00 123.50 !<br />

CE1 CT2 CT3 32.00 112.20 !<br />

.<br />

.<br />

.


header<br />

sequence<br />

sec. struct<br />

structure<br />

info.<br />

connectivity<br />

PDB file format<br />

HEADER CALCIUM-BINDING PROTEIN 29-SEP-92 1CLL 2<br />

COMPND CALMODULIN (VERTEBRATE) 1CLL 3<br />

REMARK 1 REFERENCE 1 1CLL 13<br />

REMARK 1 AUTH W.E.MEADOR,A.R.MEANS,F.A.QUIOCHO 1CLL 14<br />

RORIGX2 0.000000 0.018659 0.001155 0.00000 1CLL 143<br />

.<br />

.<br />

SEQRES 1 148 ALA ASP GLN LEU THR GLU GLU GLN ILE ALA GLU PHE LYS 1CLL 110<br />

SEQRES 2 148 GLU ALA PHE SER LEU PHE ASP LYS ASP GLY ASP GLY THR 1CLL 111<br />

SEQRES 3 148 ILE THR THR LYS GLU LEU GLY THR VAL MET ARG SER LEU 1CLL 112<br />

.<br />

.<br />

HELIX 5 V ALA 102 ASN 111 1 1CLL 134<br />

HELIX 6 VI ASP 118 ALA 128 1 1CLL 135<br />

HELIX 7 VII TYR 138 THR 146 1 1CLL 136<br />

SHEET 1 S1 2 ILE 27 THR 29 0 1CLL 137<br />

SHEET 2 S1 2 ILE 63 PHE 65 -1 N ILE 63 O ILE 27 1CLL 138<br />

.<br />

.<br />

ATOM 1 N LEU 4 -6.873 21.082 25.312 1.00 49.53 1CLL 148<br />

ATOM 2 CA LEU 4 -6.696 22.003 26.447 1.00 48.82 1CLL 149<br />

ATOM 3 C LEU 4 -6.318 23.391 25.929 1.00 46.50 1CLL 150<br />

ATOM 4 O LEU 4 -5.313 23.981 26.352 1.00 45.72 1CLL 151<br />

ATOM 5 N THR 5 -7.147 23.871 25.013 1.00 46.77 1CLL 152<br />

ATOM 6 CA THR 5 -6.891 25.193 24.428 1.00 46.84 1CLL 153<br />

.<br />

.<br />

.<br />

CONECT 724 723 1137 1CLL1440<br />

CONECT 736 735 1137 1CLL1441


CRD file format<br />

*This is a box of 125 water molecules in the experimental<br />

*geometry. The box was equilibrated previously by Monte Carlo<br />

*for the MCY potential. It is probably appropiate for starting<br />

*configurations for all 3-site water models. The box length<br />

*is 15.5516 A and the temperature and density are 300 K and<br />

*0.0334 A**-3.<br />

*<br />

375<br />

1 1 TIP3 OH2 -5.76008 3.27789 -3.46973<br />

2 1 TIP3 H1 -5.57742 3.20183 -2.53321<br />

3 1 TIP3 H2 -5.78382 4.22062 -3.63382<br />

4 2 TIP3 OH2 5.34253 0.76916 0.26836<br />

5 2 TIP3 H1 5.57754 1.03356 -0.62107<br />

6 2 TIP3 H2 6.17167 0.50533 0.66729<br />

7 3 TIP3 OH2 -2.67359 0.49251 -3.75320<br />

8 3 TIP3 H1 -2.64318 1.40181 -3.45575


PSF file format<br />

PSF<br />

2 !NTITLE<br />

* Insight II-generated PSF for GB12_ALL <strong>using</strong> the charmm22.cfrc forcefield<br />

* Produced on Tue Sep 17 14:23:27 2002 by shamy<br />

10869 !NATOM<br />

1 GB12 1 MET N 56 -3.000000E-01 14.0070 0<br />

2 GB12 1 MET HN1 2 3.300000E-01 1.0080 0<br />

7537 !NBONDS: bonds<br />

.<br />

4889 !NTHETA: angles<br />

.<br />

2262 !NPHI: dihedrals<br />

.<br />

136 !NIMPHI: impropers<br />

.<br />

0 !NDON: donors<br />

.<br />

0 !NACC: accep<strong>to</strong>rs<br />

.<br />

0 !NNB<br />

.<br />

3794 0 !NGRP, NST2<br />

.


<strong>CHARMM</strong> COMMANDS and OUTPUT


What is in the <strong>CHARMM</strong> MD script<br />

open read unit 21 card name <strong>to</strong>p_all22_prot_na.rtf<br />

read rtf unit 21 card<br />

close unit 21<br />

open read unit 20 card name par_all22_prot_na.prm<br />

read para unit 20 card<br />

close unit 20<br />

open read unit 20 card name 2gb1.psf<br />

read psf unit 20 card<br />

close unit 20<br />

open read unit 20 card name 2gb1.crd<br />

read coor unit 20 card<br />

close unit 20<br />

set 7 45.000000<br />

set 8 45.000000<br />

set 9 55.000000<br />

crystal define tetr @7 @8 @9 90.0 90.0 90.0<br />

crystal build noper 0 cu<strong>to</strong>ff 20.0<br />

image byres select all end


What is in the <strong>CHARMM</strong> MD script (cont’d) (cont d)<br />

update a<strong>to</strong>m vdw vshift cdie eps 1.0 cutnb 12.0 c<strong>to</strong>fnb 10.0 -<br />

inbfrq 25 imgfrq 50 ihbfrq 50<br />

shake bonh <strong>to</strong>l 1.0e-6 mxit 500<br />

open read unit 30 card name equil.rst<br />

dynamics verl rest -<br />

timestep 0.001000 nstep 1000 -<br />

firstt 300.000000 finalt 300.000000 -<br />

ihtfrq 0 ieqfrq 0 iasors 0 iasvel 1 iscvel 0 ichecw 0 -<br />

twindh 10.0 twindl -10.0 -<br />

ntrfrq 1000 iprfrq 50 -<br />

isvfrq 100 nsavc 100 nsavv 100 nprint 100 -<br />

iunrea 30 iunwri -1 iuncrd -1 iunvel -1 kunit -1 -<br />

ewald pmewald kappa 0.34 order 6 -<br />

fftx 48 ffty 48 fftz 60<br />

s<strong>to</strong>p


• % charmm<br />

• 1<br />

• Chemistry at HARvard Macromolecular Mechanics<br />

• (<strong>CHARMM</strong>) - Developmental Version 29b2 February 15, 2003<br />

• Copyright(c) 1984-2001 President and Fellows of Harvard College<br />

• All Rights Reserved<br />

• Current operating system: IRIX64-6.5(IP28)@cirrus.msi.umn.edu<br />

• Created on 4/ 2/ 3 at 18:36:19 by user: shamy<br />

• Maximum number of ATOMS: 60120, and RESidues: 72000<br />

• Current HEAP size: 10240000, and STACK size: 2000000<br />

• <strong>CHARMM</strong>><br />

start


• <strong>CHARMM</strong>><br />

• s<strong>to</strong>p<br />

• <strong>CHARMM</strong>> s<strong>to</strong>p<br />

• $$$$$$ New timer profile $$$$$<br />

• Total time 4.55310 Other: 0.00000<br />

• NORMAL TERMINATION BY NORMAL STOP<br />

• MAXIMUM STACK SPACE USED IS 0<br />

• STACK CURRENTLY IN USE IS 0<br />

• MOST SEVERE WARNING WAS AT LEVEL 1<br />

• HEAP PRINTOUT- HEAP SIZE 10240000<br />

• SPACE CURRENTLY IN USE IS 0<br />

• MAXIMUM SPACE USED IS 480<br />

• FREE LIST<br />

• PRINHP> ADDRESS: 1 LENGTH: 10240000 NEXT: 0<br />

• $$$$$ JOB ACCOUNTING INFORMATION $$$$$<br />

• ELAPSED TIME: 4.56 SECONDS<br />

• CPU TIME: 0.06 SECONDS<br />

s<strong>to</strong>p


Title/comment/continuation<br />

Title lines<br />

All title lines starts with “*” follow by text for title<br />

Last title line finishes with “*” only<br />

Comment lines<br />

All comment lines starts with “!”<br />

Comments can start anywhere in a line with “!”. All text following “!”<br />

becomes comment.<br />

Continuing a line<br />

Command line can be continued <strong>to</strong> the next line if it ends with “-”


more charmm_s<strong>to</strong>p.inp<br />

* Spring 2003 charmm tu<strong>to</strong>rial<br />

* by me<br />

*<br />

s<strong>to</strong>p<br />

Running charmm<br />

non-interactively<br />

non interactively


• charmm < charmm_s<strong>to</strong>p.inp<br />

• 1<br />

• Chemistry at HARvard Macromolecular Mechanics<br />

• (<strong>CHARMM</strong>) - Developmental Version 29b2 February 15, 2003<br />

• RDTITL> * SPRING 2004 <strong>CHARMM</strong> TUTORIAL<br />

• RDTITL> * BY ME<br />

• RDTITL> *<br />

• <strong>CHARMM</strong>><br />

• <strong>CHARMM</strong>> s<strong>to</strong>p<br />

• $$$$$$ New timer profile $$$$$<br />

• Total time 0.06141 Other: 0.00000<br />

• NORMAL TERMINATION BY NORMAL STOP<br />

• MAXIMUM STACK SPACE USED IS 0<br />

• FREE LIST<br />

Running charmm<br />

non-interactively<br />

non interactively


Output <strong>to</strong> file<br />

• charmm < charmm_s<strong>to</strong>p.inp > charmm_s<strong>to</strong>p.out<br />

• more charmm_s<strong>to</strong>p.out<br />

• 1<br />

• Chemistry at HARvard Macromolecular Mechanics<br />

• (<strong>CHARMM</strong>) - Developmental Version 29b2 February 15, 2003<br />

• RDTITL> * SPRING 2003 <strong>CHARMM</strong> TUTORIAL<br />

• RDTITL> * BY ME<br />

• RDTITL> *<br />

• <strong>CHARMM</strong>><br />

• <strong>CHARMM</strong>> s<strong>to</strong>p<br />

• $$$$$$ New timer profile $$$$$<br />

• Total time 0.06141 Other: 0.00000<br />

• NORMAL TERMINATION BY NORMAL STOP<br />

• MAXIMUM STACK SPACE USED IS 0<br />

• FREE LIST


1) Read in <strong>to</strong>pology and parameter library files<br />

2) Read in sequence(s) and coordinates<br />

3) Add missing coordinates<br />

4) Read in water box and coordinates<br />

5) Read in ions and coordinates<br />

6) Remove overlapping water<br />

7) Create psf, crd and pdb<br />

Setup files


more charmm_<strong>to</strong>ppar.inp<br />

• * Membrane System : sys1.inp<br />

• * Determine the effective cross-sectional area of the protein<br />

• *<br />

• !Read <strong>to</strong>pologie<br />

• open read card unit 1 name ./<strong>to</strong>p_all22_prot.inp<br />

• read rtf card unit 1<br />

• close unit 1<br />

• !Read parameters<br />

• open read card unit 2 name ./par_all22_prot.inp<br />

• read param card unit 2<br />

• close unit 2<br />

• s<strong>to</strong>p<br />

Read <strong>to</strong>p/par file


• <strong>CHARMM</strong>><br />

• <strong>CHARMM</strong>> !Read <strong>to</strong>pologie<br />

• <strong>CHARMM</strong>> open read card unit 1 name ./<strong>to</strong>p_all22_prot.inp<br />

• VOPEN> Attempting <strong>to</strong> open::./<strong>to</strong>p_all22_prot.inp::<br />

• OPNLGU> Unit 1 opened for READONLY access <strong>to</strong> ./<strong>to</strong>p_all22_prot.inp<br />

Read <strong>to</strong>p/par file<br />

• <strong>CHARMM</strong>> read rtf card unit 1<br />

• MAINIO> Residue <strong>to</strong>pology file being read from unit 1.<br />

• TITLE> *>>>>>>>><strong>CHARMM</strong>22 ALL-HYDROGEN TOPOLOGY FILE FOR PROTEINS >>>>>>>>>>>>>>>>> AUGUST 1999


• <strong>CHARMM</strong>><br />

• <strong>CHARMM</strong>> !Read parameters<br />

• <strong>CHARMM</strong>> open read card unit 2 name ./par_all22_prot.inp<br />

• VOPEN> Attempting <strong>to</strong> open::./par_all22_prot.inp::<br />

• OPNLGU> Unit 2 opened for READONLY access <strong>to</strong> ./par_all22_prot.inp<br />

• <strong>CHARMM</strong>> read param card unit 2<br />

Read <strong>to</strong>p/par file<br />

• PARAMETER FILE BEING READ FROM UNIT 2<br />

• TITLE> *>>>> <strong>CHARMM</strong>22 ALL-HYDROGEN PARAMETER FILE FOR PROTEINS >>>>>>>>>>>>>> AUGUST 1999


more charmm_<strong>to</strong>ppar.inp<br />

• !Load protein info<br />

• open read card unit 10 name ./2gb1.pdb<br />

• read sequ pdb unit 10<br />

• generate PROT setup first nter last cter<br />

• rewind unit 10<br />

• read coord pdb unit 10<br />

• close unit 10<br />

Read PDB file


• <strong>CHARMM</strong>><br />

• <strong>CHARMM</strong>> !Load protein info<br />

• <strong>CHARMM</strong>> open read card unit 10 name ./2gb1.pdb<br />

• VOPEN> Attempting <strong>to</strong> open::./2gb1.pdb::<br />

• OPNLGU> Unit 10 opened for READONLY access <strong>to</strong> ./2gb1.pdb<br />

• <strong>CHARMM</strong>> read sequ pdb unit 10<br />

• MAINIO> Sequence information being read from unit 10.<br />

• TITLE> COORDINATES<br />

• TITLE> DATE: 4/ 2/ 3 17:43:22 CREATED BY USER:<br />

• TITLE> *<br />

Read PDB file<br />

• RESIDUE SEQUENCE -- 56 RESIDUES<br />

• MET THR TYR LYS LEU ILE LEU ASN GLY LYS THR LEU LYS GLY GLU THR …...<br />

• VAL ASP ALA ALA THR ALA GLU LYS VAL PHE LYS GLN TYR ALA ASN ASP …..<br />

• GLY GLU TRP THR TYR ASP ASP ALA THR LYS THR PHE THR VAL THR GLU…….<br />

• ***** Message from SEQRDR ***** THE SYSTEM CONTAINS 19 TITRATABLE GROUPS<br />

• THE USER MUST PREDETERMINE THE PROTONATION STATE…………….<br />

• HIS - 0 ASP - 5 GLU - 5 LYS - 6 TYR - 3<br />

• <strong>CHARMM</strong>>


• <strong>CHARMM</strong>><br />

• <strong>CHARMM</strong>> generate PROT setup first nter last cter<br />

• THE PATCH 'NTER ' WILL BE USED FOR THE FIRST RESIDUE<br />

• THE PATCH 'CTER ' WILL BE USED FOR THE LAST RESIDUE<br />

• GENPSF> Segment 1 has been generated. Its identifier is PROT.<br />

• PSFSUM> PSF modified: NONBOND lists and IMAGE a<strong>to</strong>ms cleared.<br />

• PSFSUM> Summary of the structure file counters :<br />

• Number of segments = 1 Number of residues = 56<br />

• Number of a<strong>to</strong>ms = 855 Number of groups = 263<br />

• Number of bonds = 861 Number of angles = 1551<br />

• Number of dihedrals = 2262 Number of impropers = 137<br />

• Number of HB accep<strong>to</strong>rs = 95 Number of HB donors = 99<br />

• Number of NB exclusions = 0 Total charge = -4.00000<br />

• <strong>CHARMM</strong>><br />

Nter is +NH3- N-terminus<br />

Cter is COO- C-terminus<br />

Read PDB file


• <strong>CHARMM</strong>><br />

• <strong>CHARMM</strong>> rewind unit 10<br />

• REWINDING UNIT 10<br />

• <strong>CHARMM</strong>> read coord pdb unit 10<br />

• SPATIAL COORDINATES BEING READ FROM UNIT 10<br />

• TITLE> COORDINATES<br />

• TITLE> DATE: 4/ 2/ 3 17:43:22 CREATED BY USER:<br />

• TITLE> *<br />

Read PDB file<br />

• ** WARNING ** After reading, there are no coordinates for selected a<strong>to</strong>m: 2 1 MET HT1<br />

• ** WARNING ** After reading, there are no coordinates for selected a<strong>to</strong>m: 3 1 MET HT2<br />

• ** WARNING ** After reading, there are no coordinates for selected a<strong>to</strong>m: 16 1 MET HE2<br />

• ** A <strong>to</strong>tal of 419 selected a<strong>to</strong>ms have no coordinates<br />

• *** LEVEL 2 WARNING *** BOMLEV IS 0<br />

• <strong>CHARMM</strong>> close unit 10<br />

• VCLOSE: Closing unit 10 with status "KEEP"<br />

• <strong>CHARMM</strong>>


• print coor<br />

• ic para<br />

• ic build<br />

• print coor<br />

Repair structure


<strong>CHARMM</strong>><br />

<strong>CHARMM</strong>> print coor<br />

Repair Structure<br />

COORDINATE FILE MODULE<br />

TITLE> * SPRING 2003 <strong>CHARMM</strong> TUTORIAL<br />

TITLE> * BY ME<br />

TITLE> *<br />

855<br />

1 1 MET N -14.02500 2.44800 4.87500 PROT 1 1.26000<br />

2 1 MET HT1 9999.00000 9999.00000 9999.00000 PROT 1 0.00000<br />

3 1 MET HT2 9999.00000 9999.00000 9999.00000 PROT 1 0.00000<br />

4 1 MET HT3 9999.00000 9999.00000 9999.00000 PROT 1 0.00000<br />

5 1 MET CA -13.52900 1.06400 4.74000 PROT 1 0.43000<br />

6 1 MET HA 9999.00000 9999.00000 9999.00000 PROT 1 0.00000<br />

7 1 MET CB -13.72800 0.62200 3.25400 PROT 1 1.24000


<strong>CHARMM</strong>><br />

<strong>CHARMM</strong>> ic para<br />

<strong>CHARMM</strong>> ic build<br />

<strong>CHARMM</strong>> print coor<br />

COORDINATE FILE MODULE<br />

TITLE> * SPRING 2003 <strong>CHARMM</strong> TUTORIAL<br />

TITLE> * BY ME<br />

TITLE> *<br />

855<br />

1 1 MET N -14.02500 2.44800 4.87500 PROT 1 1.26000<br />

2 1 MET HT1 -15.03538 2.48006 4.63066 PROT 1 0.00000<br />

3 1 MET HT2 -13.49385 3.07122 4.23385 PROT 1 0.00000<br />

4 1 MET HT3 -13.89565 2.76902 5.85572 PROT 1 0.00000<br />

5 1 MET CA -13.52900 1.06400 4.74000 PROT 1 0.43000<br />

6 1 MET HA -14.06392 0.45340 5.45719 PROT 1 0.00000<br />

7 1 MET CB -13.72800 0.62200 3.25400 PROT 1 1.24000<br />

Repair Structure


• !Load water info<br />

• open read card unit 1 name water.crd<br />

• read sequence coor unit 1 append<br />

• generate SOLV setup noangle nodihedrals<br />

• rewind unit 10<br />

• read coor card unit 1 append<br />

• close unit 1<br />

• coor orient norotate select segid solv end<br />

• !Load ion info<br />

• open read card unit 1 name ion.pdb<br />

• read sequence pdb unit 1 append<br />

• generate ION setup<br />

• rewind unit 1<br />

• read coor pdb unit 1 append<br />

• close unit 1<br />

• coor orient norotate select segid ion end<br />

Load water<br />

and ions


• <strong>CHARMM</strong>><br />

• <strong>CHARMM</strong>> coor orient norotate select segid solv end<br />

• SELRPN> 12666 a<strong>to</strong>ms have been selected out of 13521<br />

• ORIENT THE COORDINATES TO ALIGN WITH AXIS<br />

• CENTER OF ATOMS BEFORE TRANSLATION 0.09823<br />

0.09145 0.10042<br />

• SELECTED COORDINATES TRANSLATED IN THE MAIN SET.<br />

• <strong>CHARMM</strong>><br />

• Coor orient places the selected a<strong>to</strong>ms <strong>to</strong> origin<br />

Load water<br />

and ions


Remove<br />

overlapping<br />

water<br />

• delete a<strong>to</strong>m sort –<br />

• select .byres. (segid SOLV .AND. type oh2 .and. -<br />

• ((.not. (segid SOLV .OR. hydrogen)) .around. 2.8)) end


• <strong>CHARMM</strong>><br />

• <strong>CHARMM</strong>> delete a<strong>to</strong>m sort -<br />

• <strong>CHARMM</strong>> select .byres. (segid SOLV .AND. type oh2 .and. -<br />

• <strong>CHARMM</strong>> ((.not. (segid SOLV .OR. hydrogen)) .around. 2.8)) end<br />

• SELRPN> 1119 a<strong>to</strong>ms have been selected out of 13525<br />

• Message from MAPIC: A<strong>to</strong>m numbers are changed.<br />

• Message from MAPIC: 373 residues deleted.<br />

• DELTIC: 1119 bonds deleted<br />

• DELTIC: 373 angles deleted<br />

• DELTIC: 373 accep<strong>to</strong>rs deleted<br />

• PSFSUM> PSF modified: NONBOND lists and IMAGE a<strong>to</strong>ms cleared.<br />

• PSFSUM> Summary of the structure file counters :<br />

• Number of segments = 3 Number of residues = 3909<br />

• Number of a<strong>to</strong>ms = 12406 Number of groups = 4116<br />

• Number of bonds = 12408 Number of angles = 5400<br />

• Number of dihedrals = 2262 Number of impropers = 137<br />

• Number of HB accep<strong>to</strong>rs = 3944 Number of HB donors = 99<br />

• Number of NB exclusions = 0 Total charge = 0.00000<br />

Water molecules with an O a<strong>to</strong>m that is 2.8 angstrom<br />

away from another non-water heavy a<strong>to</strong>m is deleted<br />

Remove<br />

overlapping<br />

water


• open write form unit 13 name prowat.crd<br />

• write coor card unit 13<br />

• * crd file<br />

• *<br />

• open write form unit 13 name prowat.pdb<br />

• write coord pdb unit 13<br />

• * pdb file<br />

• *<br />

• open write form unit 13 name prowat.psf<br />

• write psf card unit 13<br />

• * psf file<br />

• *<br />

Write out<br />

PDB, CRD, PSF<br />

files


MD scripts


1) Minimization<br />

2) Heating<br />

3) Equilibration<br />

4) MD <strong>Simulation</strong> (Data collection)<br />

MD <strong>Simulation</strong>


1) Read in <strong>to</strong>pology and parameter library files<br />

2) Read in setup psf and pdb files<br />

3) Setup Periodic Boundary Condition<br />

5) Setup Constraint<br />

6) Setup non-bond parameters<br />

7) Setup Minimization or MD parameters<br />

Setup MD Script


• ! PBC parameters<br />

• ! Cubic box 50 by 50 by 50 angstrom<br />

• ! Image by residue<br />

• crystal define cubic @boxx @boxy @boxz 90.0 90.0 90.0<br />

• crystal build Noper 0 cu<strong>to</strong>ff 20.0<br />

• imag byres select all end xcen 0.0 ycen 0.0 zcen 0.0<br />

Minimization<br />

• ! non-bond parameters<br />

• ! Group based cu<strong>to</strong>ff for VDW and coulomb interaction with<br />

• ! switch function. Constant dielectric of 1.0.<br />

• update group switch cdiel eps 1.0 - ! Electrostatics<br />

• vgroup vswitch - ! VDW<br />

• c<strong>to</strong>nnb 7.0 c<strong>to</strong>fnb 8.0 cutnb 9.5 cutim 9.5 wmin 1.5 ! cu<strong>to</strong>ffs<br />

• ! Minimization Steepest Descent 250 steps<br />

• mini sd nstep 250


• grep 'MINI>' min.out<br />

• MINI> 0************* 0.00000************* 0.02000<br />

• MINI> 10 -33946.06346************* 6.29079 0.00896<br />

• MINI> 20 -37711.96170 3765.89824 6.90017 0.00401<br />

• MINI> 30 -39049.60687 1337.64516 7.60603 0.00431<br />

• MINI> 40 -40340.55779 1290.95093 2.69907 0.00193<br />

• MINI> 50 -41058.88928 718.33149 3.61866 0.00208<br />

.<br />

.<br />

.<br />

.<br />

.<br />

• MINI> 190 -45160.13689 153.43778 1.01040 0.00099<br />

• MINI> 200 -45288.07310 127.93621 1.80496 0.00107<br />

• MINI> 210 -45421.91822 133.84512 2.04633 0.00115<br />

• MINI> 220 -45543.23595 121.31773 2.08479 0.00123<br />

• MINI> 230 -45683.71771 140.48176 0.67995 0.00055<br />

• MINI> 240 -45767.66834 83.95063 2.42551 0.00142<br />

• MINI> 250 -45911.29192 143.62358 0.79346 0.00064<br />

Minimization


• shake bonh <strong>to</strong>l 1.0e-6 mxit 500<br />

• cons harm force 0.3 select segi prot end<br />

• open write card unit 51 name heat.rst<br />

• open write file unit 52 name heat.dcd<br />

• open write file unit 53 name heat.vel<br />

• open write card unit 54 name heat.ene<br />

• DYNAMICS start verlet nstep 5000 timestp 0.001 -<br />

• firstt 50.0 finalt 300.0 -<br />

• ihtfrq 40 teminc 2 -<br />

• iasors 1 iasvel 1 iseed 750376231 -<br />

• ichecw 0 ieqfrq 0 twindh 10.0 twindl 10.0 -<br />

• inbfrq 20 imgfrq 20 ihbfrq 20 ilbfrq 40 -<br />

• nprint 100 iprfrq 500 ntrfrq 500 isvfrq 500 -<br />

• iunrea -1 iunwri 51 iuncrd 52 iunvel 53 kunit 54 -<br />

• nsavcrd 1000 nsavvelo 1000 -<br />

• a<strong>to</strong>m va<strong>to</strong>m vshift cdiel eps 1.0 -<br />

• cutnb 12.0 c<strong>to</strong>fnb 11.0 c<strong>to</strong>nnb 10.0 cutim 12.0 wmin 1.5 -<br />

• ewald kappa 0.32 -<br />

• pmewald fftx 48 ffty 48 fftz 48 order 6<br />

Heating


• more heat.out<br />

• SELECTED IMAGES ATOMS BEING CENTERED ABOUT 0.000000 0.000000 0.000000<br />

• Total heap s<strong>to</strong>rage needed = 1029150<br />

• Fill Ewald table: Number of points= 10000 EWXmin= 0.000000 EWXmax= 3.<br />

• 680000<br />

• Fill ERFC table: linear inter has rms error = 0.788209D-08 Maximum error = 0.16<br />

• 3876D-07<br />

• Fill ERFC table: cubic spline has rms error = 0.250959D-11 Maximum error = 0.70<br />

• 3138D-11<br />

• NONBOND OPTION FLAGS:<br />

• ELEC VDW ATOMs CDIElec SHIFt VATOm VSHIft<br />

• BYGRoup NOEXtnd EWALd<br />

• CUTNB = 12.000 CTEXNB =999.000 CTONNB = 10.000 CTOFNB = 11.000<br />

• WMIN = 1.500 WRNMXD = 0.500 E14FAC = 1.000 EPS = 1.000<br />

• NBXMOD = 5<br />

• EWALD OPTIONS: KAPPA = 0.320 KMAX = 5 KSQMAX = 27<br />

• Using Pub FFT<br />

• Real-<strong>to</strong>-Complex FFT<br />

• There are 0 a<strong>to</strong>m pairs and 0 a<strong>to</strong>m exclusions.<br />

• There are 0 group pairs and 0 group exclusions.<br />

• with mode 5 found 13959 exclusions and 2239 interactions(1-4)<br />

• found 762 group exclusions.<br />

• PRNHBD: CUToff Hydrogen Bond distance = 0.5000 Angle = 90.0000<br />

• CuT switching ON HB dist. = 3.5000 OFf HB dist. = 4.0000<br />

• CuT switching ON Hb Angle = 50.0000 OFf Hb Angle = 70.0000<br />

• ACCEp<strong>to</strong>r antecedents included<br />

• All hydrogen bonds for each hydrogen will be found<br />

• Hydrogen bonds between excluded a<strong>to</strong>ms will be kept<br />

Heating


• NSTEP = 5000 NSAVC = 1000 NSAVV = 1000<br />

• ISCALE = 0 ISCVEL = 0 IASORS = 1<br />

• IASVEL = 1 ICHECW = 0 NTRFRQ = 500<br />

• IHTFRQ = 40 IEQFRQ = 0 NPRINT = 100<br />

• INBFRQ = 20 IHBFRQ = 20 IPRFRQ = 500<br />

• ILBFRQ = 40 IMGFRQ = 20 ISEED = 750376231<br />

• ISVFRQ = 500 NCYCLE = 20 NSNOS = 10<br />

• FIRSTT = 50.000 TEMINC = 2.000 TSTRUC = -999.000<br />

• FINALT = 300.000 TWINDH = 10.000 TWINDL = -10.000<br />

• TIME STEP = 2.04548E-02 AKMA 1.00000E-03 PS<br />

• SHAKE TOLERANCE = 0.10000E-05<br />

• NUMBER OF DEGREES OF FREEDOM = 25252<br />

• SEED FOR RANDOM NUMBER GENERATOR IS 750376231<br />

• GAUSSIAN OPTION IS 1<br />

• VELOCITIES ASSIGNED AT TEMPERATURE = 62.5000<br />

Heating


• grep ‘DYNA>' heat.out<br />

• DETAILS ABOUT CENTRE OF MASS<br />

• POSITION : 0.11616492 7.37216775E-02 0.11816128<br />

• VELOCITY : 1.09212028E-03 1.00600816E-03 -4.34573964E-04<br />

• ANGULAR MOMENTUM : -4355.9163 -1519.1222 -46.369250<br />

• KINETIC ENERGY : 9.05093000E-02<br />

• DYNA DYN: Step Time TOTEner TOTKe ENERgy TEMPerature<br />

• DYNA PROP: GRMS HFCTote HFCKe EHFCor VIRKe<br />

• DYNA INTERN: BONDs ANGLes UREY-b DIHEdrals IMPRopers<br />

• DYNA EXTERN: VDWaals ELEC HBONds ASP USER<br />

• DYNA IMAGES: IMNBvdw IMELec IMHBnd RXNField EXTElec<br />

• DYNA EWALD: EWKSum EWSElf EWEXcl EWQCor EWUTil<br />

• DYNA PRESS: VIRE VIRI PRESSE PRESSI VOLUme<br />

• ---------- --------- --------- --------- --------- ---------<br />

• DYNA> 0 0.00000 -43585.36308 1570.64465 -45156.00773 62.59974<br />

• DYNA PROP> 2.19263 -43584.92724 1571.95195 0.43584 5700.53315<br />

• DYNA INTERN> 1464.05680 884.91987 10.11565 265.40773 5.84521<br />

• DYNA EXTERN> 3376.21103 -43027.86061 0.00000 0.00000 0.00000<br />

• DYNA IMAGES> -169.48296 -2889.03224 0.00000 0.00000 0.00000<br />

• DYNA EWALD> 548.51920 -246230.51036240605.80296 0.00000 0.00000<br />

• DYNA PRESS> 13517.54943 -17317.90486 -7414.99887 -8924.81025 125000.00000<br />

• ---------- --------- --------- --------- --------- ---------<br />

• UPDECI: Image update at step 20<br />

• SELECTED IMAGES ATOMS BEING CENTERED ABOUT 0.000000 0.000000 0.000000<br />

• UPDECI: Nonbond update at step 20<br />

Heating


• grep ‘DYNA>' heat.out<br />

• DYNA> 0 0.00000 -43585.36308 1570.64465 -45156.00773 62.59974<br />

• DYNA> 40 0.04000 -44008.08251 1287.21522 -45295.29773 51.30336<br />

• DYNA> 80 0.08000 -44400.41656 1343.99084 -45744.40741 53.56621<br />

• DYNA> 100 0.10000 -44400.19780 1382.17874 -45782.37654 55.08823<br />

• DYNA> 120 0.12000 -44612.07101 1399.63885 -46011.70986 55.78412<br />

• DYNA> 160 0.16000 -44768.97546 1462.36984 -46231.34530 58.28433<br />

.<br />

.<br />

.<br />

.<br />

.<br />

• DYNA> 4840 4.84000 -35201.02155 7325.29735 -42526.31890 291.95765<br />

• DYNA> 4880 4.88000 -34961.95062 7499.36887 -42461.31950 298.89546<br />

• DYNA> 4900 4.90000 -34961.52847 7380.75953 -42342.28800 294.16816<br />

• DYNA> 4920 4.92000 -34788.61422 7579.91150 -42368.52573 302.10557<br />

• DYNA> 4960 4.96000 -34712.71220 7492.80754 -42205.51974 298.63395<br />

• DYNA> 5000 5.00000 -34712.69464 7558.62654 -42271.32118 301.25724<br />

Heating


• shake bonh <strong>to</strong>l 1.0e-6 mxit 500<br />

• cons harm clear<br />

• open read card unit 50 name heat.rst<br />

• open write card unit 51 name equil.rst<br />

• open write file unit 52 name equil.dcd<br />

• open write file unit 53 name equil.vel<br />

• open write card unit 54 name equil.ene<br />

• DYNAMICS restart verlet nstep 2500 timestp 0.001 -<br />

• firstt 300.0 finalt 300.0 -<br />

• ihtfrq 0 teminc 2 -<br />

• iasors 1 iasvel 1 -<br />

• ichecw 1 ieqfrq 500 twindh 10.0 twindl 10.0 -<br />

• inbfrq 20 imgfrq 20 ihbfrq 20 ilbfrq 40 -<br />

• nprint 100 iprfrq 500 ntrfrq 500 isvfrq 500 -<br />

• iunrea 50 iunwri 51 iuncrd 52 iunvel -1 -<br />

• nsavcrd 1000 nsavvelo 1000 -<br />

• a<strong>to</strong>m va<strong>to</strong>m vshift cdiel eps 1.0 -<br />

• cutnb 12.0 c<strong>to</strong>fnb 11.0 c<strong>to</strong>nnb 10.0 cutim 12.0 wmin 1.5 -<br />

• ewald kappa 0.32 -<br />

• pmewald fftx 48 ffty 48 fftz 48 order 6<br />

Equilibration


• grep ‘DYNA>' equil.out<br />

Equilibration<br />

• DYNA> 0 5.00000 -32684.09033 7524.24605 -40208.33638 299.88697<br />

• DYNA> 100 5.10000 -32683.69167 7242.72814 -39926.41982 288.66677<br />

• DYNA> 200 5.20000 -32683.29060 7026.78314 -39710.07374 280.06004<br />

• DYNA> 300 5.30000 -32683.10262 6966.34026 -39649.44287 277.65103<br />

• DYNA> 400 5.40000 -32683.34152 7038.02355 -39721.36507 280.50804<br />

• DYNA> 500 5.50000 -32683.54636 7018.65906 -39702.20542 279.73625<br />

• DYNA> 500 5.50000 -32184.08341 7518.12201 -39702.20542 299.64289<br />

.<br />

.<br />

.<br />

.<br />

.<br />

• DYNA> 1800 6.80000 -31785.49212 7418.82587 -39204.31799 295.68533<br />

• DYNA> 1900 6.90000 -31785.51507 7347.62047 -39133.13554 292.84736<br />

• DYNA> 2000 7.00000 -31785.21697 7398.66839 -39183.88536 294.88193<br />

• DYNA> 2000 7.00000 -31785.21697 7398.66839 -39183.88536 294.88193<br />

• DYNA> 2100 7.10000 -31785.39285 7356.95523 -39142.34808 293.21941<br />

• DYNA> 2200 7.20000 -31785.31217 7380.62346 -39165.93563 294.16273<br />

• DYNA> 2300 7.30000 -31785.10303 7300.14193 -39085.24495 290.95506<br />

• DYNA> 2400 7.40000 -31785.53533 7320.47461 -39106.00993 291.76544<br />

• DYNA> 2500 7.50000 -31785.34127 7325.52317 -39110.86444 291.96665


• shake bonh <strong>to</strong>l 1.0e-6 mxit 500<br />

• cons harm clear<br />

• open read card unit 50 name equil.rst<br />

• open write card unit 51 name simu.rst<br />

• open write file unit 52 name simu.dcd<br />

• open write file unit 53 name simu.vel<br />

• open write card unit 54 name simu.ene<br />

• DYNAMICS restart verlet nstep 2500 timestp 0.001 -<br />

• firstt 300.0 finalt 300.0 -<br />

• ihtfrq 0 teminc 2 -<br />

• iasors 1 iasvel 1 -<br />

• ichecw 1 ieqfrq -1 twindh 10.0 twindl 10.0 -<br />

• inbfrq 20 imgfrq 20 ihbfrq 20 ilbfrq 40 -<br />

• nprint 100 iprfrq 500 ntrfrq 500 isvfrq 500 -<br />

• iunrea 50 iunwri 51 iuncrd 52 iunvel -1 -<br />

• nsavcrd 1000 nsavvelo 1000 -<br />

• a<strong>to</strong>m va<strong>to</strong>m vshift cdiel eps 1.0 -<br />

• cutnb 12.0 c<strong>to</strong>fnb 11.0 c<strong>to</strong>nnb 10.0 cutim 12.0 wmin 1.5 -<br />

• ewald kappa 0.32 -<br />

• pmewald fftx 48 ffty 48 fftz 48 order 6<br />

<strong>Simulation</strong>


• shake bonh <strong>to</strong>l 1.0e-6 mxit 500<br />

• cons harm clear<br />

• open read card unit 50 name heat.rst<br />

• open write card unit 51 name equil.rst<br />

• open write file unit 52 name equil.dcd<br />

• open write file unit 53 name equil.vel<br />

• open write card unit 54 name equil.ene<br />

• DYNAMICS restart cpt leap nstep 2500 timestp 0.001 -<br />

• firstt 300.0 finalt 300.0 -<br />

• ihtfrq 0 teminc 2 -<br />

• iasors 1 iasvel 1 -<br />

• ichecw 1 ieqfrq 500 twindh 10.0 twindl 10.0 -<br />

• inbfrq 20 imgfrq 20 ihbfrq 20 ilbfrq 40 -<br />

• nprint 100 iprfrq 500 ntrfrq 500 isvfrq 500 -<br />

• iunrea 50 iunwri 51 iuncrd 52 iunvel -1 -<br />

• nsavcrd 1000 nsavvelo 1000 -<br />

• a<strong>to</strong>m va<strong>to</strong>m vshift cdiel eps 1.0 -<br />

• cutnb 12.0 c<strong>to</strong>fnb 11.0 c<strong>to</strong>nnb 10.0 cutim 12.0 wmin 1.5 -<br />

• ewald kappa 0.32 -<br />

• pmewald fftx 60 ffty 72 fftz 72 order 6 -<br />

• hoover tmass 1000 reft 300.0 -<br />

• pconst pint pref 1.0 pmass 500.0 pgamma 20.0 tbath 300.0<br />

MD with Pressure<br />

Control (NPT)


Submitting <strong>to</strong> LoadLeveller<br />

#!/bin/csh<br />

#@ initialdir = /homes/r50/shamy/yukdirec<strong>to</strong>ry<br />

#@ wall_clock_limit = 24:00:00<br />

#@ resources = ConsumableMemory(1000)<br />

#@ job_type = parallel<br />

#@ network.MPI = css0,shared,US<br />

#@ notification = never<br />

#@ input = simu.inp<br />

#@ output = simu_1_16_16cpu_regatta.out<br />

#@ error = simu.err<br />

#@ node = 1<br />

#@ tasks_per_node = 16<br />

#@ queue<br />

/usr/local/charmm/distrib/c29b2/exec/ibmsp3/charmm


Doing CHARMm in insightII


Setup your system


Setup charmm forcefield


Setup charmm forcefield


Activating CHARMm


Setup your charmm run


Starting charmm run


Your charmm files from insightII<br />

ls –lt *.inp *.psf *.crd your charmm input<br />

ls –lt bkgd_job*log your charmm output


Analysist scripts


.<br />

.<br />

• !Load protein info<br />

• open read card formatted unit 10 name @pref.psf<br />

• read psf card unit 10<br />

• close unit 10<br />

• open read card formatted unit 10 name @pref.crd<br />

• read coord card unit 10<br />

• close unit 10<br />

• open read unit 20 file name simu_1.dcd<br />

• open read unit 21 file name simu_2.dcd<br />

• open read unit 22 file name simu_3.dcd<br />

• open read unit 23 file name simu_4.dcd<br />

• open read unit 24 file name simu_5.dcd<br />

• open read unit 25 file name simu_6.dcd<br />

• open write unit 30 file name cdl.dcd<br />

• merge coor firstu 20 nunit 6 outputu 30 select segi prot end<br />

• s<strong>to</strong>p<br />

Merge<br />

files


.<br />

.<br />

• open read card formatted unit 10 name @pref.crd<br />

• read coord card unit 10<br />

• close unit 10<br />

• open read unit 33 file name simu.dcd<br />

• traj iread 33 nread 1<br />

• set 1 1<br />

• label start<br />

• traj read<br />

• incr 1 by 1<br />

• if 1 lt 1065 go<strong>to</strong> start<br />

• open write card unit 15 name snap@1.pdb<br />

• write coor pdb unit 15 select segi pro end<br />

• * pdb filE<br />

• *<br />

• close unit 33<br />

• s<strong>to</strong>p<br />

Getting a<br />

single snapshot


.<br />

.<br />

• open read card formatted unit 10 name @pref.crd<br />

• read coord card unit 10<br />

• close unit 10<br />

• coor orient<br />

• coor copy select a<strong>to</strong>m * * ca end comp<br />

• open unit 10 read file name simu.dcd<br />

• open write card unit 20 name rms.dat<br />

• correl maxt 1000000 maxs 1 maxa 347<br />

• enter aa rms orient<br />

• traj first 10<br />

• write aa unit 20 dumb time<br />

• s<strong>to</strong>p<br />

Cα rmsd(time)<br />

rmsd(time


.<br />

.<br />

• open read card formatted unit 10 name @pref.crd<br />

• read coord card unit 10<br />

• close unit 10<br />

• open unit 10 read file name md.dcd<br />

• open write card unit 20 name dist.dat<br />

• correl maxt 500000 maxs 1<br />

• enter aa dist PRO 1 SG PRO 5 CE3<br />

• traj first 10<br />

• write aa unit 20 dumb time<br />

• s<strong>to</strong>p<br />

Distance(time)<br />

Distance(time


• Cα a<strong>to</strong>ms<br />

Distance<br />

Matrix<br />

• open unit 1 write form name ca.dmat<br />

• coor dmat single unit 1 sele a<strong>to</strong>m * * CA end sele a<strong>to</strong>m * * CA end<br />

• Sidechain a<strong>to</strong>ms<br />

• define bb select ( type ca .or. type n .or. type c .or. type o ) end<br />

• define side select ( (.not. bb) .and. (.not. hydrogen) ) end<br />

• open unit 1 write form name side.dmat<br />

• coor dmat residue_average single unit 1 cu<strong>to</strong>ff 6.5 select side end -<br />

• select side end


To get help<br />

• By mail help@msi.umn.edu<br />

• Web www.msi.umn.edu<br />

• Phone 612 626 0802<br />

• Appointment TBA

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!