cmd.read_pdbstr("""\ """, "chainYD") cmd.hide("all") cmd.color('grey70', "chainYD") cmd.show('ribbon', "chainYD") cmd.select("e4tudYD1", "c. D & i. 2-126") cmd.center("e4tudYD1", state=0, origin=1) cmd.zoom("e4tudYD1", animate=-1) cmd.show_as('cartoon', "e4tudYD1") cmd.spectrum('count', 'rainbow', "e4tudYD1") cmd.disable("e4tudYD1") cmd.show('spheres', 'c. D & i. 301') util.cbag('c. D & i. 301')