Mercurial > repos > nml > collapse_collections
comparison merge.xml @ 0:49bd84e136c7 draft
planemo upload commit f3c3ccefd8615c32713e0b0e8d231ce5151b2714-dirty
author | nml |
---|---|
date | Thu, 10 Dec 2015 12:30:50 -0500 |
parents | |
children | a78a70d4806c |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:49bd84e136c7 |
---|---|
1 <tool id="collapse_dataset" name="Collapse Collection" version="1.0"> | |
2 <description>Collapse collection into single dataset in order of the collection</description> | |
3 <command> | |
4 cat | |
5 #for $f in $input_list# $f #end for# | |
6 > $output | |
7 </command> | |
8 <inputs> | |
9 <param name="input_list" type="data_collection" label="Collection of files to collapse into single dataset" help="" optional="false" collection_type="list" /> | |
10 </inputs> | |
11 <outputs> | |
12 <data name="output" format_source="input_list" ></data> | |
13 </outputs> | |
14 <tests> | |
15 <test> | |
16 <param name="input_list"> | |
17 <collection type="list"> | |
18 <element name="input1" value="input1" /> | |
19 <element name="input2" value="input2" /> | |
20 </collection> | |
21 </param> | |
22 <output name="output" file="answer.txt"/> | |
23 </test> | |
24 </tests> | |
25 <help> | |
26 Single tool that combines a list collection into a single file | |
27 </help> | |
28 <citations> | |
29 </citations> | |
30 </tool> |