From: subramanian vidhyasankar (
Date: Sat Sep 22 2018 - 08:08:18 CDT

Dear vmd users i tried to renumber the residues in psf file using the
following script

set sel [atomselect top all]
$sel set resid [$sel get residue]
$sel writepdb renumbered.psf

but the number starts from zero instead of one . Please give me
rectification of my script to give residues from number 1

with regards