view macros.xml @ 8:196f2cf1f0a1 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_report/ commit 659d4506dad485d853a91a6a6f8bed1e3c56e204
author iuc
date Thu, 13 Sep 2018 09:44:00 -0400
parents 1c163820e346
children 8ddbdc9cdc57
line wrap: on
line source

<?xml version="1.0"?>
<macros>
    <token name="@WRAPPER_VERSION@">1.2.4</token>
    <xml name="requirements">
        <requirements>
            <requirement type="package" version="0.10.6_eaf8fb68">kraken</requirement>
        </requirements>
    </xml>
    <xml name="version_command">
        <version_command><![CDATA[
            export LC_ALL=C && kraken --version
        ]]></version_command>
    </xml>
    <xml name="input_database">
        <param label="Select a Kraken database" name="kraken_database" type="select">
            <options from_data_table="kraken_databases">
                <validator message="No Kraken database is available" type="no_options" />
            </options>
        </param>
    </xml>
    <xml name="citations">
        <citations>
            <citation type="doi">10.1186/gb-2014-15-3-r46</citation>
        </citations>
    </xml>
    <token name="@INPUT_DATABASE@">--db '${kraken_database.fields.name}'</token>
    <token name="@SET_DATABASE_PATH@">export KRAKEN_DB_PATH='${kraken_database.fields.path}'</token>
</macros>