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