changeset 1:9c43baa60906 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_metaphlan_database_downloader commit ed0001e3b4e3b25ee5754addac8a67f9cabd7d88"
author iuc
date Wed, 21 Apr 2021 21:37:49 +0000
parents 169b08c9713c
children 5fe20c915fa6
files data_manager/data_manager_metaphlan_download.xml test-data/metaphlan_database.loc tool_data_table_conf.xml.test
diffstat 3 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/data_manager/data_manager_metaphlan_download.xml	Mon Apr 19 20:54:06 2021 +0000
+++ b/data_manager/data_manager_metaphlan_download.xml	Wed Apr 21 21:37:49 2021 +0000
@@ -25,6 +25,15 @@
         <data name="out_file" format="data_manager_json" label="${tool.name}"/>
     </outputs>
     <tests>
+    <test expect_num_outputs="1">
+        <param name="index" value="mpa_v30_CHOCOPhlAn_201901"/>
+        <output name="out_file">
+            <assert_contents>
+                <has_text text="mpa_v30_CHOCOPhlAn_201901-"/>
+                <has_text text="MetaPhlAn clade-specific marker genes (mpa_v30_CHOCOPhlAn_201901)"/>
+            </assert_contents>
+        </output>
+    </test>
     </tests>
     <help><![CDATA[
 This tool downloads and builds the MetaPhlAn databases.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/metaphlan_database.loc	Wed Apr 21 21:37:49 2021 +0000
@@ -0,0 +1,4 @@
+#This is a sample file distributed with Galaxy that enables tools
+#to use a directory of metagenomics files.  
+#file has this format (white space characters are TAB characters)
+mpa_v30_CHOCOPhlAn_201901-20210420	MetaPhlAn clade-specific marker genes (mpa_v30_CHOCOPhlAn_201901)	mpa_v30_CHOCOPhlAn_201901	/path/to/data
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_data_table_conf.xml.test	Wed Apr 21 21:37:49 2021 +0000
@@ -0,0 +1,6 @@
+<tables>
+    <table name="metaphlan_database" comment_char="#">
+        <columns>value, name, dbkey, path</columns>
+        <file path="${__HERE__}/test-data/metaphlan_database.loc" />
+    </table>
+</tables>
\ No newline at end of file