Thanks Tom, this is awesome! Much appreciated! Best, Matthias
Holen Sie sich Outlook für Androidhttps://aka.ms/AAb9ysg ________________________________ From: Tom Goddard goddard@sonic.net Sent: Tuesday, September 28, 2021 8:54:48 PM To: Vorländer,Matthias Kopano matthias.vorlaender@imp.ac.at Cc: chimerax-users@cgl.ucsf.edu chimerax-users@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@cgl.ucsf.edumailto:chimerax-users@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@cgl.ucsf.edumailto:ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users