cmd.read_pdbstr("""\ """, "chainw") cmd.hide("all") cmd.color('grey70', "chainw") cmd.show('ribbon', "chainw") cmd.select("e7tm3w1", "c. w & i. 2-395") cmd.center("e7tm3w1", state=0, origin=1) cmd.zoom("e7tm3w1", animate=-1) cmd.show_as('cartoon', "e7tm3w1") cmd.spectrum('count', 'rainbow', "e7tm3w1") cmd.disable("e7tm3w1") cmd.show('spheres', 'c. K & i. 5101 | c. K & i. 5200 | c. K & i. 5203') util.cbag('c. K & i. 5101 | c. K & i. 5200 | c. K & i. 5203')