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