cmd.read_pdbstr("""\ ATOM 1 CA MET 2 1 37.062 141.852 138.744 1.00 -1.00 \ ATOM 2 CA LYS 2 2 34.662 144.783 138.320 1.00 0.29 \ ATOM 3 CA ARG 2 3 32.182 144.056 135.439 1.00 -0.99 \ ATOM 4 CA THR 2 4 31.471 145.333 131.895 1.00 0.49 \ ATOM 5 CA TYR 2 5 28.865 147.760 133.301 1.00 0.21 \ ATOM 6 CA GLN 2 6 28.602 149.290 136.857 1.00 0.23 \ ATOM 7 CA PRO 2 7 25.142 150.742 137.702 1.00 1.10 \ ATOM 8 CA ASN 2 8 25.399 154.565 137.891 1.00 0.17 \ ATOM 9 CA ASN 2 9 22.208 156.261 136.667 1.00 -0.69 \ ATOM 10 CA ARG 2 10 23.570 159.849 136.712 1.00 -0.77 \ ATOM 11 CA LYS 2 11 26.312 159.676 134.139 1.00 -0.60 \ ATOM 12 CA ARG 2 12 24.049 156.941 132.621 1.00 -0.36 \ ATOM 13 CA ALA 2 13 21.132 159.302 132.369 1.00 -0.97 \ ATOM 14 CA LYS 2 14 23.422 162.285 131.845 1.00 -0.26 \ ATOM 15 CA THR 2 15 25.270 160.989 128.808 1.00 -0.73 \ ATOM 16 CA HIS 2 16 22.311 159.396 127.034 1.00 -0.62 \ ATOM 17 CA GLY 2 17 18.669 160.250 127.765 1.00 2.97 \ ATOM 18 CA PHE 2 18 16.291 162.172 125.467 1.00 1.48 \ ATOM 19 CA ARG 2 19 17.620 165.063 127.582 1.00 -0.10 \ ATOM 20 CA ALA 2 20 21.129 165.220 126.140 1.00 -0.83 \ ATOM 21 CA ARG 2 21 19.717 163.850 122.912 1.00 1.60 \ ATOM 22 CA MET 2 22 18.686 167.374 121.933 1.00 -0.65 \ ATOM 23 CA LYS 2 23 22.041 168.969 122.770 1.00 -0.76 \ ATOM 24 CA THR 2 24 23.784 167.958 119.593 1.00 -0.14 \ ATOM 25 CA LYS 2 25 22.960 168.252 115.909 1.00 -1.01 \ ATOM 26 CA SER 2 26 24.534 164.823 115.318 1.00 -1.04 \ ATOM 27 CA GLY 2 27 22.355 162.948 117.777 1.00 1.19 \ ATOM 28 CA ARG 2 28 19.239 165.036 117.230 1.00 -0.62 \ ATOM 29 CA ASN 2 29 18.568 162.683 114.316 1.00 -0.86 \ ATOM 30 CA ILE 2 30 19.481 159.801 116.670 1.00 0.41 \ ATOM 31 CA LEU 2 31 16.163 160.084 118.305 1.00 1.00 \ ATOM 32 CA ALA 2 32 14.337 160.688 114.993 1.00 -0.86 \ ATOM 33 CA ARG 2 33 15.299 157.245 113.553 1.00 -0.45 \ ATOM 34 CA ARG 2 34 14.719 155.897 117.040 1.00 2.15 \ ATOM 35 CA ARG 2 35 11.139 157.109 117.021 1.00 -0.41 \ ATOM 36 CA ALA 2 36 10.335 157.250 113.315 1.00 -1.10 \ ATOM 37 CA LYS 2 37 11.691 153.705 112.855 1.00 -0.35 \ ATOM 38 CA GLY 2 38 9.022 151.344 114.141 1.00 -0.11 \ ATOM 39 CA ARG 2 39 7.773 151.844 117.653 1.00 1.69 \ ATOM 40 CA HIS 2 40 10.373 152.567 120.271 1.00 -1.13 \ ATOM 41 CA GLN 2 41 11.121 154.261 123.592 1.00 -1.09 \ ATOM 42 CA LEU 2 42 14.113 156.616 123.451 1.00 0.99 \ ATOM 43 CA THR 2 43 17.061 156.540 125.907 1.00 0.44 \ ATOM 44 CA VAL 2 44 15.544 158.203 128.983 1.00 1.08 \ ATOM 45 CA SER 2 45 11.991 156.941 129.555 1.00 -1.00 \ ATOM 46 CA ASP 2 46 13.895 153.956 130.916 1.00 -1.00 \ """, "e1xbp21_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e1xbp21_csv", state=0, origin=1) cmd.zoom("e1xbp21_csv", animate=-1)