cmd.read_pdbstr("""\ """, "chainD") cmd.hide("all") cmd.color('grey70', "chainD") cmd.show('ribbon', "chainD") cmd.select("e8idyD1", "c. D & i. 298-361") cmd.center("e8idyD1", state=0, origin=1) cmd.zoom("e8idyD1", animate=-1) cmd.show_as('cartoon', "e8idyD1") cmd.spectrum('count', 'rainbow', "e8idyD1") cmd.disable("e8idyD1")