This python script includes a few useful, short functions for making pictures of RNA and proteins in pymol in our 'lab style':
rr()
useful for 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.-
rd()
useful for proteins -- side chains are all-atom and colored CPK, backbone is rainbow cartoon from N to C terminus. -
sa()
superimposes all models to the first one. [Thanks to Kyle Beauchamp for this one]
and more...
Check out:
Get the script. Either download the folder from this link or, if you are planning to make edits, type:
git clone https://github.com/DasLab/pymol_daslab
In pymol, type
run pymol_daslab.py
Or (much easier) create or edit a .pymolrc
text file in your home directory, and add lines like:
import sys
sys.path.append('/Path/To/pymol_daslab')
run /Path/To/pymol_daslab/pymol_daslab.py
Open up pymol. Type:
fetch 1q9a
rr()