18
|
1 <tool id="catbash" name="Concatenate datasets">
|
|
2 <description>tail-to-head</description>
|
|
3 <command interpreter="python">
|
|
4 bash_command_executer.py cat
|
|
5 $input1
|
|
6 #for $q in $queries
|
|
7 ${q.input2}
|
|
8 #end for
|
|
9 > $out_file1
|
|
10 </command>
|
|
11 <inputs>
|
|
12 <param name="input1" type="data" label="Concatenate Dataset"/>
|
|
13 <repeat name="queries" title="Dataset">
|
|
14 <param name="input2" type="data" label="Select" />
|
|
15 </repeat>
|
|
16 </inputs>
|
|
17 <outputs>
|
|
18 <data name="out_file1" format="input" metadata_source="input1"/>
|
|
19 </outputs>
|
|
20 <tests>
|
|
21 <test>
|
|
22 <param name="input1" value="1.bed"/>
|
|
23 <param name="input2" value="2.bed"/>
|
|
24 <output name="out_file1" file="cat_wrapper_out1.bed"/>
|
|
25 </test>
|
|
26 <!--TODO: if possible, enhance the underlying test code to handle this test
|
|
27 the problem is multiple params with the same name "input2"
|
|
28 <test>
|
|
29 <param name="input1" value="1.bed"/>
|
|
30 <param name="input2" value="2.bed"/>
|
|
31 <param name="input2" value="3.bed"/>
|
|
32 <output name="out_file1" file="cat_wrapper_out2.bed"/>
|
|
33 </test>
|
|
34 -->
|
|
35 </tests>
|
|
36 <help>
|
|
37
|
|
38 no help
|
|
39
|
|
40 </help>
|
|
41 </tool>
|