view reduce_by_merge.xml @ 0:4599e6256e81 draft

planemo upload for repository https://github.com/sanbi-sa/tools-sanbi-uwc commit bea01cf35a3cecf25b2c64197736297d88f05fe6
author sanbi-uwc
date Mon, 16 Jan 2017 08:47:24 -0500
parents
children 8d6874efe309
line wrap: on
line source

<?xml version="1.0" encoding="utf-8" ?>
<tool id="reduce_by_merge" name="Reduce by Merge" version="0.0.1">
  <description>Concatenate a collection of FASTA datasets into a single FASTA dataset</description>
  <command detect_errors="aggressive"><![CDATA[
    cat
    #for $input in $input_datasets
      '${input}'
    #end for
    > '${output}'
    ]]>
  </command>
  <inputs>
    <param name="input_datasets" format="fasta" type="data_collection" collection_type="list" label="Input collection of datasets" />
  </inputs>
  <outputs>
    <data name="output" label="Merge ${on_string}" format="fasta"/>
  </outputs>
  <tests>
    <test>
      <param name="input_datasets">
        <collection type="list">
          <element name="input_datasets.input1" value="input1.fasta" />
          <element name="input_datasets.input2" value="input2.fasta" />
          <element name="input_datasets.input3" value="input3.fasta" />
        </collection>
      </param>
      <output name="output" value="output1.fasta" />
    </test>
  </tests>
  <help><![CDATA[
    Merge all elements of the input collection into a single output dataset by concatenating them together.
    ]]>
  </help>
  <citations>
  </citations>
</tool>