>Question 1, CA-trace:
>
>show ribbon
>set ribbon_sampling=1
>
>(NOTE: requires all main chain atoms to be present, but not necessarily visible
> -- CA-only models will be supported later on).

(thanks Warren!!)

...and similarly, should you ever want to show the phosphate trace of a nucleic acid molecule:

def p_trace(selection="(all)"):
        s = str(selection)
        cmd.hide('lines',"("+s+")")
        cmd.hide('spheres',"("+s+")")
        cmd.hide('sticks',"("+s+")")
        cmd.hide('ribbon',"("+s+")")
        cmd.show('cartoon',"("+s+")")
        cmd.set('cartoon_sampling',1,"("+s+")")
        cmd.set('cartoon_tube_radius',0.5,"("+s+")")
cmd.extend('p_trace',p_trace)

and then:

p_trace (selection)

...

-Luca
--------------------------------------------------------
Luca Jovine, Ph.D.
Department of Molecular, Cell & Developmental Biology
Mount Sinai School of Medicine
Annenberg Building, Room 25-18
One Gustave L. Levy Place, New York, NY 10029-6574, USA
Voice: +1.212.241-8620  FAX: +1.509.356-2832
E-Mail: lucajov...@mac.com
W3: http://www.mssm.edu/students/jovinl02
--------------------------------------------------------


Reply via email to