-
Notifications
You must be signed in to change notification settings - Fork 6
/
paplot.cfg
244 lines (199 loc) · 5.76 KB
/
paplot.cfg
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
#
# $Id: paplot.cfg 211 2017-08-21 06:47:03Z aokada $
#
###################### general
[style]
path =
remarks =
###################### mutation
[mutation]
use_gene_rate = 0
limited_gene =
nouse_gene =
limited_group =
nouse_group =
group_color =
### special item
# {#number_id}
# {#number_gene}
# {#number_mutaion}
# {#sum_mutaion}
# {#item_value}
# {#sum_item_value}
tooltip_format_checker_title1 = Sample:{id}, Gene:{gene}, {#sum_item_value}
# before customization
# tooltip_format_checker_partial = Mutation Type[{group}]
# after customization
tooltip_format_checker_partial = Mutation Type[{group}] {chr}:{start:,} [{ref} -> {alt}]
tooltip_format_gene_title = Gene:{gene}, {#sum_item_value}
tooltip_format_gene_partial = Mutation Type:{group}, {#item_value}
tooltip_format_id_title = Sample:{id}, {#sum_item_value}
tooltip_format_id_partial = Mutation Type:{group}, {#item_value}
[result_format_mutation]
suffix =
sept = ,
header = True
comment =
sept_group =
sept_gene =
# column index (required)
col_group = MutationType
col_gene = Gene
# column index (option)
col_opt_chr = Chr
col_opt_start = Start
col_opt_end = End
col_opt_ref = Ref
col_opt_alt = Alt
col_opt_id = Sample
[merge_format_mutation]
lack_column_complement = NA
###################### ca
[genome]
path =
[ca]
use_chrs = 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,X,Y
# if setting label-text & color
#use_chrs = 1:Chr1:crimson, 2:Chr2:lightpink, 3:Chr3:mediumvioletred, 4:Chr4:violet, 5:Chr5:darkmagenta, 6:Chr6:mediumpurple, 7:Chr7:mediumblue, 8:Chr8:lightsteelblue, 9:Chr9:deepskyblue, 10:Chr10:lightblue, 11:Chr11:seagreen, 12:Chr12:palegreen, 13:Chr13:darkgreen, 14:Chr14:limegreen, 15:Chr15:darkolivegreen, 16:Chr16:yellowgreen, 17:Chr17:olivedrab, 18:Chr18:yellow, 19:Chr19:olive, 20:Chr20:gold, 21:Chr21:orange, 22:Chr22:bisque, X:ChrX:darkorange, Y:ChrY:sandybrown
selector_split_size = 5000000
limited_group =
nouse_group =
group_color =
# before customization
# tooltip_format = [{chr1}] {break1:,}; [{chr2}] {break2:,}
# after customization
tooltip_format = [{chr1}] {break1:,} ({dir1}) {gene_name1}; [{chr2}] {break2:,} ({dir2}) {gene_name2}; {type}
[result_format_ca]
suffix =
sept = ,
header = True
comment =
# column index (required)
col_chr1 = Chr1
col_break1 = Break1
col_chr2 = Chr2
col_break2 = Break2
# column index (option)
col_opt_dir1 = Dir1
col_opt_dir2 = Dir2
col_opt_type = MutationType
col_opt_gene_name1 = Gene1
col_opt_gene_name2 = Gene2
col_opt_group =
col_opt_id = Sample
[merge_format_ca]
lack_column_complement = NA
##################### qc
[qc]
# (none)
[result_format_qc]
suffix =
sept = ,
header = True
comment =
col_opt_id = Sample
# Columns used in the chart_1
col_opt_average_depth = AverageDepth
# Columns used in the chart_2
col_opt_read_length_r1 = ReadLengthR1
col_opt_read_length_r2 = ReadLengthR2
# Columns used in the chart_3
col_opt_mapped_reads = MappedReads
col_opt_total_reads = TotalReads
# Columns used in the chart_4
col_opt_ratio_2x = 2xRatio
col_opt_ratio_10x = 10xRatio
col_opt_ratio_20x = 20xRatio
col_opt_ratio_30x = 30xRatio
[merge_format_qc]
lack_column_complement = NA
[qc_chart_brush]
stack = {average_depth}
name_set = Average depth:#E3E5E9
[qc_chart_1]
title = Chart 1: Average depth
title_y = Average of depth
stack1 = {average_depth}
name_set = Average depth:#2478B4
tooltip_format1 = Sample:{id}
tooltip_format2 = {average_depth:.2}
[qc_chart_2]
title = Chart 2: Read length
title_y = Read length
stack1 = {read_length_r1}
stack2 = {read_length_r2}
name_set = Read length r1:#2478B4, Read length r2:#FF7F0E
tooltip_format1 = Sample:{id}
tooltip_format2 = Read1: {read_length_r1: ,}
tooltip_format3 = Read2: {read_length_r2: ,}
[qc_chart_3]
title = Chart 3: Mapped reads / Total reads
title_y = Rate
stack1 = {mapped_reads/total_reads}
name_set = Mapped reads / Total reads:#2478B4
tooltip_format1 = Sample:{id}
tooltip_format2 = {mapped_reads/total_reads:.2}
[qc_chart_4]
title = Chart 4: Depth coverage
title_y = Coverage
stack1 = {ratio_30x}
stack2 = {ratio_20x-ratio_30x}
stack3 = {ratio_10x-ratio_20x}
stack4 = {ratio_2x-ratio_10x}
name_set = Ratio 30x:#2478B4, Ratio 20x:#FF7F0E, Ratio 10x:#2CA02C, Ratio 2x:#D62728
tooltip_format1 = Sample:{id}
tooltip_format2 = Ratio 2x: {ratio_2x:.2}
tooltip_format3 = Ratio 10x: {ratio_10x:.2}
tooltip_format4 = Ratio 20x: {ratio_20x:.2}
tooltip_format5 = Ratio 30x: {ratio_30x:.2}
###################### signature
[signature]
tooltip_format_signature_title = {sig}
tooltip_format_signature_partial = {route}: {#sum_item_value:6.2}
tooltip_format_mutation_title = {id}
tooltip_format_mutation_partial = {sig}: {#sum_item_value:.2}
signature_y_max = -1
alt_color_CtoA = #1BBDEB
alt_color_CtoG = #211D1E
alt_color_CtoT = #E62623
alt_color_TtoA = #CFCFCF
alt_color_TtoC = #ACD577
alt_color_TtoG = #EDC7C4
[result_format_signature]
format = json
background = False
# the keys in input json file
key_signature = signature
key_id = id
key_mutation = mutation
key_mutation_count = mutation_count
###################### pmsignature
[pmsignature]
tooltip_format_ref1 = A: {a:.2}
tooltip_format_ref2 = C: {c:.2}
tooltip_format_ref3 = G: {g:.2}
tooltip_format_ref4 = T: {t:.2}
tooltip_format_alt1 = C -> A: {ca:.2}
tooltip_format_alt2 = C -> G: {cg:.2}
tooltip_format_alt3 = C -> T: {ct:.2}
tooltip_format_alt4 = T -> A: {ta:.2}
tooltip_format_alt5 = T -> C: {tc:.2}
tooltip_format_alt6 = T -> G: {tg:.2}
tooltip_format_strand = + {plus:.2} - {minus:.2}
tooltip_format_mutation_title = {id}
tooltip_format_mutation_partial = {sig}: {#sum_item_value:.2}
color_A = #06B838
color_C = #609CFF
color_G = #B69D02
color_T = #F6766D
color_plus = #00BEC3
color_minus = #F263E2
[result_format_pmsignature]
format = json
background = True
key_ref = ref
key_alt = alt
key_strand = strand
key_id = id
key_mutation = mutation
key_mutation_count = mutation_count