annotate deepTools_macros.xml @ 15:b96676609e10 draft

Uploaded
author bgruening
date Mon, 16 Dec 2013 14:08:15 -0500
parents a7ae8ce85f45
children ef65d6b68ccc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
1 <macros>
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
2 <xml name="bamCorrelate_mode_actions">
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
3 <conditional name="advancedOpt">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
4 <param name="showAdvancedOpt" type="select" label="Show advanced options" >
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
5 <option value="no" selected="true">no</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
6 <option value="yes">yes</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
7 </param>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
8 <when value="no" />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
9 <when value="yes">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
10 <param name="region" type="text" value=""
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
11 label="Region of the genome to limit the operation to"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
12 help="This is useful when testing parameters to reduce the computing time. The format is chr:start:end, for example &quot;chr10&quot; or &quot;chr10:456700:891000&quot;" />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
13
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
14 <param name="doNotExtendPairedEnds" type="boolean" truevalue="--doNotExtendPairedEnds" falsevalue=""
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
15 label="Do not extend paired ends"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
16 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."/>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
17
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
18 <param name="ignoreDuplicates" type="boolean" truevalue="--ignoreDuplicates" falsevalue=""
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
19 label="Ignore duplicates"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
20 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." />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
21
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
22 <param name="minMappingQuality" type="integer" optional="true" value="1" min="1"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
23 label="Minimum mapping quality"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
24 help= "If set, only reads that have a mapping quality score higher than the given value are considered. *Note* Bowtie's Mapping quality is related to uniqueness: the higher the score, the more unique is a read. 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."/>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
25
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
26 <param name="includeZeros" type="boolean" truevalue="--includeZeros" falsevalue=""
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
27 label ="Include zeros"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
28 help ="If set, then regions with zero counts for *all* BAM files given are included. The default behavior is to ignore those cases." />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
29
7
d63afb3521e7 Uploaded
bgruening
parents: 5
diff changeset
30 <param name="zMin" type="integer" value="" optional="true" label="Minimum value for the heatmap intensities"
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
31 help="If not specified the value is set automatically."/>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
32
7
d63afb3521e7 Uploaded
bgruening
parents: 5
diff changeset
33 <param name="zMax" type="integer" value="" optional="true" label="Maximum value for the heatmap intensities"
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
34 help="If not specified the value is set automatically."/>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
35
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
36 <expand macro="colormap" />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
37 </when>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
38 </conditional>
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
39 </xml>
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
40 <token name="@THREADS@">--numberOfProcessors "\${GALAXY_SLOTS:-4}"</token>
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
41 <xml name="requirements">
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
42 <requirements>
2
b5da81864541 Uploaded
bgruening
parents: 1
diff changeset
43 <requirement type="package" >samtools</requirement>
b5da81864541 Uploaded
bgruening
parents: 1
diff changeset
44 <requirement type="package" >deepTools</requirement>
b5da81864541 Uploaded
bgruening
parents: 1
diff changeset
45 <requirement type="package" >ucsc_tools</requirement>
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
46 <requirement type="package" version="1.5.4_74aac0843a956ca352e3e85087f20c8f158e2f7d">deepTools</requirement>
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
47 <requirement type="package" version="0.1">ucsc_tools</requirement>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
48 <requirement type="package" version="1.7.1">numpy</requirement>
5
c54d31467be4 Uploaded
bgruening
parents: 2
diff changeset
49 <requirement type="package" version="0.7.7">pysam</requirement>
10
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
50 <requirement type="package" version="0.12.0">scipy</requirement>
9
c53a73b8eef9 Uploaded
bgruening
parents: 8
diff changeset
51 <requirement type="package" version="1.2.1">matplotlib</requirement>
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
52 <requirement type="package" version="0.1.19">samtools</requirement>
9
c53a73b8eef9 Uploaded
bgruening
parents: 8
diff changeset
53 <requirement type="package" version="12-2013">bx-python</requirement>
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
54 <yield />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
55 </requirements>
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
56 </xml>
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
57 <xml name="stdio">
10
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
58 <stdio>
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
59 <exit_code range="1:" />
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
60 <exit_code range=":-1" />
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
61 <regex match="Error:" />
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
62 <regex match="Exception:" />
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
63 <regex match="EXception:" />
12
aea72b24dea0 Uploaded
bgruening
parents: 11
diff changeset
64 <regex match="Traceback" />
10
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
65 </stdio>
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
66 </xml>
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
67 <token name="@REFERENCES@">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
68
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
69 For more informations, please visit our `project site`_.
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
70
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
71 If you would like to give us feedback or you run into any trouble, please send an email to deeptools@googlegroups.com
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
72
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
73 This tool is developed by the `Bioinformatics and Deep-Sequencing Unit`_ at the `Max Planck Institute for Immunobiology and Epigenetics`_.
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
74
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
75
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
76 .. _Bioinformatics and Deep-Sequencing Unit: http://www3.ie-freiburg.mpg.de/facilities/research-facilities/bioinformatics-and-deep-sequencing-unit/
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
77 .. _Max Planck Institute for Immunobiology and Epigenetics: http://www3.ie-freiburg.mpg.de
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
78 .. _project site: https://github.com/fidelram/deepTools
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
79
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
80 </token>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
81
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
82 <xml name="multiple_input_bams">
9
c53a73b8eef9 Uploaded
bgruening
parents: 8
diff changeset
83 <repeat name="input_files" title="BAM files" min="2">
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
84 <param name="bamfile" type="data" format="bam"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
85 label="Bam file"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
86 help="The BAM file must be sorted."/>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
87 <param name="label" type="text" size="30" optional="true" value=""
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
88 label="Label"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
89 help="Label to use in the output. If not given the dataset name will be used instead."/>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
90 </repeat>
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
91 </xml>
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
92
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
93 <token name="@multiple_input_bams@">
14
a7ae8ce85f45 Uploaded
bgruening
parents: 13
diff changeset
94 #import tempfile
15
b96676609e10 Uploaded
bgruening
parents: 14
diff changeset
95 #set $temp_dir = os.path.abspath(tempfile.mkdtemp())
b96676609e10 Uploaded
bgruening
parents: 14
diff changeset
96 #set files=[]
b96676609e10 Uploaded
bgruening
parents: 14
diff changeset
97 #set labels=[]
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
98 #for $i in $input_files:
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
99 #set $temp_input_handle = tempfile.NamedTemporaryFile( dir=$temp_dir )
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
100 #set $temp_input_path = $temp_input_handle.name
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
101 #silent $temp_input_handle.close()
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
102 #silent os.system("ln -s %s %s.bam" % (str($i.bamfile), $temp_input_path))
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
103 #silent os.system("ln -s %s %s.bam.bai" % (str($i.bamfile.metadata.bam_index), $temp_input_path))
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
104 #silent $files.append('%s.bam' % $temp_input_path)
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
105
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
106 ##set $files += [str($i.bamfile)]
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
107 #if str($i.label.value) != "":
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
108 #set $labels += ["\"%s\"" % ($i.label.value)]
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
109 #else
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
110 #set $labels += ["\"%s\"" % ($i.bamfile.name)]
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
111 #end if
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
112 #end for
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
113 </token>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
114
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
115 <xml name="reference_genome_source">
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
116 <conditional name="source">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
117 <param name="ref_source" type="select" label="Reference genome">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
118 <option value="cached">locally cached</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
119 <option value="history">in your history</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
120 </param>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
121 <when value="cached">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
122 <param name="input1_2bit" type="select" label="Using reference genome" help="If your genome of interest is not listed, contact the Galaxy team">
8
1c5ed9126db6 Uploaded
bgruening
parents: 7
diff changeset
123 <options from_data_table="deepTools_seqs">
1c5ed9126db6 Uploaded
bgruening
parents: 7
diff changeset
124 <filter type="sort_by" column="1" />
1c5ed9126db6 Uploaded
bgruening
parents: 7
diff changeset
125 <validator type="no_options" message="No indexes are available." />
1c5ed9126db6 Uploaded
bgruening
parents: 7
diff changeset
126 </options>
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
127 </param>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
128 </when>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
129 <when value="history">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
130 <param name="input1" type="data" format="twobit" label="Select a reference dataset in 2bit format" />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
131 </when>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
132 </conditional>
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
133 </xml>
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
134
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
135 <token name="@reference_genome_source@">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
136 #if $source.ref_source=="history":
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
137 --genome $source.input1
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
138 #else:
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
139 --genome "${source.input1_2bit.fields.path}"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
140 #end if
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
141 </token>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
142
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
143 <xml name="effectiveGenomeSize">
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
144 <conditional name="effectiveGenomeSize">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
145 <param name="effectiveGenomeSize_opt" type="select" label="Effective genome size"
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
146 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.
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
147 Also, if repetitive regions were not included in the mapping of reads, the effective genome size needs to be adjusted accordingly.
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
148 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.">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
149 <option value="2150570000">mm9</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
150 <option value="2451960000">hg19</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
151 <option value="121400000">dm3</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
152 <option value="93260000">ce10</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
153 <option value="specific">user specified</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
154 </param>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
155 <when value="specific">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
156 <param name="effectiveGenomeSize" type="integer" value="" label="Effective genome size" />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
157 </when>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
158 </conditional>
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
159 </xml>
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
160
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
161 <xml name="image_file_format">
10
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
162 <param name="outFileFormat" type="select" label="Image file format">
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
163 <option value="png" selected="true">png</option>
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
164 <option value="pdf">pdf</option>
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
165 <option value="svg">svg</option>
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
166 <option value="eps">eps</option>
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
167 <option value="emf">emf</option>
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
168 </param>
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
169 </xml>
10
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
170
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
171 <xml name="input_save_matrix_values">
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
172 <param name="saveMatrix" type="boolean" label="Save the matrix of values underlying the heatmap"/>
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
173 </xml>
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
174
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
175 <xml name="input_graphic_output_settings">
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
176 <conditional name="output" >
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
177 <param name="showOutputSettings" type="select" label="Show advanced output settings" >
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
178 <option value="no" selected="true">no</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
179 <option value="yes">yes</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
180 </param>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
181 <when value="no" />
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
182 <when value="yes">
11
baf4283e2d7f Uploaded
bgruening
parents: 10
diff changeset
183 <yield />
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
184 <param name="saveData" type="boolean" label="Save the data underlying the average profile"/>
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
185 <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."/>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
186 </when>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
187 </conditional>
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
188 </xml>
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
189
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
190 <xml name="input_image_file_format">
11
baf4283e2d7f Uploaded
bgruening
parents: 10
diff changeset
191 <param name="outFileFormat" type="select" label="Image file format">
baf4283e2d7f Uploaded
bgruening
parents: 10
diff changeset
192 <option value="png" selected="true">png</option>
baf4283e2d7f Uploaded
bgruening
parents: 10
diff changeset
193 <option value="pdf">pdf</option>
baf4283e2d7f Uploaded
bgruening
parents: 10
diff changeset
194 <option value="svg">svg</option>
baf4283e2d7f Uploaded
bgruening
parents: 10
diff changeset
195 <option value="eps">eps</option>
baf4283e2d7f Uploaded
bgruening
parents: 10
diff changeset
196 <option value="emf">emf</option>
baf4283e2d7f Uploaded
bgruening
parents: 10
diff changeset
197 </param>
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
198 </xml>
11
baf4283e2d7f Uploaded
bgruening
parents: 10
diff changeset
199
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
200 <xml name="output_image_file_format">
10
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
201 <data format="png" name="outFileName" label="${tool.name} image">
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
202 <change_format>
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
203 <when input="output.outFileFormat" value="pdf" format="pdf" />
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
204 <when input="output.outFileFormat" value="svg" format="svg" />
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
205 <when input="output.outFileFormat" value="eps" format="eps" />
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
206 <when input="output.outFileFormat" value="emf" format="emf" />
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
207 </change_format>
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
208 </data>
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
209 </xml>
11
baf4283e2d7f Uploaded
bgruening
parents: 10
diff changeset
210
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
211 <xml name="output_save_matrix_values">
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
212 <data format="tabular" name="outFileNameMatrix" label="${tool.name} on ${on_string}: Heatmap values">
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
213 <filter>
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
214 ((
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
215 output['showOutputSettings'] == 'yes' and
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
216 output['saveMatrix'] is True
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
217 ))
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
218 </filter>
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
219 </data>
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
220 </xml>
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
221
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
222 <xml name="output_graphic_outputs">
10
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
223 <data format="tabular" name="outFileNameData" label="${tool.name} on ${on_string}: averages per matrix column">
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
224 <filter>
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
225 ((
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
226 output['showOutputSettings'] == 'yes' and
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
227 output['saveData'] is True
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
228 ))
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
229 </filter>
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
230 </data>
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
231 <data format="bed" name="outFileSortedRegions" label="${tool.name} on ${on_string}: sorted/filtered regions">
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
232 <filter>
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
233 ((
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
234 output['showOutputSettings'] == 'yes' and
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
235 output['saveSortedRegions'] is True
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
236 ))
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
237 </filter>
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
238 </data>
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
239 </xml>
10
135f3bae5c56 Uploaded
bgruening
parents: 9
diff changeset
240
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
241 <xml name="colormap">
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
242 <param name="colorMap" type="select" 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/">
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
243 <option value="RdYlBu" selected="true">RdYlBu</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
244 <option value="Accent">Accent</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
245 <option value="Spectral">Spectral</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
246 <option value="Set1">Set1</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
247 <option value="Set2">Set2</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
248 <option value="Set3">Set3</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
249 <option value="Dark2">Dark2</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
250 <option value="Reds">Reds</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
251 <option value="Oranges">Oranges</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
252 <option value="Greens">Greens</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
253 <option value="Blues">Blues</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
254 <option value="Greys">Greys</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
255 <option value="Purples">Purples</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
256 <option value="Paired">Paired</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
257 <option value="Pastel1">Pastel1</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
258 <option value="Pastel2">Pastel2</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
259 <option value="spring">spring</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
260 <option value="summer">summer</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
261 <option value="autumn">autumn</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
262 <option value="winter">winter</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
263 <option value="hot">hot</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
264 <option value="coolwarm">coolwarm</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
265 <option value="cool">cool</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
266 <option value="seismic">seismic</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
267 <option value="terrain">terrain</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
268 <option value="ocean">ocean</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
269 <option value="rainbow">rainbow</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
270 <option value="bone">bone</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
271 <option value="flag">flag</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
272 <option value="prism">prism</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
273 <option value="cubehelix">cubehelix</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
274 <option value="binary">binary</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
275 <option value="pink">pink</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
276 <option value="gray">gray</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
277 <option value="copper">copper</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
278 <option value="BrBG">BrBG</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
279 <option value="BuGn">BuGn</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
280 <option value="BuPu">BuPu</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
281 <option value="GnBu">GnBu</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
282 <option value="OrRd">OrRd</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
283 <option value="PiYG">PiYG</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
284 <option value="PRGn">PRGn</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
285 <option value="PuOr">PuOr</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
286 <option value="PuRd">PuRd</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
287 <option value="PuBu">PuBu</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
288 <option value="RdBu">RdBu</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
289 <option value="RdGy">RdGy</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
290 <option value="RdPu">RdPu</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
291 <option value="YlGn">YlGn</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
292 <option value="PuBuGn">PuBuGn</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
293 <option value="RdYlGn">RdYlGn</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
294 <option value="YlGnBu">YlGnBu</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
295 <option value="YlOrBr">YlOrBr</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
296 <option value="YlOrRd">YlOrRd</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
297 <option value="gist_gray">gist_gray</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
298 <option value="gist_stern">gist_stern</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
299 <option value="gist_earth">gist_earth</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
300 <option value="gist_yarg">gist_yarg</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
301 <option value="gist_ncar">gist_ncar</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
302 <option value="gist_rainbow">gist_rainbow</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
303 <option value="gist_heat">gist_heat</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
304 <option value="gnuplot">gnuplot</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
305 <option value="gnuplot2">gnuplot2</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
306 <option value="CMRmap">CMRmap</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
307 <option value="bwr">bwr</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
308 <option value="hsv">hsv</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
309 <option value="brg">brg</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
310 <option value="jet">jet</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
311 <option value="afmhot">afmhot</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
312 <option value="Accent_r">Accent reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
313 <option value="Spectral_r">Spectral reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
314 <option value="Set1_r">Set1 reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
315 <option value="Set2_r">Set2 reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
316 <option value="Set3_r">Set3 reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
317 <option value="Dark2_r">Dark2 reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
318 <option value="Reds_r">Reds reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
319 <option value="Oranges_r">Oranges reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
320 <option value="Greens_r">Greens reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
321 <option value="Blues_r">Blues reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
322 <option value="Greys_r">Greys reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
323 <option value="Purples_r">Purples reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
324 <option value="Paired_r">Paired reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
325 <option value="Pastel1_r">Pastel1 reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
326 <option value="Pastel2_r">Pastel2 reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
327 <option value="spring_r">spring reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
328 <option value="summer_r">summer reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
329 <option value="autumn_r">autumn reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
330 <option value="winter_r">winter reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
331 <option value="hot_r">hot reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
332 <option value="coolwarm_r">coolwarm reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
333 <option value="cool_r">cool reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
334 <option value="seismic_r">seismic reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
335 <option value="terrain_r">terrain reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
336 <option value="ocean_r">ocean reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
337 <option value="rainbow_r">rainbow reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
338 <option value="bone_r">bone reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
339 <option value="flag_r">flag reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
340 <option value="prism_r">prism reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
341 <option value="cubehelix_r">cubehelix reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
342 <option value="binary_r">binary reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
343 <option value="pink_r">pink reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
344 <option value="gray_r">gray reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
345 <option value="copper_r">copper reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
346 <option value="BrBG_r">BrBG reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
347 <option value="BuGn_r">BuGn reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
348 <option value="BuPu_r">BuPu reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
349 <option value="GnBu_r">GnBu reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
350 <option value="OrRd_r">OrRd reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
351 <option value="PiYG_r">PiYG reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
352 <option value="PRGn_r">PRGn reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
353 <option value="PuOr_r">PuOr reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
354 <option value="PuRd_r">PuRd reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
355 <option value="PuBu_r">PuBu reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
356 <option value="RdBu_r">RdBu reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
357 <option value="RdGy_r">RdGy reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
358 <option value="RdPu_r">RdPu reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
359 <option value="YlGn_r">YlGn reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
360 <option value="PuBuGn_r">PuBuGn reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
361 <option value="RdYlBu_r">RdYlBu reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
362 <option value="RdYlGn_r">RdYlGn reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
363 <option value="YlGnBu_r">YlGnBu reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
364 <option value="YlOrBr_r">YlOrBr reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
365 <option value="YlOrRd_r">YlOrRd reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
366 <option value="gist_gray_r">gist_gray reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
367 <option value="gist_stern_r">gist_stern reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
368 <option value="gist_earth_r">gist_earth reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
369 <option value="gist_yarg_r">gist_yarg reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
370 <option value="gist_ncar_r">gist_ncar reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
371 <option value="gist_rainbow_r">gist_rainbow reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
372 <option value="gist_heat_r">gist_heat reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
373 <option value="gnuplot_r">gnuplot reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
374 <option value="gnuplot2_r">gnuplot2 reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
375 <option value="CMRmap_r">CMRmap reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
376 <option value="bwr_r">bwr reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
377 <option value="hsv_r">hsv reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
378 <option value="brg_r">brg reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
379 <option value="jet_r">jet reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
380 <option value="afmhot_r">afmhot reversed</option>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
381 </param>
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
382
13
b4c5dd45778a Uploaded
bgruening
parents: 12
diff changeset
383 </xml>
0
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
384
d957e25e18a3 Uploaded
bgruening
parents:
diff changeset
385 </macros>