0
|
1 <tool id="merge" name="Merge Collections" version="1.0.0">
|
|
2 <description>
|
|
3 Merge a Collection of Files
|
|
4 </description>
|
|
5 <command>
|
|
6
|
|
7 touch list_of_files.txt;
|
|
8 #for $f in $data_collection:
|
|
9 echo $f >> list_of_files.txt;
|
|
10 #end for
|
|
11
|
|
12 Rscript $__tool_directory__/merge.R list_of_files.txt $order $output $header 2>&1;
|
|
13
|
|
14 </command>
|
|
15 <inputs>
|
|
16 <param type="data_collection" format="txt" collection_type="list" name="data_collection"/>
|
|
17 <param type="data" format="txt" name="order" label="Contig Order File"/>
|
|
18 <param type="boolean" name="header" label="Do Files Contain Headers?" checked="True" truevalue="TRUE" falsevalue="FALSE"/>
|
|
19 </inputs>
|
|
20 <outputs>
|
|
21 <data format="txt" name="output"/>
|
|
22 </outputs>
|
|
23 </tool>
|