cmd.read_pdbstr("""\ """, "chainX") cmd.hide("all") cmd.color('grey70', "chainX") cmd.show('ribbon', "chainX") cmd.select("e8ipxX1", "c. X & i. 2-92") cmd.center("e8ipxX1", state=0, origin=1) cmd.zoom("e8ipxX1", animate=-1) cmd.show_as('cartoon', "e8ipxX1") cmd.spectrum('count', 'rainbow', "e8ipxX1") cmd.disable("e8ipxX1")