Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help
Special pages
SBGrid Resources
SBGrid Consortium
SBGrid Data Bank
Software Webinars
PyMOL Webinar
PyMOL Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Distancetoatom
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Arguments=== {| class="wikitable" !colspan="3;"|Arguments for distancetoatom |- style="text-align:center;" ! scope="col"| Keyword ! scope="col"| Default ! scope="col"| What it does |- ! scope="row"| origin | style="text-align:center;"| pk1 | "origin" defines the coordinates for the origin and can be: 1. a list with coordinates [x,y,z]<br> 2. a single atom selection string<br> 3. a multi-atom selection string (center will be used) |- ! scope="row"| cutoff | style="text-align:center;"| 10 | "cutoff" defines the maximum distance, atoms further away are not considered |- ! scope="row"| filename | style="text-align:center;"| None | "filename" is the name of a report file that will be created (optional). set to e.g. 'report.txt' to create a report. This file is CSV style and can be imported into EXCEL.<br> (omit or set to "", None, 0 or False to disable) |- ! scope="row"| selection | style="text-align:center;"| all | only atoms within "selection" (and cutoff distance) will be used for calculation |- ! scope="row"| state | style="text-align:center;"| 0 | "state" is the state that will be used for calculations use 0 (omit), to automatically use the current state |- ! scope="row"| property_name | style="text-align:center;"| p.dist | "property_name" defines a (custom) property in which the calculated distance will be stored. This can be used e.g. for labeling or spectrum coloring etc. (cf. examples)<br> NB! older PyMOL versions only support b or q and the distance will overwrite this property if set. |- ! scope="row"| coordinates | style="text-align:center;"| 0 | "coordinates" toggles whether, besides distance, the atom coordinates will be included in the report. |- ! scope="row"| decimals | style="text-align:center;"| 3 | "decimals" is the number of decimal places calculated. Note that PDB files do not support a higher resolution than 3. |- ! scope="row"| sort | style="text-align:center;"| 1 | "sort" defines how the output will be sorted: 1: ascending (default)<br> 0: no sorting (by selection)<br> -1: descending |- ! scope="row"| quiet | style="text-align:center;"| 1 | toggle verbosity |}
Summary:
Please note that all contributions to PyMOL Wiki are considered to be released under the GNU Free Documentation License 1.2 (see
PyMOL Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Distancetoatom
(section)
Add topic