annotate galaxy-conf/Downsample.xml @ 15:3e477c7e0e73 draft

Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
author timpalpant
date Sat, 09 Jun 2012 16:03:59 -0400
parents eb53be9a09f4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
1 <tool id="WigDownsample" name="Downsample" version="1.1.0">
12
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
2 <description>a (Big)Wig file</description>
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
3 <command interpreter="sh">galaxyToolRunner.sh wigmath.Downsample -i $input -m $metric -w $window -o $output</command>
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
4 <inputs>
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
5 <param format="bigwig,wig" name="input" type="data" label="Original data" />
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
6 <param name="window" type="integer" value="100" label="Window size (bp)" />
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
7 <param name="metric" type="select" label="Downsampling method">
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
8 <option value="mean">Mean</option>
13
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
9 <option value="min">Minimum</option>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
10 <option value="max">Maximum</option>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
11 <option value="coverage">Coverage</option>
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
12 <option value="total">Total</option>
12
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
13 </param>
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
14 </inputs>
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
15 <outputs>
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
16 <data format="wig" name="output" metadata_source="input" />
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
17 </outputs>
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
18
15
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
19 <tests>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
20 <test>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
21 <param name="input" value="wigmath1.wig"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
22 <param name="window" value="1"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
23 <param name="metric" value="mean"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
24 <output name="output" file="downsample1.wig"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
25 </test>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
26 <test>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
27 <param name="input" value="wigmath2.bw"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
28 <param name="window" value="5"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
29 <param name="metric" value="max"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
30 <output name="output" file="downsample2.wig"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
31 </test>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
32 <test>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
33 <param name="input" value="wigmath3.wig"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
34 <param name="window" value="100"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
35 <param name="metric" value="total"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
36 <output name="output" file="downsample3.wig"/>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
37 </test>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
38 </tests>
3e477c7e0e73 Update normalization tools to allow normalizing by chromosome (Z-scorer, scale, etc.) Add new tool to convert any interval file to Bed format. Miscellaneous bug fixes.
timpalpant
parents: 13
diff changeset
39
12
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
40 <help>
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
41
13
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
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.
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
43
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
44 -----
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
45
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
46 **Downsampling Methods**
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
47
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
48 - **Mean:** the arithmetic mean of the values in the original data window
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
49 - **Minimum:** the least value in the original data window
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
50 - **Maximum:** the greatest value in the original data window
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
51 - **Coverage:** the fraction of bases with values in the original window
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
52 - **Total:** the sum of all values in the original data window
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
53
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
54 -----
eb53be9a09f4 Uploaded
timpalpant
parents: 12
diff changeset
55
12
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
56 .. class:: infomark
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
57
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
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.
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
59
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
60 </help>
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents:
diff changeset
61 </tool>