Assuming you are ok with overwriting the B-factors
stored.y=[] iterate_state 1, prot, stored.y.append(y) % prot here should be replaced with your pymol object name alter prot, b=stored.y.pop(0) % again, replace prot with your pymol object name On Wed, Nov 18, 2015 at 7:49 AM, Smith Liu <smith_liu...@163.com> wrote: > Dear All, > > Is any way we can colour the molecule by pymol based on the y values in > the z y z coordinates, so that we can view easily the residues (or atoms) > with equivalent position in the primary sequence but has a y-axis shift in > the 3-D structure? > > Smith > > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net >
------------------------------------------------------------------------------
_______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net