cmd.read_pdbstr("""\ ATOM 1 CA LYS 4 2 146.453 102.788 59.045 1.00 0.49 \ ATOM 2 CA VAL 4 3 149.813 101.541 60.319 1.00 0.07 \ ATOM 3 CA ARG 4 4 150.460 98.547 58.064 1.00 -0.96 \ ATOM 4 CA SER 4 5 152.493 98.416 54.853 1.00 -0.33 \ ATOM 5 CA SER 4 6 151.074 98.019 51.350 1.00 0.60 \ ATOM 6 CA VAL 4 7 148.922 101.111 50.812 1.00 0.45 \ ATOM 7 CA LYS 4 8 147.798 102.403 47.408 1.00 0.46 \ ATOM 8 CA LYS 4 9 144.232 102.262 48.719 1.00 -0.86 \ ATOM 9 CA MET 4 10 143.703 105.971 49.366 1.00 -0.40 \ ATOM 10 CA CYS 4 11 141.515 108.289 47.293 1.00 1.04 \ ATOM 11 CA ASP 4 12 142.438 109.520 43.813 1.00 -1.48 \ ATOM 12 CA ASN 4 13 143.854 112.748 45.242 1.00 -1.31 \ ATOM 13 CA CYS 4 14 146.572 111.534 47.609 1.00 1.52 \ ATOM 14 CA LYS 4 15 150.327 111.335 47.037 1.00 -1.02 \ ATOM 15 CA VAL 4 16 152.760 108.613 48.110 1.00 -0.96 \ ATOM 16 CA VAL 4 17 155.680 109.909 50.173 1.00 -0.53 \ ATOM 17 CA ARG 4 18 158.917 108.421 51.511 1.00 -0.65 \ ATOM 18 CA ARG 4 19 160.417 109.213 54.915 1.00 1.29 \ ATOM 19 CA HIS 4 20 163.274 107.354 56.606 1.00 -1.06 \ ATOM 20 CA GLY 4 21 162.535 104.443 54.295 1.00 -0.06 \ ATOM 21 CA ARG 4 22 158.919 104.085 55.397 1.00 -0.92 \ ATOM 22 CA VAL 4 23 156.006 105.353 53.307 1.00 -0.52 \ ATOM 23 CA LEU 4 24 152.935 107.449 54.107 1.00 -0.98 \ ATOM 24 CA VAL 4 25 149.896 108.507 52.078 1.00 1.03 \ ATOM 25 CA ILE 4 26 148.722 112.033 52.880 1.00 -0.87 \ ATOM 26 CA CYS 4 27 145.586 113.701 51.519 1.00 1.40 \ ATOM 27 CA SER 4 28 142.815 116.200 52.251 1.00 -1.25 \ ATOM 28 CA ASN 4 29 140.898 113.463 54.066 1.00 -1.03 \ ATOM 29 CA VAL 4 30 142.128 112.683 57.581 1.00 -0.69 \ ATOM 30 CA LYS 4 31 140.761 109.167 57.095 1.00 0.82 \ ATOM 31 CA HIS 4 32 143.050 108.415 54.153 1.00 1.06 \ ATOM 32 CA LYS 4 33 145.965 107.561 56.444 1.00 1.36 \ ATOM 33 CA GLN 4 34 148.057 104.678 55.114 1.00 0.89 \ ATOM 34 CA ARG 4 35 151.453 104.741 56.827 1.00 0.48 \ ATOM 35 CA GLN 4 36 153.807 101.761 56.652 1.00 1.55 \ """, "e1pny41_csv") cmd.show_as('cartoon', "all") cmd.spectrum('b', selection="all") cmd.center("e1pny41_csv", state=0, origin=1) cmd.zoom("e1pny41_csv", animate=-1)