diff galaxy-conf/MovingAverageSmooth.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 b43c420a6135
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/galaxy-conf/MovingAverageSmooth.xml	Fri Jun 15 15:10:26 2012 -0400
@@ -0,0 +1,71 @@
+<tool id="WigMovingAverage" name="Moving average smooth" version="1.1.0">
+  <description>a (Big)Wig file</description>
+  <command interpreter="sh">galaxyToolRunner.sh wigmath.MovingAverageSmooth -i $input -w $W -o $output</command>
+  <inputs>
+      <param name="input" type="data" format="bigwig,wig" label="Smooth the data in" />
+      <param name="W" type="integer" value="20" optional="true" label="Width of the moving average in base pairs" />
+  </inputs>
+  <outputs>
+      <data format="wig" name="output" metadata_source="input" />
+  </outputs>
+  <tests>
+    <!--<test>
+	    <param name="input" value="test.wig"/>
+	    <param name="dbkey" value="sacCer2"/>
+	    <param name="S" value="20"/>
+	    <param name="W" value="3"/>
+	    <output name="output" file="smoother.output1"/>
+	  </test>
+	  <test>
+	    <param name="input" value="test.bw"/>
+	    <param name="dbkey" value="sacCer2"/>
+	    <param name="S" value="20"/>
+	    <param name="W" value="3"/>
+	    <output name="output" file="smoother.output1"/>
+	  </test>
+	  <test>
+	    <param name="input" value="test.wig"/>
+	    <param name="dbkey" value="sacCer2"/>
+	    <param name="S" value="10"/>
+	    <param name="W" value="2"/>
+	    <output name="output" file="smoother.output2"/>
+	  </test>
+	  <test>
+	    <param name="input" value="test.bw"/>
+	    <param name="dbkey" value="sacCer2"/>
+	    <param name="S" value="10"/>
+	    <param name="W" value="2"/>
+	    <output name="output" file="smoother.output2"/>
+	  </test>
+	  <test>
+	    <param name="input" value="test.wig"/>
+	    <param name="dbkey" value="sacCer2"/>
+	    <param name="S" value="50"/>
+	    <param name="W" value="1"/>
+	    <output name="output" file="smoother.output3"/>
+	  </test>
+	  <test>
+	    <param name="input" value="test.bw"/>
+	    <param name="dbkey" value="sacCer2"/>
+	    <param name="S" value="5"/>
+	    <param name="W" value="1"/>
+	    <output name="output" file="smoother.output3"/>
+	  </test>-->
+  </tests>
+  
+<help>
+  
+This tool smooths genomic data with a mean_ filter of the specified width.
+
+.. _mean: http://en.wikipedia.org/wiki/Moving_average
+
+.. class:: warningmark
+
+Note that for the moving average to be perfectly symmetric, the window should be an odd number of base pairs.
+
+.. 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>