Analysis
Initial notes
- Use Fetch to download your MDT folder from Frank
- Locate your [LastNames]MD.docx file
You should now have a large trajectory file in your $MDT/production directory named dyn00.dcd. In this session we will use VMD to
analyze this trajectory file created from our production run.
Visualization of production run
First let's visualize your production .dcd:
- Start up VMD
- Open the Tk interface
- Change to your
$MDT/model_filesdirectory - Load your original .pdb and .psf files using the commands below:
1 2 | |
- Change to your
$MDT/productiondirectory - Load your trajectory using the command below:
1
| |
Take some time and using different representations and selections, play the trajectory (the controls to play the loaded trajectory
are on the VMD Main window) and see what is going on with the water, the ions and protein. You can select the ions by using the ion keyword
in the selection or using resname POTfor potassium or resname CLA for chloride. It is often easiest to visualize the ions
if you set the Drawing Method to VDW in the Graphical Representations > Draw Style tab.
QUESTION 6: Write down a qualitative description of what you see, and if there are any interesting features of the simulation that you notice (max. 1 paragraph)
Water String Dipole
If you closely examine the string of water in the pore, you will notice that the water molecules are not randomly oriented. Instead the oxygen of one water points toward the hydrogens of the next. This directs the negatively charged oxygen in one direction with the positively charged hydrogens in the other.
QUESTION 7: Predict what happens to the orientation of the water as positively charged ion like potassium moves through the pore. When the ion is at the center of the pore, will the water above and below it be oriented in different directions?
We can quantify this orientation by measuring the net dipole of the string of waters. The following tcl script will calculate the z-component of the net dipole for each snapshot in your trajectory and write the results to a file:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
The script above outputs data into a dipole.dat file. Verify this file has been created in your production folder.
We'll visualize this dipole data using an application named Grace.
- Open a new Terminal window, type xmgrace, and hit enter
Data > Import > ASCII..- File =
$MDT/production/dipole.dat - Load As =
Single Set - Set type =
XY - Click
OKto plot the data
QUESTION 8: Does the net dipole change during the simulation? If so, does it change smoothly in time or does it make a sudden jump? Give a qualitative description of what you think is going on in this plot.
Save an .jpeg image of your plot and save it in your <LastNames>Lab14 folder:
File > Print setup..- Change Device to
JPEG - Click Browse to specify where to save it
- Add a name to the generic ".jpg" default
- Hit
ApplythenAccept - Now "print" your .jpeg file:
File > Print - (You should now see the
.jpegfile in the directory you specified)
Ion Position
The previous section shows how you can write tcl code to loop over all of the frames in the trajectory to measure the dipole moment of the water string as a function of time.
The basic steps involve:
- Opening a file to write data to:
set fout [open <filename> w] - Making an atom selection involving the atoms you want to track:
set sel [atomselect top "SELECTION"] - Getting the number of frames in the trajectory:
set nframes [molinfo top get numframes] - Writing a loop to iterate over the frames, inside of which you:
- Update the frame:
$sel frame $k - Extract some data
- Write the data to file:
puts $fout $data
- Update the frame:
- After finishing the loop, closing the file:
close $fout
Write some tcl code using the above ingredients to get the z-position of the ion that was originally placed in the middle of the channel.
You will have to define the atom selection (we did this in a previous section when we were moving the potassium into the channel), and then get its
z-position, which can be done using something like: set zpos [$sel get z]
Write down the code you wrote in the same file where you have been recording the answers to earlier questions, and also plot the data using Grace
as we did in the previous section.
HOMEWORK due before you leave for Thanksgiving (Nov 26th ):
- NOT YOUR ENTIRE folder, just your word document (with answers to questions, your "Ion Position" code, and inserted jpeg of your dipole plot) uploaded to our CompBio_2161_Drop
Addendum
If you are interested in a more detailed and careful analysis of this system, I recommend reading Energetics of ion conduction through the gramicidin channel by Allen, Andersen and Roux.