cmd.read_pdbstr("""\ ATOM 1 CA MET K 1 100.629 119.047 308.237 1.00 2.62 \ ATOM 2 CA LYS K 2 103.598 116.705 307.691 1.00 0.05 \ ATOM 3 CA VAL K 3 103.865 114.029 310.364 1.00 0.95 \ ATOM 4 CA ILE K 4 106.370 111.345 311.459 1.00 0.82 \ ATOM 5 CA PHE K 5 104.400 108.137 312.055 1.00 1.43 \ ATOM 6 CA LEU K 6 105.497 106.413 315.268 1.00 -0.64 \ ATOM 7 CA LYS K 7 103.188 103.373 315.160 1.00 -0.37 \ ATOM 8 CA ASP K 8 99.968 102.582 313.228 1.00 -0.55 \ ATOM 9 CA VAL K 9 101.312 101.891 309.712 1.00 -0.41 \ ATOM 10 CA LYS K 10 102.398 98.528 308.257 1.00 -0.80 \ ATOM 11 CA GLY K 11 102.774 97.299 311.805 1.00 -0.55 \ ATOM 12 CA LYS K 12 105.202 99.887 313.200 1.00 -0.52 \ ATOM 13 CA GLY K 13 105.937 102.637 310.672 1.00 2.16 \ ATOM 14 CA LYS K 14 108.225 104.077 313.327 1.00 -1.02 \ ATOM 15 CA LYS K 15 111.034 103.556 310.778 1.00 -0.89 \ ATOM 16 CA GLY K 16 110.121 106.992 309.518 1.00 -0.35 \ ATOM 17 CA GLU K 17 106.868 106.943 307.591 1.00 -0.06 \ ATOM 18 CA ILE K 18 106.635 110.701 306.996 1.00 -0.60 \ ATOM 19 CA LYS K 19 103.156 111.598 305.734 1.00 -0.24 \ ATOM 20 CA ASN K 20 101.276 114.893 305.526 1.00 -0.62 \ ATOM 21 CA VAL K 21 98.288 114.461 307.847 1.00 0.58 \ ATOM 22 CA ALA K 22 95.474 116.957 308.386 1.00 -0.07 \ ATOM 23 CA ASP K 23 96.519 119.504 311.002 1.00 -0.71 \ ATOM 24 CA GLY K 24 94.262 119.539 314.052 1.00 2.35 \ ATOM 25 CA TYR K 25 92.974 115.970 313.522 1.00 1.51 \ ATOM 26 CA ALA K 26 96.623 115.032 313.694 1.00 0.34 \ ATOM 27 CA ASN K 27 97.130 116.908 316.961 1.00 -0.61 \ ATOM 28 CA ASN K 28 93.734 115.700 318.208 1.00 2.65 \ ATOM 29 CA PHE K 29 93.950 111.954 317.499 1.00 -0.21 \ ATOM 30 CA LEU K 30 97.311 110.761 316.102 1.00 1.77 \ ATOM 31 CA PHE K 31 99.273 113.125 318.338 1.00 0.08 \ ATOM 32 CA LYS K 32 96.864 112.007 321.030 1.00 0.00 \ ATOM 33 CA GLN K 33 97.464 108.264 320.872 1.00 -0.51 \ ATOM 34 CA GLY K 34 101.210 108.618 320.294 1.00 -0.30 \ ATOM 35 CA LEU K 35 100.670 107.409 316.713 1.00 -0.71 \ ATOM 36 CA ALA K 36 102.488 110.291 315.007 1.00 1.36 \ ATOM 37 CA ILE K 37 104.704 113.256 315.831 1.00 -0.82 \ ATOM 38 CA GLU K 38 105.460 116.771 314.534 1.00 -0.97 \ ATOM 39 CA ALA K 39 107.607 116.644 311.387 1.00 -0.65 \ ATOM 40 CA THR K 40 109.578 119.637 312.380 1.00 0.01 \ ATOM 41 CA PRO K 41 113.157 120.265 311.171 1.00 -0.67 \ ATOM 42 CA ALA K 42 114.213 119.866 314.826 1.00 -0.75 \ ATOM 43 CA ASN K 43 112.438 116.598 315.581 1.00 -0.63 \ ATOM 44 CA LEU K 44 113.781 115.459 312.197 1.00 -0.39 \ ATOM 45 CA LYS K 45 117.422 116.137 312.947 1.00 -0.61 \ ATOM 46 CA ALA K 46 116.862 114.930 316.515 1.00 -0.99 \ ATOM 47 CA LEU K 47 115.565 111.698 315.007 1.00 -0.41 \ ATOM 48 CA GLU K 48 118.596 111.410 312.746 1.00 -0.21 \ ATOM 49 CA ALA K 49 120.835 111.611 315.792 1.00 -0.81 \ ATOM 50 CA GLN K 50 119.105 108.652 317.518 1.00 -1.00 \ ATOM 51 CA LYS K 51 119.265 106.544 314.382 1.00 -1.00 \ ATOM 52 CA GLN K 52 122.911 107.468 314.106 1.00 -1.00 \ ATOM 53 CA LYS K 53 124.496 106.020 317.000 1.00 -1.00 \ """, "e1giyK2_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e1giyK2_csv", state=0, origin=1) cmd.zoom("e1giyK2_csv", animate=-1)