[Chimera-users] Coloring ensemble atoms by distance from mean structure
Morgan, David Gene
dagmorga at indiana.edu
Thu May 3 12:14:07 PDT 2018
Tom,
Thanks so much.
--
politics is more difficult than physics.
A. Einstein
David Gene Morgan
Electron Microscopy Center
047D Simon Hall
IU Bloomington
812 856 1457 (office)
812 856 3221 (3200)
http://iubemcenter.indiana.edu
________________________________________
From: Tom Goddard <goddard at sonic.net>
Sent: Thursday, May 3, 2018 3:02 PM
To: Morgan, David Gene
Cc: chimera-users at cgl.ucsf.edu BB
Subject: Coloring ensemble atoms by distance from mean structure
Hi David,
I’ve attached a Python script mean_distance.py that can compute the distance of each atom in an ensemble from the mean structure. Then you can color using that distance. Here’s an example set of Chimera commands.
open 1mtx
show
open mean_distance.py
rangecolor distance_from_mean 0 blue 3 white 6 red
The script uses all open molecules as the ensemble. The coloring can also be done with menu Tools / Depiction / Render by Attribute.
Tom
More information about the Chimera-users
mailing list