Hi folks!
Acoording to the changelog the reweighting algorithm of P. Tiwary and M. Parrinello.(JPC B, 119(3):736–742) has been implemented in the PLUMED since the version 2.2. However, the proper usage seems to have changed in the version 2.3.
Namely, in PLUMED 2.3 one has to specify the reweighting grid and frequency in the relevant metadynamics action (options REWEIGHTING_NGRID= and REWEIGHTING_NHILLS=, respectively), then declare the corresponding reweighted metadynamics bias using the REWEIGHT_METAD action, and, finally, use the latter as an argument of the LOGWEIGHTS option in the HISTOGRAM action. It is also stressed that it is crucial to use this dynamically updated reweighted bias and not the static one from the REWEIGHT_BIAS action.
In other words, if one wishes to get a 2D free-energy map as a functions of 2 CVS having performed the metadynamics only using CV1 the key commands would be:
METAD ...
ARG=CV1
... # metadynamics relevant options
REWEIGHTING_NGRID=100 # GE than the original number of grids of this CV
REWEIGHTING_NHILLS=50
... METAD
mdbias: REWEIGHT_METAD TEMP=300
HISTOGRAM ...
ARG=CV1,CV2
LOGWEIGHTS=mdbias
... # histogram relevant options
... HISTOGRAM
And finally use the CONVERT_TO_FES utility.
Conversely, in PLUMED 2.2 there is no REWEIGHT_METAD action, only the REWEIGHT_BIAS option of the HISTOGRAM action, which takes all the available biases into account for the reweighting. If one wishes to perform the same task, the relevant commands would be
METAD ...
ARG=CV1
... # metadynamics relevant options
REWEIGHTING_NGRID=100 # GE than the original number of grids of this CV
REWEIGHTING_NHILLS=50
... METAD
HISTOGRAM ...
ARG=CV1,CV2
REWEIGHT_BIAS
FREE-ENERGY
TEMP=300
... # histogram relevant options
... HISTOGRAM
I have two questions here:
1. Does it mean that the version 2.2 implementation of the cited reweighting algorithm is not correct as it takes the static (not dynamically reweighted) metadynamics bias and potentially other biases, e.g., from restraints?
2. What kind of reweighting is done in version 2.2 if one uses the REWEIGHT_BIAS option in the HISTOGRAM action, but does not specify the REWEIGHTING_NGRID and REWEIGHTING_NHILLS options in the METAD action? Is it the one from Bonomi, Barducci, and Parinello (J. Comp. Chem., 30(11),:1615-1621?
Cheers,
Bogdan