cmd.read_pdbstr("""\ """, "chainHC") cmd.hide("all") cmd.color('grey70', "chainHC") cmd.show('ribbon', "chainHC") cmd.select("e7rroHC2", "c. C & i. 246-437") cmd.center("e7rroHC2", state=0, origin=1) cmd.zoom("e7rroHC2", animate=-1) cmd.show_as('cartoon', "e7rroHC2") cmd.spectrum('count', 'rainbow', "e7rroHC2") cmd.disable("e7rroHC2") cmd.show('spheres', 'c. D & i. 502') util.cbag('c. D & i. 502')