annotate gatk2_macros.xml @ 4:f244b8209eb8 draft

bug fix release
author iuc
date Mon, 25 Aug 2014 17:43:11 -0400
parents 8bcc13094767
children 35c00763cb5c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
1 <macros>
2
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
2 <xml name="requirements">
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
3 <requirements>
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
4 <requirement type="package">gatk2</requirement>
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
5 <requirement type="package" version="0.1.19">samtools</requirement>
4
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
6 <requirement type="package" version="1.56.0">picard</requirement>
2
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
7 <requirement type="set_environment">GATK2_PATH</requirement>
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
8 <requirement type="set_environment">GATK2_SITE_OPTIONS</requirement>
4
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
9 <yield />
2
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
10 </requirements>
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
11 </xml>
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
12 <token name="@THREADS@">
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
13 --num_threads \${GALAXY_SLOTS:-4}
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
14 </token>
4
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
15 <token name="@VERSION@">2.8</token>
2
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
16 <token name="@JAR_PATH@">
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
17 java -jar "\$GATK2_PATH/GenomeAnalysisTK.jar"
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
18 </token>
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
19 <token name="@DBSNP_OPTIONS@">
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
20 #if $dbsnp_rod_bind_type.dbsnp_rod_bind_type_selector == 'set_dbsnp'
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
21 -d "--dbsnp:${dbsnp_rod_bind_type.dbsnp_rod_name},%(file_type)s" "${dbsnp_rod_bind_type.dbsnp_input_rod}" "${dbsnp_rod_bind_type.dbsnp_input_rod.ext}" "input_dbsnp_${dbsnp_rod_bind_type.dbsnp_rod_name}"
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
22 #end if
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
23 </token>
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
24 <template name="standard_gatk_options">
340633249b3d Uploaded
bgruening
parents:
diff changeset
25 ##start standard gatk options
340633249b3d Uploaded
bgruening
parents:
diff changeset
26 #if $gatk_param_type.gatk_param_type_selector == "advanced":
340633249b3d Uploaded
bgruening
parents:
diff changeset
27 #for $pedigree in $gatk_param_type.pedigree:
340633249b3d Uploaded
bgruening
parents:
diff changeset
28 -p '--pedigree "${pedigree.pedigree_file}"'
340633249b3d Uploaded
bgruening
parents:
diff changeset
29 #end for
340633249b3d Uploaded
bgruening
parents:
diff changeset
30 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat:
340633249b3d Uploaded
bgruening
parents:
diff changeset
31 -p '--pedigreeString "${pedigree_string.pedigree_string}"'
340633249b3d Uploaded
bgruening
parents:
diff changeset
32 #end for
340633249b3d Uploaded
bgruening
parents:
diff changeset
33 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"'
340633249b3d Uploaded
bgruening
parents:
diff changeset
34 #set default_read_filters = ['MalformedRead']
340633249b3d Uploaded
bgruening
parents:
diff changeset
35 #for $read_filter in $gatk_param_type.read_filter:
340633249b3d Uploaded
bgruening
parents:
diff changeset
36 -p '
340633249b3d Uploaded
bgruening
parents:
diff changeset
37 #if $read_filter.read_filter_type.read_filter_type_selector not in $default_read_filters:
340633249b3d Uploaded
bgruening
parents:
diff changeset
38 --read_filter "${read_filter.read_filter_type.read_filter_type_selector}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
39 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
40 #for $name, $param in $read_filter.read_filter_type.iteritems():
340633249b3d Uploaded
bgruening
parents:
diff changeset
41 #if $name not in [ "__current_case__", "read_filter_type_selector" ]:
340633249b3d Uploaded
bgruening
parents:
diff changeset
42 #if hasattr( $param.input, 'truevalue' ):
340633249b3d Uploaded
bgruening
parents:
diff changeset
43 ${param}
340633249b3d Uploaded
bgruening
parents:
diff changeset
44 #else:
340633249b3d Uploaded
bgruening
parents:
diff changeset
45 --${name} "${param}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
46 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
47 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
48 #end for
340633249b3d Uploaded
bgruening
parents:
diff changeset
49 '
340633249b3d Uploaded
bgruening
parents:
diff changeset
50 #end for
340633249b3d Uploaded
bgruening
parents:
diff changeset
51 #for $interval_count, $input_intervals in enumerate( $gatk_param_type.input_interval_repeat ):
340633249b3d Uploaded
bgruening
parents:
diff changeset
52 -d "--intervals" "${input_intervals.input_intervals}" "${input_intervals.input_intervals.ext}" "input_intervals_${interval_count}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
53 #end for
340633249b3d Uploaded
bgruening
parents:
diff changeset
54
340633249b3d Uploaded
bgruening
parents:
diff changeset
55 #for $interval_count, $input_intervals in enumerate( $gatk_param_type.input_exclude_interval_repeat ):
340633249b3d Uploaded
bgruening
parents:
diff changeset
56 -d "--excludeIntervals" "${input_intervals.input_exclude_intervals}" "${input_intervals.input_exclude_intervals.ext}" "input_exlude_intervals_${interval_count}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
57 #end for
340633249b3d Uploaded
bgruening
parents:
diff changeset
58
340633249b3d Uploaded
bgruening
parents:
diff changeset
59 -p '--interval_set_rule "${gatk_param_type.interval_set_rule}"'
4
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
60 -p '--interval_padding "${gatk_param_type.interval_padding}"'
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
61 -p '--downsampling_type "${gatk_param_type.downsampling_type.downsampling_type_selector}"'
340633249b3d Uploaded
bgruening
parents:
diff changeset
62 #if str( $gatk_param_type.downsampling_type.downsampling_type_selector ) != "NONE":
340633249b3d Uploaded
bgruening
parents:
diff changeset
63 -p '--${gatk_param_type.downsampling_type.downsample_to_type.downsample_to_type_selector} "${gatk_param_type.downsampling_type.downsample_to_type.downsample_to_value}"'
340633249b3d Uploaded
bgruening
parents:
diff changeset
64 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
65 -p '
340633249b3d Uploaded
bgruening
parents:
diff changeset
66 --baq "${gatk_param_type.baq}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
67 --baqGapOpenPenalty "${gatk_param_type.baq_gap_open_penalty}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
68 ${gatk_param_type.use_original_qualities}
340633249b3d Uploaded
bgruening
parents:
diff changeset
69 --defaultBaseQualities "${gatk_param_type.default_base_qualities}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
70 --validation_strictness "${gatk_param_type.validation_strictness}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
71 --interval_merging "${gatk_param_type.interval_merging}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
72 ${gatk_param_type.disable_experimental_low_memory_sharding}
340633249b3d Uploaded
bgruening
parents:
diff changeset
73 ${gatk_param_type.fix_misencoded_quality_scores}
340633249b3d Uploaded
bgruening
parents:
diff changeset
74 ${gatk_param_type.non_deterministic_random_seed}
340633249b3d Uploaded
bgruening
parents:
diff changeset
75 '
340633249b3d Uploaded
bgruening
parents:
diff changeset
76 #for $rg_black_list_count, $rg_black_list in enumerate( $gatk_param_type.read_group_black_list_repeat ):
340633249b3d Uploaded
bgruening
parents:
diff changeset
77 #if $rg_black_list.read_group_black_list_type.read_group_black_list_type_selector == "file":
340633249b3d Uploaded
bgruening
parents:
diff changeset
78 -d "--read_group_black_list" "${rg_black_list.read_group_black_list_type.read_group_black_list}" "txt" "input_read_group_black_list_${rg_black_list_count}"
340633249b3d Uploaded
bgruening
parents:
diff changeset
79 #else
340633249b3d Uploaded
bgruening
parents:
diff changeset
80 -p '--read_group_black_list "${rg_black_list.read_group_black_list_type.read_group_black_list}"'
340633249b3d Uploaded
bgruening
parents:
diff changeset
81 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
82 #end for
340633249b3d Uploaded
bgruening
parents:
diff changeset
83 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
84
340633249b3d Uploaded
bgruening
parents:
diff changeset
85 #if str( $reference_source.reference_source_selector ) == "history":
340633249b3d Uploaded
bgruening
parents:
diff changeset
86 -d "-R" "${reference_source.ref_file}" "${reference_source.ref_file.ext}" "gatk_input"
340633249b3d Uploaded
bgruening
parents:
diff changeset
87 #end if
340633249b3d Uploaded
bgruening
parents:
diff changeset
88 ##end standard gatk options
340633249b3d Uploaded
bgruening
parents:
diff changeset
89 </template>
340633249b3d Uploaded
bgruening
parents:
diff changeset
90 <xml name="gatk_param_type_conditional">
340633249b3d Uploaded
bgruening
parents:
diff changeset
91 <conditional name="gatk_param_type">
340633249b3d Uploaded
bgruening
parents:
diff changeset
92 <param name="gatk_param_type_selector" type="select" label="Basic or Advanced GATK options">
340633249b3d Uploaded
bgruening
parents:
diff changeset
93 <option value="basic" selected="True">Basic</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
94 <option value="advanced">Advanced</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
95 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
96 <when value="basic">
340633249b3d Uploaded
bgruening
parents:
diff changeset
97 <!-- Do nothing here -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
98 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
99 <when value="advanced">
340633249b3d Uploaded
bgruening
parents:
diff changeset
100 <repeat name="pedigree" title="Pedigree file" help="-ped,--pedigree &amp;lt;pedigree&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
101 <param name="pedigree_file" type="data" format="txt" label="Pedigree files for samples"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
102 </repeat>
340633249b3d Uploaded
bgruening
parents:
diff changeset
103 <repeat name="pedigree_string_repeat" title="Pedigree string" help="-pedString,--pedigreeString &amp;lt;pedigreeString&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
104 <param name="pedigree_string" type="text" value="" label="Pedigree string for samples"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
105 </repeat>
340633249b3d Uploaded
bgruening
parents:
diff changeset
106 <param name="pedigree_validation_type" type="select" label="How strict should we be in validating the pedigree information" help="-pedValidationType,--pedigreeValidationType &amp;lt;pedigreeValidationType&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
107 <option value="STRICT" selected="True">STRICT</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
108 <option value="SILENT">SILENT</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
109 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
110 <repeat name="read_filter" title="Read Filter" help="-rf,--read_filter &amp;lt;read_filter&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
111 <conditional name="read_filter_type">
340633249b3d Uploaded
bgruening
parents:
diff changeset
112 <param name="read_filter_type_selector" type="select" label="Read Filter Type">
340633249b3d Uploaded
bgruening
parents:
diff changeset
113 <option value="BadCigar">BadCigar</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
114 <option value="BadMate">BadMate</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
115 <option value="DuplicateRead">DuplicateRead</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
116 <option value="FailsVendorQualityCheck">FailsVendorQualityCheck</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
117 <option value="MalformedRead">MalformedRead</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
118 <option value="MappingQuality">MappingQuality</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
119 <option value="MappingQualityUnavailable">MappingQualityUnavailable</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
120 <option value="MappingQualityZero">MappingQualityZero</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
121 <option value="MateSameStrand">MateSameStrand</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
122 <option value="MaxInsertSize">MaxInsertSize</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
123 <option value="MaxReadLength" selected="True">MaxReadLength</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
124 <option value="MissingReadGroup">MissingReadGroup</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
125 <option value="NoOriginalQualityScores">NoOriginalQualityScores</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
126 <option value="NotPrimaryAlignment">NotPrimaryAlignment</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
127 <option value="Platform454">Platform454</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
128 <option value="Platform">Platform</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
129 <option value="PlatformUnit">PlatformUnit</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
130 <option value="ReadGroupBlackList">ReadGroupBlackList</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
131 <option value="ReadName">ReadName</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
132 <option value="ReadStrand">ReadStrand</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
133 <option value="ReassignMappingQuality">ReassignMappingQuality</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
134 <option value="Sample">Sample</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
135 <option value="SingleReadGroup">SingleReadGroup</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
136 <option value="UnmappedRead">UnmappedRead</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
137 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
138 <when value="BadCigar">
340633249b3d Uploaded
bgruening
parents:
diff changeset
139 <!-- no extra options -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
140 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
141 <when value="BadMate">
340633249b3d Uploaded
bgruening
parents:
diff changeset
142 <!-- no extra options -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
143 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
144 <when value="DuplicateRead">
340633249b3d Uploaded
bgruening
parents:
diff changeset
145 <!-- no extra options -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
146 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
147 <when value="FailsVendorQualityCheck">
340633249b3d Uploaded
bgruening
parents:
diff changeset
148 <!-- no extra options -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
149 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
150 <when value="MalformedRead">
340633249b3d Uploaded
bgruening
parents:
diff changeset
151 <param name="filter_mismatching_base_and_quals" type="boolean" truevalue="--filter_mismatching_base_and_quals" falsevalue="" checked="false" label="filter out the reads with mismatching number of bases and base qualities" help="filter out the mismatch reads instead of quitting with an error"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
152 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
153 <when value="MappingQuality">
340633249b3d Uploaded
bgruening
parents:
diff changeset
154 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
155 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
156 <when value="MappingQualityUnavailable">
340633249b3d Uploaded
bgruening
parents:
diff changeset
157 <!-- no extra options -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
158 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
159 <when value="MappingQualityZero">
340633249b3d Uploaded
bgruening
parents:
diff changeset
160 <!-- no extra options -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
161 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
162 <when value="MateSameStrand">
340633249b3d Uploaded
bgruening
parents:
diff changeset
163 <!-- no extra options -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
164 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
165 <when value="MaxInsertSize">
340633249b3d Uploaded
bgruening
parents:
diff changeset
166 <param name="maxInsertSize" type="integer" value="1000000" label="Discard reads with insert size greater than the specified value"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
167 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
168 <when value="MaxReadLength">
340633249b3d Uploaded
bgruening
parents:
diff changeset
169 <param name="maxReadLength" type="integer" value="76" label="Max Read Length"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
170 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
171 <when value="MissingReadGroup">
340633249b3d Uploaded
bgruening
parents:
diff changeset
172 <!-- no extra options -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
173 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
174 <when value="NoOriginalQualityScores">
340633249b3d Uploaded
bgruening
parents:
diff changeset
175 <!-- no extra options -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
176 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
177 <when value="NotPrimaryAlignment">
340633249b3d Uploaded
bgruening
parents:
diff changeset
178 <!-- no extra options -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
179 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
180 <when value="Platform454">
340633249b3d Uploaded
bgruening
parents:
diff changeset
181 <!-- no extra options -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
182 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
183 <when value="Platform">
340633249b3d Uploaded
bgruening
parents:
diff changeset
184 <param name="PLFilterName" type="text" value="" label="Discard reads with RG:PL attribute containing this string"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
185 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
186 <when value="PlatformUnit">
340633249b3d Uploaded
bgruening
parents:
diff changeset
187 <!-- no extra options -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
188 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
189 <when value="ReadGroupBlackList">
340633249b3d Uploaded
bgruening
parents:
diff changeset
190 <!-- no extra options -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
191 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
192 <when value="ReadName">
340633249b3d Uploaded
bgruening
parents:
diff changeset
193 <param name="readName" type="text" value="" label="Filter out all reads except those with this read name"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
194 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
195 <when value="ReadStrand">
340633249b3d Uploaded
bgruening
parents:
diff changeset
196 <param name="filterPositive" type="boolean" truevalue="--filterPositive" falsevalue="" label="Discard reads on the forward strand"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
197 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
198 <when value="ReassignMappingQuality">
340633249b3d Uploaded
bgruening
parents:
diff changeset
199 <param name="default_mapping_quality" type="integer" value="60" label="Default read mapping quality to assign to all reads"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
200 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
201 <when value="Sample">
340633249b3d Uploaded
bgruening
parents:
diff changeset
202 <param name="sample_to_keep" type="text" value="" label="The name of the sample(s) to keep, filtering out all others"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
203 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
204 <when value="SingleReadGroup">
340633249b3d Uploaded
bgruening
parents:
diff changeset
205 <param name="read_group_to_keep" type="integer" value="76" label="The name of the read group to keep, filtering out all others"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
206 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
207 <when value="UnmappedRead">
340633249b3d Uploaded
bgruening
parents:
diff changeset
208 <!-- no extra options -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
209 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
210 </conditional>
340633249b3d Uploaded
bgruening
parents:
diff changeset
211 </repeat>
340633249b3d Uploaded
bgruening
parents:
diff changeset
212 <repeat name="input_interval_repeat" title="Operate on Genomic intervals" help="-L,--intervals &amp;lt;intervals&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
213 <param name="input_intervals" type="data" format="bed,gatk_interval,picard_interval_list,vcf" label="Genomic intervals" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
214 </repeat>
340633249b3d Uploaded
bgruening
parents:
diff changeset
215 <repeat name="input_exclude_interval_repeat" title="Exclude Genomic intervals" help="-XL,--excludeIntervals &amp;lt;excludeIntervals&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
216 <param name="input_exclude_intervals" type="data" format="bed,gatk_interval,picard_interval_list,vcf" label="Genomic intervals" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
217 </repeat>
340633249b3d Uploaded
bgruening
parents:
diff changeset
218
340633249b3d Uploaded
bgruening
parents:
diff changeset
219 <param name="interval_set_rule" type="select" label="Interval set rule" help="-isr,--interval_set_rule &amp;lt;interval_set_rule&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
220 <option value="UNION" selected="True">UNION</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
221 <option value="INTERSECTION">INTERSECTION</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
222 </param>
4
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
223 <param name="interval_padding" type="integer" value="0" min="0" label="Amount of padding (in bp) to add to each interval"
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
224 help="This is typically used to add padding around exons when analyzing exomes. (--interval_padding / -ip)"/>
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
225
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
226 <conditional name="downsampling_type">
340633249b3d Uploaded
bgruening
parents:
diff changeset
227 <param name="downsampling_type_selector" type="select" label="Type of reads downsampling to employ at a given locus" help="-dt,--downsampling_type &amp;lt;downsampling_type&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
228 <option value="NONE" selected="True">NONE</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
229 <option value="ALL_READS">ALL_READS</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
230 <option value="BY_SAMPLE">BY_SAMPLE</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
231 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
232 <when value="NONE">
340633249b3d Uploaded
bgruening
parents:
diff changeset
233 <!-- no more options here -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
234 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
235 <when value="ALL_READS">
340633249b3d Uploaded
bgruening
parents:
diff changeset
236 <conditional name="downsample_to_type">
340633249b3d Uploaded
bgruening
parents:
diff changeset
237 <param name="downsample_to_type_selector" type="select" label="Downsample method">
340633249b3d Uploaded
bgruening
parents:
diff changeset
238 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
239 <option value="downsample_to_coverage">Downsample by Coverage</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
240 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
241 <when value="downsample_to_fraction">
340633249b3d Uploaded
bgruening
parents:
diff changeset
242 <param name="downsample_to_value" type="float" label="Fraction [0.0-1.0] of reads to downsample to" value="1" min="0" max="1" help="-dfrac,--downsample_to_fraction &amp;lt;downsample_to_fraction&amp;gt;"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
243 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
244 <when value="downsample_to_coverage">
340633249b3d Uploaded
bgruening
parents:
diff changeset
245 <param name="downsample_to_value" type="integer" label="Coverage to downsample to at any given locus" value="0" help="-dcov,--downsample_to_coverage &amp;lt;downsample_to_coverage&amp;gt;"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
246 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
247 </conditional>
340633249b3d Uploaded
bgruening
parents:
diff changeset
248 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
249 <when value="BY_SAMPLE">
340633249b3d Uploaded
bgruening
parents:
diff changeset
250 <conditional name="downsample_to_type">
340633249b3d Uploaded
bgruening
parents:
diff changeset
251 <param name="downsample_to_type_selector" type="select" label="Downsample method">
340633249b3d Uploaded
bgruening
parents:
diff changeset
252 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
253 <option value="downsample_to_coverage">Downsample by Coverage</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
254 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
255 <when value="downsample_to_fraction">
340633249b3d Uploaded
bgruening
parents:
diff changeset
256 <param name="downsample_to_value" type="float" label="Fraction [0.0-1.0] of reads to downsample to" value="1" min="0" max="1" help="-dfrac,--downsample_to_fraction &amp;lt;downsample_to_fraction&amp;gt;"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
257 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
258 <when value="downsample_to_coverage">
340633249b3d Uploaded
bgruening
parents:
diff changeset
259 <param name="downsample_to_value" type="integer" label="Coverage to downsample to at any given locus" value="0" help="-dcov,--downsample_to_coverage &amp;lt;downsample_to_coverage&amp;gt;"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
260 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
261 </conditional>
340633249b3d Uploaded
bgruening
parents:
diff changeset
262 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
263 </conditional>
340633249b3d Uploaded
bgruening
parents:
diff changeset
264 <param name="baq" type="select" label="Type of BAQ calculation to apply in the engine" help="-baq,--baq &amp;lt;baq&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
265 <option value="OFF" selected="True">OFF</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
266 <option value="CALCULATE_AS_NECESSARY">CALCULATE_AS_NECESSARY</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
267 <option value="RECALCULATE">RECALCULATE</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
268 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
269 <param name="baq_gap_open_penalty" type="float" label="BAQ gap open penalty (Phred Scaled)" value="40" help="Default value is 40. 30 is perhaps better for whole genome call sets. -baqGOP,--baqGapOpenPenalty &amp;lt;baqGapOpenPenalty&amp;gt;" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
270 <param name="use_original_qualities" type="boolean" truevalue="--useOriginalQualities" falsevalue="" label="Use the original base quality scores from the OQ tag" help="-OQ,--useOriginalQualities" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
271 <param name="default_base_qualities" type="integer" label="Value to be used for all base quality scores, when some are missing" value="-1" help="-DBQ,--defaultBaseQualities &amp;lt;defaultBaseQualities&amp;gt;"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
272 <param name="validation_strictness" type="select" label="How strict should we be with validation" help="-S,--validation_strictness &amp;lt;validation_strictness&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
273 <option value="STRICT" selected="True">STRICT</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
274 <option value="LENIENT">LENIENT</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
275 <option value="SILENT">SILENT</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
276 <!-- <option value="DEFAULT_STRINGENCY">DEFAULT_STRINGENCY</option> listed in docs, but not valid value...-->
340633249b3d Uploaded
bgruening
parents:
diff changeset
277 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
278 <param name="interval_merging" type="select" label="Interval merging rule" help="-im,--interval_merging &amp;lt;interval_merging&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
279 <option value="ALL" selected="True">ALL</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
280 <option value="OVERLAPPING_ONLY">OVERLAPPING_ONLY</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
281 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
282
340633249b3d Uploaded
bgruening
parents:
diff changeset
283 <repeat name="read_group_black_list_repeat" title="Read group black list" help="-rgbl,--read_group_black_list &amp;lt;read_group_black_list&amp;gt;">
340633249b3d Uploaded
bgruening
parents:
diff changeset
284 <conditional name="read_group_black_list_type">
340633249b3d Uploaded
bgruening
parents:
diff changeset
285 <param name="read_group_black_list_type_selector" type="select" label="Type of reads read group black list">
340633249b3d Uploaded
bgruening
parents:
diff changeset
286 <option value="file" selected="True">Filters in file</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
287 <option value="text">Specify filters as a string</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
288 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
289 <when value="file">
340633249b3d Uploaded
bgruening
parents:
diff changeset
290 <param name="read_group_black_list" type="data" format="txt" label="Read group black list file" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
291 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
292 <when value="text">
340633249b3d Uploaded
bgruening
parents:
diff changeset
293 <param name="read_group_black_list" type="text" value="tag:string" label="Read group black list tag:string" />
340633249b3d Uploaded
bgruening
parents:
diff changeset
294 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
295 </conditional>
340633249b3d Uploaded
bgruening
parents:
diff changeset
296 </repeat>
340633249b3d Uploaded
bgruening
parents:
diff changeset
297
340633249b3d Uploaded
bgruening
parents:
diff changeset
298 <param name="disable_experimental_low_memory_sharding" type="boolean" truevalue="--disable_experimental_low_memory_sharding" falsevalue="" label="Disable experimental low-memory sharding functionality." checked="False" help="--disable_experimental_low_memory_sharding"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
299 <param name="non_deterministic_random_seed" type="boolean" truevalue="--nonDeterministicRandomSeed" falsevalue="" label="Makes the GATK behave non deterministically, that is, the random numbers generated will be different in every run" checked="False" help="-ndrs,--nonDeterministicRandomSeed"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
300 <param name="fix_misencoded_quality_scores" type="boolean" truevalue="--fix_misencoded_quality_scores" falsevalue="" label="Fix mis-encoded base quality scores. Q0 == ASCII 33 according to the SAM specification, whereas Illumina encoding starts at Q64. The idea here is simple: we just iterate over all reads and subtract 31 from every quality score." checked="False" help="-fixMisencodedQuals / --fix_misencoded_quality_scores"/>
340633249b3d Uploaded
bgruening
parents:
diff changeset
301
340633249b3d Uploaded
bgruening
parents:
diff changeset
302 </when>
4
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
303 </conditional>
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
304 </xml>
340633249b3d Uploaded
bgruening
parents:
diff changeset
305 <xml name="analysis_type_conditional">
340633249b3d Uploaded
bgruening
parents:
diff changeset
306 <conditional name="analysis_param_type">
340633249b3d Uploaded
bgruening
parents:
diff changeset
307 <param name="analysis_param_type_selector" type="select" label="Basic or Advanced Analysis options">
340633249b3d Uploaded
bgruening
parents:
diff changeset
308 <option value="basic" selected="True">Basic</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
309 <option value="advanced">Advanced</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
310 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
311 <when value="basic">
340633249b3d Uploaded
bgruening
parents:
diff changeset
312 <!-- Do nothing here -->
340633249b3d Uploaded
bgruening
parents:
diff changeset
313 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
314 <when value="advanced">
340633249b3d Uploaded
bgruening
parents:
diff changeset
315 <yield />
340633249b3d Uploaded
bgruening
parents:
diff changeset
316 </when>
340633249b3d Uploaded
bgruening
parents:
diff changeset
317 </conditional>
340633249b3d Uploaded
bgruening
parents:
diff changeset
318 </xml>
340633249b3d Uploaded
bgruening
parents:
diff changeset
319 <xml name="reference_source_selector_param">
340633249b3d Uploaded
bgruening
parents:
diff changeset
320 <param name="reference_source_selector" type="select" label="Choose the source for the reference list">
340633249b3d Uploaded
bgruening
parents:
diff changeset
321 <option value="cached">Locally cached</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
322 <option value="history">History</option>
340633249b3d Uploaded
bgruening
parents:
diff changeset
323 </param>
340633249b3d Uploaded
bgruening
parents:
diff changeset
324 </xml>
2
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
325 <xml name="dbsnp_param">
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
326 <conditional name="dbsnp_rod_bind_type">
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
327 <param name="dbsnp_rod_bind_type_selector" type="select" label="Provide a dbSNP Reference-Ordered Data (ROD) file" help="-D,--dbsnp &amp;lt;dbsnp&amp;gt;">
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
328 <option value="set_dbsnp" selected="True">Set dbSNP</option>
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
329 <option value="exclude_dbsnp">Don't set dbSNP</option>
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
330 </param>
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
331 <when value="exclude_dbsnp" />
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
332 <when value="set_dbsnp">
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
333 <param name="dbsnp_input_rod" type="data" format="vcf" label="dbSNP ROD file" />
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
334 <param name="dbsnp_rod_name" type="text" value="dbsnp" label="dbsnp ROD name">
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
335 <validator type="regex" message="Value must be a not empty string composed by alphanumeric characters and underscores">^\w+$</validator>
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
336 </param>
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
337 </when>
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
338 </conditional>
8bcc13094767 Uploaded
iuc
parents: 0
diff changeset
339 </xml>
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
340 <token name="@CITATION_SECTION@">------
340633249b3d Uploaded
bgruening
parents:
diff changeset
341
340633249b3d Uploaded
bgruening
parents:
diff changeset
342 **Citation**
340633249b3d Uploaded
bgruening
parents:
diff changeset
343
340633249b3d Uploaded
bgruening
parents:
diff changeset
344 For the underlying tool, please cite `DePristo MA, Banks E, Poplin R, Garimella KV, Maguire JR, Hartl C, Philippakis AA, del Angel G, Rivas MA, Hanna M, McKenna A, Fennell TJ, Kernytsky AM, Sivachenko AY, Cibulskis K, Gabriel SB, Altshuler D, Daly MJ. A framework for variation discovery and genotyping using next-generation DNA sequencing data. Nat Genet. 2011 May;43(5):491-8. &lt;http://www.ncbi.nlm.nih.gov/pubmed/21478889&gt;`_
340633249b3d Uploaded
bgruening
parents:
diff changeset
345
340633249b3d Uploaded
bgruening
parents:
diff changeset
346 If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.*
340633249b3d Uploaded
bgruening
parents:
diff changeset
347
340633249b3d Uploaded
bgruening
parents:
diff changeset
348 </token>
4
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
349 <xml name="citations">
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
350 <citations>
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
351 <citation type="doi">10.1038/ng.806</citation>
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
352 <citation type="doi">10.1101/gr.107524.110</citation>
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
353 <citation type="doi">10.1002/0471250953.bi1110s43</citation>
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
354 </citations>
f244b8209eb8 bug fix release
iuc
parents: 2
diff changeset
355 </xml>
0
340633249b3d Uploaded
bgruening
parents:
diff changeset
356 </macros>