cmd.read_pdbstr("""\ """, "chainp") cmd.hide("all") cmd.color('grey70', "chainp") cmd.show('ribbon', "chainp") cmd.select("e8cgnp1", "c. p & i. 83-151") cmd.center("e8cgnp1", state=0, origin=1) cmd.zoom("e8cgnp1", animate=-1) cmd.show_as('cartoon', "e8cgnp1") cmd.spectrum('count', 'rainbow', "e8cgnp1") cmd.disable("e8cgnp1")