Model Building
Some initial notes
- Throughout the tutorial, terminal refers to the application in
/Applications/Utilities
. - The Tk Console is a terminal-like window that you can access in
VMD
via the drop down menuExtensions
in theVMD Main
window. - The VMD
atomselect
command requires that you either specify amolid
ortop
(e.g.atomselect top "SELECTION"
oratomselect 3 "SELECTION"
). If you are usingtop
as is used below, make sure that theT
appears next to the correct model. - Anytime you use the
atomselect
command in the Tk Console, it is recommended to create a new representation using theCreate Rep
button in Representations window of VMD, and enter the SELECTION in the Selected Atoms field to visualize the subset of atoms to make sure it is selecting what you think it should be.
Download files
Begin by downloading the archive of files from lab github repository, which can be found at: https://github.com/synapticarbors/BioSci1540/zipball/master
Move the .zip
archive from where it was downloaded (most likely the Downloads directory) to a new folder that you will use for
the remainder of the labs. Preferably, this will be in a location that is backed-up to the class server so that you can access it
on other machines in the lab. Once you have moved the archive, which will be named something like synapticarbors-BioSci1540-XXXXX.zip
,
you can extract the files by either double-clicking on it and then rename the folder md_tutorial
, or opening a terminal window and running the following commands:
1 2 3 |
|
Be sure to replace the XXXXX
in synapticarbors-BioSci1540-XXXXX
by whatever the names of the files are for your specific case.
For the rest of the lab, the path to the md_tutorial
directory will be written in shorthand as $MDT
.
Construct initial model for gramicidin in membrane and solvent
If we were setting up a system entirely from scratch, we would likely begin with a set of coordinates from the Protein Data Bank. The experimental structure might be missing the coordinates for a subset of the residues, and would be lacking solvent and lipids and probably would not contain the positions of any hydrogens in the protein. Due to the time constraints of the lab, you will begin with a system in which gramicidin has already been embedded in a DMPC lipid bilayer with water and ions, although hydrogen atoms have not been added yet. Take a moment to look at the page for 1JNO structure of Gramicidin A on the PDB website, whose coordinates provide the initial structure of the protein. http://www.pdb.org/pdb/explore/explore.do?structureId=1JNO
QUESTION 1: What method was used to determine the structure of 1JNO?
Create topology file and add hydrogens
While the .pdb
file tells NAMD
the initial coordinates to begin the simulation with, we also need to provide it with a topology
file that tells it which atoms are bonded, which are connected via an angle spring, etc. The topology file carries a .psf
extension and
can be created using the psfgen
tool that comes with VMD. This tool can also be used to add hydrogen atoms to the system.
In the Tk Console
, first change directories to $MDT
and then load the starting coordinates:
1 2 |
|
Take a moment to look at the structure, change the representation to highlight the protein, lipid, water, and ions.
The first thing we have to is split the structure into segments and create a new .pdb
file for each.
We will use the VMD command atomselect
to select a subset of atoms and then write that subset to a .pdb
file
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
Now load psfgen
1 2 |
|
Load the topology file that shows how the atoms in different residues and groups should be built, and define some aliases:
1 2 3 4 5 |
|
Define the segments:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
|
Load in the coordinates from the .pdb
files we previously created:
1 2 3 4 5 6 |
|
Guess the coordinates of any atoms specified by the topology file, but missing in the coordinate files (e.g. hydrogen atoms):
1
|
|
and finally write out the new coordinates and topology file:
1 2 |
|
Now load the new model into VMD to visualize it and make sure everything looks good:
1 2 |
|
QUESTION 2: Did psfgen do a good job of selecting the positions of the hydrogen atoms for the water? Why or why not? (HINT: It may be easier to visualize the water if it is shown in the VDW representation).
Place a potassium atom in the channel
In order to investigate the behavior of a potassium ion (K+) in the channel, each group in the lab will place an ion at a different position in the channel. We will do so by swapping one of the K+ atoms in the bulk solvent for a water molecule in the channel.
First determine the extent of the protein by selecting the backbone atoms and then measure their minimum and maximum values along the z-direction:
1 2 |
|
This will produce the minimimum and maximum values of the positions in x,y,z as two lists {xmin,ymin,zmin}
and {xmax,ymax,zmax}
.
Use the zmin
and zmax
values to create a new representation in the Graphical Representations
window showing just the water molecules
in the channel. First try the selection water and z > zmin and z < zmax
, where zmin
and zmax
have been replaced with the actual
values from the last step. You should see that there are several water molecules that lay outside of the channel. To focus on the water in the
channel, take a look at the description of the same
and within
keywords
in the VMD manual, and modify selection to show only the water molecules close to the long axis of the channel.
QUESTION 3: Record your final atomselection.
There should be nine water molecules that are in the channel in a single file line along the z-axis. Each group will be assigned a different water molecule
to swap with a K+ ion, so that we can analyze the stability of K+ in the channel at different positions. After you have been assigned a water molecule,
determine its resid
by pressing 1
and then use the mouse to select and label the oxygen atom of the water molecule. Open up the Graphics > Labels
window
to see more information about the selected atom and use the ResID
to then make selection in the Tk Console:
1 2 |
|
Now determine the center-of-mass position of the water and K+ ion:
1 2 |
|
Then determine the vector between them:
1
|
|
and swap their positions:
1 2 |
|
If everything looks correct, then save a new pdb file that contains the coordinates with the K+ in the channel:
1 2 |
|
Since the topology has not changed, we can continue to use the .psf
file we created in the previous step.
Create restraint files
The final step is to create a file that restrains the positions of the protein and K+ ion in the channel during the minization and heating of
the system, so that these steps do not artifically perturb them. This file is just a .pdb
file in which we use the column that specifies the
beta factor to indicate which atoms are restrained. First delete all of the molecules that have been previously loaded into VMD and then:
1 2 3 4 5 6 7 8 9 10 |
|
Now take a look at your system using a representation where the Coloring Method
has been set to Beta
. You should see the atoms that you have
selected to restrain in one color and all of the other atoms in another. If this looks correct save the file:
1
|
|
We will also create a restraint file to use during our production run, which will apply a weak restraint to the CA atoms in gramicidin’s backbone. This is meant to keep the protein from diffusing in the plane of the membrane. This will make our analysis easier since we will not have to correct for the periodic boundary condition if one of the monomers cross the boundary when the other has not. The weak restraint should have minimimal effect on our results, although this strategy is not commonly used in research (we are only doing this for the purposes of this lab).
Again using the structure from gramicidin_final_model.pdb
, we will reset the beta
values and select a different set of atoms:
1 2 3 4 5 6 7 |
|
We are now ready to move onto Minimization and Equilibration.