diff data_manager/funannotate.xml @ 0:ef7f9e2f32f2 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_funannotate commit 9613152729099079c7465c3d5d42005ef22ca91e"
author iuc
date Thu, 26 Aug 2021 06:54:45 +0000
parents
children 8dff71edbce5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/data_manager/funannotate.xml	Thu Aug 26 06:54:45 2021 +0000
@@ -0,0 +1,39 @@
+<tool id="data_manager_funannotate" name="Funannotate data manager" version="0.0.1" tool_type="manage_data" profile="20.01">
+    <requirements>
+        <requirement type="package" version="1.8.7">funannotate</requirement>
+    </requirements>
+    <version_command>funannotate check --show-versions</version_command>
+    <command detect_errors="exit_code"><![CDATA[
+python '$__tool_directory__/funannotate.py'
+$partial_data
+\$(date +'%Y-%m-%d-%H%M%S')
+'funannotate'
+'${output_file}'
+    ]]></command>
+    <inputs>
+        <param name="partial_data" type="hidden" value="" help="Used for testing"/>
+    </inputs>
+    <outputs>
+        <data name="output_file" format="data_manager_json"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="partial_data" value="--partial"/>
+            <output name="output_file">
+                <assert_contents>
+                    <has_text text="Funannotate database "/>
+                    <has_text text='"format_version": "1.0"'/>
+                </assert_contents>
+            </output>
+        </test>
+    </tests>
+    <help><![CDATA[
+        This data managers fetches data from various databases for the funannotate
+        annotation tool and updates the funannotate data table.
+
+        .. _funannotate: https://funannotate.readthedocs.io
+    ]]></help>
+    <citations>
+        <citation type="doi">10.5281/zenodo.4054262</citation>
+    </citations>
+</tool>