VMD-L Mailing List
From: Norman Geist (norman.geist_at_uni-greifswald.de)
Date: Tue Apr 15 2014 - 06:30:32 CDT
- Next message: Bryan Roessler: "Re: Altering extrabonds force constant during MD"
- Previous message: Ajasja Ljubetič: "Re: Matal binding protein prediction 3d"
- In reply to: sunyeping: "get resname from resid"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
set a [atomselect top „resid 1“]
set resname [lindex [$a get resname] 0]
$a delete
puts $resname
Norman Geist.
Von: owner-vmd-l_at_ks.uiuc.edu [mailto:owner-vmd-l_at_ks.uiuc.edu] Im Auftrag von sunyeping
Gesendet: Dienstag, 15. April 2014 11:19
An: vmd-l
Betreff: vmd-l: get resname from resid
Dear all,
Using what command can I get the resname from a resid? thanks
Yeping Sun
Institute of Microbiology, Chinese Academy of Sciences
--- Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv. http://www.avast.com
- Next message: Bryan Roessler: "Re: Altering extrabonds force constant during MD"
- Previous message: Ajasja Ljubetič: "Re: Matal binding protein prediction 3d"
- In reply to: sunyeping: "get resname from resid"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]