diff data_manager/pharokka_db_fetcher.xml @ 0:97f310b8e308 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_pharokka_database_fetcher/ commit 31e99045208605780b3fe4b89a999137adcabe13
author iuc
date Thu, 20 Apr 2023 07:51:43 +0000
parents
children 50caca83e7c9
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/data_manager/pharokka_db_fetcher.xml	Thu Apr 20 07:51:43 2023 +0000
@@ -0,0 +1,41 @@
+<?xml version="1.0"?>
+<tool id="pharokka_db_fetcher" name="phrokka DB fetcher" tool_type="manage_data" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
+    <macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="biotools" />
+    <expand macro="requirements" />
+    <expand macro="version" />
+    <description>Fetches the DB required for phrokka</description>
+    <command detect_errors="exit_code">
+    <![CDATA[
+        python '$__tool_directory__/data_manager_fetch_pharokka_db.py' --out '${out_file}' --version '${version}' 
+        $test_data_manager
+    ]]>
+    </command>
+    <inputs>
+    <param name="test_data_manager" type="hidden" value=""/>
+    <param argument="--version" type="text" value="v1.2.0" help="Check https://github.com/gbouras13/pharokka/blob/c822b4c3b8cf642512a5c236fc4036ad53f48587/bin/databases.py#L102 for current version."/>
+    </inputs>
+    <outputs>
+        <data format="data_manager_json" name="out_file" />
+    </outputs>
+    <tests>
+    <test expect_num_outputs="1">
+        <param name="test_data_manager" value="--test"/>
+        <param name="version" value="v1.2.0"/>
+        <output name="out_file">
+                <assert_contents>
+                    <has_text text="Pharokka DB version"/>
+                    <has_text text="db_from_"/>
+                    <has_text text="pharokka_db"/>
+                    <has_text text="v1.2.0"/>
+                </assert_contents>
+        </output>
+    </test>
+    </tests>
+    <help>
+    </help>
+    <expand macro="citations" />
+    <expand macro="creator" />
+</tool>
\ No newline at end of file