cmd.read_pdbstr("""\\nATOM 1 N THR C 1 -13.200 16.598 61.238 1.00 23.18 N \ ATOM 2 CA THR C 1 -13.542 18.042 61.161 1.00 21.48 C \ ATOM 3 C THR C 1 -12.220 18.784 60.986 1.00 20.32 C \ ATOM 4 O THR C 1 -11.180 18.139 60.851 1.00 19.01 O \ ATOM 5 CB THR C 1 -14.302 18.477 62.435 1.00 21.81 C \ ATOM 6 OG1 THR C 1 -15.297 17.488 62.737 1.00 21.90 O \ ATOM 7 CG2 THR C 1 -15.008 19.809 62.223 1.00 22.90 C \ ATOM 8 H1 THR C 1 -12.503 16.522 62.005 0.00 18.00 H \ ATOM 9 H2 THR C 1 -14.076 16.082 61.448 0.00 18.00 H \ ATOM 10 H3 THR C 1 -12.725 16.330 60.357 0.00 18.00 H \ ATOM 11 HG1 THR C 1 -15.928 17.829 63.390 0.00 18.00 H \ ATOM 12 N CYS C 1 -12.262 20.115 60.959 1.00 19.08 N \ ATOM 13 CA CYS C 1 -11.065 20.934 60.773 1.00 17.23 C \ ATOM 14 C CYS C 1 -10.002 20.742 61.844 1.00 15.38 C \ ATOM 15 O CYS C 1 -10.284 20.225 62.929 1.00 16.04 O \ ATOM 16 CB CYS C 1 -11.430 22.426 60.718 1.00 15.89 C \ ATOM 17 SG CYS C 1 -11.868 23.180 62.325 1.00 12.59 S \ ATOM 18 H CYS C 1 -13.085 20.622 61.068 0.00 18.00 H \ ATOM 19 N GLY C 2 -8.779 21.145 61.506 1.00 12.82 N \ ATOM 20 CA GLY C 2 -7.668 21.081 62.434 1.00 11.35 C \ ATOM 21 C GLY C 2 -7.133 19.703 62.715 1.00 11.59 C \ ATOM 22 O GLY C 2 -6.206 19.552 63.510 1.00 10.35 O \ ATOM 23 H GLY C 2 -8.631 21.429 60.580 0.00 18.00 H \ ATOM 24 N LEU C 3 -7.688 18.700 62.045 1.00 14.75 N \ ATOM 25 CA LEU C 3 -7.256 17.320 62.234 1.00 16.81 C \ ATOM 26 C LEU C 3 -6.380 16.864 61.070 1.00 16.95 C \ ATOM 27 O LEU C 3 -6.551 17.332 59.947 1.00 16.97 O \ ATOM 28 CB LEU C 3 -8.472 16.402 62.378 1.00 15.92 C \ ATOM 29 CG LEU C 3 -9.463 16.812 63.471 1.00 17.30 C \ ATOM 30 CD1 LEU C 3 -10.600 15.807 63.543 1.00 19.54 C \ ATOM 31 CD2 LEU C 3 -8.753 16.927 64.815 1.00 14.71 C \ ATOM 32 H LEU C 3 -8.371 18.876 61.373 0.00 18.00 H \ ATOM 33 N ARG C 4 -5.426 15.979 61.357 1.00 18.42 N \ ATOM 34 CA ARG C 4 -4.505 15.436 60.353 1.00 20.05 C \ ATOM 35 C ARG C 4 -4.052 14.044 60.806 1.00 23.53 C \ ATOM 36 O ARG C 4 -4.696 13.422 61.656 1.00 27.21 O \ ATOM 37 CB ARG C 4 -3.293 16.360 60.182 1.00 15.51 C \ ATOM 38 CG ARG C 4 -2.256 16.290 61.290 1.00 12.81 C \ ATOM 39 CD ARG C 4 -1.325 17.477 61.185 1.00 18.11 C \ ATOM 40 NE ARG C 4 -0.189 17.419 62.103 1.00 20.38 N \ ATOM 41 CZ ARG C 4 0.907 18.168 61.980 1.00 23.15 C \ ATOM 42 NH1 ARG C 4 1.018 19.034 60.982 1.00 23.72 N \ ATOM 43 NH2 ARG C 4 1.908 18.041 62.840 1.00 22.44 N \ ATOM 44 H ARG C 4 -5.335 15.655 62.274 0.00 18.00 H \ ATOM 45 HE ARG C 4 -0.237 16.805 62.856 0.00 18.00 H \ ATOM 46 HH11 ARG C 4 0.287 19.111 60.303 0.00 18.00 H \ ATOM 47 HH12 ARG C 4 1.842 19.584 60.881 0.00 18.00 H \ ATOM 48 HH21 ARG C 4 1.837 17.385 63.593 0.00 18.00 H \ ATOM 49 HH22 ARG C 4 2.716 18.620 62.746 0.00 18.00 H \ ATOM 50 N GLN C 5 -2.975 13.534 60.220 1.00 25.36 N \ ATOM 51 CA GLN C 5 -2.467 12.226 60.606 1.00 26.16 C \ ATOM 52 C GLN C 5 -1.034 12.299 61.142 1.00 26.48 C \ ATOM 53 O GLN C 5 -0.152 12.930 60.544 1.00 25.52 O \ ATOM 54 CB GLN C 5 -2.594 11.230 59.449 1.00 28.49 C \ ATOM 55 CG GLN C 5 -4.043 10.847 59.132 1.00 32.62 C \ ATOM 56 CD GLN C 5 -4.154 9.761 58.070 1.00 34.09 C \ ATOM 57 OE1 GLN C 5 -3.198 9.029 57.807 1.00 34.28 O \ ATOM 58 NE2 GLN C 5 -5.327 9.647 57.461 1.00 33.47 N \ ATOM 59 H GLN C 5 -2.526 14.003 59.482 0.00 18.00 H \ ATOM 60 HE2 GLN C 5 -5.395 8.951 56.778 0.00 18.00 H \ ATOM 61 N TYR C 6 -0.866 11.768 62.349 0.00 25.16 N \ ATOM 62 CA TYR C 6 0.422 11.724 63.031 0.00 24.40 C \ ATOM 63 C TYR C 6 0.635 10.276 63.460 0.00 24.42 C \ ATOM 64 O TYR C 6 1.798 9.826 63.450 0.00 24.47 O \ ATOM 65 CB TYR C 6 0.449 12.622 64.285 0.00 23.12 C \ ATOM 66 CG TYR C 6 -0.691 13.611 64.443 0.00 21.74 C \ ATOM 67 CD1 TYR C 6 -2.002 13.173 64.614 0.00 21.18 C \ ATOM 68 CD2 TYR C 6 -0.454 14.985 64.454 0.00 21.11 C \ ATOM 69 CE1 TYR C 6 -3.050 14.072 64.788 0.00 20.62 C \ ATOM 70 CE2 TYR C 6 -1.498 15.896 64.633 0.00 20.56 C \ ATOM 71 CZ TYR C 6 -2.793 15.430 64.797 0.00 20.40 C \ ATOM 72 OH TYR C 6 -3.836 16.312 64.955 0.00 20.06 O \ ATOM 73 OXT TYR C 6 -0.371 9.608 63.800 0.00 24.56 O \ ATOM 74 H TYR C 6 -1.593 11.328 62.826 0.00 18.00 H \ ATOM 75 HH TYR C 6 -3.520 17.216 65.033 0.00 18.00 H \ ATOM 2619 N THR D 1 -15.560 14.353 66.953 1.00 24.30 N \ ATOM 2620 CA THR D 1 -15.815 12.900 66.762 1.00 22.09 C \ ATOM 2621 C THR D 1 -14.922 12.177 67.763 1.00 19.68 C \ ATOM 2622 O THR D 1 -14.252 12.836 68.559 1.00 16.11 O \ ATOM 2623 CB THR D 1 -15.527 12.474 65.293 1.00 23.92 C \ ATOM 2624 OG1 THR D 1 -16.115 13.439 64.407 1.00 26.24 O \ ATOM 2625 CG2 THR D 1 -16.141 11.103 64.981 1.00 23.93 C \ ATOM 2626 H1 THR D 1 -14.541 14.498 66.857 0.00 18.00 H \ ATOM 2627 H2 THR D 1 -16.081 14.911 66.251 0.00 18.00 H \ ATOM 2628 H3 THR D 1 -15.805 14.633 67.912 0.00 18.00 H \ ATOM 2629 HG1 THR D 1 -16.189 13.075 63.517 0.00 18.00 H \ ATOM 2630 N CYS D 1 -14.936 10.845 67.740 1.00 18.62 N \ ATOM 2631 CA CYS D 1 -14.161 10.039 68.675 1.00 15.82 C \ ATOM 2632 C CYS D 1 -12.658 10.243 68.597 1.00 14.23 C \ ATOM 2633 O CYS D 1 -12.146 10.812 67.625 1.00 15.29 O \ ATOM 2634 CB CYS D 1 -14.483 8.547 68.498 1.00 13.70 C \ ATOM 2635 SG CYS D 1 -13.845 7.776 66.975 1.00 11.47 S \ ATOM 2636 H CYS D 1 -15.461 10.334 67.104 0.00 18.00 H \ ATOM 2637 N GLY D 2 -11.980 9.830 69.667 1.00 11.35 N \ ATOM 2638 CA GLY D 2 -10.532 9.900 69.746 1.00 13.17 C \ ATOM 2639 C GLY D 2 -9.936 11.284 69.852 1.00 14.76 C \ ATOM 2640 O GLY D 2 -8.709 11.440 69.855 1.00 14.42 O \ ATOM 2641 H GLY D 2 -12.490 9.525 70.440 0.00 18.00 H \ ATOM 2642 N LEU D 3 -10.799 12.285 69.972 1.00 15.60 N \ ATOM 2643 CA LEU D 3 -10.360 13.665 70.063 1.00 15.46 C \ ATOM 2644 C LEU D 3 -10.434 14.132 71.502 1.00 16.15 C \ ATOM 2645 O LEU D 3 -11.282 13.666 72.255 1.00 16.15 O \ ATOM 2646 CB LEU D 3 -11.221 14.550 69.161 1.00 15.38 C \ ATOM 2647 CG LEU D 3 -11.271 14.114 67.692 1.00 14.73 C \ ATOM 2648 CD1 LEU D 3 -12.120 15.090 66.908 1.00 19.61 C \ ATOM 2649 CD2 LEU D 3 -9.871 14.031 67.098 1.00 14.06 C \ ATOM 2650 H LEU D 3 -11.756 12.101 70.024 0.00 18.00 H \ ATOM 2651 N ARG D 4 -9.527 15.033 71.878 1.00 18.98 N \ ATOM 2652 CA ARG D 4 -9.461 15.578 73.234 1.00 20.49 C \ ATOM 2653 C ARG D 4 -8.832 16.977 73.191 1.00 24.05 C \ ATOM 2654 O ARG D 4 -8.719 17.572 72.114 1.00 25.81 O \ ATOM 2655 CB ARG D 4 -8.641 14.651 74.136 1.00 15.41 C \ ATOM 2656 CG ARG D 4 -7.141 14.684 73.903 1.00 12.67 C \ ATOM 2657 CD ARG D 4 -6.510 13.534 74.640 1.00 17.89 C \ ATOM 2658 NE ARG D 4 -5.055 13.608 74.717 1.00 20.09 N \ ATOM 2659 CZ ARG D 4 -4.323 12.844 75.525 1.00 23.62 C \ ATOM 2660 NH1 ARG D 4 -4.910 11.953 76.316 1.00 22.96 N \ ATOM 2661 NH2 ARG D 4 -3.004 12.977 75.559 1.00 23.12 N \ ATOM 2662 H ARG D 4 -8.886 15.381 71.222 0.00 18.00 H \ ATOM 2663 HE ARG D 4 -4.560 14.222 74.136 0.00 18.00 H \ ATOM 2664 HH11 ARG D 4 -5.906 11.853 76.336 0.00 18.00 H \ ATOM 2665 HH12 ARG D 4 -4.346 11.407 76.927 0.00 18.00 H \ ATOM 2666 HH21 ARG D 4 -2.578 13.634 74.938 0.00 18.00 H \ ATOM 2667 HH22 ARG D 4 -2.450 12.396 76.152 0.00 18.00 H \ ATOM 2668 N GLN D 5 -8.423 17.494 74.352 1.00 26.19 N \ ATOM 2669 CA GLN D 5 -7.808 18.822 74.446 1.00 25.85 C \ ATOM 2670 C GLN D 5 -6.452 18.832 75.149 1.00 25.24 C \ ATOM 2671 O GLN D 5 -6.120 17.924 75.915 1.00 26.30 O \ ATOM 2672 CB GLN D 5 -8.728 19.784 75.191 1.00 28.81 C \ ATOM 2673 CG GLN D 5 -9.976 20.188 74.442 1.00 33.84 C \ ATOM 2674 CD GLN D 5 -10.769 21.238 75.196 1.00 35.92 C \ ATOM 2675 OE1 GLN D 5 -10.217 21.985 76.009 1.00 36.77 O \ ATOM 2676 NE2 GLN D 5 -12.069 21.309 74.924 1.00 36.03 N \ ATOM 2677 H GLN D 5 -8.536 16.983 75.185 0.00 18.00 H \ ATOM 2678 HE2 GLN D 5 -12.589 21.970 75.418 0.00 18.00 H \ ATOM 2679 N TYR D 6 -5.708 19.912 74.937 0.00 24.52 N \ ATOM 2680 CA TYR D 6 -4.394 20.094 75.542 0.00 23.80 C \ ATOM 2681 C TYR D 6 -4.337 21.498 76.130 0.00 23.84 C \ ATOM 2682 O TYR D 6 -3.897 21.628 77.290 0.00 23.94 O \ ATOM 2683 CB TYR D 6 -3.285 19.928 74.498 0.00 22.76 C \ ATOM 2684 CG TYR D 6 -3.070 18.505 74.040 0.00 21.40 C \ ATOM 2685 CD1 TYR D 6 -2.385 17.590 74.840 0.00 20.80 C \ ATOM 2686 CD2 TYR D 6 -3.544 18.072 72.802 0.00 20.92 C \ ATOM 2687 CE1 TYR D 6 -2.177 16.280 74.419 0.00 20.21 C \ ATOM 2688 CE2 TYR D 6 -3.341 16.763 72.372 0.00 20.33 C \ ATOM 2689 CZ TYR D 6 -2.657 15.874 73.186 0.00 20.12 C \ ATOM 2690 OH TYR D 6 -2.452 14.579 72.768 0.00 19.71 O \ ATOM 2691 OXT TYR D 6 -4.754 22.444 75.426 0.00 23.99 O \ ATOM 2692 H TYR D 6 -6.039 20.683 74.438 0.00 18.00 H \ ATOM 2693 HH TYR D 6 -2.804 14.465 71.880 0.00 18.00 H \ """, "1a5h.interface.16") cmd.set('ignore_case', '0') cmd.set('retain_order', '1') cmd.set('cartoon_smooth_loops', 0) cmd.set('transparency', 0.6) cmd.set('surface_color', 'grey80') cmd.hide('everything', 'all') cmd.color('grey80', 'all') cmd.select('dom', 'c. D & i. 1A-6 | c. B & i. 16-244') cmd.show('cartoon', 'dom') cmd.spectrum('count', 'rainbow', 'dom') cmd.create('partner', 'c. C & i. 1A-6 | c. A & i. 16-244') cmd.show('cartoon', 'partner') cmd.select('inter_resi', 'c. C & i. 3') cmd.color('purple', 'inter_resi') cmd.orient('dom | inter_resi') cmd.select('ptn_inter_resi', 'byres (!(n. C+O+H+CA+N)&dom within 4 of inter)') cmd.set_bond('stick_radius', 0.1, 'ptn_inter_resi') cmd.color('atomic','!e. C & inter_resi & (!(n. C+O+H+CA|(n. N&!r. pro)))') cmd.color('grey70','e. C & inter_resi & (!(n. C+O+H+CA|(n. N&!r. pro)))') cmd.color('atomic', '!e. C & ptn_inter_resi & (!(n. C+O+H+CA|(n. N&!r. pro)))') cmd.color('grey70', 'e. C & ptn_inter_resi & (!(n. C+O+H+CA|(n. N&!r. pro)))') cmd.show('sticks', 'ptn_inter_resi & !(n;C,O,H|(n. N&!r. pro))') cmd.show('sticks', 'inter_resi & !(n;C,O,H|(n. N&!r. pro))') cmd.show('surface', 'partner') cmd.deselect()