view galaxy-conf/StripMatrix.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="StripMatrix" name="Strip headers" version="1.1.0">
  <description>from an aligned matrix</description>
  <command interpreter="sh">galaxyToolRunner.sh visualization.StripMatrix -i $input -o $output</command>
  <inputs>
    <param format="tabular" name="input" type="data" label="Aligned matrix" />
  </inputs>
  <outputs>
    <data format="tabular" name="output" metadata="input" />
  </outputs>
  <tests>
    <test>
      <param name="input" value="test.matrix2png.txt"/>
	    <output name="output" file="stripMatrix.txt"/>
    </test>
  </tests>
  
  <help>
    
This tool is intended to strip the column/row headers off of an aligned matrix (in matrix2png format) for easy import into Matlab or other software where only the data values are required. It removes the first row and first column from a tabular file.

-----

**Example**

If the following tabular matrix is used as input ::

    ID    col1  col2  col3
    row1   2     4     5
    row2   5     1     1
  
then the following tabular matrix will be produced as output ::

    2     4     5
    5     1     1

  </help>
</tool>