GROMACS version:
GROMACS modification: Yes/No
Here post your question
Hi, I have a protein in water-TFE trajectory in xtc format (all_pbc.xtc) and the corresponding tpr file (npt.tpr). I need to do some analysis on water molecules only. So, I extracted only water trajectory from the xtc using: gmx trjconv -f all_pbc.xtc -s npt.tpr -o sol.xtc and select group-16(SOL). Now if I try to use: gmx trjconv -f sol.xtc -s npt.tpr -dump 0 and select SOL to get water molecules coordinates at t=0 ps, Gromacs is showing an error “Index[7441] 12376 is larger than the number of atoms in the
trajectory file (12375). There is a mismatch in the contents
of your -f, -s and/or -n files.” If I use: gmx trjconv -f sol.xtc -s npt.tpr -dump 0 and select say Protein or TFE as output groups I am getting an output gro file, which seems weird since sol.xtc does not contain trajectory information about anything other than water/SOL. Total number of atoms including protein+water+TFE+ions=17314, no of water atoms=12375,protein=434
But we do use a similar protocol in order to analyze just the protein trajectory and using npt.tpr we can dump any protein structure at a particular frame
So if anyone can help me with the error message and why I am getting it, that would be really helpful. Thanks in advance