view galaxy-conf/LogTransform.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="WigLogTransform" name="Log transform" version="1.1.0">
  <description>a (Big)Wig file</description>
  <command interpreter="sh">galaxyToolRunner.sh wigmath.LogTransform -i $input -b $base -o $output</command>
  <inputs>
    <param format="bigwig,wig" name="input" type="data" label="(Big)Wig file" />
    <param name="base" type="integer" value="2" label="Logarithm base" />
  </inputs>
  <outputs>
    <data format="wig" name="output" metadata_source="input" />
  </outputs>
  <tests>
	  <test>
	    <param name="input" value="wigmath1.wig"/>
	    <param name="base" value="2"/>
	    <output name="output" file="logger1.wig"/>
	  </test>
	  <test>
	    <param name="input" value="wigmath2.wig"/>
	    <param name="base" value="3"/>
	    <output name="output" file="logger2.wig"/>
	  </test>
	  <test>
	    <param name="input" value="wigmath3.wig"/>
	    <param name="base" value="10"/>
	    <output name="output" file="logger3.wig"/>
	  </test>
	  <test>
	    <param name="input" value="wigmath1.bw"/>
	    <param name="base" value="2"/>
	    <output name="output" file="logger4.wig"/>
	  </test>
	  <test>
	    <param name="input" value="wigmath2.bw"/>
	    <param name="base" value="3"/>
	    <output name="output" file="logger5.wig"/>
	  </test>
	  <test>
	    <param name="input" value="wigmath3.bw"/>
	    <param name="base" value="10"/>
	    <output name="output" file="logger6.wig"/>
	  </test>
  </tests>
  
  <help>

.. 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>