atom_properties
Retrieve per-atom properties within a selection — occupancy, B-factor, formal charge, altloc — to inspect structural details other tools miss.
Instructions
Reads per-atom properties, which nothing else in the tool set can reach.
Object-level facts come back through structure_info and list_chains,
and per-residue values through get_sequence or the view presets. But
properties that live on individual atoms — occupancy, alternate
conformations, per-atom B-factor, formal charge — have no other route: the
PyMOL call that exposes them returns an object that cannot cross the bridge.
Use it to check what you are actually looking at: partial occupancy where a sidechain has two conformations, per-atom pLDDT inside a predicted model, or which atoms carry a formal charge before reasoning about electrostatics.
properties is evaluated by PyMOL once per atom, so it accepts any
expression valid in iterate — the names above are the useful subset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_atoms | No | How many atoms to list. Any omitted are counted. | |
| selection | Yes | Atoms to read, e.g. "1hsg and chain A and resi 25". Narrow this: a whole protein is thousands of atoms. | |
| properties | No | Comma-separated PyMOL atom properties. Common ones: chain, resi, resn, name, elem, b (B-factor or pLDDT), q (occupancy), alt (altloc), formal_charge, partial_charge, ss, segi, index. | chain, resi, resn, name, b, q |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |