Step Five: Generating Configurations
To conduct umbrella sampling, one must generate a series of configurations along a reaction coordinate, ζ. Some of these configurations will serve as the starting configurations for the umbrella sampling windows, which are run in independent simulations. The figure below illustrates these principles. The top image illustrates the pulling simulation we will run now, conducted in order to generate a series of configurations along the reaction coordinate. These configurations are extracted after the simulation is complete (dashed arrows in between the top and middle images). The middle image corresponds to the independent simulations conducted within each sampling window, with the center of mass of the free peptide restrained in that window by an umbrella biasing potential. The bottom images shows the ideal result as a histogram of configurations, with neighboring windows overlapping such that a continuous energy function can later be derived from these simulations.
For this example, the reaction coordinate is the z-axis. To generate these configurations, we must pull peptide A away from the protofibril. We will pull over the course of 500 ps of MD, saving snapshots every 1 ps. This setup has been established based on trial-and-error to obtain a reasonable distribution of configurations. In other systems, it may be necessary to save configurations more often, or sufficient to save configurations less often. The idea is to capture enough configurations along the reaction coordinate to obtain regular spacing of the umbrella sampling windows, in terms of center-of-mass distance between peptides A and B, the latter of which is our reference group.
The .mdp file for this pulling can be found here. A brief explanation of the pulling options used is as follows:
; Pull code pull = umbrella pull_geometry = distance ; simple distance increase pull_dim = N N Y pull_start = yes ; define initial COM distance > 0 pull_ngroups = 1 pull_group0 = Chain_B pull_group1 = Chain_A pull_rate1 = 0.01 ; 0.01 nm per ps = 10 nm per ns pull_k1 = 1000 ; kJ mol^-1 nm^-2
We will need to define some custom index groups for this pulling simulation. Use make_ndx:
make_ndx -f npt.gro (> indicates the make_ndx prompt) > r 1-27 > name 19 Chain_A > r 28-54 > name 20 Chain_B > q
Now, run the continuous pulling simulation:
grompp -f md_pull.mdp -c npt.gro -p topol.top -n index.ndx -t npt.cpt -o pull.tpr mdrun -s pull.tpr
Again, this procedure will take some time, so run it in parallel if you have the resources available to you. Once this simulation is complete, we will need to extract useful frames for defining the umbrella sampling windows. The easiest way I have found to do this is the following:
To extract the frames from your trajectory (traj.xtc), use trjconv (save the whole system, group 0, when prompted):
trjconv -s pull.tpr -f traj.xtc -o conf.gro -sep
A series of coordinate files (conf0.gro, conf1.gro, etc) will be produced, corresponding to each of the frames saved in the continuous pulling simulation. To iteratively call g_dist on all of these (501!) frames that were generated, I have written a Perl script that takes care of this task. It will print a file called "summary_distances.dat" that contains this information. The script can be found here. We will need to make use of the index file again, as well as a text file called "groups.txt," which will be used to select our analysis groups non-interactively. The contents of groups.txt should be:
The groups.txt file can be created with a plain text editor. Once you have this file, change the .txt file extension of distances.txt (linked above) to .pl and execute the script:
Look at the contents of summary.dat to see the progression of COM distance between chain A and chain B over time. Make note of the configurations to be used for umbrella sampling, based on the desired spacing. That is, if you want 0.2-nm spacing, you might find the following lines in summary.dat:
50 0.600 ... 100 0.800
You would then use conf50.gro and conf100.gro as the starting configurations of two adjacent umbrella sampling windows. Make note of all the configurations you wish to use before continuing. For the purposes of this tutorial, identifying configurations with 0.2-nm spacing will suffice, although in the original work a different (more detailed) spacing was used.
Bevan Lab Homepage
Virginia Tech Homepage
Virginia Tech Biochemistry
Site design copyright 2008-2012 by Justin Lemkul
Problems with the site? Send them to the Webmaster