comparison deepTools_macros.xml @ 0:4b88c90b6f6e draft

planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 2c5f94de9ddf6798e49b7e9c340c841ca2bfbcfe
author bgruening
date Tue, 20 Sep 2016 03:01:15 -0400
parents
children a1124c201eee
comparison
equal deleted inserted replaced
-1:000000000000 0:4b88c90b6f6e
1 <macros>
2
3 <xml name="advancedOpt_scaffold">
4 <conditional name="advancedOpt">
5 <param name="showAdvancedOpt" type="select" label="Show advanced options" >
6 <option value="no" selected="true">no</option>
7 <option value="yes">yes</option>
8 </param>
9 <when value="no" />
10 <when value="yes">
11 <yield/>
12 </when>
13 </conditional>
14 </xml>
15
16 <token name="@ADVANCED_OPTS_READ_PROCESSING@">
17 #if $advancedOpt.doExtendCustom.doExtend == 'custom':
18 --extendReads $advancedOpt.doExtendCustom.extendReadsValue
19 #else if $advancedOpt.doExtendCustom.doExtend == 'yes':
20 --extendReads
21 #end if
22 $advancedOpt.ignoreDuplicates
23 $advancedOpt.centerReads
24 #if $advancedOpt.minMappingQuality:
25 --minMappingQuality '$advancedOpt.minMappingQuality'
26 #end if
27 #if $advancedOpt.samFlagInclude:
28 --samFlagInclude $advancedOpt.samFlagInclude
29 #end if
30 #if $advancedOpt.samFlagExclude:
31 --samFlagExclude $advancedOpt.samFlagExclude
32 #end if
33 #if $advancedOpt.minFragmentLength:
34 --minFragmentLength $advancedOpt.minFragmentLength
35 #end if
36 #if $advancedOpt.maxFragmentLength:
37 --maxFragmentLength $advancedOpt.maxFragmentLength
38 #end if
39 </token>
40
41 <token name="@ADVANCED_OPTS_GTF@">
42 $advancedOpt.metagene
43 #if $advancedOpt.transcriptID:
44 --transcriptID $advancedOpt.transcriptID
45 #end if
46 #if $advancedOpt.exonID:
47 --exonID $advancedOpt.exonID
48 #end if
49 #if $advancedOpt.transcript_id_designator:
50 --transcript_id_designator $advancedOpt.transcript_id_designator
51 #end if
52 </token>
53
54 <xml name="heatmap_options">
55 <expand macro="zMin_zMax" />
56 <expand macro="colorMap" />
57 <expand macro="plotTitle" />
58 <expand macro="plotNumbers" />
59 </xml>
60
61 <token name="@HEATMAP_OPTIONS@">
62 #if str($plotting_type.zMin) != "":
63 --zMin $plotting_type.zMin
64 #end if
65 #if str($plotting_type.zMax) != "":
66 --zMax $plotting_type.zMax
67 #end if
68 --colorMap '$plotting_type.colorMap'
69 $plotting_type.plotNumbers
70 --plotTitle '$plotting_type.plotTitle'
71 </token>
72
73
74 <xml name="includeZeros">
75 <param argument="--includeZeros" type="boolean" truevalue="--includeZeros" falsevalue=""
76 label="Include zeros"
77 help="If set, then regions with zero counts for *all* BAM files are included. The default behavior is to ignore such regions." />
78 </xml>
79
80 <xml name="zMin_zMax">
81 <param argument="--zMin" type="text" value="" optional="true" label="Minimum value for the heatmap intensities"
82 help="If not specified the value is set automatically."/>
83 <param argument="--zMax" type="text" value="" optional="true" label="Maximum value for the heatmap intensities"
84 help="If not specified the value is set automatically."/>
85 </xml>
86
87 <xml name="region_limit_operation">
88 <param argument="--region" type="text" value=""
89 label="Region of the genome to limit the operation to"
90 help="This is useful when testing parameters to reduce the time required. The format is chr:start:end, for example &quot;chr10&quot; or &quot;chr10:456700:891000&quot;.">
91 <sanitizer>
92 <valid initial="string.letters,string.digits">
93 <add value="|"/>
94 <add value=":"/>
95 </valid>
96 </sanitizer>
97 </param>
98 </xml>
99
100 <token name="@THREADS@">--numberOfProcessors "\${GALAXY_SLOTS:-4}"</token>
101 <token name="@WRAPPER_VERSION@">2.3.5</token>
102 <xml name="requirements">
103 <requirements>
104 <requirement type="package" version="2.7.10">python</requirement>
105 <requirement type="package" version="2.3.5">deepTools</requirement>
106 <yield />
107 </requirements>
108 <expand macro="stdio" />
109 <version_command>@BINARY@ --version</version_command>
110 </xml>
111
112 <xml name="smoothLength">
113 <param argument="--smoothLength" type="integer" value="" optional="True" min="1"
114 label="Smooth values using the following length (in bases)"
115 help ="The smooth length defines a window, larger than the bin size, over which the number of reads is to be averaged. For example, if the bin size is set to 20 and the smooth length is 60, then, for each bin, its value is set to the average of it and its left and right neighbors. Any value smaller than the bin size will be ignored and no smoothing will be applied."/>
116 </xml>
117
118
119 <xml name="kmeans_clustering">
120 <conditional name="used_multiple_regions">
121 <param name="used_multiple_regions_options" type="select"
122 label="Did you compute the matrix with more than one groups of regions?"
123 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.">
124 <option value="yes">Yes, I used multiple groups of regions</option>
125 <option value="no">No, I used only one group</option>
126 </param>
127 <when value="no">
128 <conditional name="clustering">
129 <param name="clustering_options" type="select" label="Clustering algorithm">
130 <option value="none">No clustering</option>
131 <option value="kmeans">Kmeans clustering</option>
132 <option value="hclust">Hierarchical clustering</option>
133 </param>
134 <when value="kmeans">
135 <param name="k_kmeans" type="integer" value="0" label="Number of clusters to compute"
136 help="When this option is set, the matrix is split into clusters using the k-means algorithm.
137 This only works for data that is not grouped, otherwise only the first group will be clustered.
138 If more specific clustering methods are required it is advisable to save the underlying matrix and
139 run the clustering using other software."/>
140 </when>
141 <when value="hclust">
142 <param name="n_hclust" type="integer" value="0" label="number of clusters to compute."
143 help="WARNING: This option causes the tool to run for a very long time! When this option is
144 set, the matrix is split into clusters using the hierarchical clustering algorithm, using ward linkage.
145 This only works for data that is not grouped, otherwise only the first group will be clustered.
146 Note that you must have used the '--missingDataAsZero' option within computeMatrix!
147 If more specific clustering methods are required it is advisable to save the underlying matrix and
148 run the clustering using other software."/>
149 </when>
150 <when value="none" />
151 </conditional>
152 </when>
153 <when value="yes" />
154 </conditional>
155 </xml>
156
157 <token name="@KMEANS_CLUSTERING@">
158 #if $advancedOpt.used_multiple_regions.used_multiple_regions_options == 'no':
159 #if $advancedOpt.used_multiple_regions.clustering.clustering_options == 'kmeans':
160 #if int($advancedOpt.used_multiple_regions.clustering.k_kmeans) > 0:
161 --kmeans $advancedOpt.used_multiple_regions.clustering.k_kmeans
162 #end if
163 #end if
164 #if $advancedOpt.used_multiple_regions.clustering.clustering_options == 'hclust':
165 #if int($advancedOpt.used_multiple_regions.clustering.n_hclust) > 0:
166 --hclust $advancedOpt.used_multiple_regions.clustering.n_hclust
167 #end if
168 #end if
169 #end if
170 </token>
171
172 <xml name="samFlags">
173 <param argument="--samFlagInclude" type="integer" optional="True" value=""
174 label="Include reads based on the SAM flag"
175 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."/>
176 <param argument="--samFlagExclude" type="integer" optional="True" value=""
177 label="Exclude reads based on the SAM flag"
178 help= "For example, to get only reads that map to the forward strand, use --samFlagExclude 16, where 16 is the SAM flag for reads that map to the reverse strand."/>
179 </xml>
180
181 <xml name="fragLength">
182 <param argument="--minFragmentLength" type="integer" optional="True" value="0" min="0"
183 label="Minimum fragment length for inclusion."
184 help="A value greater than 0 will filter out ALL single-end reads. This is primarily useful in things like ATACseq, where one would like to look specifically at mono- or di-nucleosome fragments." />
185 <param argument="--maxFragmentLength" type="integer" optional="True" value="0" min="0"
186 label="Maximum fragment length for inclusion."
187 help="As above, but the maximum length. A value of 0 (the default) is equivalent to no maximum." />
188 </xml>
189
190 <xml name="read_processing_options">
191 <expand macro="extendReads" />
192 <expand macro="ignoreDuplicates" />
193 <expand macro="centerReads" />
194 <expand macro="minMappingQuality" />
195 <expand macro="samFlags" />
196 <expand macro="fragLength" />
197 </xml>
198
199 <xml name="gtf_options">
200 <param argument="--metagene" type="boolean" truevalue="--boolean" falsevalue=""
201 label="Use a metagene model"
202 help="If set and a BED12 or GTF file or files is used to provide regions, only exons will be used. This is convenient for looking at coverage over mature mRNA transcripts or similar uses where introns should be ignored." />
203 <param argument="--transcriptID" optional="True" value="transcript" type="text"
204 label="trascript designator"
205 help="When a GTF file is used to provide regions, only entries with this value as their feature (column 2) will be processed as transcripts. Default: transcript" />
206 <param argument="--exonID" optional="True" value="exon" type="text"
207 label="exon designator"
208 help="When a GTF file is used to provide regions, only entries with this value as their feature (column 2) will be processed as exons. CDS would be another common value for this. Default: exon" />
209 <param argument="--transcript_id_designator" optional="True" value="transcript_id" type="text"
210 label="transcriptID key designator"
211 help="Each region has an ID (e.g., ACTB) assigned to it, which for BED files is either column 4 (if it exists)
212 or the interval bounds. For GTF files this is instead stored in the last column as a key:value pair (e.g.,
213 as 'transcript_id ACTB', for a key of transcript_id and a value of ACTB). In some cases it can be
214 convenient to use a different identifier. To do so, set this to the desired key. Default: transcript_id" />
215 </xml>
216
217
218 <xml name="plotNumbers">
219 <param argument="--plotNumbers" type="boolean" truevalue="--plotNumbers" falsevalue=""
220 label="Plot the correlation value"
221 help="If set, then the correlation number is plotted on top of the heatmap."/>
222 </xml>
223
224 <xml name="extendReads">
225 <conditional name="doExtendCustom">
226 <param name="doExtend" type="select" label="Extend reads to the given average fragment size."
227 help="(1) Single-end reads and singletons are extended to match this length. (2) Paired-end reads are extended to match the fragment size, regardless of what is set here.
228 By default *each* read mate is extended.
229 This can be modified using the SAM flags (see --samFlagInclude and --samFlagExclude options) to keep only the first or the second mate.
230 Unmated reads, mate reads that map to different chromosomes or too far apart are extended to the given value.
231 Reads are only extended if --extendReads is set to a value greater than the read length. *NOTE*: For spliced-read data, this option is not
232 recommended as it will extend reads over skipped regions, e.g. introns in RNA-seq data.">
233 <option value="no" selected="True">No extension. The default value and most typically appropriate.</option>
234 <option value="yes">Paired-end extension. Suitable only for paired-end datasets.</option>
235 <option value="custom">A custom length, which will be applied to ALL reads.</option>
236 </param>
237 <when value="no" />
238 <when value="yes" />
239 <when value="custom">
240 <param name="extendReadsValue" type="integer" value="300" min="1"
241 label="Extend reads to the given average fragment size"
242 help="Extend all reads to this length" />
243 </when>
244 </conditional>
245 </xml>
246
247 <xml name="corMethod">
248 <param argument="--corMethod" type="select" label="Correlation method">
249 <option value="spearman" selected="True">Spearman</option>
250 <option value="pearson">Pearson</option>
251 </param>
252 </xml>
253
254 <xml name="distanceBetweenBins">
255 <param argument="--distanceBetweenBins" type="integer" value="0" min="0"
256 label="Distance between bins"
257 help="By default, multiBamSummary considers consecutive bins of
258 the specified 'Bin size'. However, to reduce the
259 computation time, a larger distance between bins can
260 be given. Larger distances result in fewer bins being
261 considered."/>
262 </xml>
263
264 <xml name="centerReads">
265 <param argument="--centerReads" type="boolean" truevalue="--centerReads" falsevalue=""
266 label="Center regions with respect to the fragment length"
267 help="For paired-end data the fragment is defined by the bounds of the reads. For single-end data the bounds are defined by the read and the user-definable fragment/extension length. This option is useful to get a sharper signal around enriched regions."/>
268 </xml>
269
270 <xml name="ignoreDuplicates">
271 <param argument="--ignoreDuplicates" type="boolean" truevalue="--ignoreDuplicates" falsevalue=""
272 label="Ignore duplicates"
273 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." />
274 </xml>
275
276 <xml name="sortUsing">
277 <param argument="--sortUsing" type="select" label="Method used for sorting"
278 help="For each row the method is computed.">
279 <option value="mean" selected="true">mean</option>
280 <option value="median">median</option>
281 <option value="min">min</option>
282 <option value="max">max</option>
283 <option value="sum">sum</option>
284 <option value="region_length">region length</option>
285 </param>
286 </xml>
287
288 <xml name="sortRegions">
289 <param argument="--sortRegions" type="select" label="Sort regions"
290 help="Whether the heatmap should present the regions sorted. The default is to sort in descending order based on the mean value per region.">
291 <option value="no">no ordering</option>
292 <option value="descend" selected="true">descending order</option>
293 <option value="ascend">ascending order</option>
294 </param>
295 </xml>
296
297 <xml name="minMappingQuality">
298 <param argument="--minMappingQuality" type="integer" optional="true" value="1" min="0"
299 label="Minimum mapping quality"
300 help= "If set, only reads with a mapping quality score higher than this value are considered."/>
301 </xml>
302
303 <xml name="skipZeros">
304 <param argument="--skipZeros" type="boolean" truevalue="--skipZeros" falsevalue=""
305 label ="Skip zeros"
306 help ="If set, then zero counts that happen for *all* BAM files given are ignored. This may result in fewer considered regions." />
307 </xml>
308
309 <xml name="fragmentLength">
310 <param argument="--fragmentLength" type="integer" value="300" min="1"
311 label="Fragment length used for the sequencing"
312 help ="If paired-end reads are used, the fragment length is computed from the BAM file, so this is only needed for single-end data."/>
313 </xml>
314
315 <xml name="scaleFactor">
316 <param argument="--scaleFactor" type="float" value="1" label="Scaling factor"
317 help="When used in combination with --normalizeTo1x or
318 --normalizeUsingRPKM, the computed scaling factor will
319 be multiplied by the given scale factor." />
320 </xml>
321
322 <xml name="scaleFactors">
323 <param name="scaleFactor1" type="float" value="1" label="Scale factor for treatment" help="(--scaleFactors)"/>
324 <param name="scaleFactor2" type="float" value="1" label="Scale factor for input" help="(--scaleFactors)"/>
325 </xml>
326
327 <xml name="stdio">
328 <stdio>
329 <exit_code range="1:" />
330 <exit_code range=":-1" />
331 <regex match="Error:" />
332 <regex match="Exception:" />
333 <regex match="EXception:" />
334 <regex match="Traceback" />
335 </stdio>
336 </xml>
337
338 <xml name="pseudocount">
339 <param argument="--pseudocount" type="float" value="1" label="Pseudocount" help="Small number to avoid dividing by zero."/>
340 </xml>
341
342 <token name="@REFERENCES@">
343
344 .. class:: infomark
345
346 For more information on the tools, please visit our `help site`_.
347
348 If you would like to give us feedback or you run into any trouble, please send an email to deeptools@googlegroups.com
349
350 This tool is developed by the `Bioinformatics and Deep-Sequencing Unit`_ at the `Max Planck Institute for Immunobiology and Epigenetics`_.
351
352 .. _Bioinformatics and Deep-Sequencing Unit: http://www.ie-freiburg.mpg.de/bioinformaticsfac
353 .. _Max Planck Institute for Immunobiology and Epigenetics: http://www3.ie-freiburg.mpg.de
354 .. _help site: https://deeptools.readthedocs.org/
355
356 </token>
357 <xml name="citations">
358 <citations>
359 <citation type="doi">10.1093/nar/gkw257</citation>
360 <yield />
361 </citations>
362 </xml>
363
364 <xml name="multiple_input_bams">
365 <param argument="--bamfiles" type="data" format="bam" min="1"
366 label="Bam file" multiple="true"
367 help=""/>
368 </xml>
369
370 <xml name="multiple_input_bams_min2">
371 <param argument="--bamfiles" type="data" format="bam" min="2"
372 label="Bam file" multiple="true"
373 help=""/>
374 </xml>
375
376 <xml name="multiple_input_bigwigs">
377 <param argument="--bigwigfiles" type="data" format="bigwig" multiple="True" min="2"
378 label="Bigwig file"
379 help="A Bigwig file."/>
380 </xml>
381
382 <xml name="plotTitle">
383 <param argument="--plotTitle" type="text" value="" size="30" optional="True"
384 label="Title of the plot"
385 help="Title of the plot, to be printed on top of the generated image." />
386 </xml>
387
388
389 <token name="@multiple_input_bams@">
390 <![CDATA[
391 #set files=[]
392 #set labels=[]
393 #for $counter, $bamfile in enumerate($bamfiles):
394 ln -s "${bamfile}" "./${counter}.bam" &&
395 ln -s "${bamfile.metadata.bam_index}" "./${counter}.bam.bai" &&
396 #silent $files.append('%s.bam' % $counter)
397 #silent $labels.append("'%s'" % ($bamfile.display_name))
398 #end for
399 ]]>
400 </token>
401
402 <token name="@multiple_input_bigwigs@">
403 <![CDATA[
404 #set files=[]
405 #set labels=[]
406 #for $counter, $bigwig in enumerate($bigwigfiles):
407 ln -s "${bigwig}" "${counter}.bw" &&
408 #silent $files.append('%s.bw' % $counter)
409 #silent $labels.append("'%s'" % ($bigwig.display_name))
410 #end for
411 ]]>
412 </token>
413
414 <xml name="blacklist">
415 <param argument="--blackListFileName" type="data" format="bed,gtf" multiple="true" optional="true" min="0"
416 label="Blacklisted regions in BED/GTF format"
417 help="One or more files containing regions to exclude from the analysis" />
418 </xml>
419
420 <token name="@blacklist@">
421 <![CDATA[
422 #if ' '.join( map(str, $advancedOpt.blackListFileName) ) != 'None':
423 #set blfiles=[]
424 #for $f in $advancedOpt.blackListFileName:
425 #silent $blfiles.append("'%s'" % $f)
426 #end for
427 #if $blfiles != ["'None'"]:
428 --blackListFileName #echo ' '.join($blfiles)#
429 #end if
430 #end if
431 ]]>
432 </token>
433
434 <xml name="multiple_bed">
435 <param argument="--BED" type="data" format="bed,gtf" min="1" multiple="true"
436 label="Regions in BED/GTF format"
437 help="One or more files containing regions to include in the analysis" />
438 </xml>
439
440 <token name="@multiple_bed@">
441 <![CDATA[
442 #set files=[]
443 #set labels=[]
444 #for $f in $BED:
445 #silent $files.append("'%s'" % $f)
446 #silent $labels.append("'%s'" % $f.display_name)
447 #end for
448 #if len($files) > 0:
449 --BED #echo ' '.join($files)#
450 --regionLabels #echo ' '.join($labels)#
451 #end if
452 ]]>
453 </token>
454
455 <xml name="reference_genome_source">
456 <conditional name="source">
457 <param name="ref_source" type="select" label="Reference genome">
458 <option value="cached">locally cached</option>
459 <option value="history">in your history</option>
460 </param>
461 <when value="cached">
462 <param name="input1_2bit" type="select" label="Using reference genome" help="If your genome of interest is not listed, contact the Galaxy team">
463 <options from_data_table="lastz_seqs">
464 <filter type="sort_by" column="1" />
465 <validator type="no_options" message="No indexes are available." />
466 </options>
467 </param>
468 </when>
469 <when value="history">
470 <param name="input1" type="data" format="twobit" label="Select a reference dataset in 2bit format" />
471 </when>
472 </conditional>
473 </xml>
474
475 <token name="@reference_genome_source@">
476 #if $source.ref_source=="history":
477 --genome $source.input1
478 #else:
479 --genome "$source.input1_2bit.fields.path"
480 #end if
481 </token>
482
483 <xml name="effectiveGenomeSize">
484 <conditional name="effectiveGenomeSize">
485 <param name="effectiveGenomeSize_opt" type="select" label="Effective genome size"
486 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.
487 Also, if repetitive regions were not included in the mapping of reads, the effective genome size needs to be adjusted accordingly.
488 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.">
489 <option value="93260000">ce10 (93260000)</option>
490 <option value="121400000">dm3 (121400000)</option>
491 <option value="2451960000" selected="true">hg19 (2451960000)</option>
492 <option value="2150570000">mm9 (2150570000)</option>
493 <option value="specific">user specified</option>
494 </param>
495 <when value="specific">
496 <param argument="--effectiveGenomeSize" type="integer" value="" label="Effective genome size"
497 help="e.g. ce10: 93260000, dm3: 121400000, hg19: 2451960000, mm9: 2150570000"/>
498 </when>
499 <when value="2150570000" />
500 <when value="2451960000" />
501 <when value="121400000" />
502 <when value="93260000" />
503 </conditional>
504 </xml>
505
506 <xml name="skipNAs">
507 <param argument="--skipNAs" type="boolean" truevalue="--skipNAs" falsevalue="" checked="False"
508 label="Ignore missing data?"
509 help="This parameter determines if non-covered regions
510 (regions without overlapping reads) in a bam/bigWig file
511 should be skipped. The default is to treat those
512 regions as having a value of zero. The decision to
513 skip non-covered regions depends on the interpretation
514 of the data. Non-covered regions may represent, for
515 example, repetitive regions that should be ignored.
516 (default: False)" />
517 </xml>
518
519 <xml name="input_save_matrix_values">
520 <param argument="--saveMatrix" type="boolean" label="Save the matrix of values underlying the heatmap"/>
521 </xml>
522
523 <xml name="input_graphic_output_settings">
524 <conditional name="output" >
525 <param name="showOutputSettings" type="select" label="Show advanced output settings" >
526 <option value="no" selected="true">no</option>
527 <option value="yes">yes</option>
528 </param>
529 <when value="no" />
530 <when value="yes">
531 <yield />
532 <param name="saveSortedRegions" type="boolean"
533 label="Save the regions after skipping zeros or min/max threshold values"
534 help="The order of the regions in the file follows the sorting order selected. This is useful,
535 for example, to generate other heatmaps keeping the sorting of the first heatmap."/>
536 </when>
537 </conditional>
538 </xml>
539
540
541 <xml name="input_image_file_format">
542 <param argument="--outFileFormat" type="select" label="Image file format">
543 <option value="png" selected="true">png</option>
544 <option value="pdf">pdf</option>
545 <option value="svg">svg</option>
546 <option value="eps">eps</option>
547 </param>
548 </xml>
549
550 <xml name="output_dpi">
551 <param argument="--dpi" name="dpi" type="integer" value="200" size="3" optional="True"
552 label="Image dpi" help=""/>
553 </xml>
554
555 <xml name="output_image_file_format">
556 <data format="png" name="outFileName" label="${tool.name} image">
557 <change_format>
558 <when input="output.outFileFormat" value="pdf" format="pdf" />
559 <when input="output.outFileFormat" value="svg" format="svg" />
560 <when input="output.outFileFormat" value="eps" format="eps" />
561 </change_format>
562 </data>
563 </xml>
564
565 <xml name="output_image_file_format_not_nested">
566 <data format="png" name="outFileName" label="${tool.name} image">
567 <change_format>
568 <when input="outFileFormat" value="pdf" format="pdf" />
569 <when input="outFileFormat" value="svg" format="svg" />
570 <when input="outFileFormat" value="eps" format="eps" />
571 </change_format>
572 </data>
573 </xml>
574
575 <xml name="output_save_matrix_values">
576 <data format="tabular" name="outFileNameMatrix" label="${tool.name} on ${on_string}: Heatmap values">
577 <filter>
578 ((
579 output['showOutputSettings'] == 'yes' and
580 output['saveMatrix'] is True
581 ))
582 </filter>
583 </data>
584 </xml>
585
586 <xml name="output_graphic_outputs">
587 <data format="bed" name="outFileSortedRegions" label="${tool.name} on ${on_string}: sorted/filtered regions">
588 <filter>
589 ((
590 output['showOutputSettings'] == 'yes' and
591 output['saveSortedRegions'] is True
592 ))
593 </filter>
594 </data>
595 </xml>
596
597 <xml name="colorMap">
598 <param name="colorMap" type="select" label="Color map to use for the heatmap"
599 help=" Available color map names can be found here: http://matplotlib.org/examples/color/colormaps_reference.html"
600 multiple="true">
601 <option value="RdYlBu" selected="true">RdYlBu</option>
602 <option value="Accent">Accent</option>
603 <option value="Spectral">Spectral</option>
604 <option value="Set1">Set1</option>
605 <option value="Set2">Set2</option>
606 <option value="Set3">Set3</option>
607 <option value="Dark2">Dark2</option>
608 <option value="Reds">Reds</option>
609 <option value="Oranges">Oranges</option>
610 <option value="Greens">Greens</option>
611 <option value="Blues">Blues</option>
612 <option value="Greys">Greys</option>
613 <option value="Purples">Purples</option>
614 <option value="Paired">Paired</option>
615 <option value="Pastel1">Pastel1</option>
616 <option value="Pastel2">Pastel2</option>
617 <option value="spring">spring</option>
618 <option value="summer">summer</option>
619 <option value="autumn">autumn</option>
620 <option value="winter">winter</option>
621 <option value="hot">hot</option>
622 <option value="coolwarm">coolwarm</option>
623 <option value="cool">cool</option>
624 <option value="seismic">seismic</option>
625 <option value="terrain">terrain</option>
626 <option value="ocean">ocean</option>
627 <option value="rainbow">rainbow</option>
628 <option value="bone">bone</option>
629 <option value="flag">flag</option>
630 <option value="prism">prism</option>
631 <option value="cubehelix">cubehelix</option>
632 <option value="binary">binary</option>
633 <option value="pink">pink</option>
634 <option value="gray">gray</option>
635 <option value="copper">copper</option>
636 <option value="BrBG">BrBG</option>
637 <option value="BuGn">BuGn</option>
638 <option value="BuPu">BuPu</option>
639 <option value="GnBu">GnBu</option>
640 <option value="OrRd">OrRd</option>
641 <option value="PiYG">PiYG</option>
642 <option value="PRGn">PRGn</option>
643 <option value="PuOr">PuOr</option>
644 <option value="PuRd">PuRd</option>
645 <option value="PuBu">PuBu</option>
646 <option value="RdBu">RdBu</option>
647 <option value="RdGy">RdGy</option>
648 <option value="RdPu">RdPu</option>
649 <option value="YlGn">YlGn</option>
650 <option value="PuBuGn">PuBuGn</option>
651 <option value="RdYlGn">RdYlGn</option>
652 <option value="YlGnBu">YlGnBu</option>
653 <option value="YlOrBr">YlOrBr</option>
654 <option value="YlOrRd">YlOrRd</option>
655 <option value="gist_gray">gist_gray</option>
656 <option value="gist_stern">gist_stern</option>
657 <option value="gist_earth">gist_earth</option>
658 <option value="gist_yarg">gist_yarg</option>
659 <option value="gist_ncar">gist_ncar</option>
660 <option value="gist_rainbow">gist_rainbow</option>
661 <option value="gist_heat">gist_heat</option>
662 <option value="gnuplot">gnuplot</option>
663 <option value="gnuplot2">gnuplot2</option>
664 <option value="CMRmap">CMRmap</option>
665 <option value="bwr">bwr</option>
666 <option value="hsv">hsv</option>
667 <option value="brg">brg</option>
668 <option value="jet">jet</option>
669 <option value="afmhot">afmhot</option>
670 <option value="Accent_r">Accent reversed</option>
671 <option value="Spectral_r">Spectral reversed</option>
672 <option value="Set1_r">Set1 reversed</option>
673 <option value="Set2_r">Set2 reversed</option>
674 <option value="Set3_r">Set3 reversed</option>
675 <option value="Dark2_r">Dark2 reversed</option>
676 <option value="Reds_r">Reds reversed</option>
677 <option value="Oranges_r">Oranges reversed</option>
678 <option value="Greens_r">Greens reversed</option>
679 <option value="Blues_r">Blues reversed</option>
680 <option value="Greys_r">Greys reversed</option>
681 <option value="Purples_r">Purples reversed</option>
682 <option value="Paired_r">Paired reversed</option>
683 <option value="Pastel1_r">Pastel1 reversed</option>
684 <option value="Pastel2_r">Pastel2 reversed</option>
685 <option value="spring_r">spring reversed</option>
686 <option value="summer_r">summer reversed</option>
687 <option value="autumn_r">autumn reversed</option>
688 <option value="winter_r">winter reversed</option>
689 <option value="hot_r">hot reversed</option>
690 <option value="coolwarm_r">coolwarm reversed</option>
691 <option value="cool_r">cool reversed</option>
692 <option value="seismic_r">seismic reversed</option>
693 <option value="terrain_r">terrain reversed</option>
694 <option value="ocean_r">ocean reversed</option>
695 <option value="rainbow_r">rainbow reversed</option>
696 <option value="bone_r">bone reversed</option>
697 <option value="flag_r">flag reversed</option>
698 <option value="prism_r">prism reversed</option>
699 <option value="cubehelix_r">cubehelix reversed</option>
700 <option value="binary_r">binary reversed</option>
701 <option value="pink_r">pink reversed</option>
702 <option value="gray_r">gray reversed</option>
703 <option value="copper_r">copper reversed</option>
704 <option value="BrBG_r">BrBG reversed</option>
705 <option value="BuGn_r">BuGn reversed</option>
706 <option value="BuPu_r">BuPu reversed</option>
707 <option value="GnBu_r">GnBu reversed</option>
708 <option value="OrRd_r">OrRd reversed</option>
709 <option value="PiYG_r">PiYG reversed</option>
710 <option value="PRGn_r">PRGn reversed</option>
711 <option value="PuOr_r">PuOr reversed</option>
712 <option value="PuRd_r">PuRd reversed</option>
713 <option value="PuBu_r">PuBu reversed</option>
714 <option value="RdBu_r">RdBu reversed</option>
715 <option value="RdGy_r">RdGy reversed</option>
716 <option value="RdPu_r">RdPu reversed</option>
717 <option value="YlGn_r">YlGn reversed</option>
718 <option value="PuBuGn_r">PuBuGn reversed</option>
719 <option value="RdYlBu_r">RdYlBu reversed</option>
720 <option value="RdYlGn_r">RdYlGn reversed</option>
721 <option value="YlGnBu_r">YlGnBu reversed</option>
722 <option value="YlOrBr_r">YlOrBr reversed</option>
723 <option value="YlOrRd_r">YlOrRd reversed</option>
724 <option value="gist_gray_r">gist_gray reversed</option>
725 <option value="gist_stern_r">gist_stern reversed</option>
726 <option value="gist_earth_r">gist_earth reversed</option>
727 <option value="gist_yarg_r">gist_yarg reversed</option>
728 <option value="gist_ncar_r">gist_ncar reversed</option>
729 <option value="gist_rainbow_r">gist_rainbow reversed</option>
730 <option value="gist_heat_r">gist_heat reversed</option>
731 <option value="gnuplot_r">gnuplot reversed</option>
732 <option value="gnuplot2_r">gnuplot2 reversed</option>
733 <option value="CMRmap_r">CMRmap reversed</option>
734 <option value="bwr_r">bwr reversed</option>
735 <option value="hsv_r">hsv reversed</option>
736 <option value="brg_r">brg reversed</option>
737 <option value="jet_r">jet reversed</option>
738 <option value="afmhot_r">afmhot reversed</option>
739 </param>
740
741 </xml>
742
743 </macros>