Mercurial > repos > dfornika > kraken2
comparison macros.xml @ 0:a77e88d426d9 draft
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
author | dfornika |
---|---|
date | Fri, 01 Mar 2019 12:43:26 -0500 |
parents | |
children | 7932d09da19b |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a77e88d426d9 |
---|---|
1 <macros> | |
2 <token name="@TOOL_VERSION@">2.0.7_beta</token> | |
3 <token name="@INTYPES@"> | |
4 fasta,fasta.gz,fastq,fastq.gz,fastqsanger,fastqsanger.gz | |
5 </token> | |
6 <xml name="input_database"> | |
7 <param label="Select a Kraken2 database" name="kraken2_database" type="select"> | |
8 <options from_data_table="kraken2_databases"> | |
9 <validator message="No Kraken2 database is available" type="no_options" /> | |
10 </options> | |
11 </param> | |
12 </xml> | |
13 <token name="@SET_DATABASE_PATH@">if [ -d '${kraken2_database.fields.path}/${kraken2_database.fields.name}' ]; then export KRAKEN2_DEFAULT_DB='${kraken2_database.fields.path}/${kraken2_database.fields.name}'; else export KRAKEN2_DEFAULT_DB='${kraken_database.fields.path}'; fi</token> | |
14 <token name="@INPUT_DATABASE@">--db "\$KRAKEN2_DEFAULT_DB"</token> | |
15 </macros> |