PySSA aims to combine PyMOL and ColabFold to enable the prediction and analysis of 3D protein structures for the scientific end-user. v1.0 has been released on July 10, 2024.
alphatoall (all lower case) is a core command since PyMOL 1.7.2
Overview
AlphaToAll will expand the alpha-carbon property that you specify to all atoms in the residues. For example, if you set the b-factor column to some different value for all alpha carbons, this script will propagate those values into all the atoms as well.
In the example below, notice the color of the sticks.
The alpha carbon here has a color property that does not match the rest of the residue.
This script will fix that, expanding the color attribute to the rest of the atoms.
Usage
<source lang="python">
expand propertyName in objName on all the alpha carbons
to every atom, for each residue
alphaToAll objName, propertyName
Example #1
For all objects, for each residue, set every atom's b-column value
to match that residue's alpha carbon's b-column value.