cmd.read_pdbstr("""\ """, "chainAP") cmd.hide("all") cmd.color('grey70', "chainAP") cmd.show('ribbon', "chainAP") cmd.select("e4v8aAP1", "c. P & i. 1-149") cmd.center("e4v8aAP1", state=0, origin=1) cmd.zoom("e4v8aAP1", animate=-1) cmd.show_as('cartoon', "e4v8aAP1") cmd.spectrum('count', 'rainbow', "e4v8aAP1") cmd.disable("e4v8aAP1")