cmd.read_pdbstr("""\ ATOM 1 CA PRO B 51 115.234 -40.233 -15.343 1.00 1.60 \ ATOM 2 CA ARG B 52 114.977 -39.596 -11.427 1.00 -0.52 \ ATOM 3 CA TRP B 53 112.954 -37.556 -8.889 1.00 1.73 \ ATOM 4 CA SER B 54 114.096 -35.210 -6.134 1.00 -0.05 \ ATOM 5 CA LEU B 55 113.094 -35.970 -2.577 1.00 -0.70 \ ATOM 6 CA TRP B 56 109.567 -34.906 -1.711 1.00 2.78 \ ATOM 7 CA SER B 57 109.083 -31.395 -0.339 1.00 -0.33 \ ATOM 8 CA THR B 58 107.606 -31.114 3.150 1.00 -0.54 \ ATOM 9 CA TRP B 59 103.764 -31.344 3.199 1.00 0.07 \ ATOM 10 CA ALA B 60 102.014 -27.985 3.034 1.00 -0.26 \ ATOM 11 CA PRO B 61 99.516 -27.102 5.761 1.00 -0.73 \ ATOM 12 CA CYS B 62 95.788 -27.742 5.352 1.00 1.94 \ ATOM 13 CA SER B 63 94.173 -25.629 2.597 1.00 -0.15 \ ATOM 14 CA VAL B 64 91.449 -24.717 5.089 1.00 -0.59 \ ATOM 15 CA THR B 65 91.207 -23.902 8.774 1.00 -0.52 \ ATOM 16 CA CYS B 66 87.832 -25.572 9.155 1.00 1.17 \ ATOM 17 CA SER B 67 85.924 -28.186 7.240 1.00 -0.31 \ ATOM 18 CA GLU B 68 87.620 -30.281 4.548 1.00 -0.71 \ ATOM 19 CA GLY B 69 90.610 -29.374 2.386 1.00 -0.42 \ ATOM 20 CA SER B 70 93.928 -30.856 1.228 1.00 -0.72 \ ATOM 21 CA GLN B 71 97.660 -30.944 2.036 1.00 -0.38 \ ATOM 22 CA LEU B 72 100.005 -30.945 -0.952 1.00 -0.75 \ ATOM 23 CA ARG B 73 103.660 -31.829 -1.498 1.00 0.36 \ ATOM 24 CA TYR B 74 105.882 -31.656 -4.603 1.00 -0.69 \ ATOM 25 CA ARG B 75 108.857 -33.286 -6.648 1.00 2.00 \ ATOM 26 CA ARG B 76 111.311 -31.958 -9.457 1.00 -0.75 \ ATOM 27 CA CYS B 77 113.574 -32.880 -12.597 1.00 1.84 \ ATOM 28 CA VAL B 78 117.226 -33.634 -13.406 1.00 -0.37 \ ATOM 29 CA GLY B 79 120.405 -32.218 -11.859 1.00 1.27 \ ATOM 30 CA TRP B 80 122.338 -32.674 -15.034 1.00 -1.00 \ ATOM 31 CA ASN B 81 120.541 -34.927 -17.187 1.00 -0.65 \ ATOM 32 CA GLY B 82 118.881 -33.702 -20.272 1.00 0.30 \ ATOM 33 CA GLN B 83 116.122 -36.311 -20.364 1.00 -0.77 \ ATOM 34 CA CYS B 84 114.079 -36.166 -17.085 1.00 2.90 \ ATOM 35 CA SER B 85 111.199 -36.730 -19.511 1.00 -0.77 \ ATOM 36 CA GLY B 86 107.692 -35.424 -18.638 1.00 0.51 \ ATOM 37 CA LYS B 87 107.529 -35.000 -22.373 1.00 -0.77 \ ATOM 38 CA VAL B 88 106.578 -31.382 -23.002 1.00 -0.67 \ ATOM 39 CA ALA B 89 103.754 -31.414 -20.504 1.00 -0.64 \ ATOM 40 CA PRO B 90 102.941 -28.244 -18.495 1.00 -1.00 \ ATOM 41 CA GLY B 91 105.846 -27.141 -16.055 1.00 -1.00 \ ATOM 42 CA THR B 92 107.264 -29.822 -13.496 1.00 -1.00 \ ATOM 43 CA LEU B 93 105.868 -33.250 -13.470 1.00 -1.00 \ ATOM 44 CA GLU B 94 104.537 -34.603 -10.127 1.00 -1.00 \ ATOM 45 CA TRP B 95 102.533 -33.560 -6.981 1.00 -1.00 \ ATOM 46 CA GLN B 96 100.733 -35.335 -4.204 1.00 -0.33 \ ATOM 47 CA LEU B 97 97.517 -33.913 -2.800 1.00 -0.76 \ ATOM 48 CA GLN B 98 96.226 -35.630 0.355 1.00 -0.53 \ ATOM 49 CA ALA B 99 93.123 -34.705 2.397 1.00 -0.72 \ ATOM 50 CA CYS B 100 92.770 -32.957 5.777 1.00 1.91 \ ATOM 51 CA GLU B 101 89.629 -32.595 8.060 1.00 -0.77 \ ATOM 52 CA ASP B 102 89.145 -29.901 10.623 1.00 -0.70 \ ATOM 53 CA GLN B 103 86.869 -28.586 13.411 1.00 -0.52 \ ATOM 54 CA GLN B 104 83.850 -26.272 12.480 1.00 -0.68 \ ATOM 55 CA CYS B 105 83.002 -23.363 9.793 1.00 -1.00 \ ATOM 56 CA CYS B 106 80.498 -20.480 9.662 1.00 -1.00 \ ATOM 57 CA PRO B 107 79.253 -17.206 7.943 1.00 -1.00 \ """, "e1w0sB5_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e1w0sB5_csv", state=0, origin=1) cmd.zoom("e1w0sB5_csv", animate=-1)