comparison charts.xml @ 0:a87a3773d8ed draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/charts/ commit 87080d49913cfd40a77eda7e5834ac9c4bc30b0b
author iuc
date Fri, 09 Mar 2018 08:23:08 -0500
parents
children 344ac3ca7557
comparison
equal deleted inserted replaced
-1:000000000000 0:a87a3773d8ed
1 <tool id="charts" name="Charts" version="1.0.1" hidden="true">
2 <description>wrapper for R</description>
3 <requirements>
4 <requirement type="package" version="1.20.0">r-getopt</requirement>
5 <requirement type="package" version="1.2-12">r-matrix</requirement>
6 </requirements>
7 <command detect_errors="aggressive">
8 <![CDATA[
9 Rscript '$__tool_directory__/charts.r'
10 -w '$__tool_directory__/'
11 -m ${module}
12 -i '${input}'
13 -c '${columns}'
14 -s '${settings}'
15 -o '${output}'
16 ]]>
17 </command>
18 <inputs>
19 <param name="input" type="data" label="Input dataset" format="tabular" />
20 <param name="module" type="select" label="R-script">
21 <option value="boxplot">boxplot</option>
22 <option value="heatmap">heatmap</option>
23 <option value="histogram">histogram</option>
24 <option value="histogramdiscrete">histogramdiscrete</option>
25 </param>
26 <param name="columns" type="text" area="true" label="Columns string (i.e key1: column, key2: column)" value=""/>
27 <param name="settings" type="text" area="true" label="Options string (i.e key1: value, key2: value)" value=""/>
28 </inputs>
29 <outputs>
30 <data name="output" format="tabular" />
31 </outputs>
32 <tests>
33 <test>
34 <param name="input" value="tabular.txt" />
35 <param name="module" value="histogram" />
36 <param name="columns" value="key1: 2" />
37 <param name="settings" value="" />
38 <output name="output" file="histogram.000.txt" lines_diff="2"/>
39 </test>
40 <test>
41 <param name="input" value="tabular.txt" />
42 <param name="module" value="histogram" />
43 <param name="columns" value="key1: 2, key2: 3, key3: 4" />
44 <param name="settings" value="" />
45 <output name="output" file="histogram.001.txt" lines_diff="2"/>
46 </test>
47 <test>
48 <param name="input" value="tabular.txt" />
49 <param name="module" value="histogram" />
50 <param name="columns" value="key1: 6" />
51 <param name="settings" value="" />
52 <output name="output" file="histogram.002.txt" lines_diff="2"/>
53 </test>
54 <test>
55 <param name="input" value="tabular_single.txt" />
56 <param name="module" value="histogram" />
57 <param name="columns" value="key1: 1" />
58 <param name="settings" value="" />
59 <output name="output" file="histogram.003.txt" lines_diff="2"/>
60 </test>
61 <test>
62 <param name="input" value="tabular.txt" />
63 <param name="module" value="boxplot" />
64 <param name="columns" value="key1: 2" />
65 <param name="settings" value="" />
66 <output name="output" file="boxplot.000.txt" lines_diff="2"/>
67 </test>
68 <test>
69 <param name="input" value="tabular.txt" />
70 <param name="module" value="boxplot" />
71 <param name="columns" value="key1: 2, key2: 3, key3: 4" />
72 <param name="settings" value="" />
73 <output name="output" file="boxplot.001.txt" lines_diff="2"/>
74 </test>
75 <test>
76 <param name="input" value="tabular_matrix.txt" />
77 <param name="module" value="histogramdiscrete" />
78 <param name="columns" value="key1: 1, key2: 2, key3: 3" />
79 <param name="settings" value="" />
80 <output name="output" file="histogramdiscrete.000.txt" lines_diff="2"/>
81 </test>
82 <test>
83 <param name="input" value="tabular_matrix.txt" ftype="tabular" />
84 <param name="module" value="heatmap" />
85 <param name="columns" value="key1: 1, key2: 2, key3: 3" />
86 <param name="settings" value="" />
87 <output name="output" file="heatmap.000.txt" lines_diff="2"/>
88 </test>
89 </tests>
90 </tool>