Team:EPF-Lausanne/Analysis
From 2009.igem.org
(→Maxwell-Boltzmann Energy Distribution) |
(→Maxwell-Boltzmann Energy Distribution) |
||
Line 53: | Line 53: | ||
=== Maxwell-Boltzmann Energy Distribution === | === Maxwell-Boltzmann Energy Distribution === | ||
- | Here we will confirm that the kinetic energy distribution of the atoms in a system corresponds to the | + | Here we will confirm that the kinetic energy distribution of the atoms in a system corresponds to the Maxwell distribution for a given temperature. |
'''1.''' In VMD, load the ''.psf file''. Browse for the restart velocity file (in our case, it was ''2v0w_hydr_wb_i_eq.restart.vel''), the type of file need this time to be selected. In the Determine file type: pull-down menu, choose NAMD Binary Coordinates, and load again. | '''1.''' In VMD, load the ''.psf file''. Browse for the restart velocity file (in our case, it was ''2v0w_hydr_wb_i_eq.restart.vel''), the type of file need this time to be selected. In the Determine file type: pull-down menu, choose NAMD Binary Coordinates, and load again. | ||
Line 74: | Line 74: | ||
All these steps can be avoided by typing in the Terminal Window: | All these steps can be avoided by typing in the Terminal Window: | ||
: vmd -dispdev text -e get energy.tcl | : vmd -dispdev text -e get energy.tcl | ||
+ | |||
+ | |||
+ | We now have a file of raw data that can be used to fit the obtained energy distribution to the Maxwell-Boltzmann distribution. The temperature of the distribution can be obtained from that fit. | ||
</div><div CLASS="epfl09bouchon"></div> | </div><div CLASS="epfl09bouchon"></div> |
Revision as of 12:34, 28 July 2009
Equilibrium
RMSD for individual residues
We aim at finding the average RMSD over time for each residue in the protein using VMD.
1. We load the .psf and .dcd files obtained after the first round of simulation.
2. In the TkCon window type:
- source residue_rmsd.tcl
- set sel_resid [[atomselect top "protein and alpha"] get resid]
This will get all the residues number of all alpha-carbons in the protein. Since there is just one and only one α-carbon per residue, it is a good option.
3. Now we will calculate the RMSD values of all atoms in the newly created selection:
- rmsd residue over time top $sel resid
At the end of the calculation, we have a list of the avergae RMSD per residue (in the file residue_rmsd.dat)
4. In VMD, in Graphics → Representations, do the following actions:
- create two replicates: protein and resname FMN in selected atoms
- for the FMN, choose CPK as a drawing method
- for the protein, choose tube as drawing method, and user as coloring method. Now click on the Trajectory tab, and in the Color Scale Data Range, type 0.40 and 1.00.
The protein is colored according to its average RMSD values. The residues displayed in blue are more mobile while the ones in red move less.
Here is a movie with the protein colored according to average RMSD values.
5. Now we can plot the RMSD value per residue by typing in a Terminal window :
- xmgrace residue rmsd.dat
We obtain the following picture:
Maxwell-Boltzmann Energy Distribution
Here we will confirm that the kinetic energy distribution of the atoms in a system corresponds to the Maxwell distribution for a given temperature.
1. In VMD, load the .psf file. Browse for the restart velocity file (in our case, it was 2v0w_hydr_wb_i_eq.restart.vel), the type of file need this time to be selected. In the Determine file type: pull-down menu, choose NAMD Binary Coordinates, and load again.
The molecule looks terrible! That is because VMD is reading the velocities as if they were coordinates, but how it looks doesn't matter: we just need VMD to make a file containing the masses and velocities for every atom.
2. We create a selection with all the atoms in the system, by typing in the TkCon window:
- set all [atomselect top all]
Open a file energy.dat for writing:
- set fil [open energy.dat w]
3. For each atom in the system, calculate the kinetic energy, and write it to a file
- foreach m [$all get mass] v [$all get {x y z}] {
- puts $fil [expr 0.5 * $m * [vecdot $v $v] ]
- }
Close the file:
- close $fil
All these steps can be avoided by typing in the Terminal Window:
- vmd -dispdev text -e get energy.tcl
We now have a file of raw data that can be used to fit the obtained energy distribution to the Maxwell-Boltzmann distribution. The temperature of the distribution can be obtained from that fit.