Mercurial > repos > sanbi-uwc > gatk2
annotate variant_apply_recalibration.xml @ 8:3012e466d7fc draft default tip
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit bb4bc974dacb3db49db5f22d937f520bdddd9190
author | sanbi-uwc |
---|---|
date | Tue, 29 May 2018 05:56:19 -0400 |
parents | 6e985e2e0802 |
children |
rev | line source |
---|---|
0
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
1 <tool id="gatk2_variant_apply_recalibration" name="Apply Variant Recalibration" version="@VERSION@.1"> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
2 <description></description> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
3 <macros> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
4 <import>gatk2_macros.xml</import> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
5 </macros> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
7 <expand macro="version_command" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
8 <command interpreter="python"> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
9 gatk2_wrapper.py |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
10 --stdout "${output_log}" |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
11 #for $var_count, $variant in enumerate( $reference_source.input_variants ): |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
12 -d "--input:input_${var_count},%(file_type)s" "${variant}" "${variant.ext}" "input_variants_${var_count}" |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
13 #end for |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
14 -p ' |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
15 @JAR_PATH@ |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
16 -T "ApplyRecalibration" |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
17 \$GATK2_SITE_OPTIONS |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
18 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
19 @THREADS@ |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
20 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
21 #if $reference_source.reference_source_selector != "history": |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
22 -R "${reference_source.ref_file.fields.path}" |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
23 #end if |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
24 --recal_file "${reference_source.input_recal}" |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
25 --tranches_file "${reference_source.input_tranches}" |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
26 --out "${output_variants}" |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
27 ' |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
28 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
29 #include source=$standard_gatk_options# |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
30 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
31 ##start analysis specific options |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
32 -p ' |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
33 --mode "${mode}" |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
34 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
35 #for $ignore_filter in $ignore_filters: |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
36 #set $ignore_filter_name = str( $ignore_filter.ignore_filter_type.ignore_filter_type_selector ) |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
37 #if $ignore_filter_name == "custom": |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
38 #set $ignore_filter_name = str( $ignore_filter.ignore_filter_type.filter_name ) |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
39 #end if |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
40 --ignore_filter "${ignore_filter_name}" |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
41 #end for |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
42 --ts_filter_level "${ts_filter_level}" |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
43 ' |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
44 </command> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
45 <inputs> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
46 <conditional name="reference_source"> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
47 <expand macro="reference_source_selector_param" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
48 <when value="cached"> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
49 <expand macro="input_variants" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
50 <param name="input_recal" type="data" format="gatk_recal" label="Variant Recalibration file" help="-recalFile,--recal_file &lt;recal_file&gt;" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
51 <param name="input_tranches" type="data" format="gatk_tranche" label="Variant Tranches file" help="-tranchesFile,--tranches_file &lt;tranches_file&gt;" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
52 <param name="ref_file" type="select" label="Using reference genome" help="-R,--reference_sequence &lt;reference_sequence&gt;"> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
53 <options from_data_table="gatk2_picard_indexes"> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
54 <!-- <filter type="data_meta" key="dbkey" ref="variants[0].input_variants" column="dbkey"/> --> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
55 </options> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
56 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
57 </param> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
58 </when> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
59 <when value="history"> <!-- FIX ME!!!! --> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
60 <expand macro="input_variants" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
61 <param name="input_recal" type="data" format="gatk_recal" label="Variant Recalibration file" help="-recalFile,--recal_file &lt;recal_file&gt;" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
62 <param name="input_tranches" type="data" format="gatk_tranche" label="Variant Tranches file" help="-tranchesFile,--tranches_file &lt;tranches_file&gt;" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
63 <param name="ref_file" type="data" format="fasta" label="Using reference file" help="-R,--reference_sequence &lt;reference_sequence&gt;" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
64 </when> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
65 </conditional> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
66 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
67 <expand macro="gatk_param_type_conditional" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
68 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
69 <param name="mode" type="select" label="Recalibration mode" help="-mode,--mode &lt;mode&gt;"> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
70 <option value="SNP" selected="True">SNP</option> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
71 <option value="INDEL">INDEL</option> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
72 <option value="BOTH">BOTH</option> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
73 </param> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
74 <repeat name="ignore_filters" title="Ignore Filter" help="-ignoreFilter,--ignore_filter &lt;ignore_filter&gt;"> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
75 <conditional name="ignore_filter_type"> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
76 <param name="ignore_filter_type_selector" type="select" label="Filter Type"> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
77 <option value="HARD_TO_VALIDATE">HARD_TO_VALIDATE</option> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
78 <option value="LowQual" >LowQual</option> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
79 <option value="custom" selected="True">Other</option> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
80 </param> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
81 <when value="custom"> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
82 <param name="filter_name" type="text" value="" label="Filter name"/> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
83 </when> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
84 <when value="HARD_TO_VALIDATE" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
85 <when value="LowQual" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
86 </conditional> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
87 </repeat> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
88 <param name="ts_filter_level" type="float" label="truth sensitivity level at which to start filtering, used here to indicate filtered variants in plots" value="99.0" help="-ts_filter_level,--ts_filter_level &lt;ts_filter_level&gt;"/> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
89 </inputs> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
90 <outputs> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
91 <data format="vcf" name="output_variants" label="${tool.name} on ${on_string} (Variants File)" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
92 <data format="txt" name="output_log" label="${tool.name} on ${on_string} (log)" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
93 </outputs> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
94 <tests> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
95 <!-- ADD TESTS --> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
96 </tests> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
97 <help> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
98 **What it does** |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
99 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
100 Applies cuts to the input vcf file (by adding filter lines) to achieve the desired novel FDR levels which were specified during VariantRecalibration |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
101 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
102 For more information on using the ApplyRecalibration module, see this `tool specific page <http://www.broadinstitute.org/gatk/gatkdocs/org_broadinstitute_sting_gatk_walkers_variantrecalibration_ApplyRecalibration.html>`_. |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
103 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
104 To learn about best practices for variant detection using GATK, see this `overview <http://www.broadinstitute.org/gatk/guide/topic?name=best-practices>`_. |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
105 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
106 If you encounter errors, please view the `GATK FAQ <http://www.broadinstitute.org/gatk/guide/topic?name=faqs>`_. |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
107 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
108 ------ |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
109 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
110 **Inputs** |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
111 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
112 GenomeAnalysisTK: ApplyRecalibration accepts a variant input file, a recalibration file and a tranches file. |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
113 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
114 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
115 **Outputs** |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
116 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
117 The output is in VCF format. |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
118 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
119 Go `here <http://www.broadinstitute.org/gatk/guide/topic?name=intro>`_ for details on GATK file formats. |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
120 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
121 ------- |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
122 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
123 **Settings**:: |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
124 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
125 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
126 recal_file The output recal file used by ApplyRecalibration |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
127 tranches_file The input tranches file describing where to cut the data |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
128 out The output filtered, recalibrated VCF file |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
129 ts_filter_level The truth sensitivity level at which to start filtering |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
130 ignore_filter If specified the optimizer will use variants even if the specified filter name is marked in the input VCF file |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
131 mode Recalibration mode to employ: 1.) SNP for recalibrating only SNPs (emitting indels untouched in the output VCF); 2.) INDEL for indels; and 3.) BOTH for recalibrating both SNPs and indels simultaneously. (SNP|INDEL|BOTH) |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
132 |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
133 @CITATION_SECTION@ |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
134 </help> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
135 <expand macro="citations" /> |
6e985e2e0802
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/gatk2 commit f53888603dbab77d16c36cceffe0f2060052d204
sanbi-uwc
parents:
diff
changeset
|
136 </tool> |