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