comparison galaxy-conf/Downsample.xml @ 24:a77e126ae856 draft

Reupload since last upload did not load correctly
author timpalpant
date Tue, 19 Jun 2012 22:15:09 -0400
parents 9d56b5b85740
children b43c420a6135
comparison
equal deleted inserted replaced
23:01d5d20eaadd 24:a77e126ae856
1 <tool id="WigDownsample" name="Downsample" version="1.1.0">
2 <description>a (Big)Wig file</description>
3 <command interpreter="sh">galaxyToolRunner.sh wigmath.Downsample -i $input -m $metric -w $window -o $output</command>
4 <inputs>
5 <param format="bigwig,wig" name="input" type="data" label="Original data" />
6 <param name="window" type="integer" value="100" label="Window size (bp)" />
7 <param name="metric" type="select" label="Downsampling method">
8 <option value="mean">Mean</option>
9 <option value="min">Minimum</option>
10 <option value="max">Maximum</option>
11 <option value="coverage">Coverage</option>
12 <option value="total">Total</option>
13 </param>
14 </inputs>
15 <outputs>
16 <data format="wig" name="output" metadata_source="input" />
17 </outputs>
18
19 <tests>
20 <test>
21 <param name="input" value="wigmath1.wig"/>
22 <param name="window" value="1"/>
23 <param name="metric" value="mean"/>
24 <output name="output" file="downsample1.wig"/>
25 </test>
26 <test>
27 <param name="input" value="wigmath2.bw"/>
28 <param name="window" value="5"/>
29 <param name="metric" value="max"/>
30 <output name="output" file="downsample2.wig"/>
31 </test>
32 <test>
33 <param name="input" value="wigmath3.wig"/>
34 <param name="window" value="100"/>
35 <param name="metric" value="total"/>
36 <output name="output" file="downsample3.wig"/>
37 </test>
38 </tests>
39
40 <help>
41
42 This tool can be used to reduce the resolution and file size of Wig files for easier upload to UCSC. Data is downsampled in non-overlapping windows starting from the beginning of each chromosome. Each window can be downsampled as the mean, minimum, maximum, total, or coverage of the original data.
43
44 -----
45
46 **Downsampling Methods**
47
48 - **Mean:** the arithmetic mean of the values in the original data window
49 - **Minimum:** the least value in the original data window
50 - **Maximum:** the greatest value in the original data window
51 - **Coverage:** the fraction of bases with values in the original window
52 - **Total:** the sum of all values in the original data window
53
54 -----
55
56 .. class:: infomark
57
58 **TIP:** If your dataset does not appear in the pulldown menu, it means that it is not in Wig or BigWig format. Use "edit attributes" to set the correct format if it was not detected correctly.
59
60 </help>
61 </tool>