comparison dbkit_merge.xml @ 0:372a29b9fe4b draft

"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
author guerler
date Tue, 23 Mar 2021 23:07:22 +0000
parents
children 5b97150fe325
comparison
equal deleted inserted replaced
-1:000000000000 0:372a29b9fe4b
1 <tool id="ffindex_dbkit_merge" name="DBKit Merge" version="0.1.1" license="MIT" profile="20.01">
2 <description>two databases</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements" />
7 <command detect_errors="exit_code"><![CDATA[
8 dbkit_merge.py
9 @db_source@
10 @db_source2@
11 -oi '$outindex'
12 -od '$outdata'
13 -log '$logfile'
14 ]]> </command>
15 <inputs>
16 <expand macro="db_source" />
17 <expand macro="db_source2" />
18 <expand macro="logfile" />
19 </inputs>
20 <outputs>
21 <data name="outindex" format="ffindex" label="DBKit Merged Index" />
22 <data name="outdata" format="ffdata" label="DBKit Merged Database" />
23 <data format="txt" name="logfile" label="DBKit Merged Log">
24 <filter>logfile</filter>
25 </data>
26 </outputs>
27 <tests>
28 <test>
29 <conditional name="db_source">
30 <param name="db_source_selector" value="history" />
31 <param name="ffindex" value="create/first.ffindex" />
32 <param name="ffdata" value="create/first.ffdata" />
33 </conditional>
34 <conditional name="db_source">
35 <param name="db_source_selector" value="history" />
36 <param name="ffindex" value="merge/second.ffindex" />
37 <param name="ffdata" value="merge/second.ffdata" />
38 </conditional>
39 <output name="outindex" file="merge/result.ffindex" />
40 <output name="outdata" file="merge/result.ffdata" />
41 </test>
42 <test>
43 <conditional name="db_source">
44 <param name="db_source_selector" value="indexed" />
45 <param name="ffindex" value="first" />
46 </conditional>
47 <conditional name="db_source">
48 <param name="db_source_selector" value="indexed" />
49 <param name="ffindex" value="second" />
50 </conditional>
51 <output name="outindex" file="merge/result.ffindex" />
52 <output name="outdata" file="merge/result.ffdata" />
53 </test>
54 </tests>
55 <help><![CDATA[
56
57 **What it does**
58
59 This database creation tool merges two pairs of ffindex/ffdata entries into a single ffindex/ffdata pair.
60
61 ]]> </help>
62 <expand macro="citations" />
63 </tool>