occupancy_view
Color and scale a structure by per-atom crystallographic occupancy to visually de-emphasize alternate conformers with q<1, so half-occupied models appear less certain.
Instructions
Colour and scale a structure by per-atom crystallographic occupancy (q).
Alternates at q<1 are visually de-emphasised in proportion, so a half-occupied conformer looks half-there instead of looking like a confident model.
This is occupancy in the crystallographic sense — the fraction of unit cells in which an atom sits at this position. It is NOT the fraction of imaged particles containing a subunit; a model can be q=1.0 everywhere while the subunit is present in half the particles. Both are true and they are different questions, so this tool never reports the other sense.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"obj_name": "<obj_name>"
},
"name": "occupancy_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| obj_name | Yes | PyMOL object name (e.g. "1ejg") | |
| preserve_bfactors | No | Stash the original B-factors before overwriting them so restore_bfactors can put them back (default True) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |