Mercurial > repos > bgruening > deeptools
comparison deepTools_macros.xml @ 65:9bee2c86eeb1 draft
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit ab1ab06323702186cf0c883d5774720cbb822cb5-dirty
author | iuc |
---|---|
date | Mon, 25 May 2015 05:16:10 -0400 |
parents | 07513cab0338 |
children | 1dbd76a58d8b |
comparison
equal
deleted
inserted
replaced
64:627004611e98 | 65:9bee2c86eeb1 |
---|---|
11 <when value="no" /> | 11 <when value="no" /> |
12 <when value="yes"> | 12 <when value="yes"> |
13 <expand macro="doNotExtendPairedEnds" /> | 13 <expand macro="doNotExtendPairedEnds" /> |
14 <expand macro="ignoreDuplicates" /> | 14 <expand macro="ignoreDuplicates" /> |
15 <expand macro="minMappingQuality" /> | 15 <expand macro="minMappingQuality" /> |
16 <param name="includeZeros" type="boolean" truevalue="--includeZeros" falsevalue="" | 16 <expand macro="includeZeros" /> |
17 label="Include zeros" | 17 <expand macro="zMin_zMax" /> |
18 help="If set, then regions with zero counts for *all* BAM files given are included. The default behavior is to ignore those cases. (--includeZeros)" /> | |
19 <param name="zMin" type="integer" value="" optional="true" label="Minimum value for the heatmap intensities" | |
20 help="If not specified the value is set automatically. (--zMin)"/> | |
21 <param name="zMax" type="integer" value="" optional="true" label="Maximum value for the heatmap intensities" | |
22 help="If not specified the value is set automatically. (--zMax)"/> | |
23 <expand macro="colormap" /> | 18 <expand macro="colormap" /> |
24 </when> | 19 </when> |
25 </conditional> | 20 </conditional> |
21 </xml> | |
22 | |
23 | |
24 <xml name="bigwigCorrelate_mode_actions"> | |
25 | |
26 <expand macro="region_limit_operation" /> | |
27 | |
28 <conditional name="advancedOpt"> | |
29 <param name="showAdvancedOpt" type="select" label="Show advanced options" > | |
30 <option value="no" selected="true">no</option> | |
31 <option value="yes">yes</option> | |
32 </param> | |
33 <when value="no" /> | |
34 <when value="yes"> | |
35 <expand macro="includeZeros" /> | |
36 <expand macro="zMin_zMax" /> | |
37 <expand macro="colormap" /> | |
38 <expand macro="plotTitle" /> | |
39 <expand macro="plotNumbers" /> | |
40 </when> | |
41 </conditional> | |
42 </xml> | |
43 | |
44 | |
45 <xml name="includeZeros"> | |
46 <param name="includeZeros" type="boolean" truevalue="--includeZeros" falsevalue="" | |
47 label="Include zeros" | |
48 help="If set, then regions with zero counts for *all* BAM files given are included. The default behavior is to ignore those cases. (--includeZeros)" /> | |
49 </xml> | |
50 <xml name="zMin_zMax"> | |
51 <param name="zMin" type="integer" value="" optional="true" label="Minimum value for the heatmap intensities" | |
52 help="If not specified the value is set automatically. (--zMin)"/> | |
53 <param name="zMax" type="integer" value="" optional="true" label="Maximum value for the heatmap intensities" | |
54 help="If not specified the value is set automatically. (--zMax)"/> | |
26 </xml> | 55 </xml> |
27 | 56 |
28 <xml name="region_limit_operation"> | 57 <xml name="region_limit_operation"> |
29 <param name="region" type="text" value="" | 58 <param name="region" type="text" value="" |
30 label="Region of the genome to limit the operation to" | 59 label="Region of the genome to limit the operation to" |
31 help="This is useful when testing parameters to reduce the computing time. The format is chr:start:end, for example "chr10" or "chr10:456700:891000". (--region)" /> | 60 help="This is useful when testing parameters to reduce the computing time. The format is chr:start:end, for example "chr10" or "chr10:456700:891000". (--region)" /> |
32 </xml> | 61 </xml> |
62 | |
33 <token name="@THREADS@">--numberOfProcessors "\${GALAXY_SLOTS:-4}"</token> | 63 <token name="@THREADS@">--numberOfProcessors "\${GALAXY_SLOTS:-4}"</token> |
34 <token name="@WRAPPER_VERSION@">1.5.9.2</token> | 64 <token name="@WRAPPER_VERSION@">1.5.9.2</token> |
35 <xml name="requirements"> | 65 <xml name="requirements"> |
36 <requirements> | 66 <requirements> |
37 <requirement type="binary">@BINARY@</requirement> | 67 <requirement type="binary">@BINARY@</requirement> |
38 <requirement type="package" >deepTools</requirement> | 68 <requirement type="package" >deepTools</requirement> |
39 <requirement type="package" version="1.5.9">deepTools</requirement> | 69 <requirement type="package" version="1.5.9">deepTools</requirement> |
40 <yield /> | 70 <yield /> |
41 </requirements> | 71 </requirements> |
72 <expand macro="stdio" /> | |
42 <version_command>@BINARY@ --version</version_command> | 73 <version_command>@BINARY@ --version</version_command> |
43 </xml> | 74 </xml> |
44 | 75 |
45 <xml name="kmeans_clustering"> | 76 <xml name="kmeans_clustering"> |
46 <conditional name="used_multiple_regions"> | 77 <conditional name="used_multiple_regions"> |
75 #end if | 106 #end if |
76 #end if | 107 #end if |
77 #end if | 108 #end if |
78 </token> | 109 </token> |
79 | 110 |
111 <xml name="samFlag"> | |
112 <param name="samFlag" type="integer" optional="true" value="" | |
113 label="Filter reads based on the SAM flag" | |
114 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)"/> | |
115 </xml> | |
116 <xml name="plotNumbers"> | |
117 <param name="plotNumbers" type="boolean" truevalue="--plotNumbers" falsevalue="" | |
118 label="Plot the correlation value" | |
119 help="If set, then the correlation number is plotted on top of the heatmap. (--plotNumbers)"/> | |
120 </xml> | |
80 <xml name="doNotExtendPairedEnds"> | 121 <xml name="doNotExtendPairedEnds"> |
81 <param name="doNotExtendPairedEnds" type="boolean" truevalue="--doNotExtendPairedEnds" falsevalue="" | 122 <param name="doNotExtendPairedEnds" type="boolean" truevalue="--doNotExtendPairedEnds" falsevalue="" |
82 label="Do not extend paired ends" | 123 label="Do not extend paired ends" |
83 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)"/> | 124 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)"/> |
84 </xml> | 125 </xml> |
139 | 180 |
140 .. _Bioinformatics and Deep-Sequencing Unit: http://www3.ie-freiburg.mpg.de/facilities/research-facilities/bioinformatics-and-deep-sequencing-unit/ | 181 .. _Bioinformatics and Deep-Sequencing Unit: http://www3.ie-freiburg.mpg.de/facilities/research-facilities/bioinformatics-and-deep-sequencing-unit/ |
141 .. _Max Planck Institute for Immunobiology and Epigenetics: http://www3.ie-freiburg.mpg.de | 182 .. _Max Planck Institute for Immunobiology and Epigenetics: http://www3.ie-freiburg.mpg.de |
142 .. _help site: https://github.com/fidelram/deepTools/wiki/ | 183 .. _help site: https://github.com/fidelram/deepTools/wiki/ |
143 | 184 |
144 **References** | |
145 | |
146 If you use this Galaxy tool in work leading to a scientific publication please | |
147 cite the following paper: | |
148 | |
149 </token> | 185 </token> |
150 <xml name="citations"> | 186 <xml name="citations"> |
151 <citations> | 187 <citations> |
152 <citation type="doi">10.1093/nar/gku365</citation> | 188 <citation type="doi">10.1093/nar/gku365</citation> |
153 <yield /> | 189 <yield /> |
160 label="Bam file" | 196 label="Bam file" |
161 help="The BAM file must be sorted."/> | 197 help="The BAM file must be sorted."/> |
162 <param name="label" type="text" size="30" optional="true" value="" | 198 <param name="label" type="text" size="30" optional="true" value="" |
163 label="Label" | 199 label="Label" |
164 help="Label to use in the output. If not given the dataset name will be used instead."/> | 200 help="Label to use in the output. If not given the dataset name will be used instead."/> |
165 </repeat> | 201 </repeat> |
202 </xml> | |
203 | |
204 <xml name="multiple_input_bigwigs"> | |
205 <repeat name="input_files" title="BigWig files" min="2"> | |
206 <param name="bigwigfile" type="data" format="bigwig" | |
207 label="Bigwig file" | |
208 help="The Bigwig file must be sorted."/> | |
209 <param name="label" type="text" size="30" optional="true" value="" | |
210 label="Label" | |
211 help="Label to use in the output. If not given the dataset name will be used instead."/> | |
212 </repeat> | |
213 </xml> | |
214 | |
215 <xml name="plotTitle"> | |
216 <param name="plotTitle" type="text" value="" size="30" optional="True" | |
217 label="Title of the plot" | |
218 help="Title of the plot, to be printed on top of the generated image. (--plotTitle)" /> | |
166 </xml> | 219 </xml> |
167 | 220 |
168 <token name="@multiple_input_bams@"> | 221 <token name="@multiple_input_bams@"> |
169 #import tempfile | 222 #import tempfile |
170 #set $temp_dir = os.path.abspath(tempfile.mkdtemp()) | 223 #set $temp_dir = os.path.abspath(tempfile.mkdtemp()) |
181 ##set $files += [str($i.bamfile)] | 234 ##set $files += [str($i.bamfile)] |
182 #if str($i.label.value) != "": | 235 #if str($i.label.value) != "": |
183 #set $labels += ["\"%s\"" % ($i.label.value)] | 236 #set $labels += ["\"%s\"" % ($i.label.value)] |
184 #else | 237 #else |
185 #set $labels += ["\"%s\"" % ($i.bamfile.name)] | 238 #set $labels += ["\"%s\"" % ($i.bamfile.name)] |
239 #end if | |
240 #end for | |
241 </token> | |
242 | |
243 <token name="@multiple_input_bigwigs@"> | |
244 #import tempfile | |
245 #set $temp_dir = os.path.abspath(tempfile.mkdtemp()) | |
246 #set files=[] | |
247 #set labels=[] | |
248 #for $i in $input_files: | |
249 #set $temp_input_handle = tempfile.NamedTemporaryFile( dir=$temp_dir ) | |
250 #set $temp_input_path = $temp_input_handle.name | |
251 #silent $temp_input_handle.close() | |
252 #silent os.system("ln -s %s %s.bw" % (str($i.bigwigfile), $temp_input_path)) | |
253 #silent $files.append('%s.bw' % $temp_input_path) | |
254 | |
255 ##set $files += [str($i.bigwigfile)] | |
256 #if str($i.label.value) != "": | |
257 #set $labels += ["\"%s\"" % ($i.label.value)] | |
258 #else | |
259 #set $labels += ["\"%s\"" % ($i.bigwigfile.name)] | |
186 #end if | 260 #end if |
187 #end for | 261 #end for |
188 </token> | 262 </token> |
189 | 263 |
190 <xml name="reference_genome_source"> | 264 <xml name="reference_genome_source"> |