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