annotate macros.xml @ 2:3be27a9a7313 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit 093a027ca9e7d34e7d12cd14ca0d0dacadfcb78b"
author iuc
date Fri, 10 Apr 2020 14:10:55 -0400
parents fd2d6e035c3f
children 287c4af133e6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
2 <macros>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
3 <token name="@VERSION@">4.1.4.0</token>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
4 <token name="@WRAPPER_VERSION@">@VERSION@+galaxy</token>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
5
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
6 <xml name="requirements">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
7 <requirements>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
8 <requirement type="package" version="@VERSION@">gatk4</requirement>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
9 <requirement type="package" version="0.2.5">tabix</requirement>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
10 <requirement type="package" version="1.9">samtools</requirement>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
11 <yield />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
12 </requirements>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
13 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
14
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
15 <!--Hacky way to determine GATK version, for display in tool info-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
16 <xml name="version_cmd">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
17 <version_command>gatk SortSam --version 2>&amp;1 | grep Version | cut -d ':' -f 2</version_command>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
18 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
19
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
20 <!--Define sections that parameters could exist within.-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
21 <template name="set_sections">
1
fd2d6e035c3f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit 5d2fd48454149b3cfa39aaba71e3b19f89087516"
iuc
parents: 0
diff changeset
22 #set global $sections = ['', 'optional.', 'advanced.', 'deprecated.']
0
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
23 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
24
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
25 <!--Reference genome handling-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
26 <!--One template each for the different reference genome parameter names.-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
27 <!--TODO: Can the reference parameters all be the same?-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
28 <xml name="ref_sel">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
29 <conditional name="reference_source">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
30 <param name="reference_source_selector" type="select" label="Choose the source for the reference list">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
31 <option value="cached">Locally cached</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
32 <option value="history">History</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
33 <option value="no_ref" selected="true">Do not pass</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
34 </param>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
35 <when value="cached">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
36 <param name="reference_sequence" type="select" label="Reference" help="Reference sequence file." >
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
37 <options from_data_table="all_fasta" >
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
38 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file" />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
39 </options>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
40 </param>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
41 </when>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
42 <when value="history">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
43 <param name="reference_sequence" type="data" format="fasta" label="Reference" help="Reference sequence file." />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
44 </when>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
45 <when value="no_ref" />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
46 </conditional>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
47 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
48
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
49 <template name="ref_opts">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
50 #for $sect in $sections
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
51 #if $varExists($sect + "reference_source.reference_source_selector")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
52 #if $getVar($sect + "reference_source.reference_source_selector") != "no_ref"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
53 #if $getVar($sect + "reference_source.reference_source_selector") != "history"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
54 --reference $getVar($sect + "reference_source.reference_sequence.fields.path")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
55 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
56 --reference reference.fa
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
57 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
58 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
59 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
60 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
61 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
62
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
63 <template name="picard_ref_opts">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
64 #for $sect in $sections
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
65 #if $varExists($sect + "reference_source.reference_source_selector")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
66 #if $getVar($sect + "reference_source.reference_source_selector") != "no_ref"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
67 #if $getVar($sect + "reference_source.reference_source_selector") != "history"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
68 --REFERENCE_SEQUENCE $getVar($sect + "reference_source.reference_sequence.fields.path")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
69 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
70 --REFERENCE_SEQUENCE $getVar($sect + "reference_source.reference_sequence")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
71 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
72 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
73 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
74 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
75 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
76
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
77 <template name="picard_ref_opts_plain">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
78 #for $sect in $sections
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
79 #if $varExists($sect + "reference_source.reference_source_selector")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
80 #if $getVar($sect + "reference_source.reference_source_selector") != "no_ref"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
81 #if $getVar($sect + "reference_source.reference_source_selector") != "history"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
82 --REFERENCE $getVar($sect + "reference_source.reference_sequence.fields.path")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
83 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
84 --REFERENCE $getVar($sect + "reference_source.reference_sequence")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
85 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
86 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
87 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
88 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
89 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
90
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
91 <template name="ref_opts_input">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
92 #for $sect in $sections
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
93 #if $varExists($sect + "reference_source.reference_source_selector")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
94 #if $getVar($sect + "reference_source.reference_source_selector") != "no_ref"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
95 #if $getVar($sect + "reference_source.reference_source_selector") != "history"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
96 --input $getVar($sect + "reference_source.reference_sequence.fields.path")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
97 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
98 --input $getVar($sect + "reference_source.reference_sequence")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
99 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
100 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
101 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
102 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
103 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
104
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
105
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
106 <!--Interval Macros-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
107 <template name="gatk_ints_chth">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
108 #for $sect in $sections
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
109 #if $varExists($sect + "ival_type.ival_type_sel")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
110 #if $getVar($sect + "ival_type.ival_type_sel") == "ival_file"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
111 #if $varExists($sect + "ival_type.intervals")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
112 #if $getVar($sect + "ival_type.intervals").is_of_type("gatk_interval")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
113 --intervals intervals.interval_list
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
114 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
115 #if $getVar($sect + "ival_type.intervals").is_of_type("bed")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
116 --intervals intervals.bed
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
117 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
118 #if $getVar($sect + "ival_type.intervals").is_of_type("vcf")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
119 --intervals intervals.vcf
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
120 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
121 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
122 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
123 #if $varExists($sect + "ival_type.intervals")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
124 --intervals $getVar($sect + "ival_type.intervals")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
125 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
126 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
127 #if $varExists($sect + "ival_type.interval_padding")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
128 --interval-padding $getVar($sect + "ival_type.interval_padding")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
129 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
130 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
131 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
132 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
133
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
134
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
135 <template name="pre_gatk_ints_chth"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
136 #for $sect in $sections
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
137 #if $varExists($sect + "ival_type.ival_type_sel")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
138 #if $getVar($sect + "ival_type.ival_type_sel") == "ival_file"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
139 #if $varExists($sect + "ival_type.intervals")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
140 #if $getVar($sect + "ival_type.intervals").is_of_type("gatk_interval")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
141 ln -s $getVar($sect + "ival_type.intervals") intervals.interval_list &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
142 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
143 #if $getVar($sect + "ival_type.intervals").is_of_type("bed")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
144 ln -s $getVar($sect + "ival_type.intervals") intervals.bed &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
145 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
146 #if $getVar($sect + "ival_type.intervals").is_of_type("vcf")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
147 ln -s $getVar($sect + "ival_type.intervals") intervals.vcf &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
148 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
149 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
150 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
151 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
152 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
153 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
154
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
155 <xml name="gatk_ints">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
156 <conditional name="ival_type">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
157 <param name="ival_type_sel" type="select" label="Choose Genomic Interval Source">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
158 <option value="ival_file" selected="true">Interval File</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
159 <option value="ival_text" selected="false">Interval Text Input</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
160 </param>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
161 <when value="ival_file">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
162 <param name="intervals" argument="--intervals" type="data" optional="true" format="bed,vcf,gatk_interval" label="Intervals File" help="One or more genomic intervals over which to operate"/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
163 <param name="interval_padding" argument="--interval-padding" type="integer" optional="true" value="0" label="Interval Padding" help="Amount of padding (in bp) to add to each interval you are including."/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
164 </when>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
165 <when value="ival_text">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
166 <param name="intervals" argument="--intervals" type="text" optional="true" label="Intervals Text Input" help="One or more genomic intervals over which to operate. Enter in chrom:start-stop format."/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
167 <param name="interval_padding" argument="--interval-padding" type="integer" optional="true" value="0" label="Interval Padding" help="Amount of padding (in bp) to add to each interval you are including."/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
168 </when>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
169 </conditional>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
170 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
171
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
172
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
173 <!--Exclude Intervals-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
174 <xml name="gatk_excl_ints">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
175 <conditional name="excl_ival_type">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
176 <param name="excl_ival_type_sel" type="select" label="Choose Genomic Interval Exclusion Source">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
177 <option value="excl_ival_file" selected="true">Exclude Interval File</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
178 <option value="excl_ival_text" selected="false">Exclude Interval Text Input</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
179 </param>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
180 <when value="excl_ival_file">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
181 <param name="exclude_intervals" argument="--exclude-intervals" type="data" optional="true" format="bed,vcf,gatk_interval" label="Exclude Intervals File" help="One or more genomic intervals to exclude from processing"/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
182 <param name="interval_exclusion_padding" argument="--interval-exclusion-padding" type="integer" optional="true" value="0" label="Interval Exclusion Padding" help="Amount of padding (in bp) to add to each interval you are excluding."/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
183 </when>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
184 <when value="excl_ival_text">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
185 <param name="exclude_intervals" argument="--exclude-intervals" type="text" optional="true" label="Exclude Intervals Text Input" help="One or more genomic intervals to exclude from processing. Enter in chrom:start-stop format."/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
186 <param name="interval_exclusion_padding" argument="--interval-exclusion-padding" type="integer" optional="true" value="0" label="Interval Exclusion Padding" help="Amount of padding (in bp) to add to each interval you are excluding."/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
187 </when>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
188 </conditional>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
189 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
190
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
191 <template name="gatk_excl_ints_chth">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
192 #for $sect in $sections
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
193 #if $varExists($sect + "excl_ival_type.excl_ival_type_sel")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
194 #if $getVar($sect + "excl_ival_type.excl_ival_type_sel") == "ival_file"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
195 #if $varExists($sect + "excl_ival_type.exclude_intervals")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
196 #if $getVar($sect + "excl_ival_type.exclude_intervals").is_of_type("gatk_interval")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
197 --exclude-intervals excl_intervals.interval_list
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
198 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
199 #if $getVar($sect + "excl_ival_type.exclude_intervals").is_of_type("bed")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
200 --exclude-intervals excl_intervals.bed
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
201 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
202 #if $getVar($sect + "excl_ival_type.exclude_intervals").is_of_type("vcf")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
203 --exclude-intervals excl_intervals.vcf
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
204 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
205 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
206 #elif $getVar($sect + "excl_ival_type.excl_ival_type_sel") == "excl_ival_text"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
207 #if $varExists($sect + "excl_ival_type.exclude_intervals")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
208 --exclude-intervals $getVar($sect + "excl_ival_type.exclude_intervals")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
209 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
210 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
211 #pass
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
212 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
213 #if $varExists($sect + "excl_ival_type.interval_exclusion_padding")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
214 --interval-exclusion-padding $getVar($sect + "excl_ival_type.interval_exclusion_padding")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
215 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
216 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
217 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
218 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
219
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
220 <template name="pre_gatk_excl_ints_chth"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
221 #for $sect in $sections
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
222 #if $varExists($sect + "excl_ival_type.excl_ival_type_sel")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
223 #if $getVar($sect + "excl_ival_type.excl_ival_type_sel") == "excl_ival_file"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
224 #if $varExists($sect + "excl_ival_type.exclude_intervals")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
225 #if $getVar($sect + "excl_ival_type.exclude_intervals").is_of_type("gatk_interval")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
226 ln -s $getVar($sect + "excl_ival_type.exclude_intervals") excl_intervals.interval_list &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
227 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
228 #if $getVar($sect + "excl_ival_type.exclude_intervals").is_of_type("bed")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
229 ln -s $getVar($sect + "excl_ival_type.exclude_intervals") excl_intervals.bed &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
230 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
231 #if $getVar($sect + "excl_ival_type.exclude_intervals").is_of_type("vcf")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
232 ln -s $getVar($sect + "excl_ival_type.exclude_intervals") excl_intervals.vcf &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
233 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
234 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
235 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
236 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
237 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
238 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
239
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
240 <!--Sequence dictionary selection options for Picard type tools-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
241 <template name="picard_seqdict_opts">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
242 #for $sect in $sections
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
243 #if $varExists($sect + "seqdict_source.seqdict_source_selector")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
244 #if $getVar($sect + "seqdict_source.seqdict_source_selector") != "no_seq_dict"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
245 #if $getVar($sect + "seqdict_source.seqdict_source_selector") != "history"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
246 #set seq_dict_loc = ''.join($getVar($sect + seqdict_source.seqdict_sequence).fields.path.split('.')[:-1]) + '.dict'
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
247 --SEQUENCE_DICTIONARY $seq_dict_loc
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
248 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
249 --SEQUENCE_DICTIONARY $getVar($sect + "seqdict_source.seqdict_sequence")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
250 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
251 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
252 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
253 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
254 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
255
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
256 <template name="gatk_seqdict">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
257 #for $sect in $sections
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
258 #if $varExists($sect + "seqdict_source.seqdict_source_selector")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
259 #if $getVar($sect + "seqdict_source.seqdict_source_selector") != "no_seq_dict"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
260 #if $getVar($sect + "seqdict_source.seqdict_source_selector") != "history"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
261 #set $seq_dict_loc = ''.join($getVar($sect + "seqdict_source.seqdict_sequence").fields.path.split('.')[:-1]) + '.dict'
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
262 --sequence-dictionary $seq_dict_loc
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
263 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
264 --sequence-dictionary $getVar($sect + "seqdict_source.seqdict_sequence")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
265 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
266 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
267 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
268 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
269 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
270
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
271 <xml name="seq_dict_sel">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
272 <conditional name="seqdict_source">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
273 <param name="seqdict_source_selector" type="select" label="Choose the source for the sequence dictionary">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
274 <option value="cached">Locally cached</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
275 <option value="history">History</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
276 <option value="no_seq_dict" selected="true">Do not pass</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
277 </param>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
278 <when value="cached">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
279 <param name="seqdict_sequence" type="select" label="Sequence Dictionary" help="Sequence dictionary file." >
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
280 <options from_data_table="all_fasta" >
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
281 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file" />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
282 </options>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
283 </param>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
284 </when>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
285 <when value="history">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
286 <param name="seqdict_sequence" type="data" format="txt" label="Sequence Dictionary" help="Sequence dictionary file. Must be in dict format." />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
287 </when>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
288 <when value="no_seq_dict" />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
289 </conditional>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
290 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
291
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
292 <!--BAM input-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
293 <template name="picard_bam_input">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
294 --INPUT input.bam
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
295 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
296
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
297 <template name="gatk_bam_input">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
298 --input input.bam
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
299 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
300
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
301 <template name="bam_index_pre_chth"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
302 #for $sect in $sections
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
303 #if $varExists($sect + "input")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
304 #if $getVar($sect + "input").is_of_type("bam")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
305 ln -s $getVar($sect + "input") input.bam &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
306 samtools index input.bam &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
307 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
308 ln -s $getVar($sect + "input") input.sam &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
309 samtools view -bS input.sam -o input.bam &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
310 samtools index input.bam &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
311 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
312 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
313 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
314 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
315
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
316 <xml name="gatk_bam_req_params">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
317 <param argument="--input" type="data" format="bam,sam" label="Input BAM/SAM/CRAM file" />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
318 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
319
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
320 <template name="picard_bam_index"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
321 #if $input.is_of_type("bam")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
322 ln -s $INPUT input.bam &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
323 samtools index input.bam &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
324 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
325 ln -s $INPUT input.sam &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
326 samtools view -bS input.sam -o input.bam &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
327 samtools index input.bam &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
328 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
329 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
330
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
331
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
332 <!--Output goes to stdout, no output parameter exists.-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
333 <template name="stdout_to_output">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
334 > output.txt
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
335 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
336
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
337 <xml name="stdout_to_output_params">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
338 <data format="txt" name="output" label="${tool.name} on ${on_string}: txt" from_work_dir="output.txt" />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
339 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
340
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
341 <!--Multiple input files, true for List[File] types, and sometimes List[String] types -->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
342 <template name="gatk_input_multi"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
343 #for $num, $file in enumerate($variant)
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
344 #if $file.is_of_type("vcf_bgzip")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
345 --variant input${num}.vcf.gz
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
346 #elif $file.is_of_type("txt")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
347 --variant input${num}.list
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
348 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
349 --variant input${num}.vcf
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
350 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
351 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
352 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
353
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
354 <!--Multiple input files, true for List[File] types, and sometimes List[String] types -->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
355 <template name="gatk_input_single"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
356 #if $variant.is_of_type("vcf_bgzip")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
357 --variant input${num}.vcf.gz
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
358 #elif $variant.is_of_type("txt")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
359 --variant input${num}.list
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
360 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
361 --variant input${num}.vcf
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
362 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
363 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
364
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
365 <template name="gatk_tabix_multi"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
366 #for $num, $file in enumerate($variant)
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
367 #set datatype = $file.datatype
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
368 #if $file.is_of_type("vcf_bgzip")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
369 ln -s $file input${num}.vcf.gz &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
370 tabix input${num}.vcf.gz &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
371 #elif $file.is_of_type("txt")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
372 ln -s $file input${num}.list &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
373 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
374 ln -s $file input${num}.vcf &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
375 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
376 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
377 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
378
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
379 <xml name="vcf_input_params_multi">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
380 <param name="input" type="data" multiple="true" format="vcf,vcf_bgzip" label="Input VCF file" help="Input VCF(s) to be sorted. Multiple inputs must have the same sample names (in order)"/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
381 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
382
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
383
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
384
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
385 <!--ABOVE HAS BEEN REVIEWED-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
386
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
387
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
388
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
389
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
390
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
391
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
392
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
393
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
394
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
395
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
396 <!--{-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
397 <!--"summary": "BAM/SAM/CRAM file containing reads",-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
398 <!--"name": "&#45;&#45;input",-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
399 <!--"synonyms": "-I",-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
400 <!--"type": "List[String]",-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
401 <!--"required": "yes",-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
402 <!--"fulltext": "",-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
403 <!--"defaultValue": "[]",-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
404 <!--"minValue": "NA",-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
405 <!--"maxValue": "NA",-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
406 <!--"minRecValue": "NA",-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
407 <!--"maxRecValue": "NA",-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
408 <!--"kind": "required",-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
409 <!--"options": []-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
410 <!--},-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
411 <!--Required BAM input, GATK tool, may be specified multiple times.-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
412 <!--BAM should be indexed on the fly.-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
413 <!--Parameter is required, so is not contained within a section.-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
414 <!--Only decriptor that makes this unique for all input parameters is the summary field.-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
415 <!--{'pre_chth': ['bam_index_pre_chth'],-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
416 <!--'main_chth': ['picard_bam_input'],-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
417 <!--'main_xml': ['gatk_bam_req_params']}},-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
418
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
419
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
420
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
421
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
422
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
423
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
424
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
425
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
426
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
427
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
428
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
429
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
430
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
431 <!--Macros for multiple input tools. List[File] in GATK json.-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
432 <template name="vcf_tabix_multi"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
433 #for $num, $file in enumerate($input)
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
434 #set datatype = $file.datatype
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
435 #if $file.is_of_type("vcf_bgzip")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
436 ln -s $file input${num}.vcf.gz &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
437 tabix input${num}.vcf.gz &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
438 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
439 ln -s $file input${num}.vcf &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
440 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
441 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
442 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
443
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
444 <template name="vcf_input_multi_picard"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
445 #for $num, $file in enumerate($input)
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
446 #if $file.is_of_type("vcf_bgzip")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
447 --INPUT input${num}.vcf.gz
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
448 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
449 --INPUT input${num}.vcf
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
450 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
451 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
452 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
453
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
454 <template name="vcf_input_multi"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
455 #for $num, $file in enumerate($input)
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
456 #if $file.is_of_type("vcf_bgzip")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
457 --input input${num}.vcf.gz
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
458 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
459 --input input${num}.vcf
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
460 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
461 #end for
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
462 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
463
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
464
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
465 <!--Picard single input tools-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
466 <template name="vcf_tabix"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
467 #set datatype = $input.datatype
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
468 #if $input.is_of_type("vcf_bgzip")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
469 ln -s $input input.vcf.gz &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
470 tabix input.vcf.gz &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
471 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
472 ln -s $input input.vcf &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
473 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
474 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
475
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
476 <template name="gatk_tabix"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
477 #set datatype = $variant.datatype
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
478 #if $variant.is_of_type("vcf_bgzip")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
479 ln -s $variant input.vcf.gz &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
480 tabix input.vcf.gz &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
481 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
482 ln -s $variant input.vcf &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
483 gatk IndexFeatureFile -F input.vcf &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
484 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
485 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
486
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
487 <template name="vcf_input_picard"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
488 #if $input.is_of_type("vcf_bgzip")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
489 --INPUT input.vcf.gz
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
490 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
491 --INPUT input.vcf
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
492 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
493 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
494
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
495 <template name="vcf_input"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
496 #if $input.is_of_type("vcf_bgzip")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
497 --input input.vcf.gz
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
498 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
499 --input input.vcf
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
500 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
501 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
502
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
503 <template name="gatk_input"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
504 #if $variant.is_of_type("vcf_bgzip")
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
505 --variant input.vcf.gz
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
506 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
507 --variant input.vcf
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
508 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
509 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
510
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
511 <template name="gatk_gvcf_tabix"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
512 #if $variant
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
513 ln -s $variant input.g.vcf &&
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
514 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
515 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
516
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
517 <template name="gatk_gvcf_input"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
518 --variant input.g.vcf
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
519 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
520
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
521 <xml name="gatk_gvcf_input_params">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
522 <param name="variant" type="data" multiple="false" format="vcf" label="Input gVCF file" help=""/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
523 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
524
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
525 <xml name="vcf_input_params">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
526 <param name="input" type="data" multiple="false" format="vcf,vcf_bgzip" label="Input VCF file" help="Input VCF(s) to be sorted. Multiple inputs must have the same sample names (in order)"/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
527 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
528
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
529 <xml name="gatk_vcf_input_params">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
530 <param name="variant" type="data" multiple="false" format="vcf,vcf_bgzip" label="Input VCF file" help="A VCF file containing variants."/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
531 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
532
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
533 <xml name="gatk_vcf_input_params_multi">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
534 <param name="variant" type="data" multiple="true" format="vcf,vcf_bgzip,txt" label="Input VCF file(s)" help="A VCF file containing variants or a list of VCFs. Can be specified multiple times."/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
535 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
536
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
537 <xml name="gatk_req_params">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
538 <param name="input" type="data" format="bam,sam,cram" label="Input BAM/SAM/CRAM file" />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
539 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
540
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
541 <!--HDF5 Inputs-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
542
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
543 <xml name="hdf5_input">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
544 <param name="input" type="data" format="h5,tabular" label="Input TSV or HDF5" help="Input TSV or HDF5 file containing integer read counts in genomic intervals for a single case sample (output of CollectReadCounts)." />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
545 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
546
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
547 <template name="hdf5_input_chth"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
548 --input "${input}"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
549 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
550
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
551 <template name="hdf5_output_chth">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
552 --output "${output}"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
553 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
554
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
555 <xml name="hdf5_output">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
556 <data format="h5" name="output" label="${tool.name} on ${on_string}: HDF5" help="Output file for read counts." />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
557 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
558
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
559 <!--Output specific to ModelSegments. Files created based on prefix, so force that to be what we want, then pull important files with from_work_dir.-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
560 <!--${SAMPLE}.cr.seg-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
561 <!--${SAMPLE}.modelFinal.seg-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
562 <template name="modelsegments_chth"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
563 --output "."
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
564 --output-prefix "modelsegments"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
565 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
566
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
567 <xml name="modelsegments_output">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
568 <data format="tabular" name="cr_seg" label="${tool.name} on ${on_string}: cr.seg" help="Copy-ratio segments." from_work_dir="modelsegments.cr.seg"/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
569 <data format="tabular" name="modelfinal_seg" label="${tool.name} on ${on_string}: modelFinal.seg" help="Modeled Segments" from_work_dir="modelsegments.modelFinal.seg"/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
570 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
571
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
572 <!--deltaMAD.txt-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
573 <!--denoisedLimit4.png-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
574 <!--denoisedMAD.txt-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
575 <!--denoised.png-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
576 <!--scaledDeltaMAD.txt-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
577 <!--modeled.png-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
578 <!--standardizedMAD.txt-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
579
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
580 <template name="plotmodeledsegments_chth"><![CDATA[
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
581 --output "."
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
582 --output-prefix "plotmodeledsegments"
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
583 ]]></template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
584
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
585 <xml name="plotmodeledsegments_output">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
586 <data format="png" name="modeled_png" label="${tool.name} on ${on_string}: modeled.png" help="Copy-Ratio Plot" from_work_dir="plotmodeledsegments.modeled.png"/>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
587 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
588
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
589 <!--Common Picard options-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
590 <template name="picard_opts">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
591 #if $picard_adv.arguments_file
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
592 --arguments_file ${picard_adv.arguments_file}
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
593 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
594 --COMPRESSION_LEVEL ${picard_adv.COMPRESSION_LEVEL}
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
595 #if $picard_adv.GA4GH_CLIENT_SECRETS
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
596 --GA4GH_CLIENT_SECRETS ${picard_adv.GA4GH_CLIENT_SECRETS}
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
597 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
598 --MAX_RECORDS_IN_RAM ${picard_adv.MAX_RECORDS_IN_RAM}
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
599 --VALIDATION_STRINGENCY ${picard_adv.VALIDATION_STRINGENCY}
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
600 --VERBOSITY ${picard_adv.VERBOSITY}
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
601 ${picard_adv.CREATE_MD5_FILE}
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
602 ${picard_adv.USE_JDK_DEFLATER}
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
603 ${picard_adv.USE_JDK_INFLATER}
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
604 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
605
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
606 <xml name="picard_params">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
607 <section name="picard_adv" title="Advanced Picard Options (Only change these if you know what you're doing.)" expanded="False">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
608 <param argument="--arguments_file" type="data" optional="true" format="txt" label="Arguments File" help="read one or more arguments files and add them to the command line" />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
609 <param argument="--COMPRESSION_LEVEL" type="integer" optional="true" value="5" min="1" max="9" label="Compression Level" help="Compression level for all compressed files created (e.g. BAM and VCF)." />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
610 <param argument="--CREATE_MD5_FILE" truevalue="--CREATE_MD5_FILE" falsevalue="" type="boolean" optional="true" checked="false" label="Create MD5 File" help="Whether to create an MD5 digest for any BAM or FASTQ files created." />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
611 <param argument="--GA4GH_CLIENT_SECRETS" type="data" format="json" optional="true" label="Ga4Gh Client Secrets" help="Google Genomics API client_secrets.json file path." />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
612 <param argument="--MAX_RECORDS_IN_RAM" type="integer" optional="true" value="500000" label="Max Records In Ram" help="When writing files that need to be sorted, this will specify the number of records stored in RAM before spilling to disk. Increasing this number reduces the number of file handles needed to sort the file, and increases the amount of RAM needed." />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
613 <param argument="--TMP_DIR" type="text" optional="true" label="Tmp Dir" help="One or more directories with space available to be used by this program for temporary storage of working files. Keep in mind, you must be able to access this directory from either your user, or from the Galaxy user, depending on your configuration." />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
614 <param argument="--USE_JDK_DEFLATER" truevalue="--USE_JDK_DEFLATER" falsevalue="" type="boolean" optional="true" checked="false" label="Use Jdk Deflater" help="Use the JDK Deflater instead of the Intel Deflater for writing compressed output" />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
615 <param argument="--USE_JDK_INFLATER" truevalue="--USE_JDK_INFLATER" falsevalue="" type="boolean" optional="true" checked="false" label="Use Jdk Inflater" help="Use the JDK Inflater instead of the Intel Inflater for reading compressed input" />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
616 <param argument="--VALIDATION_STRINGENCY" type="select" optional="true" label="Validation Stringency" help="Validation stringency for all SAM files read by this program. Setting stringency to SILENT can improve performance when processing a BAM file in which variable-length data (read, qualities, tags) do not otherwise need to be decoded." >
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
617 <option value="STRICT" selected="true">STRICT</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
618 <option value="LENIENT" selected="false">LENIENT</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
619 <option value="SILENT" selected="false">SILENT</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
620 </param>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
621 <param argument="--VERBOSITY" type="select" optional="true" label="Verbosity" help="Control verbosity of logging." >
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
622 <option value="ERROR" selected="false">ERROR</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
623 <option value="WARNING" selected="false">WARNING</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
624 <option value="INFO" selected="true">INFO</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
625 <option value="DEBUG" selected="false">DEBUG</option>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
626 </param>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
627 </section>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
628 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
629
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
630 <!--Provides option to create gzipped output for VCF files-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
631 <xml name="gzip_vcf_params">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
632 <param name="gzipped_output" type="boolean" checked="true" label="GZIP Output?" help="If you would like gzipped output, check this box. In general, it would be preferable to do this, unless your downstream tool does not support handling of gzipped files." />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
633 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
634
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
635 <!--Output related Picard options-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
636 <xml name="gzip_vcf_output_params">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
637 <data format="vcf" name="output_vcf" label="${tool.name} on ${on_string}: vcf" from_work_dir="output.vcf" >
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
638 <filter>not gzipped_output</filter>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
639 </data>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
640 <data format="vcf_bgzip" name="output_vcf_bgzip" label="${tool.name} on ${on_string}: vcf_bgzip" from_work_dir="output.vcf.gz" >
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
641 <filter>gzipped_output</filter>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
642 </data>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
643 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
644
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
645
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
646 <!--These are the same, other than the capitalization of output, so maybe a better way to do this.-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
647 <template name="picard_vcf_output_opts">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
648 #if $gzipped_output
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
649 --OUTPUT output.vcf.gz
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
650 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
651 --OUTPUT output.vcf
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
652 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
653 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
654
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
655 <template name="vcf_output_opts">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
656 #if $gzipped_output
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
657 --output output.vcf.gz
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
658 #else
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
659 --output output.vcf
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
660 #end if
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
661 </template>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
662
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
663 <xml name="picard_output_params">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
664 <data format="txt" name="output_md5" label="${tool.name} on ${on_string}: md5sum(txt)" from_work_dir="output.bam.md5" >
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
665 <filter>picard_adv['CREATE_MD5_FILE']</filter>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
666 </data>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
667 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
668
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
669
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
670 <!--<template name="ref_opts">-->
1
fd2d6e035c3f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit 5d2fd48454149b3cfa39aaba71e3b19f89087516"
iuc
parents: 0
diff changeset
671 <!--#set $sections = ['optional','advanced','deprecated','']-->
0
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
672 <!--#silent $sys.stderr.write("I WOULD LIKE TO SHOW THE SECTION VARIABLE: '${sections}'\n")-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
673 <!--#for $sect in $sections-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
674 <!--#if $varExists('$sect.reference_source.reference_source_selector')-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
675 <!--#if $sect.reference_source.reference_source_selector != "no_ref"-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
676 <!--#if $sect.reference_source.reference_source_selector != "history"-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
677 <!--&#45;&#45;reference ${sect.reference_source.reference_sequence.fields.path}-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
678 <!--#else-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
679 <!--&#45;&#45;reference ${sect.reference_source.reference_sequence}-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
680 <!--#end if-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
681 <!--#end if-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
682 <!--#end if-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
683 <!--#end for-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
684 <!--</template>-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
685
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
686
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
687 <!--<template name="ref_opts_opt">-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
688 <!--#if $optional.reference_source.reference_source_selector != "no_ref"-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
689 <!--#if $optional.reference_source.reference_source_selector != "history"-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
690 <!--&#45;&#45;reference ${optional.reference_source.reference_sequence.fields.path}-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
691 <!--#else-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
692 <!--&#45;&#45;reference ${optional.reference_source.reference_sequence}-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
693 <!--#end if-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
694 <!--#end if-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
695 <!--</template>-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
696
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
697
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
698 <!--Citations-->
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
699 <xml name="citations">
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
700 <citation type="doi">10.1101/gr.107524.110</citation>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
701 <citation type="doi">10.1038/ng.806</citation>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
702 <citation type="doi">10.1002/0471250953.bi1110s43</citation>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
703 <citation type="doi">10.1101/201178</citation>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
704 <yield />
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
705 </xml>
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
706
f41a1e03538b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/gatk4 commit f9d04b348a43a799ab1624d3a7b211aab55ae522"
iuc
parents:
diff changeset
707 </macros>