--
You received this message because you are subscribed to the Google Groups "PLUMED users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/e4418b90-3b54-4fad-bacf-0d3eb348b70d%40googlegroups.com.
Hello Adip,You can use the READ action (https://www.plumed.org/doc-v2.6/user-doc/html/_r_e_a_d.html) to read values from the COLVAR file using the driver. You should then start the driver using the "--noatoms” flag and specify the time step used using “--timestep” (so that the stride used in the plumed.dat). Just write out all the values (e.g. CVs and bias values) to another colvar file and compare to the original one to make sure everything is consistent.Regards,Omar
On 29. April 2020 at 06:59:44, Adip Jhaveri (jhave...@gmail.com) wrote:
Hello Plumed users and developers,--I have performed a metadynamics simulation using two CVs called (d1,d2) and I am trying use the reweighting method to calculate average potential energies of the system and also the FES w.r.t an unbiased CV. (I following the protocol as given in Tiwary, Pratyush, and Michele Parrinello. The Journal of Phy. Chem. (2015)). I am facing a problem regarding this.In my plumed file (used for the simulation), I did not calculate the reweights (i.e. c(t)). So I have to calculate this by using the driver tool on the trajectory. (plumed driver --mf_trr *file.trr --plumed plumed_post.dat). The problem with this is I have recorded the positions every 200 ps but the bias was deposited every 140 ps in the simulation. Therefore during post-processing if I recalculate the biases and c(t), it will not match with that of the simulation biases. Is there a way around this, perhaps using the COLVAR file (written every 20 ps) or it is best to calculate the reweighting factor by writing a script?Regards,Adip
You received this message because you are subscribed to the Google Groups "PLUMED users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed...@googlegroups.com.
Hello Adip,You can use the READ action (https://www.plumed.org/doc-v2.6/user-doc/html/_r_e_a_d.html) to read values from the COLVAR file using the driver. You should then start the driver using the "--noatoms” flag and specify the time step used using “--timestep” (so that the stride used in the plumed.dat). Just write out all the values (e.g. CVs and bias values) to another colvar file and compare to the original one to make sure everything is consistent.Regards,Omar
On 29. April 2020 at 06:59:44, Adip Jhaveri (jhave...@gmail.com) wrote:
Hello Plumed users and developers,--I have performed a metadynamics simulation using two CVs called (d1,d2) and I am trying use the reweighting method to calculate average potential energies of the system and also the FES w.r.t an unbiased CV. (I following the protocol as given in Tiwary, Pratyush, and Michele Parrinello. The Journal of Phy. Chem. (2015)). I am facing a problem regarding this.In my plumed file (used for the simulation), I did not calculate the reweights (i.e. c(t)). So I have to calculate this by using the driver tool on the trajectory. (plumed driver --mf_trr *file.trr --plumed plumed_post.dat). The problem with this is I have recorded the positions every 200 ps but the bias was deposited every 140 ps in the simulation. Therefore during post-processing if I recalculate the biases and c(t), it will not match with that of the simulation biases. Is there a way around this, perhaps using the COLVAR file (written every 20 ps) or it is best to calculate the reweighting factor by writing a script?Regards,Adip
You received this message because you are subscribed to the Google Groups "PLUMED users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed...@googlegroups.com.

--
To unsubscribe from this group and stop receiving emails from it, send an email to plumed-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/2f8026b0-8358-4f5b-92d4-dfc634cb4601n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "PLUMED users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/plumed-users/maD46ZOfss4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to plumed-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/7938859c-7e4e-4eae-909b-4153dba184bcn%40googlegroups.com.


To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/CAL%3DUV%2B9GFpmAkFdu_XU5-WhLRbiGw-Z0f1dXgyavK_gT3LNxJg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/CAMHp%2Bz3cYOkgbNhW0%2BTacPGJ8ya8PqruOujDCo35hLQ9V2Np8Q%40mail.gmail.com.

Hello everybody, thanks for the help!Federica, thanks for the solution. This solves the infinity problem for me. Although I do have a little doubt regarding the code. For the non-tempered case (biasf_ = -1), the minusBetaF is set to 1 and Z_0 is then calculated. But the kbt_ factor is not multiplied before taking the exponential. Am I missing something?Pratyush,While calculating the c(t) you have suggested to use the following expression -
I was wondering how c(t) would change if I use the expression given in https://pubs.acs.org/doi/full/10.1021/jp504920s - (for non-tempered case)
Regards,Adip
To unsubscribe from this group and all its topics, send an email to plumed-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/7938859c-7e4e-4eae-909b-4153dba184bcn%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "PLUMED users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed-users+unsubscribe@googlegroups.com.

--
Adip
To unsubscribe from this group and all its topics, send an email to plumed-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/7938859c-7e4e-4eae-909b-4153dba184bcn%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "PLUMED users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/CAL%3DUV%2B9GFpmAkFdu_XU5-WhLRbiGw-Z0f1dXgyavK_gT3LNxJg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "PLUMED users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/72204eb6-1fee-4952-8cc0-8736915b855co%40googlegroups.com.
Hi AdipWithin noise they should all give same answer (if not, woohoo, you have a bug or simulation is really not converged! so, different expressions in principle are good for basic debugging)Otherwise the formula to use is in this review what is marked as eq 22Hope that helpsPratyush--
Pratyush TiwaryAssistant Professor, Department of Chemistry and Biochemistry & Institute for Physical Science and TechnologyUniversity of Maryland, College Park, MD 20742
Adip
To unsubscribe from this group and all its topics, send an email to plumed...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/7938859c-7e4e-4eae-909b-4153dba184bcn%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "PLUMED users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/CAL%3DUV%2B9GFpmAkFdu_XU5-WhLRbiGw-Z0f1dXgyavK_gT3LNxJg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "PLUMED users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plumed...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/72204eb6-1fee-4952-8cc0-8736915b855co%40googlegroups.com.
Pratyush
--
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/c4c9a5c0-8a82-4954-9a50-4152bacc2989o%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plumed-users/d9bc063e-b192-4b6a-ab83-513dae752606n%40googlegroups.com.