comparison analysis_get_analyses.xml @ 0:0d3e2ed34956 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:49:54 -0400
parents
children e7eae84daf94
comparison
equal deleted inserted replaced
-1:000000000000 0:0d3e2ed34956
1 <?xml version="1.0"?>
2 <tool id="analysis_get_analyses" profile="16.04" name="Get analyses" version="@WRAPPER_VERSION@.0">
3 <description>from Tripal</description>
4 <macros>
5 <import>macros.xml</import>
6 </macros>
7 <expand macro="requirements">
8 <requirement type="package" version="1.5">jq</requirement>
9 </expand>
10 <expand macro="stdio"/>
11 <command><![CDATA[
12
13 @AUTH@
14
15 tripaille analysis get_analyses
16
17 #if $analysis_id:
18 --analysis_id "$analysis_id"
19 #end if
20 #if $name:
21 --name "$name"
22 #end if
23 #if $program:
24 --program "$program"
25 #end if
26 #if $programversion:
27 --programversion "$programversion"
28 #end if
29 #if $algorithm:
30 --algorithm "$algorithm"
31 #end if
32 #if $sourcename:
33 --sourcename "$sourcename"
34 #end if
35 #if $sourceversion:
36 --sourceversion "$sourceversion"
37 #end if
38 #if $sourceuri:
39 --sourceuri "$sourceuri"
40 #end if
41 #if $date_executed:
42 --date_executed "$date_executed"
43 #end if
44
45 | jq -S . > $results
46 ]]></command>
47 <inputs>
48 <param name="analysis_id" label="Analysis Id" argument="analysis_id" type="integer" optional="true" help="An analysis ID" />
49 <param name="name" label="Name" argument="name" type="text" optional="true" help="analysis name" />
50 <param name="program" label="Program" argument="program" type="text" optional="true" help="analysis program" />
51 <param name="programversion" label="Programversion" argument="programversion" type="text" optional="true" help="analysis programversion" />
52 <param name="algorithm" label="Algorithm" argument="algorithm" type="text" optional="true" help="analysis algorithm" />
53 <param name="sourcename" label="Sourcename" argument="sourcename" type="text" optional="true" help="analysis sourcename" />
54 <param name="sourceversion" label="Sourceversion" argument="sourceversion" type="text" optional="true" help="analysis sourceversion" />
55 <param name="sourceuri" label="Sourceuri" argument="sourceuri" type="text" optional="true" help="analysis sourceuri" />
56 <param name="date_executed" label="Date Executed" argument="date_executed" type="text" optional="true" help="analysis date_executed (yyyy-mm-dd)" />
57 </inputs>
58 <outputs>
59 <data format="json" name="results" label="Tripal analyses" />
60 </outputs>
61 <tests>
62 <test expect_failure="true">
63 <param name="analysis_id" value="3" />
64
65 <expand macro="test_result" />
66 </test>
67 </tests>
68 <help><![CDATA[
69 @HELP_OVERVIEW@
70
71 **Get Analyses**
72
73 With this tool, you can list analyses from the Tripal/Chado database.
74
75 @HELP@
76 ]]></help>
77 <expand macro="citation"/>
78 </tool>