Repository navigation
Expand file tree
/
Copy pathsettings.py
More file actions
72 lines (63 loc) · 1.87 KB
/
Copy pathsettings.py
File metadata and controls
72 lines (63 loc) · 1.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
'''
contains user-settings that may not need to be changed regularly.
TODO: change this to be a configparser file
'''
# initial panel settings
# controls_xy = (2300,300) #cincy monitor
controls_xy = (100,100) #cincy monitor
# cairo settings
img_width = 1500
img_height = 900
img_aspect = float(img_width)/float(img_height)
tree_color = .70
tree_alpha = 1.0
tree_color_tup = (tree_color, tree_color, tree_color, tree_alpha)
tree_line_pct_of_width = .0005
# histogram settings
alpha_kernel = .10
min_branch_length = 0.
max_branch_length = .20
circle_width_factor = .006
circle_width_pixels = 5
raw_circle_width = .01
reads_scalar = 1000
reads_cap = 500
reads_scale_method = None
# annotation settings
clade_circle_margin = .1
clade_circle_color = .60
clade_circle_alpha = .75
clade_circle_color_tuple = (clade_circle_color, clade_circle_color, clade_circle_color, clade_circle_alpha)
collapsed_clade_color = (119./255., 55./255., 11./255.)
collapsed_clade_wedge = .10472 # pi/30
# color legend settings:
border_font_color = (0., 0., 0.,1.)
tick_height_rel_to_box = 0.025
# reference data settings
annotation_file = None
# Color Scale:
full_hue = True
if full_hue:
# ***full hue scale***
roygbiv = [
(255.,0.,0.), #red
# (255.,153.,0.),
(255.,255.,0.), #yellow
(0.,255.,0.), #green
(0.,255.,255.), #teal
(0.,0.,255.), #blue
# (255.,0.,255.), #purple
# (255., 0., 0.)
]
else:
# ***accessibility enhanced***
roygbiv = [
# (255.,0.,0.), #red
# (255.,153.,0.),
# (255.,255.,0.), #yellow
# (0.,255.,0.), #green
# (0.,255.,255.), #teal
(0.,0.,255.), #blue
(255.,0.,255.), #purple
(255., 0., 0.)
]