cmd.read_pdbstr("""\ ATOM 1 CA VAL B 229 -119.541 47.736 -4.055 1.00 0.29 \ ATOM 2 CA ALA B 230 -122.935 46.263 -3.158 1.00 -0.17 \ ATOM 3 CA GLY B 231 -123.618 43.558 -0.628 1.00 1.70 \ ATOM 4 CA GLY B 232 -123.919 39.989 -1.855 1.00 -0.52 \ ATOM 5 CA TRP B 233 -125.240 36.821 0.046 1.00 1.70 \ ATOM 6 CA GLY B 234 -122.652 33.823 0.597 1.00 -0.06 \ ATOM 7 CA PRO B 235 -123.861 30.076 1.245 1.00 -0.70 \ ATOM 8 CA TRP B 236 -127.478 29.323 2.266 1.00 2.73 \ ATOM 9 CA GLY B 237 -126.170 27.489 5.487 1.00 -0.33 \ ATOM 10 CA PRO B 238 -127.335 23.928 6.570 1.00 -0.55 \ ATOM 11 CA VAL B 239 -130.993 23.578 7.544 1.00 0.09 \ ATOM 12 CA SER B 240 -131.340 23.183 11.308 1.00 -0.27 \ ATOM 13 CA PRO B 241 -132.920 19.767 12.595 1.00 -0.73 \ ATOM 14 CA CYS B 242 -136.720 20.027 13.480 1.00 1.94 \ ATOM 15 CA PRO B 243 -137.921 20.772 17.252 1.00 -0.15 \ ATOM 16 CA VAL B 244 -140.737 18.100 17.521 1.00 -0.59 \ ATOM 17 CA THR B 245 -141.399 15.144 14.961 1.00 -0.51 \ ATOM 18 CA CYS B 246 -144.736 13.657 13.577 1.00 1.22 \ ATOM 19 CA GLY B 247 -147.038 16.514 12.877 1.00 -0.32 \ ATOM 20 CA LEU B 248 -145.532 19.903 12.822 1.00 -0.71 \ ATOM 21 CA GLY B 249 -142.091 21.219 12.657 1.00 -0.40 \ ATOM 22 CA GLN B 250 -139.924 24.251 12.188 1.00 -0.72 \ ATOM 23 CA THR B 251 -136.339 24.358 11.021 1.00 -0.38 \ ATOM 24 CA MET B 252 -134.130 27.431 10.583 1.00 -0.75 \ ATOM 25 CA GLU B 253 -131.470 28.483 8.076 1.00 0.38 \ ATOM 26 CA GLN B 254 -129.134 31.517 8.182 1.00 -0.69 \ ATOM 27 CA ARG B 255 -127.227 33.796 5.751 1.00 2.01 \ ATOM 28 CA THR B 256 -124.409 36.320 5.851 1.00 -0.75 \ ATOM 29 CA CYS B 257 -124.248 39.523 3.766 1.00 1.86 \ ATOM 30 CA ASN B 258 -120.470 39.360 3.341 1.00 -0.30 \ ATOM 31 CA HIS B 259 -119.939 37.939 -0.139 1.00 -0.37 \ ATOM 32 CA PRO B 260 -119.126 40.815 -0.472 1.00 1.36 \ ATOM 33 CA VAL B 261 -119.853 43.071 2.513 1.00 -0.65 \ ATOM 34 CA PRO B 262 -121.328 46.400 1.355 1.00 0.28 \ ATOM 35 CA GLN B 263 -118.680 49.127 1.127 1.00 -0.53 \ ATOM 36 CA HIS B 264 -118.198 52.712 -0.005 1.00 -0.69 \ ATOM 37 CA GLY B 265 -121.939 53.363 -0.005 1.00 -0.39 \ ATOM 38 CA GLY B 266 -122.850 50.125 -1.749 1.00 0.72 \ ATOM 39 CA PRO B 267 -126.332 48.733 -1.306 1.00 -0.64 \ ATOM 40 CA PHE B 268 -127.240 46.348 1.476 1.00 -0.77 \ ATOM 41 CA CYS B 269 -128.216 42.805 0.523 1.00 2.85 \ ATOM 42 CA ALA B 270 -131.903 42.375 -0.181 1.00 -0.77 \ ATOM 43 CA GLY B 271 -133.720 39.760 1.834 1.00 0.53 \ ATOM 44 CA ASP B 272 -133.832 38.035 5.179 1.00 -0.77 \ ATOM 45 CA ALA B 273 -130.778 36.911 7.074 1.00 -0.67 \ ATOM 46 CA THR B 274 -132.729 33.921 8.436 1.00 -0.64 \ ATOM 47 CA ARG B 275 -135.192 31.512 6.860 1.00 -0.34 \ ATOM 48 CA THR B 276 -137.888 29.356 8.490 1.00 -0.76 \ ATOM 49 CA HIS B 277 -139.875 26.450 7.152 1.00 -0.54 \ ATOM 50 CA ILE B 278 -142.253 23.676 8.285 1.00 -0.72 \ ATOM 51 CA CYS B 279 -140.775 20.397 7.910 1.00 1.87 \ ATOM 52 CA ASN B 280 -141.814 16.913 7.691 1.00 -0.77 \ ATOM 53 CA THR B 281 -145.359 16.826 6.170 1.00 -0.70 \ ATOM 54 CA ALA B 282 -148.265 14.172 5.610 1.00 -0.53 \ ATOM 55 CA VAL B 283 -147.498 10.771 7.195 1.00 -0.68 \ ATOM 56 CA PRO B 284 -148.325 9.420 10.684 1.00 -1.00 \ ATOM 57 CA CYS B 285 -148.682 11.514 14.030 1.00 -1.00 \ ATOM 58 CA PRO B 286 -147.358 8.760 16.537 1.00 -1.00 \ """, "e1w0rB3_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e1w0rB3_csv", state=0, origin=1) cmd.zoom("e1w0rB3_csv", animate=-1)