comparison paracords_plot.xml @ 2:9958188c6195 draft default tip

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/plotly_parallel_coordinates_plot commit b26c6ec671ec63cce1f86c70e928673ed2c82f82"
author bgruening
date Mon, 04 Nov 2019 12:20:51 -0500
parents 7b21a9b5922f
children
comparison
equal deleted inserted replaced
1:7b21a9b5922f 2:9958188c6195
1 <tool id="plotly_parallel_coordinates_plot" name="Parallel Coordinates Plot" version="0.1"> 1 <tool id="plotly_parallel_coordinates_plot" name="Parallel Coordinates Plot" version="0.2">
2 <description>of tabular data</description> 2 <description>of tabular data</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="3.6">python</requirement> 4 <requirement type="package" version="3.6">python</requirement>
5 <requirement type="package" version="0.22.0">pandas</requirement> 5 <requirement type="package" version="0.22.0">pandas</requirement>
6 <requirement type="package" version="3.1.1">plotly</requirement> 6 <requirement type="package" version="3.1.1">plotly</requirement>
7 </requirements> 7 </requirements>
8 <version_command>echo $version</version_command> 8 <version_command>echo $version</version_command>
9 <command detect_errors="aggressive"><![CDATA[ 9 <command detect_errors="aggressive"><![CDATA[
10 python '$__tool_directory__/paracords_plot.py' 10 python '$__tool_directory__/paracords_plot.py'
11 -i '$infile' 11 -i '$infile'
12 -d '$col_dimensions' 12 -m '$dimension_selections.selected_mode'
13 -d '$dimension_selections.col_dimensions'
13 -t '$categorized_datatype' 14 -t '$categorized_datatype'
14 -c '$col_color' 15 -c '$col_color'
15 ]]> 16 ]]>
16 </command> 17 </command>
17 <inputs> 18 <inputs>
18 <param name="infile" type="data" format="tabular" label="Select data file :"/> 19 <param name="infile" type="data" format="tabular" label="Select table data file "/>
19 <param name="col_dimensions" multiple="true" type="data_column" data_ref="infile" use_header_names="true" display="checkboxes" label="Select the columns for dimentions:"/> 20 <conditional name="dimension_selections">
20 <param name="categorized_datatype" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="All the dimensions in categorized datatype:"/> 21 <param name="selected_mode" type="select" label="The mode of column selection">
22 <option value="by_index" selected="true">By index</option>
23 <option value="by_name">By column name</option>
24 </param>
25 <when value="by_index">
26 <param name="col_dimensions" multiple="true" type="data_column" data_ref="infile" use_header_names="true" display="checkboxes" label="Select the columns for dimentions:"/>
27 </when>
28 <when value="by_name">
29 <param name="col_dimensions" type="text" value="^param_.*" label="Type the column names" help="Two modes: 1) multiple names separated by comma, e.g. header1,header2, or 2) include `*` to initiate regular expression searches for every column name, for example, ^param_.* will retreive all the headers starting with param_. Note: no mix of the two is supported. Use default sanitizer: string.ascii_letters + string.digits + &quot; -=_.()/+*^,:?!&quot;)"/>
30 </when>
31 </conditional>
32 <param name="categorized_datatype" type="boolean" optional="true" truevalue="booltrue" falsevalue="boolfalse" checked="true" label="Cast all the dimensions into categorical datatype?"/>
21 <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"/> 33 <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"/>
22 </inputs> 34 </inputs>
23 35
24 <outputs> 36 <outputs>
25 <data name="output" format="html" from_work_dir="output.html" label="Plot visualization of tabular data on ${on_string}"/> 37 <data name="output" format="html" from_work_dir="output.html" label="Plot visualization of tabular data on ${on_string}"/>
37 <param name="col_dimensions" value="4,5"/> 49 <param name="col_dimensions" value="4,5"/>
38 <param name="categorized_datatype" value="false"/> 50 <param name="categorized_datatype" value="false"/>
39 <param name="col_color" value="3"/> 51 <param name="col_color" value="3"/>
40 <output name="output" file="parcoords_plot02.html" compare="sim_size"/> 52 <output name="output" file="parcoords_plot02.html" compare="sim_size"/>
41 </test> 53 </test>
54 <test>
55 <param name="infile" value="parcoords02.tabular" ftype="tabular"/>
56 <param name="selected_mode" value="by_name"/>
57 <param name="col_dimensions" value="param_*"/>
58 <param name="categorized_datatype" value="false"/>
59 <param name="col_color" value="3"/>
60 <output name="output" file="parcoords_plot02.html" compare="sim_size"/>
61 </test>
42 </tests> 62 </tests>
43 <help><![CDATA[ 63 <help><![CDATA[
44 **What it does** 64 **What it does**
45 65
46 66
49 provides rich interactive features. Image can be saved in various format, such as 'png', 'svg', 'jpeg' and so on. 69 provides rich interactive features. Image can be saved in various format, such as 'png', 'svg', 'jpeg' and so on.
50 70
51 71
52 ]]> 72 ]]>
53 </help> 73 </help>
74 <citations>
75 <citation type="bibtex">
76 @online{plotly,
77 author = {Plotly Technologies Inc.},
78 title = {Collaborative data science},
79 publisher = {Plotly Technologies Inc.},
80 address = {Montreal, QC}, year = {2015},
81 url = {https://plot.ly} }
82 </citation>
83 </citations>
54 </tool> 84 </tool>