annotate galaxy-conf/Scale.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 81d5b81fb3c2
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: 12
diff changeset
1 <tool id="WigScale" name="Scale" version="1.2.0">
4
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
2 <description>a (Big)Wig file</description>
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: 12
diff changeset
3 <command interpreter="sh">galaxyToolRunner.sh wigmath.Scale -i $input -m $M $chr -o $output</command>
4
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
4 <inputs>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
5 <param format="bigwig,wig" name="input" type="data" label="Scale the data in" />
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
6 <param name="M" type="float" value="0" label="Multiply by (leave 0 to scale by 1/mean)" />
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: 12
diff changeset
7 <param name="chr" type="boolean" checked="false" truevalue="-c" falsevalue="" label="Scale chromosomes to 1/mean individually (no effect if scale factor is specified)" />
4
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
8 </inputs>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
9 <outputs>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
10 <data format="wig" name="output" metadata_source="input" />
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
11 </outputs>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
12 <tests>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
13 <!--<test>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
14 <param name="input" value="wigmath.input1"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
15 <param name="T" value="0"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
16 <param name="dbkey" value="sacCer2"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
17 <output name="output" file="percenter.output1"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
18 </test>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
19 <test>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
20 <param name="input" value="wigmath.input1.bw"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
21 <param name="T" value="0"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
22 <param name="dbkey" value="sacCer2"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
23 <output name="output" file="percenter.output1"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
24 </test>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
25 <test>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
26 <param name="input" value="wigmath.input2"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
27 <param name="T" value="2"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
28 <param name="dbkey" value="sacCer2"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
29 <output name="output" file="percenter.output2"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
30 </test>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
31 <test>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
32 <param name="input" value="wigmath.input2.bw"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
33 <param name="T" value="2"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
34 <param name="dbkey" value="sacCer2"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
35 <output name="output" file="percenter.output2"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
36 </test>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
37 <test>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
38 <param name="input" value="wigmath.input3"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
39 <param name="T" value="1000000"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
40 <param name="dbkey" value="sacCer2"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
41 <output name="output" file="percenter.output3"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
42 </test>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
43 <test>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
44 <param name="input" value="wigmath.input3.bw"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
45 <param name="T" value="1000000"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
46 <param name="dbkey" value="sacCer2"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
47 <output name="output" file="percenter.output3"/>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
48 </test>-->
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
49 </tests>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
50
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
51 <help>
12
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 4
diff changeset
52
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: 12
diff changeset
53 This tool will multiply all values in a Wig file by a scale factor. For example, this can be used to normalize to read depth by multiplying by 1/(# reads). By default, the tool will scale to 1/(mean value), which is equivalent to dividing by coverage and multiplying by the size of the genome. The resulting output file should have mean 1.
12
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 4
diff changeset
54
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 4
diff changeset
55 .. class:: infomark
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 4
diff changeset
56
81d5b81fb3c2 Added help for all tools in the toolkit. Many bug fixes and a few new nucleosome tools.
timpalpant
parents: 4
diff changeset
57 **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: 4
diff changeset
58
4
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
59 </help>
4b32ed5d4a1b Uploaded
timpalpant
parents:
diff changeset
60 </tool>