cmd.read_pdbstr("""\ """, "chainA") cmd.hide("all") cmd.color('grey70', "chainA") cmd.show('ribbon', "chainA") cmd.select("e7tm3A2", "c. A & i. 97-249") cmd.center("e7tm3A2", state=0, origin=1) cmd.zoom("e7tm3A2", animate=-1) cmd.show_as('cartoon', "e7tm3A2") cmd.spectrum('count', 'rainbow', "e7tm3A2") cmd.disable("e7tm3A2") cmd.show('spheres', 'c. K & i. 5173 | c. K & i. 5183 | c. K & i. 5184 | c. K & i. 5265') util.cbag('c. K & i. 5173 | c. K & i. 5183 | c. K & i. 5184 | c. K & i. 5265')