view galaxy-conf/GaussianSmooth.xml @ 21:51b28ce6ef7e draft

Improve file type autodetection
author timpalpant
date Mon, 18 Jun 2012 14:50:31 -0400
parents 9d56b5b85740
children b43c420a6135
line wrap: on
line source

<tool id="WigGaussianSmooth" name="Gaussian smooth" version="1.1.0">
  <description>a (Big)Wig file</description>
  <command interpreter="sh">galaxyToolRunner.sh wigmath.GaussianSmooth -i $input -s $S -o $output</command>
  <inputs>
      <param name="input" type="data" format="bigwig,wig" label="Smooth the data in" />
      <param name="S" type="integer" value="20" optional="true" label="Standard deviation of the Gaussian in base pairs" />
  </inputs>
  <outputs>
      <data format="wig" name="output" metadata_source="input" />
  </outputs>
  <tests>
    <test>
	    <param name="input" value="wigmath1.wig"/>
	    <param name="S" value="20"/>
	    <output name="output" file="gaussian1.wig"/>
	  </test>
	  <test>
	    <param name="input" value="wigmath2.bw"/>
	    <param name="S" value="3"/>
	    <output name="output" file="gaussian2.wig"/>
	  </test>
	  <test>
	    <param name="input" value="wigmath3.wig"/>
	    <param name="S" value="40"/>
	    <output name="output" file="gaussian3.wig"/>
	  </test>
  </tests>
  
<help>
  
This tool smooths genomic data with an area-preserving Gaussian_ filter. The Gaussian filter is computed out to +/- 3 standard deviations.

.. _Gaussian: http://en.wikipedia.org/wiki/Gaussian_filter
  
.. 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>