annotate refinery_test_2-6.xml @ 6:66d49d9635b1 draft

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