annotate gatk_macros.xml @ 0:fbca1c0956d2 draft default tip

Imported from capsule None
author devteam
date Tue, 01 Apr 2014 10:49:25 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
1 <macros>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
2 <template name="standard_gatk_options">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
3 ##start standard gatk options
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
4 #if $gatk_param_type.gatk_param_type_selector == "advanced":
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
5 #for $pedigree in $gatk_param_type.pedigree:
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
6 -p '--pedigree "${pedigree.pedigree_file}"'
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
7 #end for
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
8 #for $pedigree_string in $gatk_param_type.pedigree_string_repeat:
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
9 -p '--pedigreeString "${pedigree_string.pedigree_string}"'
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
10 #end for
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
11 -p '--pedigreeValidationType "${gatk_param_type.pedigree_validation_type}"'
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
12 #for $read_filter in $gatk_param_type.read_filter:
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
13 -p '--read_filter "${read_filter.read_filter_type.read_filter_type_selector}"
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
14 ###raise Exception( str( dir( $read_filter ) ) )
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
15 #for $name, $param in $read_filter.read_filter_type.iteritems():
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
16 #if $name not in [ "__current_case__", "read_filter_type_selector" ]:
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
17 #if hasattr( $param.input, 'truevalue' ):
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
18 ${param}
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
19 #else:
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
20 --${name} "${param}"
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
21 #end if
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
22 #end if
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
23 #end for
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
24 '
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
25 #end for
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
26 #for $interval_count, $input_intervals in enumerate( $gatk_param_type.input_interval_repeat ):
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
27 -d "--intervals" "${input_intervals.input_intervals}" "${input_intervals.input_intervals.ext}" "input_intervals_${interval_count}"
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
28 #end for
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
29
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
30 #for $interval_count, $input_intervals in enumerate( $gatk_param_type.input_exclude_interval_repeat ):
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
31 -d "--excludeIntervals" "${input_intervals.input_exclude_intervals}" "${input_intervals.input_exclude_intervals.ext}" "input_exlude_intervals_${interval_count}"
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
32 #end for
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
33
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
34 -p '--interval_set_rule "${gatk_param_type.interval_set_rule}"'
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
35
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
36 -p '--downsampling_type "${gatk_param_type.downsampling_type.downsampling_type_selector}"'
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
37 #if str( $gatk_param_type.downsampling_type.downsampling_type_selector ) != "NONE":
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
38 -p '--${gatk_param_type.downsampling_type.downsample_to_type.downsample_to_type_selector} "${gatk_param_type.downsampling_type.downsample_to_type.downsample_to_value}"'
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
39 #end if
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
40 -p '
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
41 --baq "${gatk_param_type.baq}"
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
42 --baqGapOpenPenalty "${gatk_param_type.baq_gap_open_penalty}"
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
43 ${gatk_param_type.use_original_qualities}
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
44 --defaultBaseQualities "${gatk_param_type.default_base_qualities}"
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
45 --validation_strictness "${gatk_param_type.validation_strictness}"
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
46 --interval_merging "${gatk_param_type.interval_merging}"
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
47 ${gatk_param_type.disable_experimental_low_memory_sharding}
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
48 ${gatk_param_type.non_deterministic_random_seed}
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
49 '
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
50 #for $rg_black_list_count, $rg_black_list in enumerate( $gatk_param_type.read_group_black_list_repeat ):
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
51 #if $rg_black_list.read_group_black_list_type.read_group_black_list_type_selector == "file":
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
52 -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}"
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
53 #else
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
54 -p '--read_group_black_list "${rg_black_list.read_group_black_list_type.read_group_black_list}"'
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
55 #end if
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
56 #end for
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
57 #end if
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
58
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
59 #if str( $reference_source.reference_source_selector ) == "history":
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
60 -d "-R" "${reference_source.ref_file}" "${reference_source.ref_file.ext}" "gatk_input"
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
61 #end if
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
62 ##end standard gatk options
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
63 </template>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
64 <xml name="gatk_param_type_conditional">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
65 <conditional name="gatk_param_type">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
66 <param name="gatk_param_type_selector" type="select" label="Basic or Advanced GATK options">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
67 <option value="basic" selected="True">Basic</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
68 <option value="advanced">Advanced</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
69 </param>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
70 <when value="basic">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
71 <!-- Do nothing here -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
72 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
73 <when value="advanced">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
74 <repeat name="pedigree" title="Pedigree file" help="-ped,--pedigree &amp;lt;pedigree&amp;gt;">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
75 <param name="pedigree_file" type="data" format="txt" label="Pedigree files for samples"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
76 </repeat>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
77 <repeat name="pedigree_string_repeat" title="Pedigree string" help="-pedString,--pedigreeString &amp;lt;pedigreeString&amp;gt;">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
78 <param name="pedigree_string" type="text" value="" label="Pedigree string for samples"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
79 </repeat>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
80 <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;">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
81 <option value="STRICT" selected="True">STRICT</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
82 <option value="SILENT">SILENT</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
83 </param>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
84 <repeat name="read_filter" title="Read Filter" help="-rf,--read_filter &amp;lt;read_filter&amp;gt;">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
85 <conditional name="read_filter_type">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
86 <param name="read_filter_type_selector" type="select" label="Read Filter Type">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
87 <option value="BadCigar">BadCigar</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
88 <option value="BadMate">BadMate</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
89 <option value="DuplicateRead">DuplicateRead</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
90 <option value="FailsVendorQualityCheck">FailsVendorQualityCheck</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
91 <option value="MalformedRead">MalformedRead</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
92 <option value="MappingQuality">MappingQuality</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
93 <option value="MappingQualityUnavailable">MappingQualityUnavailable</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
94 <option value="MappingQualityZero">MappingQualityZero</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
95 <option value="MateSameStrand">MateSameStrand</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
96 <option value="MaxInsertSize">MaxInsertSize</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
97 <option value="MaxReadLength" selected="True">MaxReadLength</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
98 <option value="MissingReadGroup">MissingReadGroup</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
99 <option value="NoOriginalQualityScores">NoOriginalQualityScores</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
100 <option value="NotPrimaryAlignment">NotPrimaryAlignment</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
101 <option value="Platform454">Platform454</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
102 <option value="Platform">Platform</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
103 <option value="PlatformUnit">PlatformUnit</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
104 <option value="ReadGroupBlackList">ReadGroupBlackList</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
105 <option value="ReadName">ReadName</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
106 <option value="ReadStrand">ReadStrand</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
107 <option value="ReassignMappingQuality">ReassignMappingQuality</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
108 <option value="Sample">Sample</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
109 <option value="SingleReadGroup">SingleReadGroup</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
110 <option value="UnmappedRead">UnmappedRead</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
111 </param>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
112 <when value="BadCigar">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
113 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
114 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
115 <when value="BadMate">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
116 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
117 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
118 <when value="DuplicateRead">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
119 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
120 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
121 <when value="FailsVendorQualityCheck">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
122 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
123 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
124 <when value="MalformedRead">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
125 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
126 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
127 <when value="MappingQuality">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
128 <param name="min_mapping_quality_score" type="integer" value="10" label="Minimum read mapping quality required to consider a read for calling"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
129 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
130 <when value="MappingQualityUnavailable">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
131 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
132 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
133 <when value="MappingQualityZero">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
134 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
135 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
136 <when value="MateSameStrand">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
137 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
138 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
139 <when value="MaxInsertSize">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
140 <param name="maxInsertSize" type="integer" value="1000000" label="Discard reads with insert size greater than the specified value"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
141 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
142 <when value="MaxReadLength">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
143 <param name="maxReadLength" type="integer" value="76" label="Max Read Length"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
144 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
145 <when value="MissingReadGroup">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
146 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
147 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
148 <when value="NoOriginalQualityScores">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
149 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
150 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
151 <when value="NotPrimaryAlignment">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
152 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
153 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
154 <when value="Platform454">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
155 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
156 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
157 <when value="Platform">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
158 <param name="PLFilterName" type="text" value="" label="Discard reads with RG:PL attribute containing this string"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
159 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
160 <when value="PlatformUnit">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
161 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
162 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
163 <when value="ReadGroupBlackList">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
164 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
165 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
166 <when value="ReadName">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
167 <param name="readName" type="text" value="" label="Filter out all reads except those with this read name"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
168 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
169 <when value="ReadStrand">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
170 <param name="filterPositive" type="boolean" truevalue="--filterPositive" falsevalue="" label="Discard reads on the forward strand"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
171 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
172 <when value="ReassignMappingQuality">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
173 <param name="default_mapping_quality" type="integer" value="60" label="Default read mapping quality to assign to all reads"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
174 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
175 <when value="Sample">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
176 <param name="sample_to_keep" type="text" value="" label="The name of the sample(s) to keep, filtering out all others"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
177 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
178 <when value="SingleReadGroup">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
179 <param name="read_group_to_keep" type="integer" value="76" label="The name of the read group to keep, filtering out all others"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
180 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
181 <when value="UnmappedRead">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
182 <!-- no extra options -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
183 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
184 </conditional>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
185 </repeat>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
186 <repeat name="input_interval_repeat" title="Operate on Genomic intervals" help="-L,--intervals &amp;lt;intervals&amp;gt;">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
187 <param name="input_intervals" type="data" format="bed,gatk_interval,picard_interval_list,vcf" label="Genomic intervals" />
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
188 </repeat>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
189 <repeat name="input_exclude_interval_repeat" title="Exclude Genomic intervals" help="-XL,--excludeIntervals &amp;lt;excludeIntervals&amp;gt;">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
190 <param name="input_exclude_intervals" type="data" format="bed,gatk_interval,picard_interval_list,vcf" label="Genomic intervals" />
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
191 </repeat>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
192
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
193 <param name="interval_set_rule" type="select" label="Interval set rule" help="-isr,--interval_set_rule &amp;lt;interval_set_rule&amp;gt;">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
194 <option value="UNION" selected="True">UNION</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
195 <option value="INTERSECTION">INTERSECTION</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
196 </param>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
197
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
198 <conditional name="downsampling_type">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
199 <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;">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
200 <option value="NONE" selected="True">NONE</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
201 <option value="ALL_READS">ALL_READS</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
202 <option value="BY_SAMPLE">BY_SAMPLE</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
203 </param>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
204 <when value="NONE">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
205 <!-- no more options here -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
206 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
207 <when value="ALL_READS">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
208 <conditional name="downsample_to_type">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
209 <param name="downsample_to_type_selector" type="select" label="Downsample method">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
210 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
211 <option value="downsample_to_coverage">Downsample by Coverage</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
212 </param>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
213 <when value="downsample_to_fraction">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
214 <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;"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
215 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
216 <when value="downsample_to_coverage">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
217 <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;"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
218 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
219 </conditional>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
220 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
221 <when value="BY_SAMPLE">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
222 <conditional name="downsample_to_type">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
223 <param name="downsample_to_type_selector" type="select" label="Downsample method">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
224 <option value="downsample_to_fraction" selected="True">Downsample by Fraction</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
225 <option value="downsample_to_coverage">Downsample by Coverage</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
226 </param>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
227 <when value="downsample_to_fraction">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
228 <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;"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
229 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
230 <when value="downsample_to_coverage">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
231 <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;"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
232 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
233 </conditional>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
234 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
235 </conditional>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
236 <param name="baq" type="select" label="Type of BAQ calculation to apply in the engine" help="-baq,--baq &amp;lt;baq&amp;gt;">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
237 <option value="OFF" selected="True">OFF</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
238 <option value="CALCULATE_AS_NECESSARY">CALCULATE_AS_NECESSARY</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
239 <option value="RECALCULATE">RECALCULATE</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
240 </param>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
241 <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;" />
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
242 <param name="use_original_qualities" type="boolean" truevalue="--useOriginalQualities" falsevalue="" label="Use the original base quality scores from the OQ tag" help="-OQ,--useOriginalQualities" />
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
243 <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;"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
244 <param name="validation_strictness" type="select" label="How strict should we be with validation" help="-S,--validation_strictness &amp;lt;validation_strictness&amp;gt;">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
245 <option value="STRICT" selected="True">STRICT</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
246 <option value="LENIENT">LENIENT</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
247 <option value="SILENT">SILENT</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
248 <!-- <option value="DEFAULT_STRINGENCY">DEFAULT_STRINGENCY</option> listed in docs, but not valid value...-->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
249 </param>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
250 <param name="interval_merging" type="select" label="Interval merging rule" help="-im,--interval_merging &amp;lt;interval_merging&amp;gt;">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
251 <option value="ALL" selected="True">ALL</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
252 <option value="OVERLAPPING_ONLY">OVERLAPPING_ONLY</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
253 </param>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
254
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
255 <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;">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
256 <conditional name="read_group_black_list_type">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
257 <param name="read_group_black_list_type_selector" type="select" label="Type of reads read group black list">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
258 <option value="file" selected="True">Filters in file</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
259 <option value="text">Specify filters as a string</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
260 </param>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
261 <when value="file">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
262 <param name="read_group_black_list" type="data" format="txt" label="Read group black list file" />
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
263 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
264 <when value="text">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
265 <param name="read_group_black_list" type="text" value="tag:string" label="Read group black list tag:string" />
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
266 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
267 </conditional>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
268 </repeat>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
269
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
270 <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"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
271 <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"/>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
272
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
273 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
274 </conditional>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
275 </xml>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
276 <xml name="analysis_type_conditional">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
277 <conditional name="analysis_param_type">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
278 <param name="analysis_param_type_selector" type="select" label="Basic or Advanced Analysis options">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
279 <option value="basic" selected="True">Basic</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
280 <option value="advanced">Advanced</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
281 </param>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
282 <when value="basic">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
283 <!-- Do nothing here -->
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
284 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
285 <when value="advanced">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
286 <yield />
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
287 </when>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
288 </conditional>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
289 </xml>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
290 <xml name="reference_source_selector_param">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
291 <param name="reference_source_selector" type="select" label="Choose the source for the reference list">
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
292 <option value="cached">Locally cached</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
293 <option value="history">History</option>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
294 </param>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
295 </xml>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
296 <token name="@CITATION_SECTION@">------
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
297
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
298 **Citation**
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
299
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
300 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;`_
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
301
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
302 If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.*
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
303
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
304 </token>
fbca1c0956d2 Imported from capsule None
devteam
parents:
diff changeset
305 </macros>