Hi gmx users !!<br><br>I want to read the trajectory file (*.trr ), produced as a result of mdrun. I came to know that a file template.c already exists to facilate my process. I could compile and execute the template.c. Like  <br>

printf(&quot;Atom name: %s\n&quot;,*(top.atoms.atomname[n]));<br>printf(&quot;Atom charge: %f\n&quot;,top.atoms.atom[n].q); <br>produces the Atom Name and the corresponding partial charges. respectively. I could also print the x, y, z coordinate for each frame present in the trr file. <br>

<br>What am I  looking for is, how can I print the Atom number, Residue name, residue number? I was unable to find it in the program template.c. <br><br>I would also like to know how do you prompt -s / -f / -n etc. option during executing gmx commands?<br>

<br>Thanks for your cooperation.<br><br>Chandan<br clear="all"><br>--<br>Chandan kumar Choudhury<br>NCL, Pune<br>INDIA<br>