annotate refinery_test_2-6.xml @ 10:ca9a5aa3a59a draft default tip

Update sample workflows to provide empty output file option.
author hackdna
date Mon, 13 May 2013 18:27:37 -0400
parents ee221004e3b4
children
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">
8
ee221004e3b4 Add an option to produce empty files.
hackdna
parents: 4
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 $empty_outfile
4
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"/>
8
ee221004e3b4 Add an option to produce empty files.
hackdna
parents: 4
diff changeset
12 <param name="empty_outfile" type="boolean" label="Produce empty output files" truevalue="--empty_outfile" falsevalue=""/>
4
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
13 <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
14 <param name="stdout" type="boolean" label="Write to standard out" truevalue="--stdout" falsevalue=""/>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
15 <param name="stderr" type="boolean" label="Write to standard error" truevalue="--stderr" falsevalue=""/>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
16 <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
17 </inputs>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
18
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
19 <outputs>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
20 <data format="txt" name="output_file1" label="Output file A"/>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
21 <data format="txt" name="output_file2" label="Output file B"/>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
22 <data format="txt" name="output_file3" label="Output file C"/>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
23 <data format="txt" name="output_file4" label="Output file D"/>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
24 <data format="txt" name="output_file5" label="Output file E"/>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
25 <data format="txt" name="output_file6" label="Output file F"/>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
26 </outputs>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
27
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
28 <stdio>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
29 <exit_code range="1:" level="fatal" />
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
30 <regex match=".+" source="stdout" level="fatal" description="Tool produced output to standard out" />
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
31 <regex match=".+" source="stderr" level="fatal" description="Tool produced output to standard error" />
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
32 </stdio>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
33
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
34 <help>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
35
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
36 .. class:: infomark
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
37
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
38 **Purpose**
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
39
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
40 To test Galaxy workflow execution and monitoring from Refinery.
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
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
44 .. class:: infomark
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
45
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
46 **Inputs and outputs**
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
47
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
48 This wrapper will accept two text files as input and produce six output files
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
49 with concatenated content from input files.
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
50
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
51 *Note:* You must set the "Probability of failure" parameter to a non-zero value
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
52 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
53
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
54 </help>
ccf0e1ca6fe9 Add 2-6 test tool.
hackdna
parents:
diff changeset
55 </tool>