Mercurial > repos > dfornika > kraken2
changeset 9:a811afe91eab 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:21:42 -0500 |
parents | d120504e741a |
children | a74785cdf5e3 |
files | kraken2.xml macros.xml |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kraken2.xml Mon Mar 04 17:17:43 2019 -0500 +++ b/kraken2.xml Mon Mar 04 17:21:42 2019 -0500 @@ -9,7 +9,7 @@ <version_command>kraken2 --version</version_command> <command detect_errors="exit_code"> <![CDATA[ - @SET_DATABASE_PATH@ + @SET_DATABASE_PATH@ && kraken2 --threads \${GALAXY_SLOTS:-1} --db '$kraken2_database'
--- a/macros.xml Mon Mar 04 17:17:43 2019 -0500 +++ b/macros.xml Mon Mar 04 17:21:42 2019 -0500 @@ -15,4 +15,5 @@ <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='${kraken_database.fields.path}/${kraken_database.fields.name}'; else export KRAKEN2_DB_PATH='${kraken_database.fields.path}'; fi</token> </macros>