altloc_view
Display all alternate-location groups in a PyMOL object at once, color-coded by group with occupancy labels, so multiconformer heterogeneity is visible instead of one default conformation.
Instructions
Show every altloc group at once, one colour per group, occupancies labelled.
A multiconformer model says "at this site, these discrete alternatives, in these proportions". PyMOL shows one of them by default, which quietly turns a statement about heterogeneity into a single structure.
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": "altloc_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Label each alternate location with its occupancy value (default True) | |
| obj_name | Yes | PyMOL object name (e.g. "1ejg") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |