GROMACS version: 2021.3
GROMACS modification: No
Here post your question:
I ran an MD with a peptide in presence of POPG and POPE, the system was built using CHARMM-GUI with box-type HEXAGONAL, ran MD with Gromacs (2021.3). I am following instructions from the manual to design an optimal workflow for PBC connection. Few lipid molecules are still breaking and moving when I visualise in VMD.
Hi Sanjiv,
I had the same issue with pure bilayers in small rectangular boxes. Something which worked for me:
Center an atom in the middle of the bilayer with -pbc atom
Center the bilayer with -pbc mol
For your case the workflow would be:
Make an index group with an atom in the middle of the bilayer (Last atom in an acyl chain for example) → e.g. CenterAtom.ndx
gmx trjconv -s step7_1.tpr -f step7_1.trr -o analysis2/step7_1_pbc_0_atom_trial7.xtc -pbc atom -tu ns -center -n CenterAtom.ndx → Choose first the group with the atom and then the group “System”
Make an index group with the whole bilayer → e.g. Bilayer.ndx
gmx trjconv -s step7_1.tpr -f analysis2/step7_1_pbc_0_atom_trial7.xtc -o analysis2/step7_1_pbc_0_mol_trial7.xtc -pbc mol -tu ns -center -n Bilayer.ndx → Choose first the group with the bilayer and then the group “System”
a C218 | a C316 # (selected atom C218 | atom C316 (which are at the end of POPE and POPG))
2. Centering for the selected atoms
gmx trjconv -s …/step7_1.tpr -f …/step7_1.trr -o step7_1_pbc_0_atom_trial10.xtc -pbc atom -tu ns -center -n CenterAtom.ndx # selected new group created by index above (C218_C316) for centering and ‘system’ for output
3. Making an index group with the whole bilayer e.g. Bilayer.ndx
gmx make_ndx -f …/step5_input.pdb -o Bilayer.ndx
“POPG” | “POPE” # Selecting both POPG and POPE
And this worked, this time bilayer (POPG and POPE) are together during the whole run.
The only problem left now is that protein is jumping around, I guess need to use nojump using the step7_1_pbc_0_mol_trial10.xtc, without any index file?
Again, thanks a lot for your help. This was driving me crazy.
nice to hear that it worked! :)
To center the protein in the box I would suggest to use again center to “fix” your protein at the center of your box:
gmx trjconv -s …/step7_1.tpr -f step7_1_pbc_0_mol_trial10.xtc -o step7_1_pbc_0_mol_protein_trial10.xtc -tu ns -center → Choose first the Protein Group and then the system.
Hope that works, too. It could fail maybe if your box in z-direction is too small…
I would not suggest using no jump since your lipids and the protein will then “diffuse” out of the box. If you are familiar with Python you could take a look at the trajectory transformation tools of the MDAnalysis library.
You were right again. nojump did not work when applied directly.
Following your suggestions, centred whole thing around the ‘protein’ and selected ‘system’ for output. It gave better results, but then the membrane was jumping. So, created an index file for protein and bilayer combined and centred for the combined index, but there was some jumps in the protein. It looks much better though. I guess need to use ‘rotate and translate’ for it to centre around the protein and stabilise, I will try.
I have limited knowledge of Python, but learning it and exploring MDAnalysis library as well, looks very promising.
I was wondering, how much of trajectory transformation is required for downstream analysis, I understand it may depend on the analysis. I intend to see the influence of peptide on bilayer, so probably LiPyphilic, which is based on MDAnalysis would be helpful, but was unsure about how much trajectory transformation (for removing PBC) before beginning those analysis.
Have you checked the minimum image convention with gmx mindist command? If in some frames distance between molecules in neighboring periodic boxes is much lower than the cutoff specified for non-bonded interactions in .mpd file, that also may be the reason for jumps.
Yes I have checked the minimum image convention with gmx mindist command. I am using martini 3.0. and the rcoulomb and rvdw, which are both set to 1.1 nm.
For protein-protein complexes (where there are several chains, but all of them are of protein nature) centering by one chain or by some amino acids in one chain that are close to the mass center helps to remove jumps in one step (i.e. -pbc mol -center - n index.ndx -ur compact).
I don’t know if centering by one chain works fine for protein-lipid system.
I see that in the previous posts there are several centering processes (first by atom in one chain and then by protein-lipid system). May be this has some impact.