diff paracords_plot.xml @ 0:7b2455348edf draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/plotly_parallel_coordinates_plot commit 93fcfe0fa6a64246d13e0fb7e35a357985b02465
author bgruening
date Sun, 23 Sep 2018 07:52:27 -0400
parents
children 7b21a9b5922f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/paracords_plot.xml	Sun Sep 23 07:52:27 2018 -0400
@@ -0,0 +1,50 @@
+<tool id="plotly_parallel_coordinates_plot" name="Parallel Coordinates Plot" version="0.1">
+    <description>of tabular data</description>
+    <requirements>
+        <requirement type="package" version="3.6">python</requirement>
+        <requirement type="package" version="0.22.0">pandas</requirement>
+        <requirement type="package" version="3.1.1">plotly</requirement>
+    </requirements>
+    <version_command>echo $version</version_command>
+    <command detect_errors="aggressive"><![CDATA[
+    python '$__tool_directory__/paracords_plot.py'
+        -i '$infile'
+        -d '$col_dimensions'
+        -c '$col_color'
+]]>
+    </command>
+    <inputs>
+        <param name="infile" type="data" format="tabular" label="Select data file :"/>
+        <param name="col_dimensions" multiple="true" type="data_column" data_ref="infile" use_header_names="true" display="checkboxes" label="Select the columns for dimentions:"/>
+        <param name="col_color" type="data_column" data_ref="infile" use_header_names="true" label="Select a column containg the values for coloring:" help="e.g. mean_test_score"/>
+    </inputs>
+
+    <outputs>
+        <data name="output" format="html" from_work_dir="output.html" label="Plot visualization of tabular data on ${on_string}"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="infile" value="parcoords01.tabular" ftype="tabular"/>
+            <param name="col_dimensions" value="4,5"/>
+            <param name="col_color" value="3"/>
+            <output name="output" file="parcoords_plot01.html" compare="sim_size"/>
+        </test>
+        <test>
+            <param name="infile" value="parcoords02.tabular" ftype="tabular"/>
+            <param name="col_dimensions" value="4,5"/>
+            <param name="col_color" value="3"/>
+            <output name="output" file="parcoords_plot02.html" compare="sim_size"/>
+        </test>
+    </tests>
+    <help><![CDATA[
+**What it does**
+
+
+Produce a `parallel coordinates plot <https://plot.ly/python/parallel-coordinates-plot/>`_ from a tabular file.
+Multiple columns are chosen for dimensions and a single column for coloring. The plot is buried in a html file which
+provides rich interactive features. Image can be saved in various format, such as 'png', 'svg', 'jpeg' and so on.
+
+
+    ]]>
+    </help>
+</tool>