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