[Chimera-users] Values at Atom Oositions

Hernando J Sosa hernando.sosa at einstein.yu.edu
Mon Nov 19 11:34:16 PST 2018

Thanks Elaine and I guess then I could use something like the code below (found it in an old thread) to save the Reply Log within the script:

from chimera.tkgui import saveReplyLog


Hernando Sosa
Dept. of Physiology and Biophysics 
Albert Einstein College of Medicine 
1300 Morris Park Av. 
Bronx NY 10461 
phone (718) 430-3456 
FAX (718) 430-8819 
email hernando.sosa at einstein.yu.edu

-----Original Message-----
From: Elaine Meng [mailto:meng at cgl.ucsf.edu] 
Sent: Monday, November 19, 2018 2:07 PM
To: Hernando J Sosa
Cc: chimera-users
Subject: Re: [Chimera-users] Values at Atom Oositions

Hi Hernando,
Unfortunately there is no command to save attributes directly to file.  

One idea is use the “report all” option of “measure mapValues” to send the values to the Reply Log and then save the Reply Log as described at the bottom of this page:

The “list atoms” command does a similar thing, lists values of an existing attribute in the Reply Log.


> On Nov 19, 2018, at 10:49 AM, Hernando J Sosa <hernando.sosa at einstein.yu.edu> wrote:
> Thanks Elaine, and it would be possible to save the resulting attributes to a file within the script without using the GUI? Something like:
> measure mapValues  map-model  atom-spec  <my_att_name> 
> saveattributes2file <my_att_name> <my_file>
> OR
> measure mapValues  map-model  atom-spec  <outfilename>
> Thanks again
> Hernando.

More information about the Chimera-users mailing list