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