Wiki
Clone wikilj-fit.pc-mtp / Extract sets close to experimental data from fragments
:::bash ~/$DIR/src/liquid.sims/print.close.to.exp.fragments.sh file.par E.comb.dat dimer.ljf
:::text file.par: CHARMM-compatible parameter file E.comb.dat: ab-initio and force-field energies dimer.ljf: geometrical information of ab-initio snapshots
- density.exp
- vapor.exp
where the two files contain only the target experimental values, e.g., a target density of 0.878 would yield a density.exp
file:
:::text 0.878
The script only works with up to two optimized atom types.
Output example
:::text Looking for parameter sets with: 1.3904 < rho < 1.5996 9.9045 < delH < 11.3955 -0.4200 2.1000 11.2454 1.5399 RMSE: 0.5206 kcal/mol Within 35% of best RMSE: -0.3600 2.1000 10.7199 1.5300 RMSE: 0.5235 kcal/mol; Error on RMSE: -0.0055; Relative error on experimental data: 0.0243 -0.3800 2.1000 10.9502 1.5389 RMSE: 0.5223 kcal/mol; Error on RMSE: -0.0032; Relative error on experimental data: 0.0406 -0.4000 2.1000 11.1332 1.5435 RMSE: 0.5213 kcal/mol; Error on RMSE: -0.0013; Relative error on experimental data: 0.0557 -0.4200 2.1000 11.2454 1.5399 RMSE: 0.5206 kcal/mol; Error on RMSE: 0.0000; Relative error on experimental data: 0.0634 Best paramters: -0.3600 2.1000 10.7199 1.5300 RMSE: 0.5235 kcal/mol Density: 1.5300 g/mol Heat of vapor.: 10.7199 kcal/mol
:::text -0.4200 2.1000 11.2454 1.5399
Finally, the best parameter is identified as the one with the smallest deviation from experiment. Note, however, that stochastic errors of the simulations and measurement errors of the experimental data may thwart this analysis. In this case, we recommend the user to consider different sets and validate them with another observable (e.g., free energy of hydration).
Updated