RiboKit : RiboVis

PyMOL Commands by the Das Lab Style

Most Useful Commands

rr() Example Image

Rhiju’s favorite coloring of RNA with 2′ OH as spheres, bases as filled rings, and backbone as cartoon ribbons, rainbow colored from 5′ to 3′. No hydrogens, white background.


rrs() Example Image

Rhiju’s favorite coloring of RNA, showing all heavy atoms as sticks – more detail than rr().




color_by_data() Example Image

Read in a text file with rows and color specified residue numbers by scalar values.

125 0.12
126 1.50

Takes advantage of B-factor column and color by temperature function in pymol.

By default, coloring is scaled/offset based on lowest/highest scalar value. To specify the minimum and maximum values for coloring, enter a min and max value as shown above. For normalized chemical mapping reactivities, min = 0 and max = 1~1.5 usually works.

For instructions on coloring 3D models using analyzed reactivity data from HiTRACE, see instructions here.

rd() Example Image

Rhiju’s favorite coloring of proteins and generic molecules side chains are all-heavy-atom and colored CPK, backbone is rainbow cartoon from N to C terminus.




loop_color() Example Image

Used for rendering protein loop modeling puzzles. White in background, colored red/blue over loop.


Superimpose all open models onto the first one. This may not work well with selections.


Additional Commands

rc() Example Image

Tube coloring for large RNA comparisons






sa() Example Image

Superimpose all open models onto the first one. This may not work well with selections.

Option intra can be set to True to enable intra_fit() first, for working with multi-state (nmr) pdbs. [Thanks to Kyle Beauchamp for this one]

Run chainbow on all molecules, one by one.

rx() Example Image

Rhiju’s favorite coloring of proteins, more details – no cartoon; heavy backbone. Use for beta peptide visualization.


rj() Example Image

Rhiju’s residue-level favorite coloring of proteins non-polar side chains colored gray.


Rhiju’s favorite coloring of RNA, showing all heavy atoms as sticks – more detail than rr().

Get RGB color values associated with a selection. Useful if you want to exactly match coloring of 3D models with coloring in, say, a MATLAB script.

Load up these commands again after, say, an edit.

rb() Example Image

Basic cartoon coloring





Built with Jekyll using a RiboKit Theme . Hosted on GitHub Pages.