Rather basic question for the experts. I have frames from 1.gro, 2.gro .....20.gro in order. I want to join them to a .trr or .xtc file to make a trajectory. How can i do it using gromacs commands. Thanks in advance
If you want to order a very long list of *.gro or *.pdb files you can place them on a single line in a file (list-pdbs-oneline.txt) and generate the timestep file (times-pdbs.txt) simultaneously:
Here is one I do when I have thousands of configurations to include:
#!/bin/bash
a=0; b=1;
for i in {1..10000}; do echo -n " trimer_${i}_${j}_${k}.pdb" >> list-pdbs-oneline.txt ; echo ${a} ${b} >> times-pdbs.txt ; let a=$((a+1)); b=$((b+1)); done
it is only one chain but the problem that i am using gRINN program for the analysis of residue network during MD simulation. It requires 3 files: .xtc, .tpr and .top files.
Each time i run the program i get the error as mentioned in the figure. The first star.pdb file in my MD has chain ID so i duno where is the problem.