[Chimera-users] Atom distances
Eric Pettersen
pett at cgl.ucsf.edu
Mon Mar 5 14:54:06 PST 2012
On Mar 3, 2012, at 9:58 AM, Elaine Meng wrote:
> If you're a coder, it could be done with Python scripting, which is
> beyond my skill set.
I've attached a script that reports (to the reply log) atom pairs
separated by between 5.5 and 5.6 angstroms within each model when the
script is run. Run the script by opening it with File->Open. The two
distance values are at the top of the file so it's simple to change
them as desired. Keep in mind that this is an N-squared algorithm, so
will takes between seconds and minutes for larger structures.
--Eric
Eric Pettersen
UCSF Computer Graphics Lab
http://www.cgl.ucsf.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20120305/b4379a4a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: distRange.py
Type: text/x-python-script
Size: 287 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20120305/b4379a4a/attachment.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20120305/b4379a4a/attachment-0001.html>
More information about the Chimera-users
mailing list