[Chimera-users] Values at Atom Oositions
Elaine Meng
meng at cgl.ucsf.edu
Mon Nov 19 11:39:20 PST 2018
Yes, that’s basically the same as in the link sent in my previous reply.
Elaine
> On Nov 19, 2018, at 11:34 AM, Hernando J Sosa <hernando.sosa at einstein.yu.edu> wrote:
>
> 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
> saveReplyLog("savefilename")
>
> H.
>
> 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:
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FProgrammersGuide%2FbasicPrimer.html&data=02%7C01%7Chernando.sosa%40einstein.yu.edu%7C9d512ab7df674c3e90b108d64e5233f4%7C04c70eb48f2648079934e02e89266ad0%7C1%7C0%7C636782512294370427&sdata=aTW4EFNl5V%2FRTVvED4H5Ynqe8LSPgTIiBLGZFfgUlG8%3D&reserved=0>
>
> The “list atoms” command does a similar thing, lists values of an existing attribute in the Reply Log.
> <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.rbvi.ucsf.edu%2Fchimera%2Fdocs%2FUsersGuide%2Fmidas%2Flisten.html%23listatoms&data=02%7C01%7Chernando.sosa%40einstein.yu.edu%7C9d512ab7df674c3e90b108d64e5233f4%7C04c70eb48f2648079934e02e89266ad0%7C1%7C0%7C636782512294370427&sdata=fpDY7yXP%2BTRcbAKFJj6OSnko4GE2gx7Sec0YLulp4vU%3D&reserved=0>
>
> Best,
> Elaine
>
>> 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.
>
>
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
>
More information about the Chimera-users
mailing list