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