view dbkit_merge.xml @ 2:81c7d4668a7e draft

"planemo upload commit bd03b7888eab0b010acfc3affd38bf4d4e2bb1ef-dirty"
author guerler
date Wed, 16 Dec 2020 12:02:48 +0000
parents
children
line wrap: on
line source

<tool id="dbkit_merge" name="DBKit Merge" version="0.1.1" python_template_version="3.5" license="MIT">
    <description>two databases</description>
    <command detect_errors="exit_code"><![CDATA[
        python3 '$__tool_directory__/dbkit_merge.py' -fi '$firstindex' -fd '$firstdata' -si '$secondindex' -sd '$seconddata' -oi '$outindex' -od '$outdata' -log '$logfile'
    ]]></command>
    <inputs>
        <param format="ffindex" name="firstindex" type="data" label="First Database Index" help="Select the index file of the first database (ffindex)."/>    
        <param format="ffdata" name="firstdata" type="data" label="First Database Content" help="Select the data file of the first database (ffdata)."/>
        <param format="ffindex" name="secondindex" type="data" label="Second Database Index" help="Select the index file of the second database (ffindex)."/>    
        <param format="ffdata" name="seconddata" type="data" label="Second Database Content" help="Select the data file of the second database (ffdata)."/>
    </inputs>
    <outputs>
        <data format="ffindex" name="outindex" label="DBKit Merged Index"/>
        <data format="ffdata" name="outdata" label="DBKit Merged Database" />
        <data format="txt" name="logfile" label="DBKit Merged Log" />
    </outputs>
    <tests>
        <test>
            <param name="firstindex" value="create/first.ffindex"/>    
            <param name="firstdata" value="create/first.ffdata"/>
            <param name="secondindex" value="merge/second.ffindex"/>    
            <param name="seconddata" value="merge/second.ffdata"/>
            <output name="index" file="merge/result.ffindex" />
            <output name="database" file="merge/result.ffdata" />
        </test>
    </tests>
    <help><![CDATA[
This database creation tool merges two pairs of ffindex/ffdata entries into a single ffindex/ffdata pair.
    ]]></help>
</tool>