annotate galaxy/tools/concatenator/concatenator.xml @ 4:727c0e52e64e draft

Fixed config builder tags
author matnguyen
date Tue, 05 Mar 2019 03:48:13 -0500
parents baf1e89b42eb
children a39471bf7d13
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
1 <tool id="concatenator" name="Concatenator" version="1.0.0">
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
2 <description>creates a list of accessions and the associated path to their variant calls</description>
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
3 <requirements>
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
4 <requirement type="package" version="0.2.3">pathogist</requirement>
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
5 </requirements>
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
6
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
7 <command><![CDATA[
2
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
8 $__tool_directory__/concatenator
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
9
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
10 #if $input_type.input_type_selector == "variant"
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
11 variant
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
12 -n #for $path in $input_type.paths# ${path.element_identifier} #end for#
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
13 -i #for $path in $input_type.paths# $path #end for#
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
14 #elif $input_type.input_type_selector == "clustering"
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
15 cluster
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
16 #if $input_type.mlst.mlst_checkbox
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
17 --mlst $input_type.mlst.mlst_path
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
18 #end if
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
19 #if $input_type.snp.snp_checkbox
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
20 --snp $input_type.snp.snp_path
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
21 #end if
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
22 #if $input_type.cnv.cnv_checkbox
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
23 --cnv $input_type.cnv.cnv_path
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
24 #end if
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
25 #if $input_type.spoligo.spoligo_checkbox
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
26 --spoligo $input_type.spoligo.spoligo_path
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
27 #end if
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
28 #end if
1
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
29 ]]></command>
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
30
2
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
31
1
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
32 <inputs>
2
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
33 <conditional name="input_type">
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
34 <param name="input_type_selector" type="select" label="Concatenation of variant calls, or clustering files">
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
35 <option value="variant">Variant Call Files</option>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
36 <option value="clustering">Clustering/Distance Matrix Files</option>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
37 </param>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
38 <when value="variant">
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
39 <param name="paths" type="data" label="Collection of calls" help="" optional="False" multiple="True"/>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
40 </when>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
41 <when value="clustering">
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
42 <conditional name="mlst">
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
43 <param name="mlst_checkbox" type="boolean" label="Include MLST"/>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
44 <when value="true">
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
45 <param name="mlst_path" type="data" label="MLST Clustering/Distance Matrix file"
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
46 format="txt,tabular"/>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
47 </when>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
48 </conditional>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
49 <conditional name="snp">
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
50 <param name="snp_checkbox" type="boolean" label="Include SNP"/>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
51 <when value="true">
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
52 <param name="snp_path" type="data" label="SNP Clustering/Distance Matrix file"
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
53 format="txt,tabular"/>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
54 </when>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
55 </conditional>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
56 <conditional name="cnv">
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
57 <param name="cnv_checkbox" type="boolean" label="Include CNV"/>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
58 <when value="true">
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
59 <param name="cnv_path" type="data" label="CNV Clustering/Distance Matrix file"
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
60 format="txt,tabular"/>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
61 </when>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
62 </conditional>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
63 <conditional name="spoligo">
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
64 <param name="spoligo_checkbox" type="boolean" label="Include Spoligotyping"/>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
65 <when value="true">
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
66 <param name="spoligo_path" type="data" label="Spoligotyping Clustering/Distance Matrix file"
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
67 format="txt,tabular"/>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
68 </when>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
69 </conditional>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
70 </when>
baf1e89b42eb Added config builder
matnguyen
parents: 1
diff changeset
71 </conditional>
1
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
72 </inputs>
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
73
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
74 <outputs>
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
75 <data name="output" label="Paths of ${on_string}" format="txt" from_work_dir="paths.txt"/>
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
76 </outputs>
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
77
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
78 <help>
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
79
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
80 </help>
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
81
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
82 <citations>
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
83
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
84 </citations>
c1b6f5fbbcad Updated pathogist version
matnguyen
parents:
diff changeset
85 </tool>