cmd.read_pdbstr("""\ """, "chainP") cmd.hide("all") cmd.color('grey70', "chainP") cmd.show('ribbon', "chainP") cmd.select("e7tm3P1", "c. P & i. 2-154") cmd.center("e7tm3P1", state=0, origin=1) cmd.zoom("e7tm3P1", animate=-1) cmd.show_as('cartoon', "e7tm3P1") cmd.spectrum('count', 'rainbow', "e7tm3P1") cmd.disable("e7tm3P1") cmd.show('spheres', 'c. K & i. 5146 | c. K & i. 5153 | c. P & i. 201 | c. P & i. 202') util.cbag('c. K & i. 5146 | c. K & i. 5153 | c. P & i. 201 | c. P & i. 202')