cmd.read_pdbstr("""\ """, "chainD") cmd.hide("all") cmd.color('grey70', "chainD") cmd.show('ribbon', "chainD") cmd.select("e7w3fD1", "c. D & i. 336-418") cmd.center("e7w3fD1", state=0, origin=1) cmd.zoom("e7w3fD1", animate=-1) cmd.show_as('cartoon', "e7w3fD1") cmd.spectrum('count', 'rainbow', "e7w3fD1") cmd.disable("e7w3fD1") cmd.show('spheres', 'c. D & i. 501') util.cbag('c. D & i. 501')