cmd.read_pdbstr("""\ """, "chainYN") cmd.hide("all") cmd.color('grey70', "chainYN") cmd.show('ribbon', "chainYN") cmd.select("e6buwYN1", "c. N & i. 1-138") cmd.center("e6buwYN1", state=0, origin=1) cmd.zoom("e6buwYN1", animate=-1) cmd.show_as('cartoon', "e6buwYN1") cmd.spectrum('count', 'rainbow', "e6buwYN1") cmd.disable("e6buwYN1") cmd.show('spheres', 'c. A & i. 3081 | c. A & i. 3509') util.cbag('c. A & i. 3081 | c. A & i. 3509')