3
|
1 <tool id="refinery_test_2-2" name="Refinery test tool 2-2" version="0.1">
|
|
2 <description>for testing Galaxy workflow execution from Refinery</description>
|
|
3
|
|
4 <command interpreter="python">
|
8
|
5 refinery_test_tool.py -i $input_file1 $input_file2 -o $output_file1 $output_file2 -e $exit_code -p $p_fail -s $sleep_time $stdout $stderr $empty_outfile
|
3
|
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"/>
|
8
|
12 <param name="empty_outfile" type="boolean" label="Produce empty output files" truevalue="--empty_outfile" falsevalue=""/>
|
3
|
13 <param name="p_fail" type="float" label="Probability of failure [0.0, 1.0]" value="0.0" min="0.0" max="1.0"/>
|
|
14 <param name="stdout" type="boolean" label="Write to standard out" truevalue="--stdout" falsevalue=""/>
|
|
15 <param name="stderr" type="boolean" label="Write to standard error" truevalue="--stderr" falsevalue=""/>
|
|
16 <param name="exit_code" type="integer" label="Exit code [0, 255]" value="0" min="0" max="255"/>
|
|
17 </inputs>
|
|
18
|
|
19 <outputs>
|
|
20 <data format="txt" name="output_file1" label="Output file A"/>
|
|
21 <data format="txt" name="output_file2" label="Output file B"/>
|
|
22 </outputs>
|
|
23
|
|
24 <stdio>
|
|
25 <exit_code range="1:" level="fatal" />
|
|
26 <regex match=".+" source="stdout" level="fatal" description="Tool produced output to standard out" />
|
|
27 <regex match=".+" source="stderr" level="fatal" description="Tool produced output to standard error" />
|
|
28 </stdio>
|
|
29
|
|
30 <help>
|
|
31
|
|
32 .. class:: infomark
|
|
33
|
|
34 **Purpose**
|
|
35
|
|
36 To test Galaxy workflow execution and monitoring from Refinery.
|
|
37
|
|
38 -----
|
|
39
|
|
40 .. class:: infomark
|
|
41
|
|
42 **Inputs and outputs**
|
|
43
|
4
|
44 This wrapper will accept two text files as input and produce two output files
|
3
|
45 with concatenated content from input files.
|
|
46
|
|
47 *Note:* You must set the "Probability of failure" parameter to a non-zero value
|
|
48 for "Write to standard out", "Write to standard error" or "Exit code" to take effect.
|
|
49
|
|
50 </help>
|
|
51 </tool>
|