# 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 = "9OPX.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 9OPX_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: R:R:F587
sele node1, psg and R/R/587/CA
color color_consurf_9, node1
alter node1, vdw = node_size_value_from_40_to_50
show sphere, node1

# node: R:R:P594
sele node2, psg and R/R/594/CA
color color_consurf_8, node2
alter node2, vdw = node_size_value_from_40_to_50
show sphere, node2

# node: R:R:I595
sele node3, psg and R/R/595/CA
color color_consurf_7, node3
alter node3, vdw = node_size_value_from_80_to_90
show sphere, node3

# node: R:R:F605
sele node4, psg and R/R/605/CA
color color_consurf_6, node4
alter node4, vdw = node_size_value_from_40_to_50
show sphere, node4

# node: R:R:Y615
sele node5, psg and R/R/615/CA
color color_consurf_8, node5
alter node5, vdw = node_size_value_from_50_to_60
show sphere, node5

# node: R:R:F653
sele node6, psg and R/R/653/CA
color color_consurf_7, node6
alter node6, vdw = node_size_value_from_60_to_70
show sphere, node6

# node: R:R:M661
sele node7, psg and R/R/661/CA
color color_consurf_7, node7
alter node7, vdw = node_size_value_from_50_to_60
show sphere, node7

# node: R:R:Y669
sele node8, psg and R/R/669/CA
color color_consurf_7, node8
alter node8, vdw = node_size_value_from_50_to_60
show sphere, node8

# node: R:R:W672
sele node9, psg and R/R/672/CA
color color_consurf_6, node9
alter node9, vdw = node_size_value_from_60_to_70
show sphere, node9

# node: R:R:P678
sele node10, psg and R/R/678/CA
color color_consurf_8, node10
alter node10, vdw = node_size_value_from_40_to_50
show sphere, node10

# node: R:R:K689
sele node11, psg and R/R/689/CA
color color_consurf_9, node11
alter node11, vdw = node_size_value_from_60_to_70
show sphere, node11

# node: R:R:M697
sele node12, psg and R/R/697/CA
color color_consurf_7, node12
alter node12, vdw = node_size_value_from_40_to_50
show sphere, node12

# node: R:R:L702
sele node13, psg and R/R/702/CA
color color_consurf_8, node13
alter node13, vdw = node_size_value_from_30_to_40
show sphere, node13

# node: R:R:D709
sele node14, psg and R/R/709/CA
color color_consurf_3, node14
alter node14, vdw = node_size_value_from_70_to_80
show sphere, node14

# node: R:R:I715
sele node15, psg and R/R/715/CA
color color_consurf_4, node15
alter node15, vdw = node_size_value_from_40_to_50
show sphere, node15

# node: R:R:Y724
sele node16, psg and R/R/724/CA
color color_consurf_8, node16
alter node16, vdw = node_size_value_from_50_to_60
show sphere, node16

# node: R:R:F745
sele node17, psg and R/R/745/CA
color color_consurf_7, node17
alter node17, vdw = node_size_value_from_40_to_50
show sphere, node17

# node: R:R:N755
sele node18, psg and R/R/755/CA
color color_consurf_8, node18
alter node18, vdw = node_size_value_from_30_to_40
show sphere, node18

# node: R:R:E758
sele node19, psg and R/R/758/CA
color color_consurf_9, node19
alter node19, vdw = node_size_value_from_60_to_70
show sphere, node19

# node: R:R:I762
sele node20, psg and R/R/762/CA
color color_consurf_9, node20
alter node20, vdw = node_size_value_from_30_to_40
show sphere, node20

# node: R:R:Y769
sele node21, psg and R/R/769/CA
color color_consurf_8, node21
alter node21, vdw = node_size_value_from_60_to_70
show sphere, node21

# node: R:R:Y783
sele node22, psg and R/R/783/CA
color color_consurf_8, node22
alter node22, vdw = node_size_value_from_70_to_80
show sphere, node22

# node: R:R:I790
sele node23, psg and R/R/790/CA
color color_consurf_8, node23
alter node23, vdw = node_size_value_from_40_to_50
show sphere, node23

# node: R:R:L793
sele node24, psg and R/R/793/CA
color color_consurf_8, node24
alter node24, vdw = node_size_value_from_70_to_80
show sphere, node24

# node: R:R:Y807
sele node25, psg and R/R/807/CA
color color_consurf_8, node25
alter node25, vdw = node_size_value_from_50_to_60
show sphere, node25

# node: R:R:F808
sele node26, psg and R/R/808/CA
color color_consurf_9, node26
alter node26, vdw = node_size_value_from_60_to_70
show sphere, node26

# node: R:R:F827
sele node27, psg and R/R/827/CA
color color_consurf_7, node27
alter node27, vdw = node_size_value_from_50_to_60
show sphere, node27

# node: S:S:L567
sele node28, psg and S/S/567/CA
color color_consurf_9, node28
alter node28, vdw = node_size_value_from_30_to_40
show sphere, node28

# node: S:S:E571
sele node29, psg and S/S/571/CA
color color_consurf_7, node29
alter node29, vdw = node_size_value_from_40_to_50
show sphere, node29

# node: S:S:L585
sele node30, psg and S/S/585/CA
color color_consurf_7, node30
alter node30, vdw = node_size_value_from_20_to_30
show sphere, node30

# node: S:S:L592
sele node31, psg and S/S/592/CA
color color_consurf_5, node31
alter node31, vdw = node_size_value_from_20_to_30
show sphere, node31

# node: S:S:L603
sele node32, psg and S/S/603/CA
color color_consurf_8, node32
alter node32, vdw = node_size_value_from_60_to_70
show sphere, node32

# node: S:S:F612
sele node33, psg and S/S/612/CA
color color_consurf_8, node33
alter node33, vdw = node_size_value_from_50_to_60
show sphere, node33

# node: S:S:P630
sele node34, psg and S/S/630/CA
color color_consurf_7, node34
alter node34, vdw = node_size_value_from_50_to_60
show sphere, node34

# node: S:S:P633
sele node35, psg and S/S/633/CA
color color_consurf_9, node35
alter node35, vdw = node_size_value_from_30_to_40
show sphere, node35

# node: S:S:L653
sele node36, psg and S/S/653/CA
color color_consurf_7, node36
alter node36, vdw = node_size_value_from_50_to_60
show sphere, node36

# node: S:S:E697
sele node37, psg and S/S/697/CA
color color_consurf_9, node37
alter node37, vdw = node_size_value_from_60_to_70
show sphere, node37

# node: S:S:Y704
sele node38, psg and S/S/704/CA
color color_consurf_7, node38
alter node38, vdw = node_size_value_from_40_to_50
show sphere, node38

# node: S:S:L719
sele node39, psg and S/S/719/CA
color color_consurf_4, node39
alter node39, vdw = node_size_value_from_30_to_40
show sphere, node39

# node: S:S:L724
sele node40, psg and S/S/724/CA
color color_consurf_6, node40
alter node40, vdw = node_size_value_from_30_to_40
show sphere, node40

# node: S:S:H739
sele node41, psg and S/S/739/CA
color color_consurf_7, node41
alter node41, vdw = node_size_value_from_70_to_80
show sphere, node41

# node: S:S:T741
sele node42, psg and S/S/741/CA
color color_consurf_8, node42
alter node42, vdw = node_size_value_from_20_to_30
show sphere, node42

# node: S:S:N742
sele node43, psg and S/S/742/CA
color color_consurf_8, node43
alter node43, vdw = node_size_value_from_80_to_90
show sphere, node43

# node: S:S:F747
sele node44, psg and S/S/747/CA
color color_consurf_3, node44
alter node44, vdw = node_size_value_from_60_to_70
show sphere, node44

# node: S:S:F754
sele node45, psg and S/S/754/CA
color color_consurf_9, node45
alter node45, vdw = node_size_value_from_60_to_70
show sphere, node45

# node: S:S:L755
sele node46, psg and S/S/755/CA
color color_consurf_8, node46
alter node46, vdw = node_size_value_from_60_to_70
show sphere, node46

# node: S:S:Y763
sele node47, psg and S/S/763/CA
color color_consurf_9, node47
alter node47, vdw = node_size_value_from_70_to_80
show sphere, node47

# node: S:S:R765
sele node48, psg and S/S/765/CA
color color_consurf_9, node48
alter node48, vdw = node_size_value_from_50_to_60
show sphere, node48

# node: S:S:L769
sele node49, psg and S/S/769/CA
color color_consurf_9, node49
alter node49, vdw = node_size_value_from_50_to_60
show sphere, node49

# node: S:S:Y776
sele node50, psg and S/S/776/CA
color color_consurf_8, node50
alter node50, vdw = node_size_value_from_70_to_80
show sphere, node50

# node: S:S:W780
sele node51, psg and S/S/780/CA
color color_consurf_9, node51
alter node51, vdw = node_size_value_from_80_to_90
show sphere, node51

# node: S:S:L787
sele node52, psg and S/S/787/CA
color color_consurf_8, node52
alter node52, vdw = node_size_value_from_60_to_70
show sphere, node52

# node: S:S:M800
sele node53, psg and S/S/800/CA
color color_consurf_7, node53
alter node53, vdw = node_size_value_from_40_to_50
show sphere, node53

# node: S:S:L811
sele node54, psg and S/S/811/CA
color color_consurf_8, node54
alter node54, vdw = node_size_value_from_30_to_40
show sphere, node54

# node: S:S:F814
sele node55, psg and S/S/814/CA
color color_consurf_9, node55
alter node55, vdw = node_size_value_from_60_to_70
show sphere, node55

# node: S:S:H815
sele node56, psg and S/S/815/CA
color color_consurf_9, node56
alter node56, vdw = node_size_value_from_70_to_80
show sphere, node56

# node: S:S:K818
sele node57, psg and S/S/818/CA
color color_consurf_9, node57
alter node57, vdw = node_size_value_from_50_to_60
show sphere, node57

