diff aplcms_to_ramclustr_converter.xml @ 4:9ea34e24474f draft

"planemo upload for repository https://github.com/RECETOX/galaxytools/tools/aplcms_to_ramclustr_converter/ commit 2dd20229f0c7f43dacc0d201ea50fef3c993d30e"
author recetox
date Mon, 09 Aug 2021 15:29:08 +0000
parents 07667688735e
children b9263b8fcc1e
line wrap: on
line diff
--- a/aplcms_to_ramclustr_converter.xml	Wed Feb 17 15:14:33 2021 +0000
+++ b/aplcms_to_ramclustr_converter.xml	Mon Aug 09 15:29:08 2021 +0000
@@ -1,28 +1,22 @@
-<tool id="aplcms_to_ramclustr_converter" name="apLCMS to RamClustR converter" version="0.0.1+galaxy0" python_template_version="3.5">
-    <description>converts aplcms HDF output to RamClustR csv input</description>
+<tool id="aplcms_to_ramclustr_converter" name="apLCMS to RamClustR converter" version="0.1.0+galaxy0" python_template_version="3.5">
+    <description>converts apLCMS parquet 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>
+        <requirement type="package" version="4.0.0">pyarrow</requirement>
     </requirements>
     <command detect_errors="exit_code"><![CDATA[
-        python $__tool_directory__/aplcms_to_ramclustr_converter.py --dataframe '${hdf_dataframe}' --table '${table_name}' '${out_file}'
+        python $__tool_directory__/aplcms_to_ramclustr_converter.py --dataframe '${aplcms_dataframe}' '${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>
+        <param name="aplcms_dataframe" type="data" format="parquet" label="apLCMS Dataframe"/>
     </inputs>
     <outputs>
-        <data format="csv" name="out_file" label="CSV with ${table_name} from ${hdf_dataframe.name}"/>
+        <data format="csv" name="out_file" label="Feature-by-sample ${aplcms_dataframe.name} table (csv)"/>
     </outputs>
     <tests>
         <test>
-            <param name="hdf_dataframe" value="test-input.h5" ftype="h5"/>
-            <param name="table_name" value="peaks"/>
-            <output name="out_file" file="test-output.csv" ftype="csv"/>
+            <param name="aplcms_dataframe" value="input.parquet" ftype="parquet"/>
+            <output name="out_file" file="output.csv" ftype="csv"/>
         </test>
     </tests>
     <help><![CDATA[
@@ -30,7 +24,7 @@
 
         **Workflow position**
 
-        - Upstream tool: `apLCMS <https://github.com/RECETOX/galaxytools/tree/master/tools/aplcms>`_  Unsupervised or Hybrid
+        - Upstream tool: `apLCMS <https://github.com/RECETOX/galaxytools/tree/master/tools/recetox_aplcms>`_  Unsupervised or Hybrid
 
         - Downstream tool: `RamClustR <https://github.com/RECETOX/galaxytools/tree/master/tools/ramclustr>`_ (CSV)
     ]]></help>