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