Mercurial > repos > bgruening > hicexplorer_hicmergematrixbins
comparison macros.xml @ 0:a1cf508bff84 draft
planemo upload for repository https://github.com/maxplanck-ie/HiCExplorer/tree/master/galaxy/wrapper/ commit 4d61b6bf2fed275ab38c226d0c4390b095a38251
author | bgruening |
---|---|
date | Thu, 02 Nov 2017 11:08:52 -0400 |
parents | |
children | d965ec46db1e |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a1cf508bff84 |
---|---|
1 <macros> | |
2 <token name="@THREADS@">\${GALAXY_SLOTS:-4}</token> | |
3 <token name="@WRAPPER_VERSION@">1.8</token> | |
4 <xml name="requirements"> | |
5 <requirements> | |
6 <requirement type="package" version="@WRAPPER_VERSION@">hicexplorer</requirement> | |
7 <yield /> | |
8 </requirements> | |
9 <version_command>@BINARY@ --version</version_command> | |
10 </xml> | |
11 | |
12 <xml name="citations"> | |
13 <citations> | |
14 <citation type="doi">10.5281/zenodo.159780</citation> | |
15 <yield /> | |
16 </citations> | |
17 </xml> | |
18 | |
19 <xml name="zMax"> | |
20 <param argument="--zMax" name="zMax" type="float" optional="true" label="zMax for 3D plot"/> <!-- this should only be enabled when both or 3d is selected for param whatToShow --> | |
21 </xml> | |
22 | |
23 <xml name="colormap"> | |
24 <param argument="--colorMap" name="colormap" type="select" optional="True" label="Color map to use for the heatmap" help=" Available color map names can be found here: http://www.astro.lsa.umich.edu/~msshin/science/code/matplotlib_cm/"> | |
25 <option value="RdYlBu">RdYlBu</option> | |
26 <option value="Accent">Accent</option> | |
27 <option value="Spectral">Spectral</option> | |
28 <option value="Set1">Set1</option> | |
29 <option value="Set2">Set2</option> | |
30 <option value="Set3">Set3</option> | |
31 <option value="Dark2">Dark2</option> | |
32 <option value="Reds">Reds</option> | |
33 <option value="Oranges">Oranges</option> | |
34 <option value="Greens">Greens</option> | |
35 <option value="Blues">Blues</option> | |
36 <option value="Greys">Greys</option> | |
37 <option value="Purples">Purples</option> | |
38 <option value="Paired">Paired</option> | |
39 <option value="Pastel1">Pastel1</option> | |
40 <option value="Pastel2">Pastel2</option> | |
41 <option value="spring">spring</option> | |
42 <option value="summer">summer</option> | |
43 <option value="autumn">autumn</option> | |
44 <option value="winter">winter</option> | |
45 <option value="hot">hot</option> | |
46 <option value="coolwarm">coolwarm</option> | |
47 <option value="cool">cool</option> | |
48 <option value="seismic">seismic</option> | |
49 <option value="terrain">terrain</option> | |
50 <option value="ocean">ocean</option> | |
51 <option value="rainbow">rainbow</option> | |
52 <option value="bone">bone</option> | |
53 <option value="flag">flag</option> | |
54 <option value="prism">prism</option> | |
55 <option value="cubehelix">cubehelix</option> | |
56 <option value="binary">binary</option> | |
57 <option value="pink">pink</option> | |
58 <option value="gray">gray</option> | |
59 <option value="copper">copper</option> | |
60 <option value="BrBG">BrBG</option> | |
61 <option value="BuGn">BuGn</option> | |
62 <option value="BuPu">BuPu</option> | |
63 <option value="GnBu">GnBu</option> | |
64 <option value="OrRd">OrRd</option> | |
65 <option value="PiYG">PiYG</option> | |
66 <option value="PRGn">PRGn</option> | |
67 <option value="PuOr">PuOr</option> | |
68 <option value="PuRd">PuRd</option> | |
69 <option value="PuBu">PuBu</option> | |
70 <option value="RdBu">RdBu</option> | |
71 <option value="RdGy">RdGy</option> | |
72 <option value="RdPu">RdPu</option> | |
73 <option value="YlGn">YlGn</option> | |
74 <option value="PuBuGn">PuBuGn</option> | |
75 <option value="RdYlGn">RdYlGn</option> | |
76 <option value="YlGnBu">YlGnBu</option> | |
77 <option value="YlOrBr">YlOrBr</option> | |
78 <option value="YlOrRd">YlOrRd</option> | |
79 <option value="gist_gray">gist_gray</option> | |
80 <option value="gist_stern">gist_stern</option> | |
81 <option value="gist_earth">gist_earth</option> | |
82 <option value="gist_yarg">gist_yarg</option> | |
83 <option value="gist_ncar">gist_ncar</option> | |
84 <option value="gist_rainbow">gist_rainbow</option> | |
85 <option value="gist_heat">gist_heat</option> | |
86 <option value="gnuplot">gnuplot</option> | |
87 <option value="gnuplot2">gnuplot2</option> | |
88 <option value="CMRmap">CMRmap</option> | |
89 <option value="bwr">bwr</option> | |
90 <option value="hsv">hsv</option> | |
91 <option value="brg">brg</option> | |
92 <option value="jet">jet</option> | |
93 <option value="afmhot">afmhot</option> | |
94 <option value="Accent_r">Accent reversed</option> | |
95 <option value="Spectral_r">Spectral reversed</option> | |
96 <option value="Set1_r">Set1 reversed</option> | |
97 <option value="Set2_r">Set2 reversed</option> | |
98 <option value="Set3_r">Set3 reversed</option> | |
99 <option value="Dark2_r">Dark2 reversed</option> | |
100 <option value="Reds_r">Reds reversed</option> | |
101 <option value="Oranges_r">Oranges reversed</option> | |
102 <option value="Greens_r">Greens reversed</option> | |
103 <option value="Blues_r">Blues reversed</option> | |
104 <option value="Greys_r">Greys reversed</option> | |
105 <option value="Purples_r">Purples reversed</option> | |
106 <option value="Paired_r">Paired reversed</option> | |
107 <option value="Pastel1_r">Pastel1 reversed</option> | |
108 <option value="Pastel2_r">Pastel2 reversed</option> | |
109 <option value="spring_r">spring reversed</option> | |
110 <option value="summer_r">summer reversed</option> | |
111 <option value="autumn_r">autumn reversed</option> | |
112 <option value="winter_r">winter reversed</option> | |
113 <option value="hot_r">hot reversed</option> | |
114 <option value="coolwarm_r">coolwarm reversed</option> | |
115 <option value="cool_r">cool reversed</option> | |
116 <option value="seismic_r">seismic reversed</option> | |
117 <option value="terrain_r">terrain reversed</option> | |
118 <option value="ocean_r">ocean reversed</option> | |
119 <option value="rainbow_r">rainbow reversed</option> | |
120 <option value="bone_r">bone reversed</option> | |
121 <option value="flag_r">flag reversed</option> | |
122 <option value="prism_r">prism reversed</option> | |
123 <option value="cubehelix_r">cubehelix reversed</option> | |
124 <option value="binary_r">binary reversed</option> | |
125 <option value="pink_r">pink reversed</option> | |
126 <option value="gray_r">gray reversed</option> | |
127 <option value="copper_r">copper reversed</option> | |
128 <option value="BrBG_r">BrBG reversed</option> | |
129 <option value="BuGn_r">BuGn reversed</option> | |
130 <option value="BuPu_r">BuPu reversed</option> | |
131 <option value="GnBu_r">GnBu reversed</option> | |
132 <option value="OrRd_r">OrRd reversed</option> | |
133 <option value="PiYG_r">PiYG reversed</option> | |
134 <option value="PRGn_r">PRGn reversed</option> | |
135 <option value="PuOr_r">PuOr reversed</option> | |
136 <option value="PuRd_r">PuRd reversed</option> | |
137 <option value="PuBu_r">PuBu reversed</option> | |
138 <option value="RdBu_r">RdBu reversed</option> | |
139 <option value="RdGy_r">RdGy reversed</option> | |
140 <option value="RdPu_r">RdPu reversed</option> | |
141 <option value="YlGn_r">YlGn reversed</option> | |
142 <option value="PuBuGn_r">PuBuGn reversed</option> | |
143 <option value="RdYlBu_r" selected="True">RdYlBu reversed</option> | |
144 <option value="RdYlGn_r">RdYlGn reversed</option> | |
145 <option value="YlGnBu_r">YlGnBu reversed</option> | |
146 <option value="YlOrBr_r">YlOrBr reversed</option> | |
147 <option value="YlOrRd_r">YlOrRd reversed</option> | |
148 <option value="gist_gray_r">gist_gray reversed</option> | |
149 <option value="gist_stern_r">gist_stern reversed</option> | |
150 <option value="gist_earth_r">gist_earth reversed</option> | |
151 <option value="gist_yarg_r">gist_yarg reversed</option> | |
152 <option value="gist_ncar_r">gist_ncar reversed</option> | |
153 <option value="gist_rainbow_r">gist_rainbow reversed</option> | |
154 <option value="gist_heat_r">gist_heat reversed</option> | |
155 <option value="gnuplot_r">gnuplot reversed</option> | |
156 <option value="gnuplot2_r">gnuplot2 reversed</option> | |
157 <option value="CMRmap_r">CMRmap reversed</option> | |
158 <option value="bwr_r">bwr reversed</option> | |
159 <option value="hsv_r">hsv reversed</option> | |
160 <option value="brg_r">brg reversed</option> | |
161 <option value="jet_r">jet reversed</option> | |
162 <option value="afmhot_r">afmhot reversed</option> | |
163 </param> | |
164 </xml> | |
165 | |
166 | |
167 <xml name="multiple_input_matrices"> | |
168 <repeat name="input_files" title="HiC Matrix files" min="2"> | |
169 <param name="matrix" type="data" format="h5" | |
170 label="HiC Matrix file" | |
171 help=""/> | |
172 <param name="mlabel" type="text" size="30" optional="true" value="" | |
173 label="Label" | |
174 help="Label to use in the output. If not given the dataset name will be used instead."/> | |
175 </repeat> | |
176 </xml> | |
177 | |
178 <token name="@multiple_input_matrices@"> | |
179 #set $matrices = [] | |
180 #set $mlabels = [] | |
181 #for $counter, $i in enumerate($input_files): | |
182 ln -s $i.matrix #echo str($counter)+'.npz.h5'#; | |
183 #silent $matrices.append( '%s.npz.h5' % $counter ) | |
184 | |
185 #if str($i.mlabel.value) != "": | |
186 #set $mlabels += ['"%s"' % ($i.mlabel.value)] | |
187 #else | |
188 #set $mlabels += ['"%s"' % ($i.matrix.name)] | |
189 #end if | |
190 #end for | |
191 #set $mlabels = ' '.join($mlabels) | |
192 #set $matrices = ' '.join($matrices) | |
193 </token> | |
194 | |
195 | |
196 <xml name="region"> | |
197 <param name="region" type="text" label="Region of the genome to limit the operation" | |
198 help="The format is chr:start-end. Also valid is just to specify a chromosome, for example chr10:10-500" argument="--region"/> | |
199 </xml> | |
200 | |
201 | |
202 | |
203 <xml name="kmeans_clustering"> | |
204 <conditional name="used_multiple_regions"> | |
205 <param name="used_multiple_regions_options" type="select" | |
206 label="Did you compute the matrix with more than one groups of regions?" | |
207 help="Would you like to cluster the regions according to the similarity of the signal distribution? This is only possible if you used computeMatrix on only one group of regions."> | |
208 <option value="yes">Yes, I used multiple groups of regions</option> | |
209 <option value="no">No, I used only one group</option> | |
210 </param> | |
211 <when value="no"> | |
212 <conditional name="clustering"> | |
213 <param name="clustering_options" type="select" label="Clustering algorithm"> | |
214 <option value="none">No clustering</option> | |
215 <option value="kmeans">Kmeans clustering</option> | |
216 </param> | |
217 <when value="kmeans"> | |
218 <param name="k_kmeans" type="integer" value="0" label="Number of clusters to compute" | |
219 help="When this option is set, then the matrix is split into clusters using the kmeans algorithm. Only works for data that is not grouped, otherwise only the first group will be clustered. If more specific clustering methods are required it is advisable to save the underlying matrix and run the clustering using other software. The plotting of the clustering may fail (Error: Segmentation fault) if a cluster has very few members compared to the total number or regions. (default: None)."/> | |
220 </when> | |
221 <when value="none" /> | |
222 </conditional> | |
223 </when> | |
224 <when value="yes" /> | |
225 </conditional> | |
226 </xml> | |
227 | |
228 <token name="@KMEANS_CLUSTERING@"> | |
229 #if $advancedOpt.used_multiple_regions.used_multiple_regions_options == 'no': | |
230 #if $advancedOpt.used_multiple_regions.clustering.clustering_options == 'kmeans': | |
231 #if int($advancedOpt.used_multiple_regions.clustering.k_kmeans) > 0: | |
232 --kmeans $advancedOpt.used_multiple_regions.clustering.k_kmeans | |
233 #end if | |
234 #end if | |
235 #end if | |
236 </token> | |
237 | |
238 <xml name="samFlag"> | |
239 <param name="samFlag" type="integer" optional="true" value="" | |
240 label="Filter reads based on the SAM flag" | |
241 help= "For example to get only reads that are the first mate use a flag of 64. This is useful to count properly paired reads only once, otherwise the second mate will be also considered for the coverage. (--samFlag)"/> | |
242 </xml> | |
243 <xml name="plotNumbers"> | |
244 <param name="plotNumbers" type="boolean" truevalue="--plotNumbers" falsevalue="" | |
245 label="Plot the correlation value" | |
246 help="If set, then the correlation number is plotted on top of the heatmap. (--plotNumbers)"/> | |
247 </xml> | |
248 <xml name="doNotExtendPairedEnds"> | |
249 <param name="doNotExtendPairedEnds" type="boolean" truevalue="--doNotExtendPairedEnds" falsevalue="" | |
250 label="Do not extend paired ends" | |
251 help="If set, reads are not extended to match the fragment length reported in the BAM file, instead they will be extended to match the fragment length. Default is to extend the reads if paired end information is available. (--doNotExtendPairedEnds)"/> | |
252 </xml> | |
253 | |
254 <xml name="ignoreDuplicates"> | |
255 <param name="ignoreDuplicates" type="boolean" truevalue="--ignoreDuplicates" falsevalue="" | |
256 label="Ignore duplicates" | |
257 help="If set, reads that have the same orientation and start position will be considered only once. If reads are paired, the mate position also has to coincide to ignore a read. (--ignoreDuplicates)" /> | |
258 </xml> | |
259 | |
260 <xml name="minMappingQuality"> | |
261 <param argument="--minMappingQuality" type="integer" optional="true" value="" min="1" | |
262 label="Minimum mapping quality" | |
263 help= "If set, only reads that have a mapping quality score higher than the given value are considered. | |
264 *Note* Bowtie's Mapping quality is related to uniqueness: the higher the score, the more unique is a read. | |
265 A mapping quality defined by Bowtie of 10 or less indicates that there is at least a 1 in 10 chance that the read truly originated elsewhere."/> | |
266 </xml> | |
267 | |
268 <xml name="skipZeros"> | |
269 <param name="skipZeros" type="boolean" truevalue="--skipZeros" falsevalue="" | |
270 label ="Skip zeros" | |
271 help ="If set, then zero counts that happen for *all* BAM files given are ignored. This might have the effect that fewer regions are considered than indicated in the option where the number of samples is defined. (--skipZeros)" /> | |
272 </xml> | |
273 | |
274 <xml name="fragmentLength"> | |
275 <param name="fragmentLength" type="integer" value="300" min="1" | |
276 label="Fragment length used for the sequencing" | |
277 help ="If paired-end reads are used, the fragment length is computed from the BAM file. (--fragmentLength)"/> | |
278 </xml> | |
279 | |
280 <xml name="scaleFactor"> | |
281 <param name="scaleFactor1" type="float" value="1" label="Scale factor for treatment" help="(--scaleFactors)"/> | |
282 <param name="scaleFactor2" type="float" value="1" label="Scale factor for input" help="(--scaleFactors)"/> | |
283 </xml> | |
284 | |
285 <xml name="xMax"> | |
286 <param argument="--xMax" name="xMax" type="integer" optional="true" value="" | |
287 label="Max value for the x-axis in counts per bin" /> | |
288 </xml> | |
289 | |
290 <xml name="filterThreshold"> | |
291 <param argument="--filterThreshold" name="filterThreshold_low" type="float" value="-1.5" | |
292 label="Remove bins of low coverage" help="e.g. -1.5; Both Thresholds needs to be set to take effect."/> | |
293 | |
294 <param argument="--filterThreshold" name="filterThreshold_large" type="float" value="5.0" | |
295 label="Remove bins of large coverage" help="e.g. 5; Both Thresholds needs to be set to take effect."/> | |
296 </xml> | |
297 | |
298 | |
299 <xml name="pseudocount"> | |
300 <param name="pseudocount" type="float" value="1" label="Pseudocount" help="Small number to avoid dividing by zero."/> | |
301 </xml> | |
302 | |
303 <token name="@REFERENCES@"> | |
304 | |
305 .. class:: infomark | |
306 | |
307 For more information on the tools, please visit our `help site`_. | |
308 | |
309 If you would like to give us feedback or you run into any trouble, please send an email to deeptools@googlegroups.com | |
310 | |
311 This tool is developed by the `Bioinformatics and Deep-Sequencing Unit`_ at the `Max Planck Institute for Immunobiology and Epigenetics`_. | |
312 | |
313 .. _Bioinformatics and Deep-Sequencing Unit: http://www3.ie-freiburg.mpg.de/facilities/research-facilities/bioinformatics-and-deep-sequencing-unit/ | |
314 .. _Max Planck Institute for Immunobiology and Epigenetics: http://www3.ie-freiburg.mpg.de | |
315 .. _help site: https://hicexplorer.readthedocs.org | |
316 | |
317 </token> | |
318 | |
319 | |
320 <xml name="multiple_input_bams"> | |
321 <repeat name="input_files" title="BAM files" min="2"> | |
322 <param name="bamfile" type="data" format="bam" | |
323 label="Bam file" | |
324 help="The BAM file must be sorted."/> | |
325 <param name="label" type="text" size="30" optional="true" value="" | |
326 label="Label" | |
327 help="Label to use in the output. If not given the dataset name will be used instead."/> | |
328 </repeat> | |
329 </xml> | |
330 | |
331 <xml name="multiple_input_bigwigs"> | |
332 <repeat name="input_files" title="BigWig files" min="2"> | |
333 <param name="bigwigfile" type="data" format="bigwig" | |
334 label="Bigwig file" | |
335 help="The Bigwig file must be sorted."/> | |
336 <param name="label" type="text" size="30" optional="true" value="" | |
337 label="Label" | |
338 help="Label to use in the output. If not given the dataset name will be used instead."/> | |
339 </repeat> | |
340 </xml> | |
341 | |
342 <xml name="plotTitle"> | |
343 <param name="plotTitle" type="text" value="" size="30" optional="True" | |
344 label="Title of the plot" | |
345 help="Title of the plot, to be printed on top of the generated image. (--plotTitle)" /> | |
346 </xml> | |
347 | |
348 <token name="@multiple_input_bams@"> | |
349 #import tempfile | |
350 #set $temp_dir = os.path.abspath(tempfile.mkdtemp()) | |
351 #set files=[] | |
352 #set labels=[] | |
353 #for $i in $input_files: | |
354 #set $temp_input_handle = tempfile.NamedTemporaryFile( dir=$temp_dir ) | |
355 #set $temp_input_path = $temp_input_handle.name | |
356 #silent $temp_input_handle.close() | |
357 #silent os.system("ln -s %s %s.bam" % (str($i.bamfile), $temp_input_path)) | |
358 #silent os.system("ln -s %s %s.bam.bai" % (str($i.bamfile.metadata.bam_index), $temp_input_path)) | |
359 #silent $files.append('%s.bam' % $temp_input_path) | |
360 | |
361 ##set $files += [str($i.bamfile)] | |
362 #if str($i.label.value) != "": | |
363 #set $labels += ["\"%s\"" % ($i.label.value)] | |
364 #else | |
365 #set $labels += ["\"%s\"" % ($i.bamfile.name)] | |
366 #end if | |
367 #end for | |
368 </token> | |
369 | |
370 <token name="@multiple_input_bigwigs@"> | |
371 #import tempfile | |
372 #set $temp_dir = os.path.abspath(tempfile.mkdtemp()) | |
373 #set files=[] | |
374 #set labels=[] | |
375 #for $i in $input_files: | |
376 #set $temp_input_handle = tempfile.NamedTemporaryFile( dir=$temp_dir ) | |
377 #set $temp_input_path = $temp_input_handle.name | |
378 #silent $temp_input_handle.close() | |
379 #silent os.system("ln -s %s %s.bw" % (str($i.bigwigfile), $temp_input_path)) | |
380 #silent $files.append('%s.bw' % $temp_input_path) | |
381 | |
382 ##set $files += [str($i.bigwigfile)] | |
383 #if str($i.label.value) != "": | |
384 #set $labels += ["\"%s\"" % ($i.label.value)] | |
385 #else | |
386 #set $labels += ["\"%s\"" % ($i.bigwigfile.name)] | |
387 #end if | |
388 #end for | |
389 </token> | |
390 | |
391 <xml name="reference_genome_source"> | |
392 <conditional name="source"> | |
393 <param name="ref_source" type="select" label="Reference genome"> | |
394 <option value="cached">locally cached</option> | |
395 <option value="history">in your history</option> | |
396 </param> | |
397 <when value="cached"> | |
398 <param name="input1_2bit" type="select" label="Using reference genome" help="If your genome of interest is not listed, contact the Galaxy team"> | |
399 <options from_data_table="deepTools_seqs"> | |
400 <filter type="sort_by" column="1" /> | |
401 <validator type="no_options" message="No indexes are available." /> | |
402 </options> | |
403 </param> | |
404 </when> | |
405 <when value="history"> | |
406 <param name="input1" type="data" format="twobit" label="Select a reference dataset in 2bit format" /> | |
407 </when> | |
408 </conditional> | |
409 </xml> | |
410 | |
411 <token name="@reference_genome_source@"> | |
412 #if $source.ref_source=="history": | |
413 --genome $source.input1 | |
414 #else: | |
415 --genome "${source.input1_2bit.fields.path}" | |
416 #end if | |
417 </token> | |
418 | |
419 <xml name="effectiveGenomeSize"> | |
420 <conditional name="effectiveGenomeSize"> | |
421 <param name="effectiveGenomeSize_opt" type="select" label="Effective genome size" | |
422 help="The effective genome size is the portion of the genome that is mappable. Large fractions of the genome are stretches of NNNN that should be discarded. | |
423 Also, if repetitive regions were not included in the mapping of reads, the effective genome size needs to be adjusted accordingly. | |
424 See Table 2 of http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0030377 or http://www.nature.com/nbt/journal/v27/n1/fig_tab/nbt.1518_T1.html for several effective genome sizes."> | |
425 <option value="93260000">ce10 (93260000)</option> | |
426 <option value="121400000">dm3 (121400000)</option> | |
427 <option value="2451960000" selected="true">hg19 (2451960000)</option> | |
428 <option value="2150570000">mm9 (2150570000)</option> | |
429 <option value="specific">user specified</option> | |
430 </param> | |
431 <when value="specific"> | |
432 <param name="effectiveGenomeSize" type="integer" value="" label="Effective genome size" help="e.g. ce10: 93260000, dm3: 121400000, hg19: 2451960000, mm9: 2150570000"/> | |
433 </when> | |
434 <when value="2150570000" /> | |
435 <when value="2451960000" /> | |
436 <when value="121400000" /> | |
437 <when value="93260000" /> | |
438 </conditional> | |
439 </xml> | |
440 | |
441 <xml name="image_file_format"> | |
442 <param name="outFileFormat" type="select" label="Image file format"> | |
443 <option value="png" selected="true">png</option> | |
444 <option value="pdf">pdf</option> | |
445 <option value="svg">svg</option> | |
446 <option value="eps">eps</option> | |
447 <option value="emf">emf</option> | |
448 </param> | |
449 </xml> | |
450 | |
451 <xml name="missingDataAsZero"> | |
452 <param name="missingDataAsZero" type="boolean" truevalue="yes" falsevalue="no" checked="True" | |
453 label ="Treat missing data as zero" | |
454 help ="This parameter determines if missing data should be treated as zeros. If unchecked, missing data will be ignored and not included in the output file. Missing data is defined as those regions for which both BAM files have 0 reads." /> | |
455 </xml> | |
456 | |
457 <xml name="input_save_matrix_values"> | |
458 <param name="saveMatrix" type="boolean" label="Save the matrix of values underlying the heatmap"/> | |
459 </xml> | |
460 | |
461 <xml name="input_graphic_output_settings"> | |
462 <conditional name="output" > | |
463 <param name="showOutputSettings" type="select" label="Show advanced output settings" > | |
464 <option value="no" selected="true">no</option> | |
465 <option value="yes">yes</option> | |
466 </param> | |
467 <when value="no" /> | |
468 <when value="yes"> | |
469 <yield /> | |
470 <param name="saveData" type="boolean" label="Save the data underlying the average profile"/> | |
471 <param name="saveSortedRegions" type="boolean" label="Save the regions after skipping zeros or min/max threshold values" help="The order of the regions in the file follows the sorting order selected. This is useful, for example, to generate other heatmaps keeping the sorting of the first heatmap."/> | |
472 </when> | |
473 </conditional> | |
474 </xml> | |
475 | |
476 <xml name="input_image_file_format"> | |
477 <param name="outFileFormat" type="select" label="Image file format"> | |
478 <option value="png" selected="true">png</option> | |
479 <option value="pdf">pdf</option> | |
480 <option value="svg">svg</option> | |
481 <option value="eps">eps</option> | |
482 <option value="emf">emf</option> | |
483 </param> | |
484 </xml> | |
485 | |
486 <xml name="output_image_file_format"> | |
487 <data format="png" name="outFileName" label="${tool.name} image"> | |
488 <change_format> | |
489 <when input="output.outFileFormat" value="pdf" format="pdf" /> | |
490 <when input="output.outFileFormat" value="svg" format="svg" /> | |
491 <when input="output.outFileFormat" value="eps" format="eps" /> | |
492 <when input="output.outFileFormat" value="emf" format="emf" /> | |
493 </change_format> | |
494 </data> | |
495 </xml> | |
496 | |
497 <xml name="output_save_matrix_values"> | |
498 <data format="tabular" name="outFileNameMatrix" label="${tool.name} on ${on_string}: Heatmap values"> | |
499 <filter> | |
500 (( | |
501 output['showOutputSettings'] == 'yes' and | |
502 output['saveMatrix'] is True | |
503 )) | |
504 </filter> | |
505 </data> | |
506 </xml> | |
507 | |
508 <xml name="output_graphic_outputs"> | |
509 <data format="tabular" name="outFileNameData" label="${tool.name} on ${on_string}: averages per matrix column"> | |
510 <filter> | |
511 (( | |
512 output['showOutputSettings'] == 'yes' and | |
513 output['saveData'] is True | |
514 )) | |
515 </filter> | |
516 </data> | |
517 <data format="bed" name="outFileSortedRegions" label="${tool.name} on ${on_string}: sorted/filtered regions"> | |
518 <filter> | |
519 (( | |
520 output['showOutputSettings'] == 'yes' and | |
521 output['saveSortedRegions'] is True | |
522 )) | |
523 </filter> | |
524 </data> | |
525 </xml> | |
526 | |
527 <xml name="track_input_h5_macro"> | |
528 <param name="track_input_h5" type="data" format="h5" label="Track file h5 format"/> | |
529 </xml> | |
530 <xml name="track_input_bed_macro"> | |
531 <param name="track_input_bed" type="data" format="bed" label="Track file bed format"/> | |
532 </xml> | |
533 <xml name="track_input_bedgraph_macro"> | |
534 <param name="track_input_bedgraph" type="data" format="bedgraph" label="Track file bedgraph format"/> | |
535 </xml> | |
536 <xml name="track_input_bigwig_macro"> | |
537 <param name="track_input_bigwig" type="data" format="bigwig" label="Track file bigwig format"/> | |
538 </xml> | |
539 <xml name="track_input_bedgraph_matrix_macro"> | |
540 <param name="track_input_bedgraph_matrix" type="data" format="bedgraph" label="Track file bigwig format"/> | |
541 </xml> | |
542 <xml name="track_input_tabular_macro"> | |
543 <param name="track_input_tabular" type="data" format="tabular" label="Track file tabular format"/> | |
544 </xml> | |
545 <xml name="plot_title"> | |
546 <param name="title" type="text" optional="true" label="Plot title"/> | |
547 </xml> | |
548 | |
549 <xml name="spacer_macro"> | |
550 <param name="spacer_width" type="float" value="" optional="True" | |
551 label="Include spacer at the end of the track." help="Width of the spacer." /> | |
552 </xml> | |
553 <xml name="fontsize_macro"> | |
554 <param name="fontsize" type="integer" value="" optional="True" label="Fontsize" /> | |
555 </xml> | |
556 </macros> |