So after my MD simulation like many other in the forum I have also encountered some pbc erros. But thanks to many users and developers I have been able to solve some of my problems. However I have tried many methods but couldnt fix a pbc effect (İn my opinion) after doing my RMSD calculation. In my MD videos I dont see any jump or difussion of the peptide however in my graph I see a sudden spike drop around 90 ns. I have used the fallowing codes:
But it didnt seem to fix it. I would be greatfull for getting an explonation what I have been encountring with and how to fix it. Also is it normal for a graph to not start from 0 but around 1.5nm RMSD
With spike you mean the sudden drop to zero of the RMSD?
Generally, PBC problems go the other way around, you will see suddend spikes to very large values because the reference is broken across PBCs, commonly followed after a few frames by a drop again to pre-spike values when the image is again whole across PBCs.
Whether it makes sense or not that your rmsd starts from large values depends on the reference structure you are using and what part of the trajectory you are analysing. If you are using the first frame of the same trajectory then the RMSD must formally start from zero. The fact that you go back to zero after ~90ns might be a random fluctuation, but if the value is zero then I would say that this is nearly impossible and it’s most likely that you i) rebuilt the trajectory with trjcat incorrectly (e.g. concatenating trajs that are not consecutive) or ii) are using as reference frame for rmsd the frame at ~90ns
Edit: I think I spotted the problem. The gmx rms command uses as reference the frame contained in the -s reference file. Here you are using the tpr file you compiled to run the last trajectory, so correctly the first frame of the last part of the trajectory you glued together is distant zero from itself. Use as reference the frame you want as reference, not a random tpr, so if you want a comparison wrt the beginning of this simulation then use the firsr frame of step5_1.xtc (so its tpr should work).
and as you said (as ı understand) it started the graph from 0 which is the 0th frame and also the sudden spike drop is gone as seen below. the RMSD values are very high but ı gues the new (black graph) is biologicaly relevant one and correct one.