 
 
 
 
 
   
In this first simulation you will stretch ubiquitin through the constant velocity pulling method.
In this type of simulation the SMD atom is attached to a dummy 
atom via a virtual spring. This dummy atom is moved at constant velocity 
and then the force between both is measured using:
|  |  |  | (1) | 
|  |  | ![$\displaystyle \frac{1}{2}k[vt-(\vec{r}-\vec{r}_0)\cdot\vec{n}]^2$](img160.png) | (2) | 
 Potential energy.
 Potential energy.
 Spring constant.
 Spring constant.
 Pulling velocity.
 Pulling velocity.
 Time.
 Time.
 Actual position of the SMD atom.
 Actual position of the SMD atom.
 Initial position of the SMD atom.
 Initial position of the SMD atom.
 Direction of pulling.
 Direction of pulling.
| ![\begin{figure}\begin{center}
\includegraphics[scale=0.5]{pictures/tut_unit03_001c}
\end{center}
\end{figure}](img168.png) | 
![\framebox[\textwidth]{
\begin{minipage}{.2\textwidth}
\includegraphics[width=2...
...oms is attached to
the dummy atom through the virtual spring.}
\end{minipage} }](img169.png) 
NAMD uses a column of a pdb file to determine which atoms are fixed: all atoms with a value of 1 (or a number different of 0) in a predetermined column will be fixed; atoms with a value of 0 in the same column will not be affected. Here you will use the B column of the pdb file to designate fixed atoms. Now you need to build the respective pdb file using VMD.
 New Molecule... menu item and using the Browse
 New Molecule... menu item and using the Browse and Load buttons load the file 
common/ubq.psf that you created in the first unit for
ubiquitin in vacuum. (If you did not succeed in generating this file in unit 1, look for common/example-output/ubq.psf)
 and Load buttons load the file 
common/ubq.psf that you created in the first unit for
ubiquitin in vacuum. (If you did not succeed in generating this file in unit 1, look for common/example-output/ubq.psf) 
| set allatoms [atomselect top all] | 
 atom of
the first residue.
 atom of
the first residue. 
Likewise, NAMD uses another column of a pdb file to set which atom is to be pulled (SMD atom). For this purpose it uses the occupancy column of the pdb file.
 atom of the last residue.
 atom of the last residue. 
 atom as shown in Fig. 18 (a) for the methionine (b) residue number 1 (c) or N terminus. In that line you should be able to see how the B column was switched to 1 (e), while the B column for all the other atoms is 0 (d).
 atom as shown in Fig. 18 (a) for the methionine (b) residue number 1 (c) or N terminus. In that line you should be able to see how the B column was switched to 1 (e), while the B column for all the other atoms is 0 (d). 
 atom as shown in Fig. 19 (a) for the glycine (b) residue number 76 (c) or C terminus.
This atom, that should have occupancy 1 (e), will be pulled in the simulation.
 atom as shown in Fig. 19 (a) for the glycine (b) residue number 76 (c) or C terminus.
This atom, that should have occupancy 1 (e), will be pulled in the simulation. 
 
![\framebox[\textwidth]{
\begin{minipage}{.2\textwidth}
\includegraphics[width=2...
...nt to use (X, Y, Z, O or B) with the parameter fixedAtomsCol.}
\end{minipage} }](img175.png) 
Now that you have defined the fixed and SMD atom, you need to specify the direction in which the pulling will be performed. This is determined by the direction of the vector that links the fixed and the SMD atoms.
| set smdpos [lindex [$smdatom get {x y z}] 0] | |
| set fixedpos [lindex [$fixedatom get {x y z}] 0] | |
| vecnorm [vecsub $smdpos $fixedpos] | 
This gives you three numbers that are the  ,
,  , and
, and  - components of the normalized direction between the fixed and the SMD atom! 
Keep  these
- components of the normalized direction between the fixed and the SMD atom! 
Keep  these  ,
,  and
 and  saved for the next section.
 saved for the next section. 
|  |  |  | 
In the provided example (look at Figs. 18 and 19), the result is:
 
 
|  |  |  | 
 Delete Molecule menu item and keep VMD opened.
 Delete Molecule menu item and keep VMD opened. 
Now you have one of the files required for the intended SMD simulation, namely common/ubq_ww_eq.ref. The next step is to create the NAMD configuration file or modify the provided template. Exercise care at this stage and check for misspelling of names or commands.
| # N- C- Termini Constant Velocity Pulling | 
| structure mypsf.psf |  | structure ../common/ubq.psf | 
| coordinates mypdb.pdb |  | coordinates ../common/ubq_ww_eq.pdb | 
| outputName myoutput |  | outputName ubq_ww_pcv | 
In this way you are using the equilibrated protein without water in your upcoming simulation. The output files of your simulation will have the prefix ubq_ww_pcv in their names.
| parameters par_all27_prot_lipid.inp | |
|  parameters ../common/par_all27_prot_lipid.inp | 
There is no need to modify the Periodic Boundary Conditions, Force Field Parameters, Integrator Parameters or PME sections (The latter is disabled since you are not using periodic boundary conditions).
| langevin on |  | langevin off | 
| if {0} { |  | if {1} { | 
| fixedAtomsFile myfixedatoms.pdb |  | fixedAtomsFile | 
| ../common/ubq_ww_eq.ref | 
| SMD | on | 
| SMDFile | ../common/ubq_ww_eq.ref | 
| SMDk | 7 | 
| SMDVel | 0.005 | 
With these configuration file modifications, NAMD will pull atoms which have occupancy 1 in the
file ubq_ww_eq.ref. The virtual spring between the dummy
atom and the SMD atom will have a spring constant of 7 kcal/mol/Å ,
where 1 kcal/mol = 69.479 pN Å. The pulling will be performed
at a constant velocity of 0.005 Å/timestep, equivalent to 2.5 Å/ps in
the present case where the time step is 2 femtoseconds.
,
where 1 kcal/mol = 69.479 pN Å. The pulling will be performed
at a constant velocity of 0.005 Å/timestep, equivalent to 2.5 Å/ps in
the present case where the time step is 2 femtoseconds. 
 
 
 
| SMDDir |      | 
Where  ,
,  and
 and  should be replaced by the
coordinates you calculated at the end of section 3.2.1. (In our example, 
the direction is
 should be replaced by the
coordinates you calculated at the end of section 3.2.1. (In our example, 
the direction is   ,
,  ,
,  .)
.)
 
| SMDOutputFreq 10 | 
| run 50000 |  | run 20000 | 
This is equivalent to 40 ps (and the simulation should not take more than 20 minutes).
 
All the files you need to launch your simulation are now ready. You should have a file called ubq_ww_pcv.conf in the 3-1-pullcv directory and files:
 
While your simulation is running, some files will be created (as you already learned in Unit 1). The only difference in this case is that in the output file (ubq_ww_pcv.log) you will find specific information about the SMD atom and the applied force.
Since the simulation will take some time, the analysis of the complete output will be explained in section 3.4. Thus, while you wait for the result you can set up your Constant Force simulation.
 
 
 
 
 
