cmd.read_pdbstr("""\ """, "chain2W") cmd.hide("all") cmd.color('grey70', "chain2W") cmd.show('ribbon', "chain2W") cmd.select("e5hau2W1", "c. W & i. 1-107") cmd.center("e5hau2W1", state=0, origin=1) cmd.zoom("e5hau2W1", animate=-1) cmd.show_as('cartoon', "e5hau2W1") cmd.spectrum('count', 'rainbow', "e5hau2W1") cmd.disable("e5hau2W1") cmd.show('spheres', 'c. W & i. 501 | c. W & i. 502') util.cbag('c. W & i. 501 | c. W & i. 502')