Re: [gmx-users] Output trajectory frames as separate coordinate files

2020-02-20 Thread Justin Lemkul
On 2/20/20 8:30 AM, Peter Mawanga wrote: My apologies, this can be achieved easily with the command below: gmx trjconv -s -f -n -split -o . It's even easier. You can just use gmx trjconv -sep (with -b/-e as needed to define a time interval). -Justin On Thu, Feb 20, 2020 at 2:15 P

Re: [gmx-users] Output trajectory frames as separate coordinate files

2020-02-20 Thread Peter Mawanga
My apologies, this can be achieved easily with the command below: gmx trjconv -s -f -n -split -o . On Thu, Feb 20, 2020 at 2:15 PM Peter Mawanga wrote: > Hello everyone > > Is it possible to output different frames of a .trr trajectory as single > .gro files without supplying an index (.n

[gmx-users] Output trajectory frames as separate coordinate files

2020-02-20 Thread Peter Mawanga
Hello everyone Is it possible to output different frames of a .trr trajectory as single .gro files without supplying an index (.ndx) file each time? In VMD this can be achieved with: set mol [molinfo top] set sel [atomselect $mol all] set n [molinfo $mol get numframes] for {set i 0} {$i < $n} {i