Re: [gmx-users] .GRO Formatting

2013-05-30 Thread Dr. Vitaly Chaban
In GRO file, the atom numbers do not really matter. Just use any number you like. It will work correctly. mdrun will renumber atoms from 9, as it likes, automatically. Dr. Vitaly Chaban On Thu, May 30, 2013 at 4:57 AM, Phil pmcho...@syr.edu wrote: I'm working on a .GRO file and have

Re: [gmx-users] .GRO Formatting

2013-05-30 Thread Tsjerk Wassenaar
Hey, If the gro file was built with a non-gmx program, it may be that the numbers indeed broke the format, which then needs to be fixed. In case you write your own program, you want to use a statement like atid = atid %1e5 to make sure it doesn't go over five digits. Correcting the format is

[gmx-users] .GRO Formatting

2013-05-29 Thread Phil
I'm working on a .GRO file and have come across a formatting error. In the manual, it states that the spacing for each column in the .GRO file is: residue number (5 positions, integer) residue name (5 characters) atom name (5 characters) atom number (5 positions, integer) position (in nm,