exercises:2018_uzh_acpc2:prot_fol
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
exercises:2018_uzh_acpc2:prot_fol [2018/05/18 18:15] – [Task 3: Evaluate the free energy difference] gtocci | exercises:2018_uzh_acpc2:prot_fol [2020/08/21 10:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 14: | Line 14: | ||
Download the files: {{ : | Download the files: {{ : | ||
- | in the directory | + | in the directory |
'' | '' | ||
Line 27: | Line 27: | ||
Although the image below shows the deca-alanine in water, it is expensive to run thermodynamic integration | Although the image below shows the deca-alanine in water, it is expensive to run thermodynamic integration | ||
- | for a solvated protein with many values | + | for a solvated protein with many values of the constraints on small laptops. So we will run TI for the protein in the gas-phase. |
{{ : | {{ : | ||
===== Task 2: Perform constrained MD simulations ===== | ===== Task 2: Perform constrained MD simulations ===== | ||
- | To perform thermodynamic integration one has to run MD for different values of the distance between atoms 11 and 91, in each run it will be constrained. In the original file '' | + | Here you are asked to run several |
- | We have made this process automatic. To run TI for different values of the constraint, execute | + | We have made the script '' |
<code - run_ti_jobs.sh > | <code - run_ti_jobs.sh > | ||
Line 42: | Line 42: | ||
cp deca_ala/* $d/. | cp deca_ala/* $d/. | ||
cd $d | cd $d | ||
- | sed -e "s|18.36|{d}|" md_std.inp > d_{d}.inp | + | sed -e "s|14.37|{d}|" md_std.inp > d_{d}.inp |
cp2k.sopt -i d_{d}.inp -o d_{d}.out | cp2k.sopt -i d_{d}.inp -o d_{d}.out | ||
cd .. | cd .. | ||
Line 50: | Line 50: | ||
<note tip> | <note tip> | ||
* Be careful with the values chosen for the upper and lower bound of the constraints as the simulations might crash or the SHAKE algorithm for the computation of the constraints might not converge if the values of the constrained distances are unphysical. | * Be careful with the values chosen for the upper and lower bound of the constraints as the simulations might crash or the SHAKE algorithm for the computation of the constraints might not converge if the values of the constrained distances are unphysical. | ||
- | * We have set the number of step of each constrained MD to 200000. Try to increase this number if you want to achieve better statistics or to decrease it to get the results faster, at the expense of a converged free energy. | + | * We have set the number of steps of each constrained MD to 5000. Try to increase this number if you want to achieve better statistics or to decrease it to get the results faster, at the expense of a more converged free energy. |
</ | </ | ||
Line 88: | Line 88: | ||
- | * From these files you can calculate the average Lagrange multiplier of the Shake-algorithm like this: | + | * From these files you can calculate the average Lagrange multiplier of the Shake-algorithm |
< | < | ||
- | grep Shake yourprojectname.LagrangeMultLog | awk '{c++ ; s=s+$4}END{print s/c}' | + | grep Shake yourprojectname.LagrangeMultLog | awk '{c++ ; s=s+4;sq=sq+4*$4 }END{print s/c, sqrt(sq/c - s*s/ |
</ | </ | ||
- | * The average Lagrange multiplier is the average force F(x) required to constrain the atoms at the distance x. | + | * The average Lagrange multiplier is the average force F(x) required to constrain the atoms at the distance x. First of all, plot the force F(x) with its standard error as a function of the collective variable to see if the simulation carried out so far is statistically relevant or the relative error is too large. |
- | * From these forces the free energy difference can be obtained via thermodynamic integration between the two states. Given that state a and b are the initial and the final values of the collective variable, extract the free energy difference from | + | * From the forces, the free energy difference can be obtained via thermodynamic integration between the two states. Given that state a and b are the initial and the final values of the collective variable, extract the free energy difference from |
\begin{equation} | \begin{equation} | ||
Line 107: | Line 107: | ||
* Discuss the form of the free energy profile and comment on what is the most stable state of the protein. Is it more stable when it is stretched or when it is in the α-helix conformation? | * Discuss the form of the free energy profile and comment on what is the most stable state of the protein. Is it more stable when it is stretched or when it is in the α-helix conformation? | ||
- | ** Tip 1: the most stable state will be that where the free energy is at the global minimum. | + | *__Tip 1__: the most stable state will be that where the free energy is at the global minimum. |
- | ** Tip2: In order to understand whether the result obtained from thermodynamic integration is physical or not, have a look at the '' | + | *__Tip 2__: In order to understand whether the result obtained from thermodynamic integration is physical or not, have a look at the '' |
* The two articles at the links below show how the free energy profile should look like, using thermodynamic integration or a different enhanced sampling method. Compare the free energy profile obtained from your simulations to either of those papers. Most likely, the free energy profile you obtained will not be as converged as theirs. What are some possible reasons for this, and how can one obtain better converged free energy profiles? | * The two articles at the links below show how the free energy profile should look like, using thermodynamic integration or a different enhanced sampling method. Compare the free energy profile obtained from your simulations to either of those papers. Most likely, the free energy profile you obtained will not be as converged as theirs. What are some possible reasons for this, and how can one obtain better converged free energy profiles? | ||
- | * * P | + | * __Paper 1__: [[ https:// |
- | ** Paper 1: [[ https:// | + | * __Paper 2__: [[ https:// |
- | ** Paper 2: [[ https:// | + | |
* Finally, in principle we could have performed a direct MD simulation (as we did in the past exercises) to compute the free energy profile as a function of the distance between two of the atoms at the opposite edges of the protein (the collective variable we chose for this particular problem). Instead, we chose to perform an enhanced simulation technique. Can you think of a problem we would face if we had decided to perform a direct MD simulation? What could be a possible way to overcome this problem? | * Finally, in principle we could have performed a direct MD simulation (as we did in the past exercises) to compute the free energy profile as a function of the distance between two of the atoms at the opposite edges of the protein (the collective variable we chose for this particular problem). Instead, we chose to perform an enhanced simulation technique. Can you think of a problem we would face if we had decided to perform a direct MD simulation? What could be a possible way to overcome this problem? | ||
<note tip> | <note tip> | ||
- | * We have provided you with a useful script called '' | + | * We have provided you with a useful script called '' |
+ | * In order to check the convergence of the free energy profile one should look at the error on the average force for each constrained MD simulation. The error on the free energy profile can be obtained by propagating the error on the average force upon integration. | ||
* From the file containing the average force as a function of collective variable you need to integrate F(x)dx numerically to obtain ΔA. You may use the trapezoidal rule (or equivalent) with EXCEL, ORIGIN or any scripting language. | * From the file containing the average force as a function of collective variable you need to integrate F(x)dx numerically to obtain ΔA. You may use the trapezoidal rule (or equivalent) with EXCEL, ORIGIN or any scripting language. | ||
</ | </ |
exercises/2018_uzh_acpc2/prot_fol.1526667314.txt.gz · Last modified: 2020/08/21 10:15 (external edit)