Question
Asked 7th Dec, 2021

Steered MD pulling in Gromacs ?

Dear all
I have few confusions about the pulling code in gromacs, I was using NAMD before and the method was quite straighforward in NAMD to pull the ligand out of the protein, in gromacs it is also straight forward but I need to clear few things
1. In NAMD one can define the pulling direction by using SMDDir in the input file. Difference between the COM distance of SMD atom and fixed atom gives the pulling direction, SMD atoms are usually the heavy atoms of the ligand whereas the CA backbone of the protein is kept fixed. This difference between the COM distances of both tells the pulling direction of the ligand in NAMD in case one does not know the pulling direction of the ligand. Is pull-coord1-vec is same as NAMD SMDDir ? And in NAMD you define the SMD atoms and fixed atoms, here in Gromacs I am confused how it defines the fixed atoms or reference atom which is protein from where ligand has to be pulled out?
I followed the umbrella sampling tutorial in Gromacs
2. Secondly I did few tests regrading pulling out the ligand from the protein using the pull code as below, this is just a test code to understand things thats why applied quite fast velocity.
; Pull code
pull = yes
pull_ncoords = 1 ; only one reaction coordinate
pull_ngroups = 2 ; two groups defining one reaction coordinate
pull_group1_name = Ligand
pull_group2_name = Protein
pull_coord1_type = umbrella ; harmonic potential
pull_coord1_geometry = distance ;
pull-coord1-vec = -0.49 -0.85 0.16 ;
; pull-coord1-origin = 53.12 52.96 53.066
pull_coord1_dim = Y Y Y ;
pull_coord1_groups = 1 2 ;
pull-pbc-ref-prev-step-com = YES
pull-group1-pbcatom = 0
;pull-group2-pbcatom = 0
pull_coord1_start = yes ; define initial COM distance > 0
pull_coord1_rate = 0.01 ; 0.0004 nm per ps
pull_coord1_k = 600 ; kJ mol^-1 nm^-2
I changed one parameter of the pulling code every time to see whether there is any affect on the pulling but by visualizing the trajectories I didn't see any difference, the ligand is still coming out even if I switch off pull-coord1-vec, pull_coord1_dim together. Also with these feature if I changed distance to direction still the ligand comes out.
Secondly if I just keep pull_coord1_dim Y Y Y in all three dimensions it still takes the ligand out of the protein in almost similair direction as given by pull-coord1-vec, if I dont give pull-coord1 vec and only give pull coord1 dim Y Y Y will my ligand be pulled in a random direction?
Also What is pull-coord1-origin? is it the origin of the box?
Anyone kindly let me know what changes should I make in the above given code where I just want my ligand to come out of the protein in a random pulling direction or by the method of NAMD SMDDir?
I am mostly interested in the pulling forces required to pull the ligand, so what should be the pulling code input in gromacs for that?
Thank you in advance, your answer will help me in understanding the pulling code and applying it to my work!!

All Answers (2)

Matthias Post
Max Planck Institute of Biophysics
Dear Mr./Ms. Md Simulation, ;)
Maybe you already answered your questions yourself in the last week, but in case you didn't:
I never used NAMD, so my understanding is just based on the user guide (v.2.9). If I don't miss any hidden functionalities, its SMD code only pulls towards a given, constant vector (SMDDir). The way you are using the gromacs pull code, however, you are pulling along the distance vector of your two reference groups (Protein,Ligand).
This is because you are using "pull_coord1_geometry = distance". With that, the parameters "pull-coord1-vec" and "pull-coord1-origin" are not used. That's why nothing is changing if you comment them out. "pull_coord1_dim = YYY" per default, so there nothing changes as well.
To do the same as in NAMD, you have to choose "direction" as your geometry (Again, if it is actually possible to use the distance vector of two groups in NAMD, please correct me). Then, "pull-coord1-vec" and "pull-coord1-origin" have meaning, which is the origin of the box if set to 0 0 0 (default).
Currently, your simulation starts at the initial structure and then increases the COM distance of Protein and Ligand over time. That is, while their distance is fixed via your restraint, their total COM still moves freely inside the box. To answer your last question, on what way to pull out the ligand, i guess it depends on what you want to investigate. Personally, using "distance" is way more intuitive for me in order to estimate the free energy profile as a function of P-L distance. It also can have its problems, e.g., if the two groups are very close together, finding the right way to go.
Farzane Jalalypour
KTH Royal Institute of Technology
You can always ask your GROMACS-related questions (only) on the GROMACS forum :

Similar questions and discussions

COM pulling on gromacs?
Question
10 answers
  • Ilan ShumilinIlan Shumilin
Dear all,
I am looking for a way to restrain the center of mass (COM) of two different molecules bathed in water, using GROMACS 2018. The only thing close I found on gromacs that does this is the pull module embedded in the mdp files. I want to clarify that I want to restrain each molecules (COM) to a different and specific coordinate in my simulated box. Indeed the pull module has an option - pull-coord1-geometry = direction, where I can set the origin (pull-coord1-origin= 0 0 0, for example) and a vector directing the movement of the COM (pull-coord1-vec= 1 1 1) with time (pull-coord1-rate = 0.01nm/ps). However I don’t want my COM to move in time, I want it stationary in a specific coordinate throughout my entire simulation time. I see that I can set a parameter - pull-coord1-start = no - so that it doesn’t start moving towards my vector and stays in what I labeled “origin”.
With all that said, when running my simulations, it looks like my specification in the mdp file lead to no restraints, and it looks like my molecules defuse freely without an energetic bias towards my specified origin coordinate. Here are my mdp settings:
pull = yes pull-ngroups = 2 pull-group1-name = NAH pull-group2-name = RAT
pull-ncoords = 2
pull-coord1-type = umbrella pull-coord1-geometry = direction pull-coord1-groups = 0 1 pull-coord1-dim = Y Y Y pull-coord1-origin = 3.75 2.5 2.5 pull-coord1-vec = 1.0 1.0 1.0 pull-coord1-k = 10000.0 pull-coord1-rate = 0.0 pull-coord1-init = 0 pull-coord1-start = no
pull-coord2-type = umbrella pull-coord2-geometry = direction pull-coord2-groups = 0 2 pull-coord2-dim = Y Y Y pull-coord2-origin = 3.75 2.5 2.5 pull-coord2-vec = 1.0 1.0 1.0 pull-coord2-k = 10000.0 pull-coord2-rate = 0.0 pull-coord2-init = 0 pull-coord2-start = no
where pull-coord2-init = 0 is supposedly irrelevant to the “direction” type of pulling.
If anybody has any experience with this pulling direction technique and might point me to where my settings are wrong, Id be extremely thankful.
Best to all, Ilan Shumilin
Can anyone help me with my problems pulling a molecule across the lipid bilayer in a steered MD simulation in GROMACS?
Question
9 answers
  • Mahender SinghMahender Singh
I am using following pull code in the steered md simulation in gromacs for pulling a molecule across the plasma membrane model.
; Pull code
pull = umbrella
pull_geometry = distance
pull_dim = N N Y
pull_start = yes
pull_ngroups =2
pull-ncoords =1
pull_coord1_groups = 1 2
pull_group1_name = NPROT_ref
pull_group2_name = LIG
pull_coord1_rate = -0.01 ; 0.01 nm per ps = 10 nm per ns
pull_coord1_k = 1000 ; kJ mol^-1 nm^-2
pull_nstxout = 1000 ; every 2 ps
pull_nstfout = 1000 ; every 2 ps
But molecules is not moving beyond the centre of the membrane model where z=0
I read one online tutorial at http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin/gmx-tutorials/umbrella/05a_pull_tips.html , provided by Dr. Justin. (may be i misunderstood the tips provide at this web page, can anyone correct me, if i am wrong and also did not understood how to use pull_geometry = position, as there is no such option I found on the mdp option web page of the gromacs)
then I used following code
pull_geometry = direction
pull_vec1 = 0 0 1
I got the following error
Fatal error:
Distance between pull groups 1 and 2 (5.763902 nm) is larger than 0.49 times the box size (4.446700).
where as box size is 10. 327 10.327 8.89
some where I am making mistake in the pull code setting, but not able to find out. can anyone suggest me where I am doing wrong, and what could be the possible pull code parameters.

Related Publications

Article
Full-text available
Molecular-dynamics simulations provide reliable infor-mation about the microscopic behavior of the investigated systems by numerical solution of the equations of motion. The constantly growing computer performance (in particular, the number of computing cores) makes wider the range of research topics – and systems – accessible by these means. Howev...
Article
Full-text available
Proper treatment of nonbonded interactions is essential for the accuracy of molecular dynamics (MD) simulations, especially in studies of lipid bilayers. The use of the CHARMM36 force field (C36 FF) in different MD simulation programs can result in disagreements with published simulations performed with CHARMM due to differences in the protocols us...
Article
MDWeb and MDMoby constitute a web-based platform to help access to molecular dynamics (MD) in the standard and high-throughput regime. The platform provides tools to prepare systems from PDB structures mimicking the procedures followed by human experts. It provides inputs and can send simulations for three of the most popular MD packages (Amber, NA...
Got a technical question?
Get high-quality answers from experts.