Mercurial > repos > guerler > ffindex_dbkit_merge
diff dbkit_merge.xml @ 0:372a29b9fe4b draft
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
author | guerler |
---|---|
date | Tue, 23 Mar 2021 23:07:22 +0000 |
parents | |
children | 5b97150fe325 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dbkit_merge.xml Tue Mar 23 23:07:22 2021 +0000 @@ -0,0 +1,63 @@ +<tool id="ffindex_dbkit_merge" name="DBKit Merge" version="0.1.1" license="MIT" profile="20.01"> + <description>two databases</description> + <macros> + <import>macros.xml</import> + </macros> + <expand macro="requirements" /> + <command detect_errors="exit_code"><![CDATA[ + dbkit_merge.py + @db_source@ + @db_source2@ + -oi '$outindex' + -od '$outdata' + -log '$logfile' + ]]> </command> + <inputs> + <expand macro="db_source" /> + <expand macro="db_source2" /> + <expand macro="logfile" /> + </inputs> + <outputs> + <data name="outindex" format="ffindex" label="DBKit Merged Index" /> + <data name="outdata" format="ffdata" label="DBKit Merged Database" /> + <data format="txt" name="logfile" label="DBKit Merged Log"> + <filter>logfile</filter> + </data> + </outputs> + <tests> + <test> + <conditional name="db_source"> + <param name="db_source_selector" value="history" /> + <param name="ffindex" value="create/first.ffindex" /> + <param name="ffdata" value="create/first.ffdata" /> + </conditional> + <conditional name="db_source"> + <param name="db_source_selector" value="history" /> + <param name="ffindex" value="merge/second.ffindex" /> + <param name="ffdata" value="merge/second.ffdata" /> + </conditional> + <output name="outindex" file="merge/result.ffindex" /> + <output name="outdata" file="merge/result.ffdata" /> + </test> + <test> + <conditional name="db_source"> + <param name="db_source_selector" value="indexed" /> + <param name="ffindex" value="first" /> + </conditional> + <conditional name="db_source"> + <param name="db_source_selector" value="indexed" /> + <param name="ffindex" value="second" /> + </conditional> + <output name="outindex" file="merge/result.ffindex" /> + <output name="outdata" file="merge/result.ffdata" /> + </test> + </tests> + <help><![CDATA[ + +**What it does** + +This database creation tool merges two pairs of ffindex/ffdata entries into a single ffindex/ffdata pair. + + ]]> </help> + <expand macro="citations" /> +</tool>