[PyMOL] rainbow coloring from the N to C terminus of multiple backbones shown as ribbons

2013-02-04 Thread Muhammad Naqvi
Hi Folks, I have about 2000 pdb files loaded into one session, with their backbones shown as ribbons, that have been aligned by select residues ranging from 15-19 using the align_all command. The problem I have is coloring, right now I have to manually color in rainbow into all of the residues by

Re: [PyMOL] rainbow coloring from the N to C terminus of multiple backbones shown as ribbons

2013-02-04 Thread Thomas Holder
Hi Ali, paste this into the PyMOL command line: unset ribbon_color, (*) set ribbon_color, default for name in cmd.get_object_list(): \ cmd.spectrum(selection=name + and polymer) This will do rainbow coloring on each object separately. The ribbon_color setting will override atom colors,

Re: [PyMOL] rainbow coloring from the N to C terminus of multiple backbones shown as ribbons

2013-02-04 Thread Muhammad Naqvi
You are a genius Thomas! On Mon, Feb 4, 2013 at 5:23 PM, Thomas Holder thomas.hol...@schrodinger.com wrote: Hi Ali, paste this into the PyMOL command line: unset ribbon_color, (*) set ribbon_color, default for name in cmd.get_object_list(): \ cmd.spectrum(selection=name + and