Mercurial > repos > jjohnson > gatk2
annotate depth_of_coverage.xml @ 33:76f8ca47b810 draft
Omit --read_filter param included by default
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Thu, 28 Feb 2013 15:32:04 -0600 |
parents | 6ef8eb568700 |
children | b99c25b0ad4d |
rev | line source |
---|---|
18
7533db8dfb5b
Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
1 <tool id="gatk2_depth_of_coverage" name="Depth of Coverage" version="0.0.5"> |
0 | 2 <description>on BAM files</description> |
3 <requirements> | |
18
7533db8dfb5b
Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
4 <requirement type="package" version="2.3">gatk</requirement> |
0 | 5 <requirement type="package" version="0.1.18">samtools</requirement> |
6 </requirements> | |
7 <command interpreter="python">gatk2_wrapper.py | |
8 --max_jvm_heap_fraction "1" | |
9 --stdout "${output_log}" | |
10 #for $i, $input_bam in enumerate( $reference_source.input_bams ): | |
11 -d "-I" "${input_bam.input_bam}" "${input_bam.input_bam.ext}" "gatk_input_${i}" | |
12 #if str( $input_bam.input_bam.metadata.bam_index ) != "None": | |
13 -d "" "${input_bam.input_bam.metadata.bam_index}" "bam_index" "gatk_input_${i}" ##hardcode galaxy ext type as bam_index | |
14 #end if | |
15 #end for | |
16 -p 'java | |
17 -jar "\$GATK2_PATH/GenomeAnalysisTK.jar" | |
18 -T "DepthOfCoverage" | |
19 \$GATK2_SITE_OPTIONS | |
28
6ef8eb568700
Move GATK tool_dependency to a repository dependency, use 2 env vars: GATK2_NUM_THREADS and GATK2_NUM_CPU_THREADS for site threading values
Jim Johnson <jj@umn.edu>
parents:
18
diff
changeset
|
20 ## \$GATK2_NUM_THREADS |
0 | 21 ##--num_threads 4 ##hard coded, for now |
22 ##-et "NO_ET" -K "/data/galaxy/appList/GenomeAnalysisTK-2.0-36-gf5c1c1a/gatk2_key_file" ##ET no phone home | |
23 #if $reference_source.reference_source_selector != "history": | |
24 -R "${reference_source.ref_file.fields.path}" | |
25 #end if | |
26 #if str( $input_calculate_coverage_over_genes ) != "None": | |
27 --calculateCoverageOverGenes "${input_calculate_coverage_over_genes}" | |
28 #end if | |
29 #if str( $partition_type ) != "None": | |
30 #for $pt in str( $partition_type ).split( ',' ): | |
31 --partitionType "${pt}" | |
32 #end for | |
33 #end if | |
34 --out "${output_per_locus_coverage}" | |
35 | |
36 #for $ct_group in $summary_coverage_threshold_group: | |
37 --summaryCoverageThreshold "${ct_group.summary_coverage_threshold}" | |
38 #end for | |
39 --outputFormat "${output_format}" | |
40 ' | |
41 | |
42 ##start standard gatk options | |
43 #if $gatk_param_type.gatk_param_type_selector == "advanced": | |
44 #for $pedigree in $gatk_param_type.pedigree: | |
45 -p '--pedigree "${pedigree.pedigree_file}"' | |
46 #end for | |
47 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat: | |
48 -p '--pedigreeString "${pedigree_string.pedigree_string}"' | |
49 #end for | |
50 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"' | |
33
76f8ca47b810
Omit --read_filter param included by default
Jim Johnson <jj@umn.edu>
parents:
28
diff
changeset
|
51 #set default_read_filters = ['DuplicateReadFilter','FailsVendorQualityCheckFilter','NotPrimaryAlignmentFilter','MalformedReadFilter','UnmappedReadFilter'] |
0 | 52 #for $read_filter in $gatk_param_type.read_filter: |
33
76f8ca47b810
Omit --read_filter param included by default
Jim Johnson <jj@umn.edu>
parents:
28
diff
changeset
|
53 -p ' |
76f8ca47b810
Omit --read_filter param included by default
Jim Johnson <jj@umn.edu>
parents:
28
diff
changeset
|
54 #if ${read_filter.read_filter_type.read_filter_type_selector} not in $default_read_filters: |
76f8ca47b810
Omit --read_filter param included by default
Jim Johnson <jj@umn.edu>
parents:
28
diff
changeset
|
55 --read_filter "${read_filter.read_filter_type.read_filter_type_selector}" |
76f8ca47b810
Omit --read_filter param included by default
Jim Johnson <jj@umn.edu>
parents:
28
diff
changeset
|
56 #end_if |
0 | 57 ###raise Exception( str( dir( $read_filter ) ) ) |
58 #for $name, $param in $read_filter.read_filter_type.iteritems(): | |
59 #if $name not in [ "__current_case__", "read_filter_type_selector" ]: | |
60 #if hasattr( $param.input, 'truevalue' ): | |
61 ${param} | |
62 #else: | |
63 --${name} "${param}" | |
64 #end if | |
65 #end if | |
66 #end for | |
67 ' | |
68 #end for | |
69 #for $interval_count, $input_intervals in enumerate( $gatk_param_type.input_interval_repeat ): | |
70 -d "--intervals" "${input_intervals.input_intervals}" "${input_intervals.input_intervals.ext}" "input_intervals_${interval_count}" | |
71 #end for | |
72 | |
73 #for $interval_count, $input_intervals in enumerate( $gatk_param_type.input_exclude_interval_repeat ): | |
74 -d "--excludeIntervals" "${input_intervals.input_exclude_intervals}" "${input_intervals.input_exclude_intervals.ext}" "input_exlude_intervals_${interval_count}" | |
75 #end for | |
76 | |
77 -p '--interval_set_rule "${gatk_param_type.interval_set_rule}"' | |
78 | |
79 -p '--downsampling_type "${gatk_param_type.downsampling_type.downsampling_type_selector}"' | |
80 #if str( $gatk_param_type.downsampling_type.downsampling_type_selector ) != "NONE": | |
81 -p '--${gatk_param_type.downsampling_type.downsample_to_type.downsample_to_type_selector} "${gatk_param_type.downsampling_type.downsample_to_type.downsample_to_value}"' | |
82 #end if | |
83 -p ' | |
84 --baq "${gatk_param_type.baq}" | |
85 --baqGapOpenPenalty "${gatk_param_type.baq_gap_open_penalty}" | |
86 ${gatk_param_type.use_original_qualities} | |
87 --defaultBaseQualities "${gatk_param_type.default_base_qualities}" | |
88 --validation_strictness "${gatk_param_type.validation_strictness}" | |
89 --interval_merging "${gatk_param_type.interval_merging}" | |
90 ${gatk_param_type.disable_experimental_low_memory_sharding} | |
18
7533db8dfb5b
Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
91 ${gatk_param_type.fix_misencoded_quality_scores} |
0 | 92 ${gatk_param_type.non_deterministic_random_seed} |
93 ' | |
94 #for $rg_black_list_count, $rg_black_list in enumerate( $gatk_param_type.read_group_black_list_repeat ): | |
95 #if $rg_black_list.read_group_black_list_type.read_group_black_list_type_selector == "file": | |
96 -d "--read_group_black_list" "${rg_black_list.read_group_black_list_type.read_group_black_list}" "txt" "input_read_group_black_list_${rg_black_list_count}" | |
97 #else | |
98 -p '--read_group_black_list "${rg_black_list.read_group_black_list_type.read_group_black_list}"' | |
99 #end if | |
100 #end for | |
101 #end if | |
102 | |
103 #if $reference_source.reference_source_selector == "history": | |
104 -d "-R" "${reference_source.ref_file}" "${reference_source.ref_file.ext}" "gatk_input" | |
105 #end if | |
106 ##end standard gatk options | |
107 ##start analysis specific options | |
108 #if $analysis_param_type.analysis_param_type_selector == "advanced": | |
109 -p ' | |
110 ${analysis_param_type.ignore_deletion_sites} | |
111 ${analysis_param_type.include_deletions} | |
112 --maxBaseQuality "${analysis_param_type.max_base_quality}" | |
113 --maxMappingQuality "${analysis_param_type.max_mapping_quality}" | |
114 --minBaseQuality "${analysis_param_type.min_base_quality}" | |
115 --minMappingQuality "${analysis_param_type.min_mapping_quality}" | |
116 --nBins "${analysis_param_type.n_bins}" | |
117 ${analysis_param_type.omit_depth_output_at_each_base} | |
118 ${analysis_param_type.omit_interval_statistics} | |
119 ${analysis_param_type.omit_locus_table} | |
120 ${analysis_param_type.omit_per_sample_stats} | |
121 ${analysis_param_type.print_base_counts} | |
122 ${analysis_param_type.print_bin_endpoints_and_exit} | |
123 --start "${analysis_param_type.start}" | |
124 --stop "${analysis_param_type.stop}" | |
125 ' | |
126 #end if | |
127 ##Move additional files to final location | |
128 #if str( $partition_type ) != "None": | |
129 #set $partition_types = str( $partition_type ).split( ',' ) | |
130 #else: | |
131 #set $partition_types = [ 'sample' ] | |
132 #end if | |
133 #if 'sample' in $partition_types and ( str( $analysis_param_type.analysis_param_type_selector ) == "basic" or str( $analysis_param_type.print_bin_endpoints_and_exit ) == "" ): | |
134 #if str( $analysis_param_type.analysis_param_type_selector ) == "basic" or str( $analysis_param_type.omit_per_sample_stats ) == "": | |
135 && mv ${output_per_locus_coverage}.sample_summary ${output_summary_sample} | |
136 && mv ${output_per_locus_coverage}.sample_statistics ${output_statistics_sample} | |
137 #end if | |
138 #if $gatk_param_type.gatk_param_type_selector == "advanced" and len( $gatk_param_type.input_interval_repeat ) and ( str( $analysis_param_type.analysis_param_type_selector ) == "basic" or str( $analysis_param_type.omit_interval_statistics ) == "" ): | |
139 && mv ${output_per_locus_coverage}.sample_interval_summary ${output_interval_summary_sample} | |
140 && mv ${output_per_locus_coverage}.sample_interval_statistics ${output_interval_statistics_sample} | |
141 #end if | |
142 #if str( $input_calculate_coverage_over_genes ) != "None": | |
143 && mv ${output_per_locus_coverage}.sample_gene_summary ${output_gene_summary_sample} | |
144 && mv ${output_per_locus_coverage}.sample_gene_statistics ${output_gene_statistics_sample} | |
145 #end if | |
146 #if str( $analysis_param_type.analysis_param_type_selector ) == "basic" or str( $analysis_param_type.omit_depth_output_at_each_base ) == "": | |
147 && mv ${output_per_locus_coverage}.sample_cumulative_coverage_counts ${output_cumulative_coverage_counts_sample} | |
148 && mv ${output_per_locus_coverage}.sample_cumulative_coverage_proportions ${output_cumulative_coverage_proportions_sample} | |
149 #end if | |
150 #end if | |
151 | |
152 #if 'readgroup' in $partition_types and ( str( $analysis_param_type.analysis_param_type_selector ) == "basic" or str( $analysis_param_type.print_bin_endpoints_and_exit ) == "" ): | |
153 #if str( $analysis_param_type.analysis_param_type_selector ) == "basic" or str( $analysis_param_type.omit_per_sample_stats ) == "": | |
154 && mv ${output_per_locus_coverage}.read_group_summary ${output_summary_readgroup} | |
155 && mv ${output_per_locus_coverage}.read_group_statistics ${output_statistics_readgroup} | |
156 #end if | |
157 #if $gatk_param_type.gatk_param_type_selector == "advanced" and len( $gatk_param_type.input_interval_repeat ) and ( str( $analysis_param_type.analysis_param_type_selector ) == "basic" or str( $analysis_param_type.omit_interval_statistics ) == "" ): | |
158 && mv ${output_per_locus_coverage}.read_group_interval_summary ${output_interval_summary_readgroup} | |
159 && mv ${output_per_locus_coverage}.read_group_interval_statistics ${output_interval_statistics_readgroup} | |
160 #end if | |
161 #if str( $input_calculate_coverage_over_genes ) != "None": | |
162 && mv ${output_per_locus_coverage}.read_group_gene_summary ${output_gene_summary_readgroup} | |
163 && mv ${output_per_locus_coverage}.read_group_gene_statistics ${output_gene_statistics_readgroup} | |
164 #end if | |
165 #if str( $analysis_param_type.analysis_param_type_selector ) == "basic" or str( $analysis_param_type.omit_depth_output_at_each_base ) == "": | |
166 && mv ${output_per_locus_coverage}.read_group_cumulative_coverage_counts ${output_cumulative_coverage_counts_readgroup} | |
167 && mv ${output_per_locus_coverage}.read_group_cumulative_coverage_proportions ${output_cumulative_coverage_proportions_readgroup} | |
168 #end if | |
169 #end if | |
170 | |
171 #if 'library' in $partition_types and ( str( $analysis_param_type.analysis_param_type_selector ) == "basic" or str( $analysis_param_type.print_bin_endpoints_and_exit ) == "" ): | |
172 #if str( $analysis_param_type.analysis_param_type_selector ) == "basic" or str( $analysis_param_type.omit_per_sample_stats ) == "": | |
173 && mv ${output_per_locus_coverage}.library_summary ${output_summary_library} | |
174 && mv ${output_per_locus_coverage}.library_statistics ${output_statistics_library} | |
175 #end if | |
176 #if $gatk_param_type.gatk_param_type_selector == "advanced" and len( $gatk_param_type.input_interval_repeat ) and ( str( $analysis_param_type.analysis_param_type_selector ) == "basic" or str( $analysis_param_type.omit_interval_statistics ) == "" ): | |
177 && mv ${output_per_locus_coverage}.library_interval_summary ${output_interval_summary_library} | |
178 && mv ${output_per_locus_coverage}.library_interval_statistics ${output_interval_statistics_library} | |
179 #end if | |
180 #if str( $input_calculate_coverage_over_genes ) != "None": | |
181 && mv ${output_per_locus_coverage}.library_gene_summary ${output_gene_summary_library} | |
182 && mv ${output_per_locus_coverage}.library_gene_statistics ${output_gene_statistics_library} | |
183 #end if | |
184 #if str( $analysis_param_type.analysis_param_type_selector ) == "basic" or str( $analysis_param_type.omit_depth_output_at_each_base ) == "": | |
185 && mv ${output_per_locus_coverage}.library_cumulative_coverage_counts ${output_cumulative_coverage_counts_library} | |
186 && mv ${output_per_locus_coverage}.library_cumulative_coverage_proportions ${output_cumulative_coverage_proportions_library} | |
187 #end if | |
188 #end if | |
189 | |
190 | |
191 </command> | |
192 <inputs> | |
193 <conditional name="reference_source"> | |
194 <param name="reference_source_selector" type="select" label="Choose the source for the reference list"> | |
195 <option value="cached">Locally cached</option> | |
196 <option value="history">History</option> | |
197 </param> | |
198 <when value="cached"> | |
199 <repeat name="input_bams" title="BAM file" min="1" help="-I,--input_file &lt;input_file&gt;"> | |
200 <param name="input_bam" type="data" format="bam" label="BAM file"> | |
201 <validator type="unspecified_build" /> | |
202 <validator type="dataset_metadata_in_data_table" table_name="gatk2_picard_indexes" metadata_name="dbkey" metadata_column="dbkey" message="Sequences are not currently available for the specified build." /> <!-- fixme!!! this needs to be a select --> | |
203 </param> | |
204 </repeat> | |
205 <param name="ref_file" type="select" label="Using reference genome" help="-R,--reference_sequence &lt;reference_sequence&gt;"> | |
206 <options from_data_table="gatk2_picard_indexes"> | |
207 <!-- <filter type="data_meta" key="dbkey" ref="input_bam" column="dbkey"/> does not yet work in a repeat...--> | |
208 </options> | |
209 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> | |
210 </param> | |
211 </when> | |
212 <when value="history"> <!-- FIX ME!!!! --> | |
213 <repeat name="input_bams" title="BAM file" min="1" help="-I,--input_file &lt;input_file&gt;"> | |
214 <param name="input_bam" type="data" format="bam" label="BAM file" /> | |
215 </repeat> | |
216 <param name="ref_file" type="data" format="fasta" label="Using reference file" help="-R,--reference_sequence &lt;reference_sequence&gt;" /> | |
217 </when> | |
218 </conditional> | |
219 | |
220 <param name="input_calculate_coverage_over_genes" type="data" format="data" label="RefSeq Rod" optional="True" help="-geneList,--calculateCoverageOverGenes &lt;calculateCoverageOverGenes&gt;" /> | |
221 | |
222 <param name="partition_type" type="select" label="Partition type for depth of coverage" multiple="True" display="checkboxes" help="-pt,--partitionType &lt;partitionType&gt;"> | |
223 <option value="sample" selected="True">sample</option> | |
224 <option value="readgroup">readgroup</option> | |
225 <option value="library">library</option> | |
226 </param> | |
227 | |
228 <repeat name="summary_coverage_threshold_group" title="Summary coverage threshold" help="-ct,--summaryCoverageThreshold &lt;summaryCoverageThreshold&gt;"> | |
229 <param name="summary_coverage_threshold" type="integer" value="15" label="for summary file outputs, report the % of bases covered to >= this number" /> | |
230 </repeat> | |
231 | |
232 <param name="output_format" type="select" label="Output format" help="--outputFormat &lt;outputFormat&gt;" > | |
233 <option value="csv">csv</option> | |
234 <option value="table">table</option> | |
235 <option value="rtable" selected="True">rtable</option> | |
236 </param> | |
237 | |
238 <conditional name="gatk_param_type"> | |
239 <param name="gatk_param_type_selector" type="select" label="Basic or Advanced GATK options"> | |
240 <option value="basic" selected="True">Basic</option> | |
241 <option value="advanced">Advanced</option> | |
242 </param> | |
243 <when value="basic"> | |
244 <!-- Do nothing here --> | |
245 </when> | |
246 <when value="advanced"> | |
247 <repeat name="pedigree" title="Pedigree file" help="-ped,--pedigree &lt;pedigree&gt;"> | |
248 <param name="pedigree_file" type="data" format="txt" label="Pedigree files for samples"/> | |
249 </repeat> | |
250 <repeat name="pedigree_string_repeat" title="Pedigree string" help="-pedString,--pedigreeString &lt;pedigreeString&gt;"> | |
251 <param name="pedigree_string" type="text" value="" label="Pedigree string for samples"/> | |
252 </repeat> | |
253 <param name="pedigree_validation_type" type="select" label="How strict should we be in validating the pedigree information" help="-pedValidationType,--pedigreeValidationType &lt;pedigreeValidationType&gt;"> | |
254 <option value="STRICT" selected="True">STRICT</option> | |
255 <option value="SILENT">SILENT</option> | |
256 </param> | |
257 <repeat name="read_filter" title="Read Filter" help="-rf,--read_filter &lt;read_filter&gt;"> | |
258 <conditional name="read_filter_type"> | |
259 <param name="read_filter_type_selector" type="select" label="Read Filter Type"> | |
260 <option value="BadCigar">BadCigar</option> | |
261 <option value="BadMate">BadMate</option> | |
262 <option value="DuplicateRead">DuplicateRead</option> | |
263 <option value="FailsVendorQualityCheck">FailsVendorQualityCheck</option> | |
264 <option value="MalformedRead">MalformedRead</option> | |
265 <option value="MappingQuality">MappingQuality</option> | |
266 <option value="MappingQualityUnavailable">MappingQualityUnavailable</option> | |
267 <option value="MappingQualityZero">MappingQualityZero</option> | |
268 <option value="MateSameStrand">MateSameStrand</option> | |
269 <option value="MaxInsertSize">MaxInsertSize</option> | |
270 <option value="MaxReadLength" selected="True">MaxReadLength</option> | |
271 <option value="MissingReadGroup">MissingReadGroup</option> | |
272 <option value="NoOriginalQualityScores">NoOriginalQualityScores</option> | |
273 <option value="NotPrimaryAlignment">NotPrimaryAlignment</option> | |
274 <option value="Platform454">Platform454</option> | |
275 <option value="Platform">Platform</option> | |
276 <option value="PlatformUnit">PlatformUnit</option> | |
277 <option value="ReadGroupBlackList">ReadGroupBlackList</option> | |
278 <option value="ReadName">ReadName</option> | |
279 <option value="ReadStrand">ReadStrand</option> | |
280 <option value="ReassignMappingQuality">ReassignMappingQuality</option> | |
281 <option value="Sample">Sample</option> | |
282 <option value="SingleReadGroup">SingleReadGroup</option> | |
283 <option value="UnmappedRead">UnmappedRead</option> | |
284 </param> | |
285 <when value="BadCigar"> | |
286 <!-- no extra options --> | |
287 </when> | |
288 <when value="BadMate"> | |
289 <!-- no extra options --> | |
290 </when> | |
291 <when value="DuplicateRead"> | |
292 <!-- no extra options --> | |
293 </when> | |
294 <when value="FailsVendorQualityCheck"> | |
295 <!-- no extra options --> | |
296 </when> | |
297 <when value="MalformedRead"> | |
298 <!-- no extra options --> | |
299 </when> | |
300 <when value="MappingQuality"> | |
301 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/> | |
302 </when> | |
303 <when value="MappingQualityUnavailable"> | |
304 <!-- no extra options --> | |
305 </when> | |
306 <when value="MappingQualityZero"> | |
307 <!-- no extra options --> | |
308 </when> | |
309 <when value="MateSameStrand"> | |
310 <!-- no extra options --> | |
311 </when> | |
312 <when value="MaxInsertSize"> | |
313 <param name="maxInsertSize" type="integer" value="1000000" label="Discard reads with insert size greater than the specified value"/> | |
314 </when> | |
315 <when value="MaxReadLength"> | |
316 <param name="maxReadLength" type="integer" value="76" label="Max Read Length"/> | |
317 </when> | |
318 <when value="MissingReadGroup"> | |
319 <!-- no extra options --> | |
320 </when> | |
321 <when value="NoOriginalQualityScores"> | |
322 <!-- no extra options --> | |
323 </when> | |
324 <when value="NotPrimaryAlignment"> | |
325 <!-- no extra options --> | |
326 </when> | |
327 <when value="Platform454"> | |
328 <!-- no extra options --> | |
329 </when> | |
330 <when value="Platform"> | |
331 <param name="PLFilterName" type="text" value="" label="Discard reads with RG:PL attribute containing this string"/> | |
332 </when> | |
333 <when value="PlatformUnit"> | |
334 <!-- no extra options --> | |
335 </when> | |
336 <when value="ReadGroupBlackList"> | |
337 <!-- no extra options --> | |
338 </when> | |
339 <when value="ReadName"> | |
340 <param name="readName" type="text" value="" label="Filter out all reads except those with this read name"/> | |
341 </when> | |
342 <when value="ReadStrand"> | |
343 <param name="filterPositive" type="boolean" truevalue="--filterPositive" falsevalue="" label="Discard reads on the forward strand"/> | |
344 </when> | |
345 <when value="ReassignMappingQuality"> | |
346 <param name="default_mapping_quality" type="integer" value="60" label="Default read mapping quality to assign to all reads"/> | |
347 </when> | |
348 <when value="Sample"> | |
349 <param name="sample_to_keep" type="text" value="" label="The name of the sample(s) to keep, filtering out all others"/> | |
350 </when> | |
351 <when value="SingleReadGroup"> | |
352 <param name="read_group_to_keep" type="integer" value="76" label="The name of the read group to keep, filtering out all others"/> | |
353 </when> | |
354 <when value="UnmappedRead"> | |
355 <!-- no extra options --> | |
356 </when> | |
357 </conditional> | |
358 </repeat> | |
359 <repeat name="input_interval_repeat" title="Operate on Genomic intervals" help="-L,--intervals &lt;intervals&gt;"> | |
360 <param name="input_intervals" type="data" format="bed,gatk_interval,picard_interval_list,vcf" label="Genomic intervals" /> | |
361 </repeat> | |
362 <repeat name="input_exclude_interval_repeat" title="Exclude Genomic intervals" help="-XL,--excludeIntervals &lt;excludeIntervals&gt;"> | |
363 <param name="input_exclude_intervals" type="data" format="bed,gatk_interval,picard_interval_list,vcf" label="Genomic intervals" /> | |
364 </repeat> | |
365 | |
366 <param name="interval_set_rule" type="select" label="Interval set rule" help="-isr,--interval_set_rule &lt;interval_set_rule&gt;"> | |
367 <option value="UNION" selected="True">UNION</option> | |
368 <option value="INTERSECTION">INTERSECTION</option> | |
369 </param> | |
370 | |
371 <conditional name="downsampling_type"> | |
372 <param name="downsampling_type_selector" type="select" label="Type of reads downsampling to employ at a given locus" help="-dt,--downsampling_type &lt;downsampling_type&gt;"> | |
373 <option value="NONE" selected="True">NONE</option> | |
374 <option value="ALL_READS">ALL_READS</option> | |
375 <option value="BY_SAMPLE">BY_SAMPLE</option> | |
376 </param> | |
377 <when value="NONE"> | |
378 <!-- no more options here --> | |
379 </when> | |
380 <when value="ALL_READS"> | |
381 <conditional name="downsample_to_type"> | |
382 <param name="downsample_to_type_selector" type="select" label="Downsample method"> | |
383 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option> | |
384 <option value="downsample_to_coverage">Downsample by Coverage</option> | |
385 </param> | |
386 <when value="downsample_to_fraction"> | |
387 <param name="downsample_to_value" type="float" label="Fraction [0.0-1.0] of reads to downsample to" value="1" min="0" max="1" help="-dfrac,--downsample_to_fraction &lt;downsample_to_fraction&gt;"/> | |
388 </when> | |
389 <when value="downsample_to_coverage"> | |
390 <param name="downsample_to_value" type="integer" label="Coverage to downsample to at any given locus" value="0" help="-dcov,--downsample_to_coverage &lt;downsample_to_coverage&gt;"/> | |
391 </when> | |
392 </conditional> | |
393 </when> | |
394 <when value="BY_SAMPLE"> | |
395 <conditional name="downsample_to_type"> | |
396 <param name="downsample_to_type_selector" type="select" label="Downsample method"> | |
397 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option> | |
398 <option value="downsample_to_coverage">Downsample by Coverage</option> | |
399 </param> | |
400 <when value="downsample_to_fraction"> | |
401 <param name="downsample_to_value" type="float" label="Fraction [0.0-1.0] of reads to downsample to" value="1" min="0" max="1" help="-dfrac,--downsample_to_fraction &lt;downsample_to_fraction&gt;"/> | |
402 </when> | |
403 <when value="downsample_to_coverage"> | |
404 <param name="downsample_to_value" type="integer" label="Coverage to downsample to at any given locus" value="0" help="-dcov,--downsample_to_coverage &lt;downsample_to_coverage&gt;"/> | |
405 </when> | |
406 </conditional> | |
407 </when> | |
408 </conditional> | |
409 <param name="baq" type="select" label="Type of BAQ calculation to apply in the engine" help="-baq,--baq &lt;baq&gt;"> | |
410 <option value="OFF" selected="True">OFF</option> | |
411 <option value="CALCULATE_AS_NECESSARY">CALCULATE_AS_NECESSARY</option> | |
412 <option value="RECALCULATE">RECALCULATE</option> | |
413 </param> | |
414 <param name="baq_gap_open_penalty" type="float" label="BAQ gap open penalty (Phred Scaled)" value="40" help="Default value is 40. 30 is perhaps better for whole genome call sets. -baqGOP,--baqGapOpenPenalty &lt;baqGapOpenPenalty&gt;" /> | |
415 <param name="use_original_qualities" type="boolean" truevalue="--useOriginalQualities" falsevalue="" label="Use the original base quality scores from the OQ tag" help="-OQ,--useOriginalQualities" /> | |
416 <param name="default_base_qualities" type="integer" label="Value to be used for all base quality scores, when some are missing" value="-1" help="-DBQ,--defaultBaseQualities &lt;defaultBaseQualities&gt;"/> | |
417 <param name="validation_strictness" type="select" label="How strict should we be with validation" help="-S,--validation_strictness &lt;validation_strictness&gt;"> | |
418 <option value="STRICT" selected="True">STRICT</option> | |
419 <option value="LENIENT">LENIENT</option> | |
420 <option value="SILENT">SILENT</option> | |
421 <!-- <option value="DEFAULT_STRINGENCY">DEFAULT_STRINGENCY</option> listed in docs, but not valid value...--> | |
422 </param> | |
423 <param name="interval_merging" type="select" label="Interval merging rule" help="-im,--interval_merging &lt;interval_merging&gt;"> | |
424 <option value="ALL" selected="True">ALL</option> | |
425 <option value="OVERLAPPING_ONLY">OVERLAPPING_ONLY</option> | |
426 </param> | |
427 | |
428 <repeat name="read_group_black_list_repeat" title="Read group black list" help="-rgbl,--read_group_black_list &lt;read_group_black_list&gt;"> | |
429 <conditional name="read_group_black_list_type"> | |
430 <param name="read_group_black_list_type_selector" type="select" label="Type of reads read group black list"> | |
431 <option value="file" selected="True">Filters in file</option> | |
432 <option value="text">Specify filters as a string</option> | |
433 </param> | |
434 <when value="file"> | |
435 <param name="read_group_black_list" type="data" format="txt" label="Read group black list file" /> | |
436 </when> | |
437 <when value="text"> | |
438 <param name="read_group_black_list" type="text" value="tag:string" label="Read group black list tag:string" /> | |
439 </when> | |
440 </conditional> | |
441 </repeat> | |
442 | |
443 <param name="disable_experimental_low_memory_sharding" type="boolean" truevalue="--disable_experimental_low_memory_sharding" falsevalue="" label="Disable experimental low-memory sharding functionality." checked="False" help="--disable_experimental_low_memory_sharding"/> | |
444 <param name="non_deterministic_random_seed" type="boolean" truevalue="--nonDeterministicRandomSeed" falsevalue="" label="Makes the GATK behave non deterministically, that is, the random numbers generated will be different in every run" checked="False" help="-ndrs,--nonDeterministicRandomSeed"/> | |
18
7533db8dfb5b
Update tool_dependencies to GATK v 2.3
Jim Johnson <jj@umn.edu>
parents:
0
diff
changeset
|
445 <param name="fix_misencoded_quality_scores" type="boolean" truevalue="--fix_misencoded_quality_scores" falsevalue="" label="Fix mis-encoded base quality scores. Q0 == ASCII 33 according to the SAM specification, whereas Illumina encoding starts at Q64. The idea here is simple: we just iterate over all reads and subtract 31 from every quality score." checked="False" help="-fixMisencodedQuals / --fix_misencoded_quality_scores"/> |
0 | 446 |
447 </when> | |
448 </conditional> | |
449 | |
450 <conditional name="analysis_param_type"> | |
451 <param name="analysis_param_type_selector" type="select" label="Basic or Advanced Analysis options"> | |
452 <option value="basic" selected="True">Basic</option> | |
453 <option value="advanced">Advanced</option> | |
454 </param> | |
455 <when value="basic"> | |
456 <!-- Do nothing here --> | |
457 </when> | |
458 <when value="advanced"> | |
459 <param name="ignore_deletion_sites" type="boolean" truevalue="--ignoreDeletionSites" falsevalue="" checked="False" label="Ignore sites consisting only of deletions" help="--ignoreDeletionSites" /> | |
460 <param name="include_deletions" type="boolean" truevalue="--includeDeletions" falsevalue="" checked="False" label="Include information on deletions" help="-dels,--includeDeletions" /> | |
461 <param name="max_base_quality" type="integer" value="127" label="Maximum quality of bases to count towards depth" help="--maxBaseQuality &lt;maxBaseQuality&gt;" /> | |
462 <param name="min_base_quality" type="integer" value="-1" label="Minimum quality of bases to count towards depth" help="-mbq,--minBaseQuality &lt;minBaseQuality&gt;" /> | |
463 <param name="max_mapping_quality" type="integer" value="2147483647" label="Maximum mapping quality of reads to count towards depth." help="--maxMappingQuality &lt;maxMappingQuality&gt;" /> | |
464 <param name="min_mapping_quality" type="integer" value="127" label="Minimum mapping quality of reads to count towards depth" help="-mmq,--minMappingQuality &lt;minMappingQuality&gt;" /> | |
465 <param name="n_bins" type="integer" value="499" label="Number of bins to use for granular binning" help="--nBins &lt;nBins&gt;" /> | |
466 <param name="omit_depth_output_at_each_base" type="boolean" truevalue="--omitDepthOutputAtEachBase" falsevalue="" checked="False" label="Omit the output of the depth of coverage at each base" help="-omitBaseOutput,--omitDepthOutputAtEachBase" /> | |
467 <param name="omit_interval_statistics" type="boolean" truevalue="--omitIntervalStatistics" falsevalue="" checked="False" label="Omit the per-interval statistics section" help="-omitIntervals,--omitIntervalStatistics" /> | |
468 <param name="omit_locus_table" type="boolean" truevalue="--omitLocusTable" falsevalue="" checked="False" label="Do not calculate the per-sample per-depth counts of loci" help="-omitLocusTable,--omitLocusTable" /> | |
469 <param name="omit_per_sample_stats" type="boolean" truevalue="--omitPerSampleStats" falsevalue="" checked="False" label="Omit the summary files per-sample." help="-omitSampleSummary,--omitPerSampleStats" /> | |
470 <param name="print_base_counts" type="boolean" truevalue="--printBaseCounts" falsevalue="" checked="False" label="Add base counts to per-locus output" help="-baseCounts,--printBaseCounts" /> | |
471 <param name="print_bin_endpoints_and_exit" type="boolean" truevalue="--printBinEndpointsAndExit" falsevalue="" checked="False" label="Print the bin values and exits immediately" help="--printBinEndpointsAndExit" /> | |
472 <param name="start" type="integer" value="1" label="Starting (left endpoint) for granular binning" help="--start &lt;start&gt;" /> | |
473 <param name="stop" type="integer" value="500" label="Ending (right endpoint) for granular binning" help="--stop &lt;stop&gt;" /> | |
474 </when> | |
475 </conditional> | |
476 </inputs> | |
477 <outputs> | |
478 <data format="tabular" name="output_per_locus_coverage" label="${tool.name} on ${on_string} (per locus coverage)" > | |
479 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
480 <actions> | |
481 <conditional name="output_format"> | |
482 <when value="rtable"> | |
483 <action type="format"> | |
484 <option type="from_param" name="output_format" /> | |
485 </action> | |
486 </when> | |
487 <when value="csv"> | |
488 <action type="format"> | |
489 <option type="from_param" name="output_format" /> | |
490 </action> | |
491 </when> | |
492 </conditional> | |
493 </actions> | |
494 </data> | |
495 <data format="tabular" name="output_summary_sample" label="${tool.name} on ${on_string} (output summary sample)" > | |
496 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_per_sample_stats'] == False</filter> | |
497 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
498 <filter>'sample' in partition_type or not partition_type</filter> | |
499 <actions> | |
500 <conditional name="output_format"> | |
501 <when value="rtable"> | |
502 <action type="format"> | |
503 <option type="from_param" name="output_format" /> | |
504 </action> | |
505 </when> | |
506 <when value="csv"> | |
507 <action type="format"> | |
508 <option type="from_param" name="output_format" /> | |
509 </action> | |
510 </when> | |
511 </conditional> | |
512 </actions> | |
513 </data> | |
514 <data format="tabular" name="output_statistics_sample" label="${tool.name} on ${on_string} (output statistics sample)" > | |
515 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_per_sample_stats'] == False</filter> | |
516 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
517 <filter>'sample' in partition_type or not partition_type</filter> | |
518 <actions> | |
519 <conditional name="output_format"> | |
520 <when value="rtable"> | |
521 <action type="format"> | |
522 <option type="from_param" name="output_format" /> | |
523 </action> | |
524 </when> | |
525 <when value="csv"> | |
526 <action type="format"> | |
527 <option type="from_param" name="output_format" /> | |
528 </action> | |
529 </when> | |
530 </conditional> | |
531 </actions> | |
532 </data> | |
533 <data format="tabular" name="output_interval_summary_sample" label="${tool.name} on ${on_string} (output interval summary sample)" > | |
534 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
535 <filter>'sample' in partition_type or not partition_type</filter> | |
536 <filter>gatk_param_type['gatk_param_type_selector'] == "advanced" and len( gatk_param_type['input_interval_repeat'] )</filter> | |
537 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_interval_statistics'] == False</filter> | |
538 <actions> | |
539 <conditional name="output_format"> | |
540 <when value="rtable"> | |
541 <action type="format"> | |
542 <option type="from_param" name="output_format" /> | |
543 </action> | |
544 </when> | |
545 <when value="csv"> | |
546 <action type="format"> | |
547 <option type="from_param" name="output_format" /> | |
548 </action> | |
549 </when> | |
550 </conditional> | |
551 </actions> | |
552 </data> | |
553 <data format="tabular" name="output_interval_statistics_sample" label="${tool.name} on ${on_string} (output interval statistics sample)" > | |
554 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
555 <filter>'sample' in partition_type or not partition_type</filter> | |
556 <filter>gatk_param_type['gatk_param_type_selector'] == "advanced" and len( gatk_param_type['input_interval_repeat'] )</filter> | |
557 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_interval_statistics'] == False</filter> | |
558 <actions> | |
559 <conditional name="output_format"> | |
560 <when value="rtable"> | |
561 <action type="format"> | |
562 <option type="from_param" name="output_format" /> | |
563 </action> | |
564 </when> | |
565 <when value="csv"> | |
566 <action type="format"> | |
567 <option type="from_param" name="output_format" /> | |
568 </action> | |
569 </when> | |
570 </conditional> | |
571 </actions> | |
572 </data> | |
573 <data format="tabular" name="output_gene_summary_sample" label="${tool.name} on ${on_string} (output gene summary sample)" > | |
574 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
575 <filter>input_calculate_coverage_over_genes is not None and 'sample' in partition_type or not partition_type</filter> | |
576 <actions> | |
577 <conditional name="output_format"> | |
578 <when value="rtable"> | |
579 <action type="format"> | |
580 <option type="from_param" name="output_format" /> | |
581 </action> | |
582 </when> | |
583 <when value="csv"> | |
584 <action type="format"> | |
585 <option type="from_param" name="output_format" /> | |
586 </action> | |
587 </when> | |
588 </conditional> | |
589 </actions> | |
590 </data> | |
591 <data format="tabular" name="output_gene_statistics_sample" label="${tool.name} on ${on_string} (output gene statistics sample)" > | |
592 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
593 <filter>input_calculate_coverage_over_genes is not None and 'sample' in partition_type or not partition_type</filter> | |
594 <actions> | |
595 <conditional name="output_format"> | |
596 <when value="rtable"> | |
597 <action type="format"> | |
598 <option type="from_param" name="output_format" /> | |
599 </action> | |
600 </when> | |
601 <when value="csv"> | |
602 <action type="format"> | |
603 <option type="from_param" name="output_format" /> | |
604 </action> | |
605 </when> | |
606 </conditional> | |
607 </actions> | |
608 </data> | |
609 <data format="tabular" name="output_cumulative_coverage_counts_sample" label="${tool.name} on ${on_string} (output cumulative coverage counts sample)" > | |
610 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_depth_output_at_each_base'] == False</filter> | |
611 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
612 <filter>'sample' in partition_type or not partition_type</filter> | |
613 <actions> | |
614 <conditional name="output_format"> | |
615 <when value="rtable"> | |
616 <action type="format"> | |
617 <option type="from_param" name="output_format" /> | |
618 </action> | |
619 </when> | |
620 <when value="csv"> | |
621 <action type="format"> | |
622 <option type="from_param" name="output_format" /> | |
623 </action> | |
624 </when> | |
625 </conditional> | |
626 </actions> | |
627 </data> | |
628 <data format="tabular" name="output_cumulative_coverage_proportions_sample" label="${tool.name} on ${on_string} (output cumulative coverage proportions sample)" > | |
629 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_depth_output_at_each_base'] == False</filter> | |
630 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
631 <filter>'sample' in partition_type or not partition_type</filter> | |
632 <actions> | |
633 <conditional name="output_format"> | |
634 <when value="rtable"> | |
635 <action type="format"> | |
636 <option type="from_param" name="output_format" /> | |
637 </action> | |
638 </when> | |
639 <when value="csv"> | |
640 <action type="format"> | |
641 <option type="from_param" name="output_format" /> | |
642 </action> | |
643 </when> | |
644 </conditional> | |
645 </actions> | |
646 </data> | |
647 | |
648 <data format="tabular" name="output_summary_readgroup" label="${tool.name} on ${on_string} (output summary readgroup)" > | |
649 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_per_sample_stats'] == False</filter> | |
650 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
651 <filter>'readgroup' in partition_type</filter> | |
652 <actions> | |
653 <conditional name="output_format"> | |
654 <when value="rtable"> | |
655 <action type="format"> | |
656 <option type="from_param" name="output_format" /> | |
657 </action> | |
658 </when> | |
659 <when value="csv"> | |
660 <action type="format"> | |
661 <option type="from_param" name="output_format" /> | |
662 </action> | |
663 </when> | |
664 </conditional> | |
665 </actions> | |
666 </data> | |
667 <data format="tabular" name="output_statistics_readgroup" label="${tool.name} on ${on_string} (output statistics readgroup)" > | |
668 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_per_sample_stats'] == False</filter> | |
669 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
670 <filter>'readgroup' in partition_type</filter> | |
671 <actions> | |
672 <conditional name="output_format"> | |
673 <when value="rtable"> | |
674 <action type="format"> | |
675 <option type="from_param" name="output_format" /> | |
676 </action> | |
677 </when> | |
678 <when value="csv"> | |
679 <action type="format"> | |
680 <option type="from_param" name="output_format" /> | |
681 </action> | |
682 </when> | |
683 </conditional> | |
684 </actions> | |
685 </data> | |
686 <data format="tabular" name="output_interval_summary_readgroup" label="${tool.name} on ${on_string} (output interval summary readgroup)" > | |
687 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
688 <filter>'readgroup' in partition_type</filter> | |
689 <filter>gatk_param_type['gatk_param_type_selector'] == "advanced" and len( gatk_param_type['input_interval_repeat'] )</filter> | |
690 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_interval_statistics'] == False</filter> | |
691 <actions> | |
692 <conditional name="output_format"> | |
693 <when value="rtable"> | |
694 <action type="format"> | |
695 <option type="from_param" name="output_format" /> | |
696 </action> | |
697 </when> | |
698 <when value="csv"> | |
699 <action type="format"> | |
700 <option type="from_param" name="output_format" /> | |
701 </action> | |
702 </when> | |
703 </conditional> | |
704 </actions> | |
705 </data> | |
706 <data format="tabular" name="output_interval_statistics_readgroup" label="${tool.name} on ${on_string} (output interval statistics readgroup)" > | |
707 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
708 <filter>'readgroup' in partition_type</filter> | |
709 <filter>gatk_param_type['gatk_param_type_selector'] == "advanced" and len( gatk_param_type['input_interval_repeat'] )</filter> | |
710 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_interval_statistics'] == False</filter> | |
711 <actions> | |
712 <conditional name="output_format"> | |
713 <when value="rtable"> | |
714 <action type="format"> | |
715 <option type="from_param" name="output_format" /> | |
716 </action> | |
717 </when> | |
718 <when value="csv"> | |
719 <action type="format"> | |
720 <option type="from_param" name="output_format" /> | |
721 </action> | |
722 </when> | |
723 </conditional> | |
724 </actions> | |
725 </data> | |
726 <data format="tabular" name="output_gene_summary_readgroup" label="${tool.name} on ${on_string} (output gene summary readgroup)" > | |
727 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
728 <filter>input_calculate_coverage_over_genes is not None and 'readgroup' in partition_type or not partition_type</filter> | |
729 <actions> | |
730 <conditional name="output_format"> | |
731 <when value="rtable"> | |
732 <action type="format"> | |
733 <option type="from_param" name="output_format" /> | |
734 </action> | |
735 </when> | |
736 <when value="csv"> | |
737 <action type="format"> | |
738 <option type="from_param" name="output_format" /> | |
739 </action> | |
740 </when> | |
741 </conditional> | |
742 </actions> | |
743 </data> | |
744 <data format="tabular" name="output_gene_statistics_readgroup" label="${tool.name} on ${on_string} (output gene statistics readgroup)" > | |
745 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
746 <filter>input_calculate_coverage_over_genes is not None and 'readgroup' in partition_type or not partition_type</filter> | |
747 <actions> | |
748 <conditional name="output_format"> | |
749 <when value="rtable"> | |
750 <action type="format"> | |
751 <option type="from_param" name="output_format" /> | |
752 </action> | |
753 </when> | |
754 <when value="csv"> | |
755 <action type="format"> | |
756 <option type="from_param" name="output_format" /> | |
757 </action> | |
758 </when> | |
759 </conditional> | |
760 </actions> | |
761 </data> | |
762 <data format="tabular" name="output_cumulative_coverage_counts_readgroup" label="${tool.name} on ${on_string} (output cumulative coverage counts readgroup)" > | |
763 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
764 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_depth_output_at_each_base'] == False</filter> | |
765 <filter>'readgroup' in partition_type</filter> | |
766 <actions> | |
767 <conditional name="output_format"> | |
768 <when value="rtable"> | |
769 <action type="format"> | |
770 <option type="from_param" name="output_format" /> | |
771 </action> | |
772 </when> | |
773 <when value="csv"> | |
774 <action type="format"> | |
775 <option type="from_param" name="output_format" /> | |
776 </action> | |
777 </when> | |
778 </conditional> | |
779 </actions> | |
780 </data> | |
781 <data format="tabular" name="output_cumulative_coverage_proportions_readgroup" label="${tool.name} on ${on_string} (output cumulative coverage proportions readgroup)" > | |
782 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
783 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_depth_output_at_each_base'] == False</filter> | |
784 <filter>'readgroup' in partition_type</filter> | |
785 <actions> | |
786 <conditional name="output_format"> | |
787 <when value="rtable"> | |
788 <action type="format"> | |
789 <option type="from_param" name="output_format" /> | |
790 </action> | |
791 </when> | |
792 <when value="csv"> | |
793 <action type="format"> | |
794 <option type="from_param" name="output_format" /> | |
795 </action> | |
796 </when> | |
797 </conditional> | |
798 </actions> | |
799 </data> | |
800 | |
801 <data format="tabular" name="output_summary_library" label="${tool.name} on ${on_string} (output summary library)" > | |
802 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_per_sample_stats'] == False</filter> | |
803 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
804 <filter>'library' in partition_type</filter> | |
805 <actions> | |
806 <conditional name="output_format"> | |
807 <when value="rtable"> | |
808 <action type="format"> | |
809 <option type="from_param" name="output_format" /> | |
810 </action> | |
811 </when> | |
812 <when value="csv"> | |
813 <action type="format"> | |
814 <option type="from_param" name="output_format" /> | |
815 </action> | |
816 </when> | |
817 </conditional> | |
818 </actions> | |
819 </data> | |
820 <data format="tabular" name="output_statistics_library" label="${tool.name} on ${on_string} (output statistics library)" > | |
821 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_per_sample_stats'] == False</filter> | |
822 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
823 <filter>'library' in partition_type</filter> | |
824 <actions> | |
825 <conditional name="output_format"> | |
826 <when value="rtable"> | |
827 <action type="format"> | |
828 <option type="from_param" name="output_format" /> | |
829 </action> | |
830 </when> | |
831 <when value="csv"> | |
832 <action type="format"> | |
833 <option type="from_param" name="output_format" /> | |
834 </action> | |
835 </when> | |
836 </conditional> | |
837 </actions> | |
838 </data> | |
839 <data format="tabular" name="output_interval_summary_library" label="${tool.name} on ${on_string} (output interval summary library)" > | |
840 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
841 <filter>'library' in partition_type</filter> | |
842 <filter>gatk_param_type['gatk_param_type_selector'] == "advanced" and len( gatk_param_type['input_interval_repeat'] )</filter> | |
843 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_interval_statistics'] == False</filter> | |
844 <actions> | |
845 <conditional name="output_format"> | |
846 <when value="rtable"> | |
847 <action type="format"> | |
848 <option type="from_param" name="output_format" /> | |
849 </action> | |
850 </when> | |
851 <when value="csv"> | |
852 <action type="format"> | |
853 <option type="from_param" name="output_format" /> | |
854 </action> | |
855 </when> | |
856 </conditional> | |
857 </actions> | |
858 </data> | |
859 <data format="tabular" name="output_interval_statistics_library" label="${tool.name} on ${on_string} (output interval statistics library)" > | |
860 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
861 <filter>'library' in partition_type</filter> | |
862 <filter>gatk_param_type['gatk_param_type_selector'] == "advanced" and len( gatk_param_type['input_interval_repeat'] )</filter> | |
863 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_interval_statistics'] == False</filter> | |
864 <actions> | |
865 <conditional name="output_format"> | |
866 <when value="rtable"> | |
867 <action type="format"> | |
868 <option type="from_param" name="output_format" /> | |
869 </action> | |
870 </when> | |
871 <when value="csv"> | |
872 <action type="format"> | |
873 <option type="from_param" name="output_format" /> | |
874 </action> | |
875 </when> | |
876 </conditional> | |
877 </actions> | |
878 </data> | |
879 <data format="tabular" name="output_gene_summary_library" label="${tool.name} on ${on_string} (output gene summary library)" > | |
880 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
881 <filter>input_calculate_coverage_over_genes is not None and 'library' in partition_type or not partition_type</filter> | |
882 <actions> | |
883 <conditional name="output_format"> | |
884 <when value="rtable"> | |
885 <action type="format"> | |
886 <option type="from_param" name="output_format" /> | |
887 </action> | |
888 </when> | |
889 <when value="csv"> | |
890 <action type="format"> | |
891 <option type="from_param" name="output_format" /> | |
892 </action> | |
893 </when> | |
894 </conditional> | |
895 </actions> | |
896 </data> | |
897 <data format="tabular" name="output_gene_statistics_library" label="${tool.name} on ${on_string} (output gene statistics library)" > | |
898 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
899 <filter>input_calculate_coverage_over_genes is not None and 'library' in partition_type or not partition_type</filter> | |
900 <actions> | |
901 <conditional name="output_format"> | |
902 <when value="rtable"> | |
903 <action type="format"> | |
904 <option type="from_param" name="output_format" /> | |
905 </action> | |
906 </when> | |
907 <when value="csv"> | |
908 <action type="format"> | |
909 <option type="from_param" name="output_format" /> | |
910 </action> | |
911 </when> | |
912 </conditional> | |
913 </actions> | |
914 </data> | |
915 <data format="tabular" name="output_cumulative_coverage_counts_library" label="${tool.name} on ${on_string} (output cumulative coverage counts library)" > | |
916 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_depth_output_at_each_base'] == False</filter> | |
917 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
918 <filter>'library' in partition_type</filter> | |
919 <actions> | |
920 <conditional name="output_format"> | |
921 <when value="rtable"> | |
922 <action type="format"> | |
923 <option type="from_param" name="output_format" /> | |
924 </action> | |
925 </when> | |
926 <when value="csv"> | |
927 <action type="format"> | |
928 <option type="from_param" name="output_format" /> | |
929 </action> | |
930 </when> | |
931 </conditional> | |
932 </actions> | |
933 </data> | |
934 <data format="tabular" name="output_cumulative_coverage_proportions_library" label="${tool.name} on ${on_string} (output cumulative coverage proportions library)" > | |
935 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['omit_depth_output_at_each_base'] == False</filter> | |
936 <filter>analysis_param_type['analysis_param_type_selector'] == "basic" or analysis_param_type['print_bin_endpoints_and_exit'] == False</filter> | |
937 <filter>'library' in partition_type</filter> | |
938 <actions> | |
939 <conditional name="output_format"> | |
940 <when value="rtable"> | |
941 <action type="format"> | |
942 <option type="from_param" name="output_format" /> | |
943 </action> | |
944 </when> | |
945 <when value="csv"> | |
946 <action type="format"> | |
947 <option type="from_param" name="output_format" /> | |
948 </action> | |
949 </when> | |
950 </conditional> | |
951 </actions> | |
952 </data> | |
953 | |
954 <data format="tabular" name="output_log" label="${tool.name} on ${on_string} (log)" /> | |
955 </outputs> | |
956 <trackster_conf/> | |
957 <tests> | |
958 <test> | |
959 <param name="reference_source_selector" value="history" /> | |
960 <param name="ref_file" value="phiX.fasta" ftype="fasta" /> | |
961 <param name="input_bam" value="gatk/gatk_table_recalibration/gatk_table_recalibration_out_1.bam" ftype="bam" /> | |
962 <param name="input_calculate_coverage_over_genes" /> | |
963 <param name="partition_type" value="sample" /> | |
964 <param name="summary_coverage_threshold_group" value="0" /> | |
965 <param name="output_format" value="rtable" /> | |
966 <param name="gatk_param_type_selector" value="basic" /> | |
967 <param name="analysis_param_type_selector" value="basic" /> | |
968 <output name="output_per_locus_coverage" file="gatk/gatk_depth_of_coverage/gatk_depth_of_coverage_out_1_output_per_locus_coverage.tabular" /> | |
969 <output name="output_summary_sample" file="gatk/gatk_depth_of_coverage/gatk_depth_of_coverage_out_1_output_summary_sample.tabular" /> | |
970 <output name="output_statistics_sample" file="gatk/gatk_depth_of_coverage/gatk_depth_of_coverage_out_1_output_statistics_sample.tabular" /> | |
971 <output name="output_cumulative_coverage_counts_sample" file="gatk/gatk_depth_of_coverage/gatk_depth_of_coverage_out_1_output_cumulative_coverage_counts_sample.tabular" /> | |
972 <output name="output_cumulative_coverage_proportions_sample" file="gatk/gatk_depth_of_coverage/gatk_depth_of_coverage_out_1_output_output_cumulative_coverage_proportions_sample.tabular" /> | |
973 <output name="output_log" file="gatk/gatk_depth_of_coverage/gatk_depth_of_coverage_out_1.log.contains" compare="contains" /> | |
974 </test> | |
975 </tests> | |
976 <help> | |
977 **What it does** | |
978 | |
979 DepthOfCoverage processes a set of bam files to determine coverage at different levels of partitioning and aggregation. Coverage can be analyzed per locus, per interval, per gene, or in total; can be partitioned by sample, by read group, by technology, by center, or by library; and can be summarized by mean, median, quartiles, and/or percentage of bases covered to or beyond a threshold. Additionally, reads and bases can be filtered by mapping or base quality score. | |
980 | |
981 For more information on the GATK Depth of Coverage, see this `tool specific page <http://www.broadinstitute.org/gatk/gatkdocs/org_broadinstitute_sting_gatk_walkers_annotator_DepthOfCoverage.html>`_. | |
982 | |
983 To learn about best practices for variant detection using GATK, see this `overview <http://www.broadinstitute.org/gatk/guide/topic?name=best-practices>`_. | |
984 | |
985 If you encounter errors, please view the `GATK FAQ <http://www.broadinstitute.org/gatk/guide/topic?name=faqs>`_. | |
986 | |
987 ------ | |
988 | |
989 **Inputs** | |
990 | |
991 GenomeAnalysisTK: DepthOfCoverage accepts aligned BAM input files. | |
992 | |
993 | |
994 **Outputs** | |
995 | |
996 The output is in various table formats. | |
997 | |
998 | |
999 Go `here <http://www.broadinstitute.org/gatk/guide/topic?name=intro>`_ for details on GATK file formats. | |
1000 | |
1001 ------- | |
1002 | |
1003 **Settings**:: | |
1004 | |
1005 calculateCoverageOverGenes File NA Calculate the coverage statistics over this list of genes. Currently accepts RefSeq. | |
1006 ignoreDeletionSites boolean false Ignore sites consisting only of deletions | |
1007 includeDeletions boolean false Include information on deletions | |
1008 maxBaseQuality byte 127 Maximum quality of bases to count towards depth. Defaults to 127 (Byte.MAX_VALUE). | |
1009 maxMappingQuality int 2147483647 Maximum mapping quality of reads to count towards depth. Defaults to 2^31-1 (Integer.MAX_VALUE). | |
1010 minBaseQuality byte -1 Minimum quality of bases to count towards depth. Defaults to -1. | |
1011 minMappingQuality int -1 Minimum mapping quality of reads to count towards depth. Defaults to -1. | |
1012 nBins int 499 Number of bins to use for granular binning | |
1013 omitDepthOutputAtEachBase boolean false Will omit the output of the depth of coverage at each base, which should result in speedup | |
1014 omitIntervalStatistics boolean false Will omit the per-interval statistics section, which should result in speedup | |
1015 omitLocusTable boolean false Will not calculate the per-sample per-depth counts of loci, which should result in speedup | |
1016 omitPerSampleStats boolean false Omits the summary files per-sample. These statistics are still calculated, so this argument will not improve runtime. | |
1017 outputFormat String rtable the format of the output file (e.g. csv, table, rtable); defaults to r-readable table | |
1018 partitionType Set[Partition] [sample] Partition type for depth of coverage. Defaults to sample. Can be any combination of sample, readgroup, library. | |
1019 printBaseCounts boolean false Will add base counts to per-locus output. | |
1020 printBinEndpointsAndExit boolean false Prints the bin values and exits immediately. Use to calibrate what bins you want before running on data. | |
1021 start int 1 Starting (left endpoint) for granular binning | |
1022 stop int 500 Ending (right endpoint) for granular binning | |
1023 summaryCoverageThreshold int[] [15] for summary file outputs, report the % of bases coverd to >= this number. Defaults to 15; can take multiple arguments. | |
1024 | |
1025 ------ | |
1026 | |
1027 **Citation** | |
1028 | |
1029 For the underlying tool, please cite `DePristo MA, Banks E, Poplin R, Garimella KV, Maguire JR, Hartl C, Philippakis AA, del Angel G, Rivas MA, Hanna M, McKenna A, Fennell TJ, Kernytsky AM, Sivachenko AY, Cibulskis K, Gabriel SB, Altshuler D, Daly MJ. A framework for variation discovery and genotyping using next-generation DNA sequencing data. Nat Genet. 2011 May;43(5):491-8. <http://www.ncbi.nlm.nih.gov/pubmed/21478889>`_ | |
1030 | |
1031 Please also site `McKenna A, Hanna M, Banks E, Sivachenko A, Cibulskis K, Kernytsky A, Garimella K, Altshuler D, Gabriel S, Daly M, DePristo MA (2010). The Genome Analysis Toolkit: a MapReduce framework for analyzing next-generation DNA sequencing data. Genome Res. 20:1297-303. Epub 2010 Jul 19. <http://www.ncbi.nlm.nih.gov/pubmed/20644199>`_ | |
1032 | |
1033 If you use this tool in Galaxy, please cite `Blankenberg D, Von Kuster G, Coraor N, Ananda G, Lazarus R, Mangan M, Nekrutenko A, Taylor J. Galaxy: a web-based genome analysis tool for experimentalists. Curr Protoc Mol Biol. 2010 Jan;Chapter 19:Unit 19.10.1-21. <http://www.ncbi.nlm.nih.gov/pubmed/20069535>`_ | |
1034 | |
1035 </help> | |
1036 </tool> |