Datasets:
| from pymol import cmd,stored | |
| set depth_cue, 1 | |
| set fog_start, 0.4 | |
| set_color b_col, [36,36,85] | |
| set_color t_col, [10,10,10] | |
| set bg_rgb_bottom, b_col | |
| set bg_rgb_top, t_col | |
| set bg_gradient | |
| set spec_power = 200 | |
| set spec_refl = 0 | |
| load "data/il33.pdb", protein | |
| create ligands, protein and organic | |
| select xlig, protein and organic | |
| delete xlig | |
| hide everything, all | |
| color white, elem c | |
| color bluewhite, protein | |
| #show_as cartoon, protein | |
| show surface, protein | |
| #set transparency, 0.15 | |
| show sticks, ligands | |
| set stick_color, magenta | |
| # SAS points | |
| load "data/il33.pdb_points.pdb.gz", points | |
| hide nonbonded, points | |
| show nb_spheres, points | |
| set sphere_scale, 0.2, points | |
| cmd.spectrum("b", "green_red", selection="points", minimum=0, maximum=0.7) | |
| stored.list=[] | |
| cmd.iterate("(resn STP)","stored.list.append(resi)") # read info about residues STP | |
| lastSTP=stored.list[-1] # get the index of the last residue | |
| hide lines, resn STP | |
| cmd.select("rest", "resn STP and resi 0") | |
| for my_index in range(1,int(lastSTP)+1): cmd.select("pocket"+str(my_index), "resn STP and resi "+str(my_index)) | |
| for my_index in range(1,int(lastSTP)+1): cmd.show("spheres","pocket"+str(my_index)) | |
| for my_index in range(1,int(lastSTP)+1): cmd.set("sphere_scale","0.4","pocket"+str(my_index)) | |
| for my_index in range(1,int(lastSTP)+1): cmd.set("sphere_transparency","0.1","pocket"+str(my_index)) | |
| set_color pcol1 = [0.361,0.576,0.902] | |
| select surf_pocket1, protein and id [1684,1685,960,1285,1299,936,937,1323,1699,1475,1297,1542,1544,1487,1489,1519] | |
| set surface_color, pcol1, surf_pocket1 | |
| set_color pcol2 = [0.702,0.278,0.533] | |
| select surf_pocket2, protein and id [1828,1783,1784,776,754,755,1766,774,1311,789] | |
| set surface_color, pcol2, surf_pocket2 | |
| deselect | |
| orient | |