Enrico Trizio, Peilin Kang and Michele Parrinello
The training of the models was based on the mlcolvar library, where the updated relevant code and updated example notebooks are available:
The results of the paper were obtained using the 1.2.2 version of the library.
The code for the application of the Kolmogorov bias in PLUMED is available in the file pytorch_model_bias.cpp
The contents of the repository are organized as follows:
In the main text, data from iter_2_long, iter_2_long_opes_only are reported
- unbiased_sims: input files (
md_input,md_potentialandplumed.dat) and results (COLVAR) of the unbiased simulations used in the boundary conditions labeled dataset (AandBfolders, respectively) - biased_sims: biased simulations inputs and results from different iterations
- generate_and_run_sims.sh: bash script to set up and run simulations for a given iteration with plumed
ves_md_linearexpansionstarting from a template folder (see below) - template: template folder for biased simulations, including the input files for starting simulations from A and B basins (
input_md_A.dat,input_md_B.dat,input_md-potential.dat,plumed.dat) - iter_*: input files (
input_md_A.dat,input_md_B.dat,input_md-potential.dat,plumed.dat) and results (A/COLVARandB/COLVAR) obtained from simulations at different iterations of the procedure.COLVARfiles have been used to incrementally build the variational loss dataset. - iter_2_long*: input files (
input_md_A.dat,input_md_B.dat,input_md-potential.dat,plumed.dat) and results (A/COLVARandB/COLVAR) obtained from longer production simulations at the end of the iterative procedure.COLVARfiles have been used to obtain the results reported in the main text.
- generate_and_run_sims.sh: bash script to set up and run simulations for a given iteration with plumed
- models: frozen torchscript models for committor (
model_*_q.ptfiles) and for z (model_*_z.ptfiles) for the different iterations
In the main text, data from iter_4, iter_4_opes_only and ref_phi_psi are reported.
- unbiased_sims: unbiased simulations data used in the boundary conditions labeled dataset (
COLVAR_AandCOLVAR_Bfiles) - biased_sims: biased simulations inputs and results from different iterations
- generate_and_run_sims.sh: bash script to set up and run simulations for a given iteration with
Gromacsstarting from a template folder (see below) - template: template folder for biased simulations, including the input files for starting simulations from A and B basins (
input_A.tpr,input_B.tpr,plumed.dat) - iter_*: input files (
input_A.tpr,input_B.tpr,plumed.dat) and results (A/COLVARandB/COLVAR) obtained from simulations at different iterations of the procedure.COLVARfiles have been used to incrementally build the variational loss dataset. - ref_phi_psi: files for reference OPES simulation using Phi and Psi as CVs
- generate_and_run_sims.sh: bash script to set up and run simulations for a given iteration with
- models: frozen torchscript models for committor (
model_*_q.ptfiles) and for z (model_*_z.ptfiles) for the different iterations
In the main text, data from iter_2 are reported
- unbiased_sims: input files (
input_md.dat,input_md-potential.datandplumed.dat) and results (COLVAR) of the unbiased simulations used in the boundary conditions labeled dataset (AandBfolders, respectively) - biased_sims: biased simulations inputs and results from different iterations
- generate_and_run_sims.sh: bash script to set up and run simulations for a given iteration with plumed
ves_md_linearexpansionstarting from a template folder (see below) - template: template folder for biased simulations, including the input files for starting simulations from A and B basins (
input_md_A.dat,input_md_B.dat,input_md-potential.dat,plumed.dat) - iter_*: input files (
input_md_A.dat,input_md_B.dat,input_md-potential.dat,plumed.dat) and results (A/COLVARandB/COLVAR) obtained from simulations at different iterations of the procedure.COLVARfiles have been used to incrementally build the variational loss dataset.
- generate_and_run_sims.sh: bash script to set up and run simulations for a given iteration with plumed
- models: frozen torchscript models for committor (
model_*_q.ptfiles) and for z (model_*_z.ptfiles) for the different iterations
Training data are too large for Github, they will be available in the Zenodo repo associated with the published paper.
- models: frozen torchscript models for committor (
model_*.pt,model_*.parafiles) and for z (model_*_zeta.ptfiles) for the different iterations - sims/template: template folder for biased and unbiased simulations, including files for starting simulations from folded and unfolded states (
folded.gro,unfolded.gro,mdT.mdp,topol.top), PLUMED input files (plumed.dat,plumed-descriptors.dat,plumed_position.dat) and the additional PLUMED files (chignolin-ref.pdbfor molinfo andchignolin-ca.pdbfor RMSD calculation) - models: frozen torchscript models for committor (
model_iter*_q.pt,model_iter*.parafiles) and for z (model_iter*_z.ptfiles) for the different iterations - sims/template: template folder for biased and unbiased simulations, including files for starting simulations from bound and unbound states (
b.gro,u.gro,NVT.mdp,topol.top), PLUMED input files for unbiased and biased simulations (plumed.dat,plumed_biased.dat) and the additional PLUMED files (conf_template.pdbfor alignment andTEST_positions.cppfor printing only atoms within the water coordination points neighborlist)
- models: frozen torchscript models for committor (
model_*.pt,model_*.parafiles) and for z (model_*_zeta.ptfiles) for the different iterations - sims/template: template folder for biased and unbiased simulations, including files for starting simulations from bound and unbound states (
b.gro,u.gro,NVT.mdp,topol.top), PLUMED input files for unbiased and biased simulations (plumed.dat,plumed_biased.dat) and the additional PLUMED files (conf_template.pdbfor alignment andTEST_positions.cppfor printing only atoms within the water coordination points neighborlist)