diff data_manager/amrfinderplus_data_manager.xml @ 2:f1ec3a39ffec draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_amrfinderplus commit 25a0413337c540dc9f26bc7ee097d493f0d148ca-dirty
author pimarin
date Mon, 14 Nov 2022 14:22:02 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/data_manager/amrfinderplus_data_manager.xml	Mon Nov 14 14:22:02 2022 +0000
@@ -0,0 +1,32 @@
+<tool id="amrfinderplus_build_database" name="amrfinderplus" tool_type="manage_data" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
+    <description>AMRfinderplus database builder</description>
+    <macros>
+        <import>macro.xml</import>
+    </macros>
+    <expand macro="requirements"/>
+    <command detect_errors="exit_code">
+      <![CDATA[
+        python '$__tool_directory__/amrfinderplus_data_manager.py'
+        '$output_file'
+      ]]></command>
+    <inputs>
+        <param name="database_select" type="select" label="Database version">
+            <option value="latest" selected="true">Latest available version</option>
+        </param>
+    </inputs>
+    <outputs>
+        <data name="output_file" format="data_manager_json"/>
+    </outputs>
+    <tests>
+        <!-- Test download -->
+        <test expect_num_outputs="1">
+            <output name="output_file" value="amrfinderplus_test_data_manager.json" />
+        </test>
+    </tests>
+    <help><![CDATA[
+        Download the latest version of amrfinderplus database from the NCBI
+    ]]></help>
+    <citations>
+        <citation type="doi">10.1038/s41598-021-91456-0</citation>
+    </citations>
+</tool>