My software notes

May 2, 2013

[PyMOL] molmol-like colors on secondary structural elements

Filed under: pymol/ molmol — kpwu @ 9:18 pm
Tags: ,

I  recently saw some nice presentations of protein structures prepared by MOLMOL. Since MOLMOL is not actively maintained,  I wonder how to make similar colors on the secondary structural elements in PyMOL.

In this short blog,  an example is shown. The top and bottom figures  are made by PyMOL and MOLMOL, respectively.

How I did that? Basically, just make highlight color yellow, turn on discrete cartoon color, adjust the width and length of strands.

The PyMOL script is shown here, too:

cmd.show_as(“cartoon” ,”all”)
bg_color white
set cartoon_highlight_color, yellow
set cartoon_rect_width, 0.03
set cartoon_rect_length, 1.7
set cartoon_discrete_colors, on

2H28-molmol like



Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at

%d bloggers like this: