Protein move out of box and RMSD grpah

GROMACS version:
GROMACS modification: Yes/No
Here post your question

i done MD simulation for Free protein and Complex separately. both the structures are coming out of the box.
even i tried gmx trjconv -pbc nojumb and -center , -fit rot+trans my RMSD graph like this.
can you suggest me what is the mistake how to solve this issue. thanks in advance

make the protein as whole then fix the jump, you need to use gmx trjconv a couple of times to remove all the artifcats
please search over pbc issue, there are lots of discsion that help you to use the trjconv tool.

you may start with

-pbc mol -center -ur compact

Thank you. even i tried unable to solve. my protein contains two chain while doing md simulation the chain get separated and coming out of the box .

make an index for both chain together and center the chains first. There are no directy way, you need to play around it to get the corrected one, refer the link above.

thank you,

gmx make_ndx -f complex.gro -o index.ndx

0 System              : 3780 atoms
  1 Protein             :  3727 atoms
  2 Protein-H           :  1398 atoms
  3 C-alpha             :   252 atoms
  4 Backbone            :   756 atoms
  5 MainChain           :  1006 atoms
  6 MainChain+Cb        :  1227 atoms
  7 MainChain+H         :  1247 atoms
  8 SideChain           :  2480 atoms
  9 SideChain-H         :  932 atoms
 10 Prot-Masses         :  3727 atoms
 11 non-Protein         : 53 atoms
 12 Other               : 53 atoms
 13 UNK                : 53 atoms

which group should I select to make a chain index ? can you please give a suggestion?

One possibly way is to find a residue(or a atom) as close to the center of the complex and locate it in the .gro file.Using make_ndx to take it into a separate group, then center the group when using trjconv.

Thank you for ur valuable suggetion