diff hdf_converter.xml @ 0:062f4c571a24 draft

"planemo upload for repository https://github.com/RECETOX/galaxytools/tools/hdf_converter/ commit 7c15608bc9e6d0cc28daed590341b2b22f9fcedf"
author recetox
date Tue, 15 Dec 2020 17:38:07 +0000
parents
children 52470d439e50
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hdf_converter.xml	Tue Dec 15 17:38:07 2020 +0000
@@ -0,0 +1,37 @@
+<tool id="aplcms_to_ramclustr_converter" name="apLCMS to RamClustR converter" version="0.0.1" python_template_version="3.5">
+    <description>converts aplcms HDF output to RamClustR csv input</description>
+    <requirements>
+        <requirement type="package" version="3.7">python</requirement>
+        <requirement type="package" version="1.1.5">pandas</requirement>
+        <requirement type="package" version="3.6.1">pytables</requirement>
+    </requirements>
+    <command detect_errors="exit_code"><![CDATA[
+        python $__tool_directory__/hdf_converter.py --dataframe '${hdf_dataframe}' --table '${table_name}' '${out_file}'
+    ]]></command>
+    <inputs>
+        <param name="hdf_dataframe" type="data" format="h5" label="apLCMS Dataset"/>
+        <param name="table_name" type="select" label="Table Name">
+            <option value="peaks">Peaks</option>
+            <option value="aligned_peaks">Aligned Peaks</option>
+        </param>
+    </inputs>
+    <outputs>
+        <data format="csv" name="out_file" label="${hdf_dataframe.name}"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="hdf_dataframe" value="test.h5" ftype="h5"/>
+            <param name="table_name" value="peaks"/>
+            <output name="out_file" file="test.csv" ftype="csv"/>
+        </test>
+    </tests>
+    <help><![CDATA[
+        Tool to convert apLCMS output to csv file formated in accordance to `RamClustR (CSV) <https://umsa.cerit-sc.cz/root?tool_id=testtoolshed.g2.bx.psu.edu/repos/recetox/ramclustr_csv/ramclustr_csv/1.1.0+galaxy0>`_ input requirements.
+
+        **Workflow position**
+
+        - Upstream tool: `apLCMS <https://github.com/RECETOX/galaxytools/tree/master/tools/aplcms>`_  Unsupervised or Hybrid
+
+        - Downstream tool: `RamClustR (CSV) <https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr>`_
+    ]]></help>
+</tool>
\ No newline at end of file