Re: renumbering and rewriting a trajectory

From: Kodituwakku,Dimuthu Nirmani (
Date: Fri Oct 02 2020 - 09:28:13 CDT

Thank you all !

From: <> on behalf of Kodituwakku,Dimuthu Nirmani <>
Sent: Wednesday, September 30, 2020 11:30 AM
To: namd-l <>
Subject: namd-l: renumbering and rewriting a trajectory

[External Email]
Hi all,

I postprocessed a trajectory by renumbering using the following script (vmd/1.9.3) (which I obtained from a previous post),
for {set ires 1} { $ires <= 587 } { incr ires } {
  set a [atomselect top "resid $ires and segid 1GPB"]
  set newires [expr $ires + 587]
  $a set resid $newires
  $a delete

But I'm having trouble rewriting the trajectory using "animate" keyword, although it writes the trajectory it doesn't change numbering.

Any help would be appreciated,

Thank you,

This archive was generated by hypermail 2.1.6 : Fri Dec 31 2021 - 23:17:09 CST