VMD-L Mailing List
From: Giacomo Fiorin (giacomo.fiorin_at_gmail.com)
Date: Mon Sep 24 2018 - 06:47:57 CDT
- Next message: João Ribeiro: "First "Hands-On" Workshop on Structural DNA Nanotechnology"
- Previous message: subramanian vidhyasankar: "Mail about TCL script"
- In reply to: subramanian vidhyasankar: "mail about renumbering of residues"
- Next in thread: John Stone: "Re: mail about renumbering of residues"
- Reply: John Stone: "Re: mail about renumbering of residues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
In general, VMD supports several Tcl commands to operate on vectors, and
the following plugin:
https://github.com/jhenin/vecexpr
enables many more options.
Giacomo
On Sat, Sep 22, 2018 at 9:42 AM subramanian vidhyasankar <svsquery_at_gmail.com>
wrote:
> 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
> S.vidhyasankar
>
>
-- Giacomo Fiorin Associate Professor of Research, Temple University, Philadelphia, PA Contractor, National Institutes of Health, Bethesda, MD http://goo.gl/Q3TBQU https://github.com/giacomofiorin
- Next message: João Ribeiro: "First "Hands-On" Workshop on Structural DNA Nanotechnology"
- Previous message: subramanian vidhyasankar: "Mail about TCL script"
- In reply to: subramanian vidhyasankar: "mail about renumbering of residues"
- Next in thread: John Stone: "Re: mail about renumbering of residues"
- Reply: John Stone: "Re: mail about renumbering of residues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]