view dbkit_extract.xml @ 1:1d9fcf2157e0 draft

"planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
author guerler
date Mon, 29 Mar 2021 21:46:19 +0000
parents ad4b7db26523
children 4def47766a3c
line wrap: on
line source

<tool id="ffindex_dbkit_extract" name="DBKit Extract" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" license="MIT" profile="20.01">
    <description>entries</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <command detect_errors="exit_code"><![CDATA[
    dbkit_extract.py
        -l '$list'
        @db_source@
        -oi '$outindex'
        -od '$outdata'
        -g '$logfile'
    ]]>    </command>
    <inputs>
        <param name="list" type="data" format="tabular" label="List of entries" help="Select a tabular file containing the entries to be extracted." />
        <expand macro="db_source" />
        <expand macro="logfile" />
    </inputs>
    <outputs>
        <data format="ffindex" name="outindex" label="DBKit Extracted Index" />
        <data format="ffdata" name="outdata" label="DBKit Extraced Database" />
        <data format="txt" name="logfile" label="DBKit Extraced Log">
            <filter>logfile</filter>
        </data>
    </outputs>
    <tests>
        <test>
            <param name="list" value="create/pdb.tabular" />
            <conditional name="db_source">
                <param name="db_source_selector" value="history" />
                <param name="ffindex" value="merge/result.ffindex" />
                <param name="ffdata" value="merge/result.ffdata" />
            </conditional>
            <output name="outindex" file="merge/second.ffindex" />
            <output name="outdata" file="merge/second.ffdata" />
        </test>
        <test>
            <param name="list" value="create/pdb.tabular" />
            <conditional name="db_source">
                <param name="db_source_selector" value="indexed" />
                <param name="ffindex" value="merge" />
            </conditional>
            <output name="outindex" file="merge/second.ffindex" />
            <output name="outdata" file="merge/second.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>