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