diff galaxy-conf/ZScore.xml @ 20:9d56b5b85740 draft

Reuploaded to see if tools get loaded correctly this time.
author timpalpant
date Fri, 15 Jun 2012 15:10:26 -0400
parents
children 727fbba02ef7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/galaxy-conf/ZScore.xml	Fri Jun 15 15:10:26 2012 -0400
@@ -0,0 +1,51 @@
+<tool id="WigZScore" name="Z-Score" version="1.2.0">
+  <description>a (Big)Wig file</description>
+  <command interpreter="sh">galaxyToolRunner.sh wigmath.ZScore -i $input $chr -o $output</command>
+  <inputs>
+      <param format="bigwig,wig" name="input" type="data" label="Z-score the data in" />
+      <param name="chr" type="boolean" checked="false" truevalue="-c" falsevalue="" label="Z-score chromosomes individually" />
+  </inputs>
+  <outputs>
+      <data format="wig" name="output" metadata_source="input" />
+  </outputs>
+  <tests>
+	  <test>
+	    <param name="input" value="wigmath1.wig"/>
+	    <output name="output" file="zscorer1.wig"/>
+	  </test>
+	  <test>
+	    <param name="input" value="wigmath2.wig"/>
+	    <output name="output" file="zscorer2.wig"/>
+	  </test>
+	  <test>
+	    <param name="input" value="wigmath3.wig"/>
+	    <output name="output" file="zscorer3.wig"/>
+	  </test>
+	  <test>
+	    <param name="input" value="wigmath1.bw"/>
+	    <output name="output" file="zscorer4.wig"/>
+	  </test>
+	  <test>
+	    <param name="input" value="wigmath2.bw"/>
+	    <output name="output" file="zscorer5.wig"/>
+	  </test>
+	  <test>
+	    <param name="input" value="wigmath3.bw"/>
+	    <output name="output" file="zscorer6.wig"/>
+	  </test>
+  </tests>
+  
+  <help>
+
+This tool will compute normal scores (Z-scores) for each of the values in a Wig file. For each base pair, the Z-scored value is equal to the deviance from the mean divided by the standard deviation (i.e. the number of standard deviations a value is away from the mean). The output file should have mean 0 and standard deviation 1.
+
+.. class:: infomark
+
+This tool is equivalent to using the **Mean Shift** tool to shift a Wig file to mean 0, then using the **Scale** tool to scale by 1/(standard deviation).
+
+.. class:: infomark
+
+**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.
+
+  </help>
+</tool>