view tablemerger.xml @ 3:1f00946b18c2 draft default tip

Uploaded
author rijst
date Wed, 12 Dec 2012 09:09:45 -0500
parents cc961e057668
children
line wrap: on
line source

<tool id="tablemerger" name="SNP table merger">
  <description>merges any number of SNP tables into one</description>
  <command interpreter="python">tablemerger.py $output 
    #for $f in $inputs:
    $f.in
    #end for
  </command>
  <inputs>
    <repeat name="inputs" title="Input files">
      <param name="in" type="data" format="tabular" label="Input SNP table" />
    </repeat>
  </inputs>
  <outputs>
    <data name="output" format="tabular" label="${tool.name} on various SNP tables" />
  </outputs>
  <help>
This tool takes any number of tab-delimited SNP tables and merges them together.It puts SNPs at the same position on the same line and ignores bases that are the same in two strains.
Example input:
Position Ref Strain1
123 A G
125 C T

Position Ref Strain2
123 A T
124 G C
125 C T

Would give output:
Position Ref Strain1 Strain2
123 A G T
124 G   C
125 C T T
  </help>
</tool>