view merge.xml @ 0:49bd84e136c7 draft

planemo upload commit f3c3ccefd8615c32713e0b0e8d231ce5151b2714-dirty
author nml
date Thu, 10 Dec 2015 12:30:50 -0500
parents
children a78a70d4806c
line wrap: on
line source

<tool id="collapse_dataset" name="Collapse Collection" version="1.0">
  <description>Collapse collection into single dataset in order of the collection</description>
  <command>
    cat 
    #for $f in $input_list# $f #end for#
    > $output
  </command>
  <inputs>
     <param name="input_list" type="data_collection" label="Collection of files to collapse into single dataset" help="" optional="false" collection_type="list" />
  </inputs>
  <outputs>
    <data name="output" format_source="input_list" ></data>
  </outputs>
  <tests>
	<test>
	        <param name="input_list">
        	  <collection type="list">
	            <element name="input1" value="input1" />
        	    <element name="input2" value="input2" />
	          </collection>
		</param>
		<output name="output" file="answer.txt"/>
	</test>
  </tests>
  <help>
	Single tool that combines a list collection into a single file
  </help>
  <citations>
  </citations>
</tool>