[chimerax-users] Possible to measure the shortest distance between two models?

Vorländer,Matthias Kopano matthias.vorlaender at imp.ac.at
Tue Sep 28 13:46:56 PDT 2021


Thanks Tom, this is awesome! Much appreciated!
Best, Matthias

Holen Sie sich Outlook für Android<https://aka.ms/AAb9ysg>
________________________________
From: Tom Goddard <goddard at sonic.net>
Sent: Tuesday, September 28, 2021 8:54:48 PM
To: Vorländer,Matthias Kopano <matthias.vorlaender at imp.ac.at>
Cc: chimerax-users at cgl.ucsf.edu <chimerax-users at cgl.ucsf.edu>
Subject: Re: [chimerax-users] Possible to measure the shortest distance between two models?

You can use Python in ChimeraX to find the shortest distance.  Here is some example code closest.py to do that.

https://rbvi.github.io/chimerax-recipes/closest/closest.html

If you open that Python code in ChimeraX it registers a command "closest"

open 7LUP
closest /A to /B maxDist 100

> Minimum distance 2.27 between /A LYS 45 NZ and /B ASP 522 OD1

  Tom


On Sep 28, 2021, at 2:15 AM, Vorländer,Matthias Kopano via ChimeraX-users <chimerax-users at cgl.ucsf.edu<mailto:chimerax-users at cgl.ucsf.edu>> wrote:

Dear all,

I am interested in measuring the shortest distance between two models (PDBs) without a priori knowledge of which atoms will be the closest ones. I am planning to do this for a large number of model pairs, therefore it would be great if this would be scriptable. Is this possible using ChimeraX?
Thanks a lot in advance,

Best,
Matthias

_______________________________________________
ChimeraX-users mailing list
ChimeraX-users at cgl.ucsf.edu<mailto:ChimeraX-users at cgl.ucsf.edu>
Manage subscription:
https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210928/cf2f1f4b/attachment.html>


More information about the ChimeraX-users mailing list