cmd.read_pdbstr("""\ """, "chain1Z") cmd.hide("all") cmd.color('grey70', "chain1Z") cmd.show('ribbon', "chain1Z") cmd.select("e5hcr1Z1", "c. Z & i. 1-92") cmd.center("e5hcr1Z1", state=0, origin=1) cmd.zoom("e5hcr1Z1", animate=-1) cmd.show_as('cartoon', "e5hcr1Z1") cmd.spectrum('count', 'rainbow', "e5hcr1Z1") cmd.disable("e5hcr1Z1") cmd.show('spheres', 'c. Z & i. 301 | c. Z & i. 302') util.cbag('c. Z & i. 301 | c. Z & i. 302')