comparison cloudmap.xml @ 1:1425ea794026 draft default tip

planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 24cc567ad105450d1c554f09a3467eff671d9864
author wolma
date Mon, 18 Dec 2017 03:39:07 -0500
parents aa82b2e54055
children
comparison
equal deleted inserted replaced
0:aa82b2e54055 1:1425ea794026
16 <when value="-p"> 16 <when value="-p">
17 <expand macro="scatter_default" /> 17 <expand macro="scatter_default" />
18 <param name="show_kde" type="boolean" truevalue="" falsevalue="--no-kde" checked="true" 18 <param name="show_kde" type="boolean" truevalue="" falsevalue="--no-kde" checked="true"
19 label="show kde line in histogram plots" 19 label="show kde line in histogram plots"
20 help="The tool can calculate a kernel density estimate for the linkage data based on a bin size of 10 kilobases and display it as a solid line in the histogram plots." /> 20 help="The tool can calculate a kernel density estimate for the linkage data based on a bin size of 10 kilobases and display it as a solid line in the histogram plots." />
21 <param name="hylim" type="text" 21 <param name="hylim" type="float" value="0.0"
22 label="upper limit for the histogram y-axis (leave blank for automatic scaling)" /> 22 label="upper limit for the histogram y-axis (leave at 0.0 for automatic scaling)" />
23 <param name="xlim" type="select" label="x-axis scaling"> 23 <param name="xlim" type="select" label="x-axis scaling">
24 <option value="">preserve relative contig sizes</option> 24 <option value="">preserve relative contig sizes</option>
25 <option value="--fit-width">scale each contig to fit the plot width</option> 25 <option value="--fit-width">scale each contig to fit the plot width</option>
26 </param> 26 </param>
27 <expand macro="hist_colors" /> 27 <expand macro="hist_colors" />
42 <when value="--no-scatter -p"> 42 <when value="--no-scatter -p">
43 <expand macro="scatter_default" /> 43 <expand macro="scatter_default" />
44 <param name="show_kde" type="boolean" truevalue="" falsevalue="--no-kde" checked="true" 44 <param name="show_kde" type="boolean" truevalue="" falsevalue="--no-kde" checked="true"
45 label="show kde line in histogram plots" 45 label="show kde line in histogram plots"
46 help="The tool can calculate a kernel density estimate for the linkage data based on a bin size of 10 kilobases and display it as a solid line in the histogram plots." /> 46 help="The tool can calculate a kernel density estimate for the linkage data based on a bin size of 10 kilobases and display it as a solid line in the histogram plots." />
47 <param name="hylim" type="text" 47 <param name="hylim" type="float" value="0.0"
48 label="upper limit for the histogram y-axis (leave blank for automatic scaling)" /> 48 label="upper limit for the histogram y-axis (leave at 0.0 for automatic scaling)" />
49 <param name="xlim" type="select" label="x-axis scaling"> 49 <param name="xlim" type="select" label="x-axis scaling">
50 <option value="">preserve relative contig sizes</option> 50 <option value="">preserve relative contig sizes</option>
51 <option value="--fit-width">scale each contig to fit the plot width</option> 51 <option value="--fit-width">scale each contig to fit the plot width</option>
52 </param> 52 </param>
53 <expand macro="hist_colors" /> 53 <expand macro="hist_colors" />
54 </when> 54 </when>
55 <when value="--no-hist -p"> 55 <when value="--no-hist -p">
56 <expand macro="hist_default" /> 56 <expand macro="hist_default" />
57 <param name="sylim" type="text" 57 <param name="sylim" type="float" value="1.0"
58 label="upper limit for the scatter plot y-axis (default: 1)" /> 58 label="upper limit for the scatter plot y-axis (default: 1)" />
59 <param name="xlim" type="select" label="x-axis scaling"> 59 <param name="xlim" type="select" label="x-axis scaling">
60 <option value="">preserve relative contig sizes</option> 60 <option value="">preserve relative contig sizes</option>
61 <option value="--fit-width">scale each contig to fit the plot width</option> 61 <option value="--fit-width">scale each contig to fit the plot width</option>
62 </param> 62 </param>
63 <param name="span" type="text" 63 <param name="span" type="float" value="0.1"
64 label="span value to be used in calculating the Loess regression line through the scatter data (default=0.1, specify 0 to prevent calculation)" 64 label="span value to be used in calculating the Loess regression line through the scatter data (default=0.1, specify 0 to prevent calculation)"
65 help="smaller values give a more responsive curve that often picks up local evidence for tight linkage better, but too small values lead to plotting failures (in that case just rerun the tool with a larger value)." /> 65 help="smaller values give a more responsive curve that often picks up local evidence for tight linkage better, but too small values lead to plotting failures (in that case just rerun the tool with a larger value)." />
66 <expand macro="scatter_colors" /> 66 <expand macro="scatter_colors" />
67 </when> 67 </when>
68 <when value="-p"> 68 <when value="-p">
82 <when value="--no-scatter -p"> 82 <when value="--no-scatter -p">
83 <expand macro="scatter_default" /> 83 <expand macro="scatter_default" />
84 <param name="show_kde" type="boolean" truevalue="" falsevalue="--no-kde" checked="true" 84 <param name="show_kde" type="boolean" truevalue="" falsevalue="--no-kde" checked="true"
85 label="show kde line in histogram plots" 85 label="show kde line in histogram plots"
86 help="The tool can calculate a kernel density estimate for the linkage data based on a bin size of 10 kilobases and display it as a solid line in the histogram plots." /> 86 help="The tool can calculate a kernel density estimate for the linkage data based on a bin size of 10 kilobases and display it as a solid line in the histogram plots." />
87 <param name="hylim" type="text" 87 <param name="hylim" type="float" value="0.0"
88 label="upper limit for the histogram y-axis (leave blank for automatic scaling)" /> 88 label="upper limit for the histogram y-axis (leave at 0.0 for automatic scaling)" />
89 <param name="xlim" type="select" label="x-axis scaling"> 89 <param name="xlim" type="select" label="x-axis scaling">
90 <option value="">preserve relative contig sizes</option> 90 <option value="">preserve relative contig sizes</option>
91 <option value="--fit-width">scale each contig to fit the plot width</option> 91 <option value="--fit-width">scale each contig to fit the plot width</option>
92 </param> 92 </param>
93 <expand macro="hist_colors" /> 93 <expand macro="hist_colors" />
105 <param name="infer_missing" type="hidden" value="" /> 105 <param name="infer_missing" type="hidden" value="" />
106 </macro> 106 </macro>
107 <macro name="bins"> 107 <macro name="bins">
108 <repeat name="bin_sizes" default="0" min="0" title="bin sizes to analyze variants in (defaults to: 1Mb and 500Kb)" 108 <repeat name="bin_sizes" default="0" min="0" title="bin sizes to analyze variants in (defaults to: 1Mb and 500Kb)"
109 help="Values can be entered in bases (e.g., 1000000), kilobases (e.g., 500Kb) or megabases (e.g., 1Mb), but must be integral, i.e. no decimal numbers are allowed."> 109 help="Values can be entered in bases (e.g., 1000000), kilobases (e.g., 500Kb) or megabases (e.g., 1Mb), but must be integral, i.e. no decimal numbers are allowed.">
110 <param name="bin_size" type="text" /> 110 <param name="bin_size" type="text">
111 <validator type="empty_field" />
112 <validator type="expression" message="Malformed bin size">not value or all(c.isdigit() or c in 'KMb' for c in value)</validator>
113 </param>
111 </repeat> 114 </repeat>
112 </macro> 115 </macro>
113 <macro name="scatter_default"> 116 <macro name="scatter_default">
114 <param name="sylim" type="hidden" value="" /> 117 <param name="sylim" type="hidden" value="" />
115 <param name="span" type="hidden" value="" /> 118 <param name="span" type="hidden" value="" />
116 <param name="pcols" type="hidden" value="" /> 119 <param name="scols" type="hidden" value="" />
117 <param name="lcols" type="hidden" value="" />
118 </macro> 120 </macro>
119 <macro name="hist_default"> 121 <macro name="hist_default">
120 <param name="show_kde" type="hidden" value="" /> 122 <param name="show_kde" type="hidden" value="" />
121 <param name="hylim" type="hidden" value="" /> 123 <param name="hylim" type="hidden" value="" />
122 <param name="hcols" type="hidden" value="" /> 124 <param name="hcols" type="hidden" value="" />
128 <sanitizer><valid><add value="#" /></valid></sanitizer> 130 <sanitizer><valid><add value="#" /></valid></sanitizer>
129 </param> 131 </param>
130 </repeat> 132 </repeat>
131 </macro> 133 </macro>
132 <macro name="scatter_colors"> 134 <macro name="scatter_colors">
133 <repeat name="pcols" default="0" min="0" title="data point colors" 135 <repeat name="scols" default="0" min="0" max="1" title="custom scatter plot colors">
134 help="Series of data points will be plotted based on the colors selected here."> 136 <param name="pcol" type="color" value="black"
135 <param name="pcol" type="color" value="black"> 137 label="data points base color">
136 <sanitizer><valid><add value="#" /></valid></sanitizer> 138 <sanitizer><valid><add value="#" /></valid></sanitizer>
137 </param> 139 </param>
138 </repeat> 140 <param name="lcol" type="color" value="red"
139 <repeat name="lcols" default="0" min="0" 141 label="regression line color">
140 title="regression line colors"
141 help="Regression lines through series of data will be plotted in the colors selected here.">
142 <param name="lcol" type="color" value="red">
143 <sanitizer><valid><add value="#" /></valid></sanitizer> 142 <sanitizer><valid><add value="#" /></valid></sanitizer>
144 </param> 143 </param>
145 </repeat> 144 </repeat>
146 </macro> 145 </macro>
147 <macro name="plot_all"> 146 <macro name="plot_all">
148 <param name="show_kde" type="boolean" truevalue="" falsevalue="--no-kde" checked="true" 147 <param name="show_kde" type="boolean" truevalue="" falsevalue="--no-kde" checked="true"
149 label="show kde line in histogram plots" 148 label="show kde line in histogram plots"
150 help="The tool can calculate a kernel density estimate for the linkage data based on a bin size of 10 kilobases and display it as a solid line in the histogram plots." /> 149 help="The tool can calculate a kernel density estimate for the linkage data based on a bin size of 10 kilobases and display it as a solid line in the histogram plots." />
151 <param name="hylim" type="text" 150 <param name="hylim" type="float" value="0.0"
152 label="upper limit for the histogram y-axis (leave blank for automatic scaling)" /> 151 label="upper limit for the histogram y-axis (leave at 0.0 for automatic scaling)" />
153 <param name="sylim" type="text" 152 <param name="sylim" type="float" value="1.0"
154 label="upper limit for the scatter plot y-axis (default: 1)" /> 153 label="upper limit for the scatter plot y-axis (default: 1)" />
155 <param name="xlim" type="select" label="x-axis scaling"> 154 <param name="xlim" type="select" label="x-axis scaling">
156 <option value="">preserve relative contig sizes</option> 155 <option value="">preserve relative contig sizes</option>
157 <option value="--fit-width">scale each contig to fit the plot width</option> 156 <option value="--fit-width">scale each contig to fit the plot width</option>
158 </param> 157 </param>
159 <param name="span" type="text" 158 <param name="span" type="float" value="0.1"
160 label="span value to be used in calculating the Loess regression line through the scatter data (default=0.1, specify 0 to prevent calculation)" 159 label="span value to be used in calculating the Loess regression line through the scatter data (default=0.1, specify 0 to prevent calculation)"
161 help="smaller values give a more responsive curve that often picks up local evidence for tight linkage better, but too small values lead to plotting failures (in that case just rerun the tool with a larger value)." /> 160 help="smaller values give a more responsive curve that often picks up local evidence for tight linkage better, but too small values lead to plotting failures (in that case just rerun the tool with a larger value)." />
162 <expand macro="hist_colors" /> 161 <expand macro="hist_colors" />
163 <expand macro="scatter_colors" /> 162 <expand macro="scatter_colors" />
164 </macro> 163 </macro>
206 </macros> 205 </macros>
207 <expand macro="requirements" /> 206 <expand macro="requirements" />
208 <expand macro="stdio" /> 207 <expand macro="stdio" />
209 <expand macro="version_command" /> 208 <expand macro="version_command" />
210 <command><![CDATA[ 209 <command><![CDATA[
211 mimodd map ${opt.mode} "${opt.source.ifile}" 210 mimodd map ${opt.mode} '${opt.source.ifile}'
212 #if $str($opt.source.sample): 211 #if $str($opt.source.sample):
213 -m '${opt.source.sample}' 212 -m '${opt.source.sample}'
214 #end if 213 #end if
215 #if $str($opt.source.related_parent_sample): 214 #if $str($opt.source.related_parent_sample):
216 -r '${opt.source.related_parent_sample}' 215 -r '${opt.source.related_parent_sample}'
239 #end if 238 #end if
240 #if $str($opt.source.plotopts.plots): 239 #if $str($opt.source.plotopts.plots):
241 $str($opt.source.plotopts.plots) '$pfile' 240 $str($opt.source.plotopts.plots) '$pfile'
242 $opt.source.plotopts.show_kde 241 $opt.source.plotopts.show_kde
243 $str($opt.source.plotopts.xlim) 242 $str($opt.source.plotopts.xlim)
244 #if $str($opt.source.plotopts.hylim): 243 #if $str($opt.source.plotopts.hylim) and $opt.source.plotopts.hylim != 0.0:
245 --ylim-hist $str($opt.source.plotopts.hylim) 244 --ylim-hist $str($opt.source.plotopts.hylim)
246 #end if 245 #end if
247 #if $str($opt.source.plotopts.hcols) and $len($opt.source.plotopts.hcols): 246 #if $str($opt.source.plotopts.hcols) and $len($opt.source.plotopts.hcols):
248 --hist-colors 247 --hist-colors
249 #for $color in $opt.source.plotopts.hcols: 248 #for $color in $opt.source.plotopts.hcols:
251 #end for 250 #end for
252 #end if 251 #end if
253 #if $str($opt.source.plotopts.sylim): 252 #if $str($opt.source.plotopts.sylim):
254 --ylim-scatter $str($opt.source.plotopts.sylim) 253 --ylim-scatter $str($opt.source.plotopts.sylim)
255 #end if 254 #end if
256 #if $str($opt.source.plotopts.pcols) and $len($opt.source.plotopts.pcols): 255 #if $str($opt.source.plotopts.scols) and $len($opt.source.plotopts.scols):
257 --points-colors 256 #for $color_scheme in $opt.source.plotopts.scols:
258 #for $color in $opt.source.plotopts.pcols: 257 --points-colors '${color_scheme.pcol}'
259 '${color.pcol}' 258 --loess-colors '${color_scheme.lcol}'
260 #end for
261 #end if
262 #if $str($opt.source.plotopts.lcols) and $len($opt.source.plotopts.lcols):
263 --loess-colors
264 #for $color in $opt.source.plotopts.lcols:
265 '${color.lcol}'
266 #end for 259 #end for
267 #end if 260 #end if
268 #if $str($opt.source.plotopts.span): 261 #if $str($opt.source.plotopts.span):
269 --loess-span $str($opt.source.plotopts.span) 262 --loess-span $str($opt.source.plotopts.span)
270 #end if 263 #end if
316 label="input file with variants to analyze" /> 309 label="input file with variants to analyze" />
317 <expand macro="seqdict_param" /> 310 <expand macro="seqdict_param" />
318 <param name="sample" type="text" 311 <param name="sample" type="text"
319 label="mapping sample name" help="the sample to perform mutation mapping for"> 312 label="mapping sample name" help="the sample to perform mutation mapping for">
320 <validator type="empty_field" /> 313 <validator type="empty_field" />
314 <expand macro="lex_sam_header" />
321 </param> 315 </param>
322 <param name="related_parent_sample" type="text" 316 <param name="related_parent_sample" type="text"
323 label="name of the related parent sample" 317 label="name of the related parent sample"
324 help="the sample that provides variants present in your original mutant strain or in an ancestor (like the pre-mutagenesis strain); leave blank if not available" /> 318 help="the sample that provides variants present in your original mutant strain or in an ancestor (like the pre-mutagenesis strain); leave blank if not available">
319 <expand macro="lex_sam_header" />
320 </param>
325 <param name="unrelated_parent_sample" type="text" 321 <param name="unrelated_parent_sample" type="text"
326 label="name of the unrelated parent sample" 322 label="name of the unrelated parent sample"
327 help="the sample that provides variants present in the unrelated mapping strain (or in an ancestor of it) used in the mapping cross; leave blank if not available" /> 323 help="the sample that provides variants present in the unrelated mapping strain (or in an ancestor of it) used in the mapping cross; leave blank if not available">
324 <expand macro="lex_sam_header" />
325 </param>
328 <param name="infer_missing" type="boolean" truevalue="--infer-missing" falsevalue="" checked="false" 326 <param name="infer_missing" type="boolean" truevalue="--infer-missing" falsevalue="" checked="false"
329 label="Infer alleles for missing parent" 327 label="Infer alleles for missing parent"
330 help="if variant data for either the related or the unrelated parent strain is not available, the tool can try to infer the alleles present in that parent from the allele spectrum found in the mapping sample. Use with caution on carefully filtered variant lists only!" /> 328 help="if variant data for either the related or the unrelated parent strain is not available, the tool can try to infer the alleles present in that parent from the allele spectrum found in the mapping sample. Use with caution on carefully filtered variant lists only!" />
331 <param name="contrast_sample" type="hidden" value="" /> 329 <param name="contrast_sample" type="hidden" value="" />
332 <expand macro="vaf_unconditional" /> 330 <expand macro="vaf_unconditional" />
362 <expand macro="hidden_vaf_algo_params" /> 360 <expand macro="hidden_vaf_algo_params" />
363 <param name="sample" type="text" 361 <param name="sample" type="text"
364 label="mapping sample name" 362 label="mapping sample name"
365 help="the sample to perform mutation mapping for"> 363 help="the sample to perform mutation mapping for">
366 <validator type="empty_field" /> 364 <validator type="empty_field" />
365 <expand macro="lex_sam_header" />
367 </param> 366 </param>
368 <param name="contrast_sample" type="text" 367 <param name="contrast_sample" type="text"
369 label="name of the contrast sample" 368 label="name of the contrast sample"
370 help="the sample that provides contrasting allele composition around the causal variant"> 369 help="the sample that provides contrasting allele composition around the causal variant">
371 <validator type="empty_field" /> 370 <validator type="empty_field" />
371 <expand macro="lex_sam_header" />
372 </param> 372 </param>
373 <expand macro="vac_unconditional" /> 373 <expand macro="vac_unconditional" />
374 <param name="tabfile" type="select" 374 <param name="tabfile" type="select"
375 label="additional per-variant output file" 375 label="additional per-variant output file"
376 help="You can choose to produce a tabular per-variant report, which is useful for fast replotting with different plot settings."> 376 help="You can choose to produce a tabular per-variant report, which is useful for fast replotting with different plot settings.">