view dbkit_merge.xml @ 5:184b00847620 draft default tip

"planemo upload commit 49504c53e0cdd7b98908b064fad4c0b8baeaa317"
author guerler
date Thu, 11 Mar 2021 19:31:37 +0000
parents 81c7d4668a7e
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>