comparison analysis_load_go.xml @ 0:81f5e6980725 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit f745b23c84a615bf434d717c8c0e553a012f0268
author gga
date Mon, 11 Sep 2017 05:51:44 -0400
parents
children 976020e5c924
comparison
equal deleted inserted replaced
-1:000000000000 0:81f5e6980725
1 <?xml version="1.0"?>
2 <tool id="analysis_load_go" profile="16.04" name="Load Blast2GO results" version="@WRAPPER_VERSION@.0">
3 <description>into Tripal</description>
4 <macros>
5 <import>macros.xml</import>
6 </macros>
7 <expand macro="requirements"/>
8 <expand macro="stdio"/>
9 <command><![CDATA[
10 tmp_dir=`mktemp -d -p "@DATA_DIR@"` && chmod a+rx "\${tmp_dir}"
11
12 &&
13
14 cp '${input}' "\${tmp_dir}/blast2go.gaf"
15
16 &&
17
18 @AUTH@
19
20 tripaille analysis load_go
21
22 @ANALYSIS@
23
24 @MATCHING@
25
26 "\${tmp_dir}/blast2go.gaf"
27
28 &&
29
30 echo "Data loaded" > $results
31 ]]></command>
32 <inputs>
33 <param name="input"
34 type="data"
35 format="txt"
36 label="Blast2Go results (GAF file)" />
37
38 <expand macro="matching"/>
39 <expand macro="analysis" />
40 </inputs>
41 <outputs>
42 <data format="txt" name="results" label="Load Blast2GO results into Tripal" />
43 </outputs>
44 <tests>
45 <test expect_failure="true" expect_exit_code="1">
46 <param name="input" value="blast2go.gaf" />
47 <param name="query_type" value="polypeptide" />
48 <param name="query_uniquename" value="true" />
49 <section name="analysis">
50 <param name="name" value="Some analysis" />
51 <param name="program" value="interproscan" />
52 <param name="program_version" value="58.2" />
53 <param name="algorithm" value="blast2go" />
54 <param name="source" value="NCBI" />
55 <param name="source_version" value="1.0" />
56 <param name="source_uri" value="http://ncbi.com/somewhere" />
57 <param name="description" value="My cool new test analysis" />
58 <param name="date" value="2016-12-12" />
59 </section>
60
61 <expand macro="test_result" />
62 </test>
63 </tests>
64 <help><![CDATA[
65 @HELP_OVERVIEW@
66
67 **Load Blast2Go results**
68
69 With this tool, you can load Blast2go results into the Tripal/Chado database.
70
71 A corresponding analysis will be created, keep in mind that you cannot add multiple analysis with the same program, program version and source.
72
73 The `tripal_analysis_go <http://github.com/tripal/tripal_analysis_go>`_ module must be installed and configured on the Tripal instance.
74
75 @HELP@
76 ]]></help>
77 <expand macro="citation"/>
78 </tool>