you need to approach multiple step like you did above. once you got the membrane fixed. work on drug starting from -pbc mol -center -ur compact and select drug for making it center. if that didnt fix please share the image.
Hi @FreaX_997
Thanks for your attention.
I also ran for 100 ns. In the first 30 ns, the drug has 3-4 jumps. but in the last 30 ns, it has alot of junps and the last 20 ns completely placed in the down of lower leaflet the membrane.
I have faced a similar problem. The molecule of interest was placed above the lipid bilayer, it crossed the top of the box and, due to PBC, appeared from below the box. This resulted in molecule being present towards the inner leaflet. This gave an illusion that the molecule has crossed the membrane (when comparing the start and end snapshots of simulation) while it actually hadn’t. I was wondering if this could be fixed?
If you need to make sure the molecule of interest does not reach the inner leaflet without permeating the membrane, you should make a stacked mirrored image of the system - so that the interior and exterior are separated.
You only need -center if you wish to center something in the simulation box. My reply just addressed what was explicitly requested, i.e., to remove jumps from the trajectory. I think it’s good to do things one step at a time and try to decide what you want to do with your trajectory. It is always risky to use examples from someone else.
EDIT: I realised that my answer a few posts above will not work if the molecules are broken in the tpr. Follow the instructions in the manual in that case.
I don’t know what the goal with your simulation is, so it is difficult to say.
You don’t need to use a double bilayer just to avoid molecules jumping across the periodic boundary when you view the trajectory, such visualisation artefacts can be resolved using gmx trjconv. But if you want to make sure that the molecule does not reach the other side of the bilayer without crossing the bilayer, you will need two bilayers (mirrored if they are not symmetric). With one bilayer in the simulation, the solvent is continuous.
Thank you @MagnusL. Indeed I have an asymmetric membrane. gmx trjconv was not helpful so I was looking for alternatives. I will try with the two bilayers.
@scinikhil The water box was more than 15 nm on either side of the membrane. Simulation time was 500 ns.