alter
Modify atomic properties for selected atoms by applying assignments like b=0 or chain='B', enabling targeted updates to molecular structures in PyMOL.
Instructions
Alters atomic properties in a selection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selection | Yes | Atoms to modify. | |
| expression | Yes | Assignment over atom properties, e.g. ``b=0``, ``chain='B'``, ``resi=str(int(resi)+100)``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |