Re: [Chimera-users] Calculating AreaSES/AreaSAS without a molecular surface?

Hi Oliver, ChimeraX does not yet have coloring by atom attributes and the “measures sasa” command isn’t saving a per-atom attribute. But you could tweak the code a bit and get the values in the bfactor column of a PDB file. For instance, I added two lines to the ChimeraX Python code for measure sasa in file ChimeraX.app/Contents/lib/python3.6/site-packages/chimerax/core/commands/measure_sasa.py after line 32 areas = spheres_surface_area(atoms.scene_coords, r) add two lines that set the atom bfactor areas = spheres_surface_area(atoms.scene_coords, r) for a, ar in zip(atoms, areas): a.bfactor = ar Then use the command “save areabfactors.pdb” to get those area values in the bfactor column. Some day we will putting the Chimera rangecolor command into ChimeraX so coloring and measure sasa will set an atom attribute enabling the coloring in ChimeraX without code tweaks. Tom
participants (1)
-
Tom Goddard