cmd.read_pdbstr("""\ """, "chainDG") cmd.hide("all") cmd.color('grey70', "chainDG") cmd.show('ribbon', "chainDG") cmd.select("e4wf1DG1", "c. G & i. 2-82") cmd.center("e4wf1DG1", state=0, origin=1) cmd.zoom("e4wf1DG1", animate=-1) cmd.show_as('cartoon', "e4wf1DG1") cmd.spectrum('count', 'rainbow', "e4wf1DG1") cmd.disable("e4wf1DG1")