cmd.read_pdbstr("""\ """, "chainb") cmd.hide("all") cmd.color('grey70', "chainb") cmd.show('ribbon', "chainb") cmd.select("e8cg8b1", "c. b & i. 2-92") cmd.center("e8cg8b1", state=0, origin=1) cmd.zoom("e8cg8b1", animate=-1) cmd.show_as('cartoon', "e8cg8b1") cmd.spectrum('count', 'rainbow', "e8cg8b1") cmd.disable("e8cg8b1") cmd.show('spheres', 'c. b & i. 101') util.cbag('c. b & i. 101')