Energy minimization and Equilibration
-
Files needed:
step3_input.gro,topol.top,index.ndxandtopparfolder. Rename the .gro file tosystem.gro -
Find
em.mdp,equil.mdpandprod.mdpin folder:\Open-Close MD\New_exp\Umbrella_sampling - Run Minimization:
mkdir EM cd EM gmx grompp -f ../em.mdp -o em.tpr -c ../system.gro -r ../system.gro -p ../topol.top -n ../index.ndx -maxwarn 1 gmx mdrun -v -deffnm em -ntmpi 1 -ntomp 16 -nb gpu -gpu_id 0 -pin on cd .. - Run Equilibration:
mkdir EQUIL cd EQUIL gmx grompp -f ../equil.mdp -o equil.tpr -c ../EM/em.gro -r ../system.gro -p ../topol.top -n ../index.ndx -maxwarn 1 gmx mdrun -v -deffnm equil -ntmpi 1 -ntomp 16 -pme gpu -gpu_id 0 -pin on cd .. - Prepare index groups [Difficult]
gmx trjconv -f EQUIL/equil.gro -n index.ndx -o findcenter.pdb -s EQUIL/equil.tpr gmx make_ndx -f EQUIL/equil.gro -n index-temp.ndx -o index-temp.ndxIt is really important to check the
prep_struc.xlsxfile to find the group we want to create. For example, if we want to create GroupAngle_RBD, the alpha carbon of residue from 335 to 514 is included. So the command is: (before you try, finish reading this part 5)gmx make_ndx -f EQUIL/equil.gro -o index-temp.ndx > r 335-514 & a CA [Select alpha carbon of residue from 335 to 514] > q [save and quit]Then, you can rename the Group name in the
index-temp.ndxfile. If you want to continue to add new GroupAngle_CTD_Hinge, the command is:gmx make_ndx -f EQUIL/equil.gro -n index-temp.ndx -o index-temp.ndx > r 321-324 | r 535-582 & a CA > qHowever, the residue ID scheme listed in
prep_struc.xlsxis still WH scheme. Remember that in Glycosylation part, due to the deletions, the ID scheme changed. Same in this part, you need to create the new ID scheme for each group. Finally, copy all the new groups inindex-temp.ndxand paste them underindex.ndx. - Find each group’s center: When the
index.ndxis prepared, export each group in PDB format so that we can get the center of each group.gmx trjconv -f EQUIL/equil.gro -n index.ndx -s EQUIL/equil.tpr -o protein_Angle_RBD.pdb > [select the ID of Angle_RBD]Open the
protein_Angle_RBD.pdbwith Pymol and run\Open-Close MD\New_exp\COM.pyin Pymol: File –> Run Script… Then in Pymol’s terminal:com allThis command will generate a new sphere. Find the nearest atom of the new sphere, which is considered as the center atom of this group. Use sequence viewer to find which residue the center atom belong to and find this atom in
EQUIL/equil.grofile. Get the atom ID. Then inprod.mdpfile: (only two groups)pull-group1-pbcatom = 6172 ; Center atom of Angle_RBD pull-group2-pbcatom = 8924 ; Center atom of Angle_CTD_Hinge