annotate charts.xml @ 31:74c3ccd63fc3 draft

Uploaded
author guerler
date Tue, 29 Apr 2014 16:06:00 -0400
parents 3e937e69feb8
children 83555a70c34c
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">
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
13 <option value="histogram">Histogram</option>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
14 <option value="boxplot">Box plot</option>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
15 </param>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
16 <param name="columns" type="text" label="Columns string (i.e key1: column, key2: column)" value="column: 2"/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
17 <param name="settings" type="text" label="Options string (i.e data_limit: 1000)" value=""/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
18 </inputs>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
19 <outputs>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
20 <data name="output" format="tabular" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
21 </outputs>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
22 <tests>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
23 <test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
24 <param name="input" value="tabular.txt" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
25 <param name="module" value="histogram" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
26 <param name="columns" value="key1: 2" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
27 <param name="settings" value="" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
28 <output name="output" file="histogram.000.txt" lines_diff="2"/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
29 </test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
30 <test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
31 <param name="input" value="tabular.txt" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
32 <param name="module" value="histogram" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
33 <param name="columns" value="key1: 2, key2: 3, key3: 4" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
34 <param name="settings" value="" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
35 <output name="output" file="histogram.001.txt" lines_diff="2"/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
36 </test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
37 <test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
38 <param name="input" value="tabular.txt" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
39 <param name="module" value="boxplot" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
40 <param name="columns" value="key1: 2" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
41 <param name="settings" value="" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
42 <output name="output" file="boxplot.000.txt" lines_diff="2"/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
43 </test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
44 <test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
45 <param name="input" value="tabular.txt" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
46 <param name="module" value="boxplot" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
47 <param name="columns" value="key1: 2, key2: 3, key3: 4" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
48 <param name="settings" value="" />
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
49 <output name="output" file="boxplot.001.txt" lines_diff="2"/>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
50 </test>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
51 </tests>
3e937e69feb8 Uploaded
guerler
parents:
diff changeset
52 </tool>