-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.yaml
228 lines (228 loc) · 5.48 KB
/
schema.yaml
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
---
patient_id:
type: 'String'
required: true
help: 'Patient identifier'
dataset_id:
type: 'String'
required: true
help: 'Dataset identifier'
algorithm:
type: 'List'
required: true
help: 'List of QC algorithms'
choices:
- fastqc
- mosdepth_coverage
- mosdepth_quantize
- samtools_stats
- collectwgsmetrics
- qualimap_bamqc
default:
- samtools_stats
- collectwgsmetrics
reference:
type: 'Path'
mode: 'r'
required: false
help: 'Absolute path to reference fasta'
output_dir:
type: 'Path'
mode: 'w'
required: true
help: 'Absolute path to output directory'
blcds_registered_dataset:
type: 'Bool'
required: false
default: false
help: 'if you want the output to be registered (Boutros Lab only)'
save_intermediate_files:
type: 'Bool'
required: false
default: false
help: 'The option to save the intermediate files'
fastqc_level:
type: 'String'
required: true
help: 'FastQC level of analysis'
choices:
- readgroup
- library
- sample
default:
- sample
fastqc_additional_options:
type: 'String'
required: false
allow_empty: true
default: ''
help: 'Additional arguments for FastQC command'
stats_max_rgs_per_sample:
type: 'Integer'
required: false
default: 20
help: 'Maximum number of read groups to process separately'
stats_max_libs_per_sample:
type: 'Integer'
required: false
default: 20
help: 'Maximum number of libraries to process separately'
stats_remove_duplicates:
type: 'Bool'
required: false
default: false
help: 'SAMtools stats option to remove duplicates'
stats_additional_options:
type: 'String'
required: false
allow_empty: true
default: ''
help: 'Additional arguments for SAMtools stats command'
mosdepth_use_fast_algorithm:
type: 'Bool'
required: false
default: true
help: 'fast algorithm ignores read pair overlaps and CIGAR information'
mosdepth_per_base_output:
type: 'Bool'
required: false
default: true
help: 'Output per-base coverage'
mosdepth_window_size:
type: 'Integer'
required: false
default: 500
help: 'Window size for mosdepth coverage calculation'
mosdepth_additional_options:
type: 'String'
required: false
allow_empty: true
default: ''
help: 'Additional arguments for mosdepth command'
mosdepth_quantize_cutoffs:
type: 'String'
required: false
default: '0:1:5:150'
help: 'Quantize coverage values into these bins'
mosdepth_quantize_use_fast_algorithm:
type: 'Bool'
required: false
default: false
help: 'Use fast algorithm for quantizing coverage values'
mosdepth_q0_label:
type: 'String'
required: false
default: 'Q0'
help: 'Label for lowest coverage bin'
mosdepth_q1_label:
type: 'String'
required: false
default: 'Q1'
help: 'Label for second lowest coverage bin'
mosdepth_q2_label:
type: 'String'
required: false
default: 'Q2'
help: 'Label for third lowest coverage bin'
mosdepth_q3_label:
type: 'String'
required: false
default: 'Q3'
help: 'Label for highest coverage bin'
mosdepth_quantize_additional_options:
type: 'String'
required: false
allow_empty: true
default: ''
help: 'Additional arguments for mosdepth-quantize command'
cwm_coverage_cap:
type: 'Integer'
required: false
default: 250
help: 'Coverage cap for CollectWgsMetrics'
cwm_minimum_mapping_quality:
type: 'Integer'
required: false
default: 20
help: 'Minimum mapping quality for CollectWgsMetrics'
cwm_minimum_base_quality:
type: 'Integer'
required: false
default: 20
help: 'Minimum base quality for CollectWgsMetrics'
cwm_use_fast_algorithm:
type: 'Bool'
required: false
default: false
help: 'Use fast algorithm for CollectWgsMetrics'
cwm_additional_options:
type: 'String'
required: false
allow_empty: true
default: ''
help: 'Additional arguments for CollectWgsMetrics command'
bamqc_output_format:
type: 'String'
required: false
choices:
- html
- pdf
default: 'pdf'
help: 'Output format for bamqc'
bamqc_additional_options:
type: 'String'
required: false
allow_empty: true
default: ''
help: 'Additional arguments for bamqc command'
base_resource_update:
type: 'ResourceUpdateNamespace'
required: false
help: 'User-defined modifications for adjusting base resource allocations for processes'
elements:
memory:
type: 'ResourceUpdateList'
required: false
help: 'List of memory updates'
cpus:
type: 'ResourceUpdateList'
required: false
help: 'List of CPU updates'
input:
type: 'InputNamespace'
required: true
help: 'Input to process'
elements:
BAM:
type: 'InputBAMNamespace'
required: true
help: 'BAM input specifications'
elements:
normal:
type: 'MapList'
required: false
help: 'Normal sample input specifications'
elements:
path:
type: 'Path'
mode: 'r'
required: true
help: 'Absolute path to normal sample BAM files'
read_length:
type: 'Integer'
required: false
help: 'Length of the reads in the BAM file'
tumor:
type: 'MapList'
required: false
help: 'Tumor sample input specifications'
elements:
path:
type: 'Path'
mode: 'r'
required: true
help: 'Absolute path to tumor sample BAM files'
read_length:
type: 'Integer'
required: false
help: 'Length of the reads in the BAM file'