electrostatic_view
Colors a molecular surface by approximate residue-based electrostatics with a red-white-blue spectrum. Choose atomic or residue charge assignment to display charged regions.
Instructions
Colors the molecular surface by approximate residue-based electrostatics.
Surface is colored red→white→blue via a B-factor spectrum. A white cartoon is shown beneath a semi-transparent surface. Organic ligands shown as sticks with yellow carbons.
For a more accurate Poisson-Boltzmann electrostatic surface, use poisson_boltzmann_view (requires APBS and PDB2PQR to be installed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Charge assignment strategy. "atomic" (default) — charges assigned only to terminal charged atoms (e.g. ARG NH1/NH2/NE, LYS NZ, ASP OD1/OD2, GLU OE1/OE2, HIS ND1/NE2). Produces localized color at charge centers with natural falloff to white. "residue" — charges assigned uniformly to all atoms in each charged residue. Produces saturated patches; useful for quickly locating charged regions. | atomic |
| obj_name | Yes | PyMOL object name (e.g. "1abc") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |