view galaxy-conf/StripMatrix.xml @ 13:eb53be9a09f4 draft

Uploaded
author timpalpant
date Sat, 19 May 2012 10:36:45 -0400
parents 81d5b81fb3c2
children 3e477c7e0e73
line wrap: on
line source

<tool id="StripMatrix" name="Strip headers" version="1.0.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>