cmd.read_pdbstr("""\ ATOM 1 CA GLY Y 1 77.496 163.459 59.104 1.00 -0.05 \ ATOM 2 CA LYS Y 2 78.760 163.604 55.525 1.00 -0.94 \ ATOM 3 CA LYS Y 3 76.133 162.666 52.990 1.00 1.26 \ ATOM 4 CA SER Y 4 76.524 162.221 49.279 1.00 -0.47 \ ATOM 5 CA LYS Y 5 74.275 163.841 46.716 1.00 -0.72 \ ATOM 6 CA ALA Y 6 72.567 160.496 46.139 1.00 -0.99 \ ATOM 7 CA THR Y 7 72.028 159.935 49.856 1.00 -1.06 \ ATOM 8 CA LYS Y 8 70.604 163.419 50.078 1.00 2.36 \ ATOM 9 CA LYS Y 9 68.213 162.587 47.262 1.00 -0.94 \ ATOM 10 CA ARG Y 10 66.762 159.651 49.167 1.00 -0.53 \ ATOM 11 CA LYS Y 11 66.345 161.460 52.455 1.00 0.71 \ ATOM 12 CA ALA Y 12 64.615 164.198 50.521 1.00 -0.39 \ ATOM 13 CA LYS Y 13 62.208 161.622 49.121 1.00 1.22 \ ATOM 14 CA LEU Y 14 61.499 159.969 52.479 1.00 -0.30 \ ATOM 15 CA ASP Y 15 60.594 163.426 53.733 1.00 -1.67 \ ATOM 16 CA ASN Y 16 58.105 164.028 50.950 1.00 -0.08 \ ATOM 17 CA GLN Y 17 56.648 160.615 51.727 1.00 -0.20 \ ATOM 18 CA ASN Y 18 55.902 161.914 55.212 1.00 0.84 \ ATOM 19 CA SER Y 19 53.244 164.313 54.019 1.00 0.18 \ ATOM 20 CA ARG Y 20 49.659 163.347 54.863 1.00 -0.28 \ ATOM 21 CA VAL Y 21 46.873 162.120 52.641 1.00 0.26 \ ATOM 22 CA PRO Y 22 45.420 165.331 51.192 1.00 2.32 \ ATOM 23 CA ALA Y 23 41.948 166.280 52.455 1.00 -1.07 \ ATOM 24 CA TYR Y 24 40.655 166.411 48.906 1.00 1.24 \ ATOM 25 CA VAL Y 25 41.445 162.702 48.644 1.00 -0.15 \ ATOM 26 CA MET Y 26 39.296 161.891 51.648 1.00 -0.64 \ ATOM 27 CA LEU Y 27 36.354 163.431 49.789 1.00 -0.53 \ ATOM 28 CA LYS Y 28 37.309 161.762 46.496 1.00 0.88 \ ATOM 29 CA THR Y 47 37.125 158.256 47.890 1.00 0.12 \ ATOM 30 CA ASP Y 48 34.457 158.644 50.588 1.00 -0.88 \ ATOM 31 CA GLU Y 49 37.046 156.186 51.926 1.00 -0.83 \ """, "e1ffkY1_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e1ffkY1_csv", state=0, origin=1) cmd.zoom("e1ffkY1_csv", animate=-1)