diff rgi.xml @ 4:ce852ee2c394 draft

planemo upload for repository https://github.com/arpcard/rgi commit 78185f967f4c08824f0b118214adcecc14495f3e
author card
date Wed, 31 Aug 2022 01:14:48 +0000
parents a671367c326e
children 84bd24ac33fd
line wrap: on
line diff
--- a/rgi.xml	Fri Nov 20 18:57:39 2020 +0000
+++ b/rgi.xml	Wed Aug 31 01:14:48 2022 +0000
@@ -1,12 +1,18 @@
-<tool id="rgi" name="Resistance Gene Identifier (RGI)" version="5.1.1">
+<tool id="rgi" name="Resistance Gene Identifier (RGI)" version="5.2.1">
     <description>This tool predicts resistome(s) from protein or nucleotide data based on homology and SNP models.</description>
     <requirements>
-        <requirement type="package" version="5.1.1">rgi</requirement>
+        <requirement type="package" version="5.2.1">rgi</requirement>
     </requirements>
     <stdio>
         <exit_code range="1:" />
     </stdio>
     <command detect_errors="aggressive"><![CDATA[
+#if $db_opts.db_opts_selector == "default":
+    export DB_PATH='${__tool_data_path__}/rgi_databases/_default' &&
+    export DATA_PATH="\$_GALAXY_JOB_TMP_DIR" &&
+    mkdir -p "\$DB_PATH" &&
+#end if
+
 #if $db_opts.db_opts_selector != "default":
     rgi load
         #if $db_opts.db_opts_selector == "local":