view macros.xml @ 10:a74785cdf5e3 draft

planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
author dfornika
date Mon, 04 Mar 2019 17:25:29 -0500
parents a811afe91eab
children da1a2d98dab1
line wrap: on
line source

<macros>
    <token name="@TOOL_VERSION@">2.0.7_beta</token>
    <token name="@INTYPES@">
        fasta,fasta.gz,fastq,fastq.gz,fastqsanger,fastqsanger.gz
    </token>
    <xml name="input_database">
        <param label="Select a Kraken2 database" name="kraken2_database" type="select">
            <options from_data_table="kraken2_databases">
                <validator message="No Kraken2 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="@SET_DATABASE_PATH@">if [ -d '${kraken2_database.fields.path}/${kraken2_database.fields.name}' ]; then export KRAKEN2_DB_PATH='${kraken2_database.fields.path}/${kraken2_database.fields.name}'; else export KRAKEN2_DB_PATH='${kraken2_database.fields.path}'; fi</token>
</macros>