[Chimera-users] defining attribute from python

Eric Pettersen pett at cgl.ucsf.edu
Tue Mar 27 13:40:49 PDT 2018

Hi Francisca,
	What you want to do is pretty much covered in Chimera’s “basic programming primer”:  Very Basic Chimera Programming Primer <https://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/basicPrimer.html>
The only thing I would add is that depending on your needs you might benefit from using the “--script” argument (follow the “--nogui” link in the primer to see other possible command line args, such as “--script”).
	You save Python sessions with the “save” command and WebGL HTML with the “export” command.


	Eric Pettersen
	UCSF Computer Graphics Lab

> On Mar 27, 2018, at 10:46 AM, Wood Ortiz, Francisca (NIH/NEI) [F] <francisca.woodortiz at nih.gov> wrote:
> Hello,
> I am a post-bac fellow at the NEI/NIH working with protein modeling. 
> We are hoping to automate a procedure which requires the protein structure to be colored using an attribute file and exported as an .html and .py session. We would like this to be completed from the command line without the need to open the Chimera graphics window. 
> Could this be done? 
> Thank you for your help.
> Best, 
> Francisca Wood Ortiz
> Postbaccalaureate Fellow, Ophthalmic Genetics and Visual Function Branch, NIH/NEI
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu <mailto:Chimera-users at cgl.ucsf.edu>
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users <http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20180327/f6761d80/attachment.html>

More information about the Chimera-users mailing list