comparison refinery_test_1-1.xml @ 2:fb14f26733e1 draft

Initial upload from archive
author hackdna
date Thu, 09 May 2013 00:48:11 -0400
parents
children f725e3820fb4
comparison
equal deleted inserted replaced
1:d583c2688c88 2:fb14f26733e1
1 <tool id="refinery_test_1-1" name="Refinery test tool 1-1" 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_file -o $output_file -e $exit_code -p $p_fail -s $sleep_time $stdout $stderr
6 </command>
7
8 <inputs>
9 <param name="input_file" format="txt" type="data" label="Input file"/>
10 <param name="sleep_time" type="integer" label="Sleep (seconds)" value="0" min="0"/>
11 <param name="p_fail" type="float" label="Probability of failure [0.0, 1.0]" value="0.0" min="0.0" max="1.0"/>
12 <param name="stdout" type="boolean" label="Write to standard out" truevalue="--stdout" falsevalue=""/>
13 <param name="stderr" type="boolean" label="Write to standard error" truevalue="--stderr" falsevalue=""/>
14 <param name="exit_code" type="integer" label="Exit code [0, 255]" value="0" min="0" max="255"/>
15 </inputs>
16
17 <outputs>
18 <data format="txt" name="output_file" label="Text file"/>
19 </outputs>
20
21 <stdio>
22 <exit_code range="1:" level="fatal" />
23 <regex match=".+" source="stdout" level="fatal" description="Tool produced output to standard out" />
24 <regex match=".+" source="stderr" level="fatal" description="Tool produced output to standard error" />
25 </stdio>
26
27 <help>
28
29 .. class:: infomark
30
31 **Purpose**
32
33 To test Galaxy workflow execution and monitoring from Refinery.
34
35 -----
36
37 .. class:: infomark
38
39 **Inputs and outputs**
40
41 This wrapper will accept one text file as input and produce a single output file
42 with content from input.
43
44 *Note:* You must set the "Probability of failure" parameter to a non-zero value
45 for "Write to standard out", "Write to standard error" or "Exit code" to take effect.
46
47 </help>
48 </tool>