Hi Karol, Selecting several shades of red is possible with some scripting. The following code modifies the b-factor based on RGB color values, and then selects by b-factor. Change the 0.7 and 0.3 constants if you like to cover a different range.
python from pymol import cmd, stored def is_red(color): R, G, B = cmd.get_color_tuple(color) return R > 0.7 and G < 0.3 and B < 0.3 stored.is_red = is_red python end alter all, b = stored.is_red(color) select red_atoms, b > 0.5 Cheers, Thomas > On Aug 29, 2017, at 2:48 PM, Karol K <karolkas...@gmail.com> wrote: > > Hi All, > > I have a protein, which is colored by rmsd. > The .pml coloring scripts have been produced by ProSmart. > The color spectrum is white, yellow and red, where red denotes the > highest rmsd value. > > Does anyone knows how to select only these AAs, which are colored in red? > > thanks -- Thomas Holder PyMOL Principal Developer Schrödinger, Inc. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ 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