cmd.read_pdbstr("""\ """, "chainBZ") cmd.hide("all") cmd.color('grey70', "chainBZ") cmd.show('ribbon', "chainBZ") cmd.select("e4v8qBZ1", "c. Z & i. 3-41 | c. Z & i. 67-212") cmd.center("e4v8qBZ1", state=0, origin=1) cmd.zoom("e4v8qBZ1", animate=-1) cmd.show_as('cartoon', "e4v8qBZ1") cmd.spectrum('count', 'rainbow', "e4v8qBZ1") cmd.disable("e4v8qBZ1") cmd.show('spheres', 'c. Z & i. 1001 | c. Z & i. 1002 | c. Z & i. 1003') util.cbag('c. Z & i. 1001 | c. Z & i. 1002 | c. Z & i. 1003')