The REPF optimization parameters are based on the PLUMED plugin. Please ensure that you provide the corresponding files. Analysis is performed by providing the appropriate plumed input file (plumed.dat) and the corresponding plumed output data (Colvar).
The following is a detailed explanation of the relevant files for optimizing the restrained degrees of freedom in REPF:
- Preparation of Input Files
By default, the plumed input file is plumed.dat. The following is an example and explanation of the plumed.dat file.
r_0: DISTANCE ATOMS=3358,660
thetaA_0: ANGLE ATOMS=3358,660,667
thetaB_0: ANGLE ATOMS=3357,3358,660
phiA_0: TORSION ATOMS=669,667,660,3358
phiB_0: TORSION ATOMS=667,660,3358,3357
phiC_0: TORSION ATOMS=660,3358,3357,3355
PRINT ARG=r_0,thetaA_0,thetaB_0,phiA_0,phiB_0,phiC_0, FILE=Colvar STRIDE=100
FLUSH STRIDE=100
This file contains the indices of the atoms involved in forming the six restrained degrees of freedom for the system, including one distance(r_0), two angles(thetaA_0, thetaB_0), and three dihedral angles(phiA_0,phiB_0,phiC_0).The output file is ColvarThe plumed output file is Colvar. This file contains numerical records of the distances, angles, and dihedral parameters of the restraint atoms.
- Output of the Restrained Scheme
After optimization, a file named res_databystd.csv will be generated.- The following is an example and explanation of the res_databystd.csv file:
,"restraint_atom[lig1, lig2, lig3, rec1, rec2, rec3](start from 1)","rec_atoms[rec3, rec2, rec1](start from 0)","lig_atoms[lig1, lig2, lig3](start from 0)",distance between lig1 and rec1(unit: Angstrom),angle between lig1 rec1 and rec2(unit:radian),angle between lig2 lig1 and rec1(unit:radian),dihedral between lig1 rec1 rec2 and rec3(unit:radian),dihedral between lig2 lig1 rec1 and rec2(unit:radian),dihedral between lig3 lig2 lig1 and rec1(unit:radian),cal_ene(unit:kcal/mol),cost function value
0,"[3358, 3357, 3355, 660, 667, 669]","[668, 666, 659]","[3357, 3356, 3354]",5.797172466666666,1.9593565942666669,0.9378565543999999,-2.219771983066668,2.8428033988810277,0.5921863020000004,0.3583226812216338,0.014669222749200333
It includes three restraint atoms from the ligand (lig1, lig2, lig3) and three restraint atoms from the complex system (rec3, rec2, rec1), as well as the values of the six restrained degrees of freedom.- Create conda environment
conda create --name openmm-plumed
conda activate openmm-plumed
conda install openmm cudatoolkit=11.0 -c conda-forge
conda install openmmtools plumed openmm-plumed tqdm -c conda-forge- Additional required package
pip install numpy==1.22.4
pip install pandas==1.4.4
pip install matplotlib==3.6.0
- It was shown in detail in the REPF_Parameters-Optimization.ipynb