From: Norman Geist (norman.geist_at_uni-greifswald.de)
Date: Tue Apr 15 2014 - 06:30:32 CDT

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