view galaxy-conf/GeneTrackToWig.xml @ 22:727fbba02ef7 draft

Fix a bug in GeneTrackToWig where +/- strands were not merged correctly. Add option to vary the chunk size of tools that process chromosomes in chunks.
author timpalpant
date Tue, 19 Jun 2012 22:09:23 -0400
parents 9d56b5b85740
children b43c420a6135
line wrap: on
line source

<tool id="GeneTrackToWig" name="GeneTrack to Wig" version="1.1.0">
  <description>converter</description>
  <command interpreter="sh">galaxyToolRunner.sh converters.GeneTrackToWig -i $input -s $shift $zero -a ${chromInfo} -o $output</command>
  <inputs>
      <param name="input" type="data" format="tabular" label="Input GeneTrack index" />
      <param name="shift" type="integer" value="0" optional="true" label="Shift +/- strand counts by this amount when merging" />
  	  <param name="zero" type="boolean" checked="false" truevalue="-z" falsevalue="" label="Assume zero where there is no data (default is NaN)" />
  </inputs>
  <outputs>
      <data name="output" format="wig" metadata_source="input" />
  </outputs>
	<tests>
	  <test>
	    <param name="input" value="test.genetrack" ftype="tabular"/>
	    <param name="shift" value="73"/>
	    <param name="zero" value="true"/>
	    <param name="chromInfo" value="sacCer2"/>
	    <output name="output" file="geneTrackToWig1.wig"/>
    </test>
    <test>
	    <param name="input" value="test.genetrack" ftype="tabular"/>
	    <param name="shift" value="0"/>
	    <param name="zero" value="false"/>
	    <param name="chromInfo" value="sacCer2"/>
	    <output name="output" file="geneTrackToWig2.wig"/>
    </test>
  </tests>
<help>
  
This tool will convert GeneTrack_ format files into Wig files, optionally offsetting the + and - strand counts by a specified value before merging them.

.. _GeneTrack: http://atlas.bx.psu.edu/genetrack/docs/genetrack.html

.. class:: warningmark
	
This tool requires GeneTrack formatted data. If you have tabular data that was not correctly autodetected, change the metadata by clicking on the pencil icon for the dataset.

</help>
</tool>