Hello all, I am trying to color several proteins by different factors, e.g., distance from a given point (here the origin). To do this, I replace the q-factor (or b-factor) with my variable of choice. However, most of my files have one or a few residues that are for some reason not affected by the alter_state (e.g., pdb = 1ihm). I can't see any distinction in these residues compared to the others.
example code: fetch 1ihm alldist = [] iterate_state 1, all, alldist.append((x**2+y**2+z**2)**0.5) di = iter(alldist) alter all, b = next(di) spectrum b Thank you, Joe
_______________________________________________ PyMOL-users mailing list Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe