annotate charts.xml @ 34:f92f68399023 draft

Uploaded
author guerler
date Fri, 09 May 2014 00:58:44 -0400
parents 83555a70c34c
children 264ef6e5c48e
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>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
6 <requirement type="package" version="2.15.0">R</requirement>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
7 </requirements>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
8 <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
9 </command>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
10 <inputs>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
11 <param name="input" type="data" label="Input dataset" format="tabular" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
12 <param name="module" type="select" label="R-script">
33
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
13 <option value="boxplot">boxplot</option>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
14 <option value="heatmap">heatmap</option>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
15 <option value="histogram">histogram</option>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
16 <option value="histogramdiscrete">histogramdiscrete</option>
20
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
17 </param>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
18 <param name="columns" type="text" label="Columns string (i.e key1: column, key2: column)" value="column: 2"/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
19 <param name="settings" type="text" label="Options string (i.e data_limit: 1000)" value=""/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
20 </inputs>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
21 <outputs>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
22 <data name="output" format="tabular" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
23 </outputs>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
24 <tests>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
25 <test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
26 <param name="input" value="tabular.txt" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
27 <param name="module" value="histogram" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
28 <param name="columns" value="key1: 2" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
29 <param name="settings" value="" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
30 <output name="output" file="histogram.000.txt" lines_diff="2"/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
31 </test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
32 <test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
33 <param name="input" value="tabular.txt" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
34 <param name="module" value="histogram" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
35 <param name="columns" value="key1: 2, key2: 3, key3: 4" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
36 <param name="settings" value="" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
37 <output name="output" file="histogram.001.txt" lines_diff="2"/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
38 </test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
39 <test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
40 <param name="input" value="tabular.txt" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
41 <param name="module" value="boxplot" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
42 <param name="columns" value="key1: 2" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
43 <param name="settings" value="" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
44 <output name="output" file="boxplot.000.txt" lines_diff="2"/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
45 </test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
46 <test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
47 <param name="input" value="tabular.txt" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
48 <param name="module" value="boxplot" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
49 <param name="columns" value="key1: 2, key2: 3, key3: 4" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
50 <param name="settings" value="" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
51 <output name="output" file="boxplot.001.txt" lines_diff="2"/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
52 </test>
33
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
53 <test>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
54 <param name="input" value="tabular_matrix.txt" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
55 <param name="module" value="histogramdiscrete" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
56 <param name="columns" value="key1: 1, key2: 2, key3: 3" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
57 <param name="settings" value="" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
58 <output name="output" file="histogramdiscrete.000.txt" lines_diff="2"/>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
59 </test>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
60 <test>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
61 <param name="input" value="tabular_matrix.txt" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
62 <param name="module" value="heatmap" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
63 <param name="columns" value="key1: 1, key2: 2, key3: 3" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
64 <param name="settings" value="" />
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
65 <output name="output" file="heatmap.000.txt" lines_diff="2"/>
83555a70c34c Uploaded
guerler
parents: 20
diff changeset
66 </test>
20
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
67 </tests>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
68 </tool>