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