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