comparison analysis_add_analysis.xml @ 0:faa1a435c1c0 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
author gga
date Thu, 21 Jun 2018 08:46:28 -0400
parents
children 72cabf21ce8d
comparison
equal deleted inserted replaced
-1:000000000000 0:faa1a435c1c0
1 <?xml version="1.0"?>
2 <tool id="analysis_add_analysis" name="Chado analysis add" version="@WRAPPER_VERSION@.0">
3 <description></description>
4 <macros>
5 <import>macros.xml</import>
6 </macros>
7 <expand macro="requirements"/>
8 <command detect_errors="aggressive"><![CDATA[
9 @AUTH@
10
11 chakin analysis add_analysis
12 '$name'
13 '$program'
14 '$programversion'
15 '$sourcename'
16
17 #if $algorithm:
18 --algorithm '$algorithm'
19 #end if
20 #if $sourceversion:
21 --sourceversion '$sourceversion'
22 #end if
23 #if $sourceuri:
24 --sourceuri '$sourceuri'
25 #end if
26 #if $description:
27 --description '$description'
28 #end if
29 #if $date_executed:
30 --date_executed '$date_executed'
31 #end if
32
33 | jq -S . > $results
34 ]]></command>
35 <inputs>
36 <!-- arguments -->
37 <param name="name" label="Name" argument="name" type="text" help="analysis name" />
38 <param name="program" label="Program" argument="program" type="text" help="analysis program" />
39 <param name="programversion" label="Programversion" argument="programversion" type="text" help="analysis programversion" />
40 <param name="sourcename" label="Sourcename" argument="sourcename" type="text" help="analysis sourcename" />
41
42 <!-- options -->
43 <param name="algorithm" label="Algorithm" argument="algorithm" type="text" help="analysis algorithm" optional="True" />
44 <param name="sourceversion" label="Sourceversion" argument="sourceversion" type="text" help="analysis sourceversion" optional="True" />
45 <param name="sourceuri" label="Sourceuri" argument="sourceuri" type="text" help="analysis sourceuri" optional="True" />
46 <param name="description" label="Description" argument="description" type="text" help="analysis description" optional="True" />
47 <param name="date_executed" label="Date Executed" argument="date_executed" type="text" optional="True" help="analysis date_executed (yyyy-mm-dd)">
48 <validator type="regex" message="Date in YYYY-MM-DD format">^[0-9]{4}-[0-9]{2}-[0-9]{2}$</validator>
49 </param>
50
51 </inputs>
52 <outputs>
53 <data format="json" name="results"/>
54 </outputs>
55 <help>
56 Create an analysis
57
58 @HELP@
59 </help>
60 </tool>