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