annotate charts.xml @ 66:9dd66c3889e6 draft

Uploaded
author guerler
date Fri, 27 Feb 2015 03:24:52 -0500
parents cab1a920ac3d
children e67f691f08e4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
1 <tool id="charts" name="Charts" version="1.0.0">
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
2 <hidden>True</hidden>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
3 <description>wrapper for R</description>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
4 <requirements>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
5 <requirement type="set_environment">SCRIPT_PATH</requirement>
56
8a5b168df5f8 Uploaded
guerler
parents: 54
diff changeset
6 <requirement type="package" version="3.0.3">R</requirement>
62
cab1a920ac3d Uploaded tool xml with proper tool dependency.
devteam
parents: 56
diff changeset
7 <requirement type="package" version="1.0">charts_r_packages</requirement>
20
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
8 </requirements>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
9 <command>Rscript \$SCRIPT_PATH/charts.r -w \$SCRIPT_PATH/ -m ${module} -i ${input} -c '${columns}' -s '${settings}' -o ${output}
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
10 </command>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
11 <inputs>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
12 <param name="input" type="data" label="Input dataset" format="tabular" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
13 <param name="module" type="select" label="R-script">
33
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
14 <option value="boxplot">boxplot</option>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
15 <option value="heatmap">heatmap</option>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
16 <option value="histogram">histogram</option>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
17 <option value="histogramdiscrete">histogramdiscrete</option>
20
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
18 </param>
66
9dd66c3889e6 Uploaded
guerler
parents: 62
diff changeset
19 <param name="columns" type="text" area="true" label="Columns string (i.e key1: column, key2: column)" value="column: 2"/>
9dd66c3889e6 Uploaded
guerler
parents: 62
diff changeset
20 <param name="settings" type="text" area="true" label="Options string (i.e data_limit: 1000)" value=""/>
20
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
21 </inputs>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
22 <outputs>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
23 <data name="output" format="tabular" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
24 </outputs>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
25 <tests>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
26 <test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
27 <param name="input" value="tabular.txt" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
28 <param name="module" value="histogram" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
29 <param name="columns" value="key1: 2" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
30 <param name="settings" value="" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
31 <output name="output" file="histogram.000.txt" lines_diff="2"/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
32 </test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
33 <test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
34 <param name="input" value="tabular.txt" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
35 <param name="module" value="histogram" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
36 <param name="columns" value="key1: 2, key2: 3, key3: 4" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
37 <param name="settings" value="" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
38 <output name="output" file="histogram.001.txt" lines_diff="2"/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
39 </test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
40 <test>
54
15a18f472cd9 Uploaded
guerler
parents: 48
diff changeset
41 <param name="input" value="tabular_data.txt" />
15a18f472cd9 Uploaded
guerler
parents: 48
diff changeset
42 <param name="module" value="histogram" />
15a18f472cd9 Uploaded
guerler
parents: 48
diff changeset
43 <param name="columns" value="key1: 6" />
15a18f472cd9 Uploaded
guerler
parents: 48
diff changeset
44 <param name="settings" value="" />
15a18f472cd9 Uploaded
guerler
parents: 48
diff changeset
45 <output name="output" file="histogram.002.txt" lines_diff="2"/>
15a18f472cd9 Uploaded
guerler
parents: 48
diff changeset
46 </test>
15a18f472cd9 Uploaded
guerler
parents: 48
diff changeset
47 <test>
48
264ef6e5c48e Uploaded
guerler
parents: 33
diff changeset
48 <param name="input" value="tabular_single.txt" />
264ef6e5c48e Uploaded
guerler
parents: 33
diff changeset
49 <param name="module" value="histogram" />
264ef6e5c48e Uploaded
guerler
parents: 33
diff changeset
50 <param name="columns" value="key1: 1" />
264ef6e5c48e Uploaded
guerler
parents: 33
diff changeset
51 <param name="settings" value="" />
264ef6e5c48e Uploaded
guerler
parents: 33
diff changeset
52 <output name="output" file="histogram.003.txt" lines_diff="2"/>
264ef6e5c48e Uploaded
guerler
parents: 33
diff changeset
53 </test>
264ef6e5c48e Uploaded
guerler
parents: 33
diff changeset
54 <test>
20
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
55 <param name="input" value="tabular.txt" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
56 <param name="module" value="boxplot" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
57 <param name="columns" value="key1: 2" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
58 <param name="settings" value="" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
59 <output name="output" file="boxplot.000.txt" lines_diff="2"/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
60 </test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
61 <test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
62 <param name="input" value="tabular.txt" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
63 <param name="module" value="boxplot" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
64 <param name="columns" value="key1: 2, key2: 3, key3: 4" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
65 <param name="settings" value="" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
66 <output name="output" file="boxplot.001.txt" lines_diff="2"/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
67 </test>
33
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
68 <test>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
69 <param name="input" value="tabular_matrix.txt" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
70 <param name="module" value="histogramdiscrete" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
71 <param name="columns" value="key1: 1, key2: 2, key3: 3" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
72 <param name="settings" value="" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
73 <output name="output" file="histogramdiscrete.000.txt" lines_diff="2"/>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
74 </test>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
75 <test>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
76 <param name="input" value="tabular_matrix.txt" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
77 <param name="module" value="heatmap" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
78 <param name="columns" value="key1: 1, key2: 2, key3: 3" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
79 <param name="settings" value="" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
80 <output name="output" file="heatmap.000.txt" lines_diff="2"/>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
81 </test>
20
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
82 </tests>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
83 </tool>