# pml automagically-generated by psntools 1.0

# molecule file name, you can change it with an other file of the same molecule
mol_file_name = "8GGB_nogp.pdb"

# cartoon color definition, change it as you please
set_color cartoon_color, [ 0.60, 0.60, 0.60 ]

# color definitions, change them as you please
set_color color_value_from_0_to_10,   [ 0.00, 0.00, 0.00 ]
set_color color_value_from_10_to_20,  [ 0.10, 0.10, 0.10 ]
set_color color_value_from_20_to_30,  [ 0.30, 0.30, 0.30 ]
set_color color_value_from_30_to_40,  [ 0.60, 0.60, 0.60 ]
set_color color_value_from_40_to_50,  [ 0.00, 0.00, 1.00 ]
set_color color_value_from_50_to_60,  [ 0.00, 0.50, 1.00 ]
set_color color_value_from_60_to_70,  [ 0.00, 1.00, 0.00 ]
set_color color_value_from_70_to_80,  [ 1.00, 1.00, 0.00 ]
set_color color_value_from_80_to_90,  [ 1.00, 0.60, 0.00 ]
set_color color_value_from_90_to_100, [ 1.00, 0.00, 0.00 ]

# consurf colors, change them as you please
set_color color_consurf_0, [ 0.00, 0.00, 0.00 ]
set_color color_consurf_1, [ 0.06, 0.78, 0.82 ]
set_color color_consurf_2, [ 0.55, 1.00, 1.00 ]
set_color color_consurf_3, [ 0.84, 1.00, 1.00 ]
set_color color_consurf_4, [ 0.92, 1.00, 1.00 ]
set_color color_consurf_5, [ 1.00, 1.00, 1.00 ]
set_color color_consurf_6, [ 0.99, 0.93, 0.96 ]
set_color color_consurf_7, [ 0.98, 0.79, 0.87 ]
set_color color_consurf_8, [ 0.94, 0.49, 0.67 ]
set_color color_consurf_9, [ 0.63, 0.15, 0.38 ]

# color definitions, change them as you please
set_color color_num_0,   [ 0.00, 0.00, 0.00 ]
set_color color_num_1,   [ 1.00, 0.00, 0.00 ]
set_color color_num_2,   [ 0.00, 1.00, 0.00 ]
set_color color_num_3,   [ 0.00, 0.00, 1.00 ]
set_color color_num_4,   [ 1.00, 1.00, 0.00 ]
set_color color_num_5,   [ 0.00, 1.00, 1.00 ]
set_color color_num_6,   [ 1.00, 0.00, 1.00 ]
set_color color_num_7,   [ 0.80, 1.00, 0.00 ]
set_color color_num_8,   [ 1.00, 0.70, 0.70 ]
set_color color_num_9,   [ 1.00, 0.70, 0.20 ]
set_color color_num_10,  [ 0.00, 0.60, 1.00 ]
set_color color_num_11,  [ 0.54, 0.31, 0.64 ]
set_color color_num_12,  [ 1.00, 0.50, 1.00 ]
set_color color_num_13,  [ 0.20, 0.60, 0.20 ]
set_color color_num_14,  [ 1.00, 0.12, 0.00 ]
set_color color_num_15,  [ 1.00, 0.24, 0.00 ]
set_color color_num_16,  [ 1.00, 0.36, 0.00 ]
set_color color_num_17,  [ 1.00, 0.48, 0.00 ]
set_color color_num_18,  [ 1.00, 0.60, 0.00 ]
set_color color_num_19,  [ 1.00, 0.72, 0.00 ]
set_color color_num_20,  [ 1.00, 0.84, 0.00 ]
set_color color_num_21,  [ 1.00, 0.96, 0.00 ]
set_color color_num_22,  [ 0.92, 1.00, 0.00 ]
set_color color_num_23,  [ 0.80, 1.00, 0.00 ]
set_color color_num_24,  [ 0.68, 1.00, 0.00 ]
set_color color_num_25,  [ 0.56, 1.00, 0.00 ]
set_color color_num_26,  [ 0.44, 1.00, 0.00 ]
set_color color_num_27,  [ 0.32, 1.00, 0.00 ]
set_color color_num_28,  [ 0.20, 1.00, 0.00 ]
set_color color_num_29,  [ 0.08, 1.00, 0.00 ]
set_color color_num_30,  [ 0.00, 1.00, 0.04 ]
set_color color_num_31,  [ 0.00, 1.00, 0.16 ]
set_color color_num_32,  [ 0.00, 1.00, 0.28 ]
set_color color_num_33,  [ 0.00, 1.00, 0.40 ]
set_color color_num_34,  [ 0.00, 1.00, 0.52 ]
set_color color_num_35,  [ 0.00, 1.00, 0.64 ]
set_color color_num_36,  [ 0.00, 1.00, 0.76 ]
set_color color_num_37,  [ 0.00, 1.00, 0.88 ]
set_color color_num_38,  [ 0.00, 1.00, 1.00 ]
set_color color_num_39,  [ 0.00, 0.88, 1.00 ]
set_color color_num_40,  [ 0.00, 0.76, 1.00 ]
set_color color_num_41,  [ 0.00, 0.64, 1.00 ]
set_color color_num_42,  [ 0.00, 0.52, 1.00 ]
set_color color_num_43,  [ 0.00, 0.40, 1.00 ]
set_color color_num_44,  [ 0.00, 0.28, 1.00 ]
set_color color_num_45,  [ 0.00, 0.16, 1.00 ]
set_color color_num_46,  [ 0.00, 0.04, 1.00 ]
set_color color_num_47,  [ 0.08, 0.00, 1.00 ]
set_color color_num_48,  [ 0.20, 0.00, 1.00 ]
set_color color_num_49,  [ 0.32, 0.00, 1.00 ]
set_color color_num_50,  [ 0.44, 0.00, 1.00 ]
set_color color_num_51,  [ 0.56, 0.00, 1.00 ]
set_color color_num_52,  [ 0.68, 0.00, 1.00 ]
set_color color_num_53,  [ 0.80, 0.00, 1.00 ]
set_color color_num_54,  [ 0.92, 0.00, 1.00 ]
set_color color_num_55,  [ 1.00, 0.00, 0.96 ]
set_color color_num_56,  [ 1.00, 0.00, 0.84 ]
set_color color_num_57,  [ 1.00, 0.00, 0.72 ]
set_color color_num_58,  [ 1.00, 0.00, 0.60 ]
set_color color_num_59,  [ 1.00, 0.00, 0.48 ]
set_color color_num_60,  [ 1.00, 0.00, 0.36 ]
set_color color_num_61,  [ 1.00, 0.00, 0.24 ]
set_color color_num_62,  [ 1.00, 0.00, 0.12 ]

# fixed size radius used for clusters and communities, change them as you please
link_fixed_size_value = 4.0
node_fixed_size_value = 1.0
hub_fixed_size_value  = 1.8

# link size definitions, change them as you please
link_size_value_from_0_to_10   = 2.5
link_size_value_from_10_to_20  = 3.0
link_size_value_from_20_to_30  = 3.5
link_size_value_from_30_to_40  = 4.0
link_size_value_from_40_to_50  = 4.5
link_size_value_from_50_to_60  = 5.0
link_size_value_from_60_to_70  = 5.5
link_size_value_from_70_to_80  = 6.0
link_size_value_from_80_to_90  = 6.5
link_size_value_from_90_to_100 = 7.0

# node size definitions, change them as you please
node_size_value_from_0_to_10   = 0.5
node_size_value_from_10_to_20  = 0.6
node_size_value_from_20_to_30  = 0.7
node_size_value_from_30_to_40  = 0.8
node_size_value_from_40_to_50  = 0.9
node_size_value_from_50_to_60  = 1.0
node_size_value_from_60_to_70  = 1.1
node_size_value_from_70_to_80  = 1.2
node_size_value_from_80_to_90  = 1.3
node_size_value_from_90_to_100 = 1.4

# diff colors definitions, change them as you please
set_color net1_items_color,   [ 1.0, 0.5, 0.0 ]
set_color shared_items_color, [ 0.5, 1.0, 0.0 ]
set_color net2_items_color,   [ 0.8, 0.5, 1.0 ]

# pert colors definitions, change them as you please
set_color color_pert_neg_75_100, [ 0.00, 0.00, 1.00 ]
set_color color_pert_neg_50_75,  [ 0.00, 0.37, 1.00 ]
set_color color_pert_neg_25_50,  [ 0.00, 0.75, 1.00 ]
set_color color_pert_neg_0_25,   [ 0.00, 1.00, 1.00 ]
set_color color_pert_zero,       [ 1.00, 1.00, 1.00 ]
set_color color_pert_pos_75_100, [ 1.00, 0.00, 0.00 ]
set_color color_pert_pos_50_75,  [ 1.00, 0.37, 0.00 ]
set_color color_pert_pos_25_50,  [ 1.00, 0.75, 0.00 ]
set_color color_pert_pos_0_25,   [ 1.00, 1.00, 0.00 ]

# some other graphic settings, change them as you please
cartoon automatic
set cartoon_smooth_loops=0
set cartoon_fancy_helices=1
set transparency_mode=1
set ray_shadows=0
set ray_transparency_shadows=0
set cartoon_transparency=0.6
bg_color white
set ortho=on
set depth_cue=off
set ray_trace_fog=0
set antialias=1
set dash_gap,0.0
set dash_round_ends,on
set dash_width,3.0
set dash_radius,0.0
print("this is 8GGB_nogp_hubs.pml")



# =========================================== #
# PLEASE DO NOT EDIT ANYTHING BELOW THIS LINE #
# =========================================== #



cmd.load(mol_file_name, "molcart")
dss molcart
hide everything, molcart
color cartoon_color, molcart
show cartoon, molcart

sele notpol, molcart and not polymer
show sticks, notpol
cmd.load(mol_file_name, "psg")
hide everything, psg
# node: L:L:?1
sele node1, psg and L/L/1/CAF
color color_consurf_0, node1
alter node1, vdw = node_size_value_from_70_to_80
show sphere, node1

# node: R:R:M40
sele node2, psg and R/R/40/CA
color color_consurf_6, node2
alter node2, vdw = node_size_value_from_40_to_50
show sphere, node2

# node: R:R:N51
sele node3, psg and R/R/51/CA
color color_consurf_9, node3
alter node3, vdw = node_size_value_from_70_to_80
show sphere, node3

# node: R:R:I58
sele node4, psg and R/R/58/CA
color color_consurf_7, node4
alter node4, vdw = node_size_value_from_60_to_70
show sphere, node4

# node: R:R:N69
sele node5, psg and R/R/69/CA
color color_consurf_9, node5
alter node5, vdw = node_size_value_from_80_to_90
show sphere, node5

# node: R:R:F101
sele node6, psg and R/R/101/CA
color color_consurf_5, node6
alter node6, vdw = node_size_value_from_90_to_100
show sphere, node6

# node: R:R:E107
sele node7, psg and R/R/107/CA
color color_consurf_5, node7
alter node7, vdw = node_size_value_from_70_to_80
show sphere, node7

# node: R:R:D113
sele node8, psg and R/R/113/CA
color color_consurf_7, node8
alter node8, vdw = node_size_value_from_80_to_90
show sphere, node8

# node: R:R:L115
sele node9, psg and R/R/115/CA
color color_consurf_5, node9
alter node9, vdw = node_size_value_from_50_to_60
show sphere, node9

# node: R:R:E122
sele node10, psg and R/R/122/CA
color color_consurf_5, node10
alter node10, vdw = node_size_value_from_40_to_50
show sphere, node10

# node: R:R:Y132
sele node11, psg and R/R/132/CA
color color_consurf_8, node11
alter node11, vdw = node_size_value_from_70_to_80
show sphere, node11

# node: R:R:W158
sele node12, psg and R/R/158/CA
color color_consurf_9, node12
alter node12, vdw = node_size_value_from_40_to_50
show sphere, node12

# node: R:R:F166
sele node13, psg and R/R/166/CA
color color_consurf_4, node13
alter node13, vdw = node_size_value_from_60_to_70
show sphere, node13

# node: R:R:T195
sele node14, psg and R/R/195/CA
color color_consurf_3, node14
alter node14, vdw = node_size_value_from_30_to_40
show sphere, node14

# node: R:R:F208
sele node15, psg and R/R/208/CA
color color_consurf_8, node15
alter node15, vdw = node_size_value_from_90_to_100
show sphere, node15

# node: R:R:V218
sele node16, psg and R/R/218/CA
color color_consurf_6, node16
alter node16, vdw = node_size_value_from_30_to_40
show sphere, node16

# node: R:R:Y219
sele node17, psg and R/R/219/CA
color color_consurf_9, node17
alter node17, vdw = node_size_value_from_50_to_60
show sphere, node17

# node: R:R:I278
sele node18, psg and R/R/278/CA
color color_consurf_8, node18
alter node18, vdw = node_size_value_from_20_to_30
show sphere, node18

# node: R:R:F282
sele node19, psg and R/R/282/CA
color color_consurf_9, node19
alter node19, vdw = node_size_value_from_40_to_50
show sphere, node19

# node: R:R:W286
sele node20, psg and R/R/286/CA
color color_consurf_8, node20
alter node20, vdw = node_size_value_from_60_to_70
show sphere, node20

# node: R:R:F289
sele node21, psg and R/R/289/CA
color color_consurf_6, node21
alter node21, vdw = node_size_value_from_70_to_80
show sphere, node21

# node: R:R:F290
sele node22, psg and R/R/290/CA
color color_consurf_7, node22
alter node22, vdw = node_size_value_from_90_to_100
show sphere, node22

# node: R:R:N293
sele node23, psg and R/R/293/CA
color color_consurf_5, node23
alter node23, vdw = node_size_value_from_40_to_50
show sphere, node23

# node: R:R:K305
sele node24, psg and R/R/305/CA
color color_consurf_2, node24
alter node24, vdw = node_size_value_from_50_to_60
show sphere, node24

# node: R:R:Y308
sele node25, psg and R/R/308/CA
color color_consurf_5, node25
alter node25, vdw = node_size_value_from_70_to_80
show sphere, node25

# node: R:R:F332
sele node26, psg and R/R/332/CA
color color_consurf_9, node26
alter node26, vdw = node_size_value_from_70_to_80
show sphere, node26

