My software notes

November 12, 2011

[PyMOL] Sidechain helper in the cartoon view

Filed under: pymol/ molmol — kpwu @ 3:25 pm
Tags: , ,

Using cartoon view to present the protein secondary structures and tertiary structure is common and we also often see people present some sidechains of particular residues which may be important in some biological roles. In PyMOL, when sidechain atoms are presented in the “sticks mode” with the cartoon scaffold, we always see the backbone atoms (e.g. N, O) are also presented in the sticks mode.

Here is the example (PDB code: 2BTF) showing that the nitrogen (blue) of Val47 is displaying inside the helix.

By using a PyMOL commend “set cartoon_side_chain_helper”, we can quickly hide sticks of the nitrogen and oxygen atoms.

Command: set catoon_side_chain_helper, on 

note: “on” for removing the sticks, “off” (default argument) is to keep all atoms in sticks view


Note (11/14/2011): PyMOLWiki has an example page of this command, see here.






  1. nice tip! Sadly this also removes the “color by atom type” possibility. Bug or feature?

    Comment by justin — November 13, 2011 @ 7:09 am | Reply

  2. Hi Justin,

    It works; see You just have to color by atom type after coloring by secondary structure:

    set cartoon_sidechain_helper, on

    C > Color > by ss > Helix (red) Sheet (yellow) Loop (green)

    C > Color > by element > …


    Comment by Jason Vertrees — November 13, 2011 @ 11:49 am | Reply

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: