cmd.read_pdbstr("""\ """, "chainXR") cmd.hide("all") cmd.color('grey70', "chainXR") cmd.show('ribbon', "chainXR") cmd.select("e4ypbXR1", "c. R & i. 18-88") cmd.center("e4ypbXR1", state=0, origin=1) cmd.zoom("e4ypbXR1", animate=-1) cmd.show_as('cartoon', "e4ypbXR1") cmd.spectrum('count', 'rainbow', "e4ypbXR1") cmd.disable("e4ypbXR1")