cmd.read_pdbstr("""\ ATOM 1 CA MET X 1 37.833 81.872 51.095 1.00 0.46 \ ATOM 2 CA LYS X 2 35.853 82.258 54.327 1.00 -0.66 \ ATOM 3 CA ILE X 3 37.738 84.276 56.867 1.00 2.58 \ ATOM 4 CA LYS X 4 37.233 84.505 60.622 1.00 0.13 \ ATOM 5 CA LEU X 5 35.820 87.789 61.980 1.00 0.67 \ ATOM 6 CA VAL X 6 38.872 87.782 64.287 1.00 -0.19 \ ATOM 7 CA ARG X 7 38.821 87.679 68.095 1.00 0.73 \ ATOM 8 CA SER X 8 40.582 90.692 69.657 1.00 1.41 \ ATOM 9 CA VAL X 9 39.384 94.248 68.946 1.00 -1.28 \ ATOM 10 CA ILE X 10 39.228 96.062 72.294 1.00 -0.35 \ ATOM 11 CA GLY X 11 42.959 96.470 72.859 1.00 -0.12 \ ATOM 12 CA ARG X 12 43.937 96.100 69.162 1.00 -1.07 \ ATOM 13 CA PRO X 13 46.010 99.086 68.147 1.00 -0.77 \ ATOM 14 CA GLY X 14 44.560 101.794 65.853 1.00 -1.18 \ ATOM 15 CA ASN X 15 45.374 100.522 62.342 1.00 -1.16 \ ATOM 16 CA GLN X 16 43.914 97.251 63.593 1.00 -0.01 \ ATOM 17 CA VAL X 17 40.695 98.733 65.071 1.00 -0.34 \ ATOM 18 CA LYS X 18 40.113 100.229 61.611 1.00 -0.73 \ ATOM 19 CA THR X 19 40.735 97.183 59.401 1.00 0.25 \ ATOM 20 CA VAL X 20 38.359 95.030 61.424 1.00 0.92 \ ATOM 21 CA GLN X 21 35.646 97.694 60.894 1.00 -0.78 \ ATOM 22 CA ALA X 22 37.023 98.060 57.357 1.00 -0.66 \ ATOM 23 CA LEU X 23 35.726 94.589 56.480 1.00 2.08 \ ATOM 24 CA GLY X 24 32.225 95.096 57.822 1.00 1.73 \ ATOM 25 CA LEU X 25 33.419 93.291 60.960 1.00 1.66 \ ATOM 26 CA ARG X 26 31.770 95.069 63.930 1.00 -0.93 \ ATOM 27 CA LYS X 27 31.862 91.952 66.177 1.00 0.42 \ ATOM 28 CA ILE X 28 34.317 89.226 67.249 1.00 -0.74 \ ATOM 29 CA GLY X 29 31.810 86.583 66.149 1.00 -0.68 \ ATOM 30 CA ASP X 30 31.073 87.032 62.430 1.00 -0.83 \ ATOM 31 CA SER X 31 31.764 85.633 59.000 1.00 -0.93 \ ATOM 32 CA ARG X 32 32.504 86.943 55.517 1.00 -0.21 \ ATOM 33 CA GLU X 33 34.075 85.402 52.425 1.00 -0.71 \ ATOM 34 CA VAL X 34 36.841 87.800 51.285 1.00 -0.23 \ ATOM 35 CA SER X 35 37.085 88.319 47.461 1.00 -0.87 \ ATOM 36 CA ASP X 36 40.230 86.732 45.943 0.00 -0.50 \ ATOM 37 CA THR X 37 42.730 89.521 45.217 1.00 0.00 \ ATOM 38 CA PRO X 38 46.169 91.126 45.756 1.00 0.02 \ ATOM 39 CA ALA X 39 44.835 93.944 47.963 1.00 -0.74 \ ATOM 40 CA VAL X 40 42.572 92.000 50.390 1.00 0.32 \ ATOM 41 CA ARG X 41 45.515 89.544 50.535 1.00 -0.55 \ ATOM 42 CA GLY X 42 48.146 91.904 51.981 1.00 0.50 \ ATOM 43 CA MET X 43 45.069 92.967 53.996 1.00 -0.05 \ ATOM 44 CA VAL X 44 43.987 90.056 56.240 1.00 1.46 \ ATOM 45 CA LYS X 45 47.738 89.507 56.199 1.00 -1.11 \ ATOM 46 CA THR X 46 47.968 92.652 58.377 1.00 -0.39 \ ATOM 47 CA VAL X 47 45.587 91.117 60.921 1.00 1.88 \ ATOM 48 CA LYS X 48 46.955 87.550 60.548 0.00 -1.11 \ ATOM 49 CA HIS X 49 47.016 86.886 64.299 0.00 1.39 \ ATOM 50 CA LEU X 50 43.236 87.387 64.303 0.00 2.38 \ ATOM 51 CA LEU X 51 41.113 85.606 61.654 1.00 1.75 \ ATOM 52 CA GLU X 52 41.352 82.388 59.582 1.00 -0.58 \ ATOM 53 CA VAL X 53 43.106 81.194 56.387 1.00 0.41 \ ATOM 54 CA GLN X 54 41.320 77.828 55.988 1.00 -0.34 \ ATOM 55 CA GLU X 55 38.098 76.447 57.493 1.00 -0.53 \ """, "e1sm1X1_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e1sm1X1_csv", state=0, origin=1) cmd.zoom("e1sm1X1_csv", animate=-1)