comparison refinery_test_2-6.xml @ 4:ccf0e1ca6fe9 draft

Add 2-6 test tool.
author hackdna
date Mon, 13 May 2013 14:49:03 -0400
parents
children ee221004e3b4
comparison
equal deleted inserted replaced
3:f725e3820fb4 4:ccf0e1ca6fe9
1 <tool id="refinery_test_2-6" name="Refinery test tool 2-6" version="0.1">
2 <description>for testing Galaxy workflow execution from Refinery</description>
3
4 <command interpreter="python">
5 refinery_test_tool.py -i $input_file1 $input_file2 -o $output_file1 $output_file2 $output_file3 $output_file4 $output_file5 $output_file6 -e $exit_code -p $p_fail -s $sleep_time $stdout $stderr
6 </command>
7
8 <inputs>
9 <param name="input_file1" format="txt" type="data" label="Input file A"/>
10 <param name="input_file2" format="txt" type="data" label="Input file B"/>
11 <param name="sleep_time" type="integer" label="Sleep (seconds)" value="0" min="0"/>
12 <param name="p_fail" type="float" label="Probability of failure [0.0, 1.0]" value="0.0" min="0.0" max="1.0"/>
13 <param name="stdout" type="boolean" label="Write to standard out" truevalue="--stdout" falsevalue=""/>
14 <param name="stderr" type="boolean" label="Write to standard error" truevalue="--stderr" falsevalue=""/>
15 <param name="exit_code" type="integer" label="Exit code [0, 255]" value="0" min="0" max="255"/>
16 </inputs>
17
18 <outputs>
19 <data format="txt" name="output_file1" label="Output file A"/>
20 <data format="txt" name="output_file2" label="Output file B"/>
21 <data format="txt" name="output_file3" label="Output file C"/>
22 <data format="txt" name="output_file4" label="Output file D"/>
23 <data format="txt" name="output_file5" label="Output file E"/>
24 <data format="txt" name="output_file6" label="Output file F"/>
25 </outputs>
26
27 <stdio>
28 <exit_code range="1:" level="fatal" />
29 <regex match=".+" source="stdout" level="fatal" description="Tool produced output to standard out" />
30 <regex match=".+" source="stderr" level="fatal" description="Tool produced output to standard error" />
31 </stdio>
32
33 <help>
34
35 .. class:: infomark
36
37 **Purpose**
38
39 To test Galaxy workflow execution and monitoring from Refinery.
40
41 -----
42
43 .. class:: infomark
44
45 **Inputs and outputs**
46
47 This wrapper will accept two text files as input and produce six output files
48 with concatenated content from input files.
49
50 *Note:* You must set the "Probability of failure" parameter to a non-zero value
51 for "Write to standard out", "Write to standard error" or "Exit code" to take effect.
52
53 </help>
54 </tool>