[Chimera-users] measuring distances
Elaine Meng
meng at cgl.ucsf.edu
Mon Nov 18 09:45:38 PST 2013
Hi Ryan,
At some point you probably set the distance display to show one decimal place, from the default of 3 places. Chimera automatically uses the same number of places when reporting the value to the Reply Log. You can change the number of decimal places in the Distances tool (Tools… Structure Analysis… Distances). I believe it automatically saves the value in your preferences file when you change it, i.e. it is remembered for subsequent uses of Chimera.
<http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/structuremeas/structuremeas.html#distances>
I hope this helps,
Elaine
----------
Elaine C. Meng, Ph.D.
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco
On Nov 17, 2013, at 12:51 PM, Ryan Pavlovicz <pavlovicz.7 at osu.edu> wrote:
> Hi,
>
> I am trying to measure the distance between two atoms from many different PDB structures using a python script.
>
> Using a command like:
>
> chimera.runCommand('distance #0:1 at C1 #0:1 at C2')
>
> will correctly output the distance within a tenth of an angstrom, however, i would like to output a more accurate measurement (more decimal places). Is there a way to do this when using chimera within a python script?
>
> Thanks for your help,
>
> ryan
More information about the Chimera-users
mailing list