Skip to content

yagoubali/Pymol_DasLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation


pymol_daslab.py

(C) R. Das 2008-2013 1q9a example image

What this is

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...


Example images & help

Check out:

example images and help


How to install

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

Quick test

Open up pymol. Type:

fetch 1q9a rr()

About

Favorite RNA/protein viewing scripts from the Das lab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages