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

Fixed config builder tags
author matnguyen
date Tue, 05 Mar 2019 03:48:13 -0500
parents 56f1b7f06222
children 343bce47219b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
1 <tool id="config_builder" name="PathOGiST - Config Builder" version="1.0.0">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
2 <description>: Creates and populates the config file to run PathOGiST</description>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
3 <requirements>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
4 <requirement type="package" version="0.2.3">pathogist</requirement>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
5 </requirements>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
6
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
7 <command><![CDATA[
3
56f1b7f06222 Modified config builder
matnguyen
parents: 2
diff changeset
8 PATHOGIST all blank_config.yaml --new_config
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
9
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
10 $__tool_directory__/config_builder
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
11
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
12 #if snippy.snippy_checkbox
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
13 --snippy
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
14 --reference $snippy.reference
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
15 #if snippy.snippy_adv.snippy_adv_checkbox
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
16 --mapqual $snippy.mapqual
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
17 --basequal $snippy.basequal
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
18 --mincov $snippy.mincov
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
19 --minfrac $snippy.minfrac
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
20 #end if
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
21 $snippy.snp_fine
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
22 --snp_thresh $snippy.snp_threshold
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
23 #end if
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
24
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
25 #if mentalist.mentalist_checkbox
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
26 --mentalist
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
27 #if mentalist.db_loc.db_selector == "local_file"
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
28 --local_file
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
29 --local_db $mentalist.mlst_database
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
30 #end if
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
31 #if mentalist.db_loc.db_selector == "build_db"
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
32 --build_db
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
33 --kmer $mentalist.k
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
34 --fasta_files $mentalist.fasta_files
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
35 --profile $mentalist.profile
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
36 #end if
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
37 #if mentalist.db_loc.db_selector == "download_pubmlst"
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
38 --download_pubmlst
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
39 --kmer $mentalist.k
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
40 --scheme $mentalist.scheme
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
41 #end if
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
42 #if mentalist.db_loc.db_selector == "download_cgmlst"
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
43 --download_cgmlst
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
44 --kmer $mentalist.k
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
45 --scheme $mentalist.scheme
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
46 #end if
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
47 #if mentalist.db_loc.db_selector == "download_enterobase"
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
48 --download_enterobase $mentalist.k
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
49 --entero_scheme $mentalist.scheme
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
50 --entero_type $mentalist.type
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
51 #end if
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
52 #if mentalist.mentalist_adv.mentalist_adv_checkbox
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
53 --mutation_threshold $mentalist.mutation_thresh
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
54 --kt $mentalist.kt
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
55 #end if
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
56 $mentalist.mlst_fine
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
57 --mlst_thresh $mentalist.mlst_threshold
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
58 #end if
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
59
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
60 #if prince.prince_checkbox
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
61 --prince
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
62 $prince.cnv_fine
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
63 --cnv_thresh $prince.cnv_threshold
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
64 #end if
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
65
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
66 #if kwip.kwip_checkbox
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
67 --kwip
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
68 #if kwip.kwip_adv.kwip_adv_checkbox
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
69 --N $kwip.N
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
70 --x $kwip.x
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
71 --ksize $kwip.ksize
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
72 --unique_kmers $kwip.unique_kmers
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
73 #end if
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
74 $kwip.kwip_fine
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
75 --kwip_thresh $kwip.kwip_threshold
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
76 #end if
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
77
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
78 #if spotyping.spotyping_checkbox
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
79 --spotyping
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
80 $spotyping.spoligo_fine
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
81 --spoligo_thresh $spotyping.spoligo_threshold
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
82 #end if
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
83
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
84 #if adv_clustering.adv_clustering_checkbox
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
85 $adv_clustering.all_constraints
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
86 --method $adv_clustering.method
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
87 $adv_clustering.presolve
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
88 $adv_clustering.visualize
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
89 #end if
3
56f1b7f06222 Modified config builder
matnguyen
parents: 2
diff changeset
90
4
727c0e52e64e Fixed config builder tags
matnguyen
parents: 3
diff changeset
91 blank_config.yaml
3
56f1b7f06222 Modified config builder
matnguyen
parents: 2
diff changeset
92 $forward
56f1b7f06222 Modified config builder
matnguyen
parents: 2
diff changeset
93 $reverse
56f1b7f06222 Modified config builder
matnguyen
parents: 2
diff changeset
94 config.yaml
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
95 ]]></command>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
96
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
97
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
98 <inputs>
3
56f1b7f06222 Modified config builder
matnguyen
parents: 2
diff changeset
99 <param name="forward" type="data" format="txt,tabular" label="List of forward reads"/>
56f1b7f06222 Modified config builder
matnguyen
parents: 2
diff changeset
100 <param name="reverse" type="data" format="txt,tabular" label="List of reverse reads"/>
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
101
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
102 <conditional name="snippy">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
103 <param name="snippy_checkbox" type="boolean" label="Run Snippy"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
104 <when value="true">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
105 <param name="reference" type="data" format="fasta,fa,fasta.gz,fa.gz" label="Reference Genome"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
106 <conditional name="snippy_adv">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
107 <param name="snippy_adv_checkbox" type="boolean" label="Advanced Snippy Parameters"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
108 <when value="true">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
109 <param name="mapqual" type="integer" value="60" min="0" label="Minimum read mapping
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
110 quality to consider"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
111 <param name="basequal" type="integer" value="20" min="0" label="Minimum base quality
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
112 to consider"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
113 <param name="mincov" type="integer" value="10" min="0" label="Minimum coverage of
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
114 variant site"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
115 <param name="minfrac" type="float" value="0.9" min="0" label="Minimum proportion of
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
116 variant evidence"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
117 </when>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
118 </conditional>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
119 <param name="snp_fine" type="boolean" label="Consider SNP as a fine datatype"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
120 <param name="snp_threshold" type="integer" value="2500" min="0"
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
121 label="Correlation clustering threshold for MLST"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
122 </when>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
123 </conditional>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
124
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
125 <conditional name="mentalist">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
126 <param name="mentalist_checkbox" type="boolean" label="Run MentaLiST"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
127 <when value="true">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
128 <conditional name="db_loc">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
129 <param name="db_selector" type="select" label="Option for obtaining MLST database">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
130 <option value="local_file">Local File</option>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
131 <option value="build_db">Build DB</option>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
132 <option value="download_pubmlst">Download PubMLST Scheme</option>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
133 <option value="download_cgmlst">Download cgMLST Scheme</option>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
134 <option value="download_enterobase">Download Enterobase Scheme</option>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
135 </param>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
136 <when value="local_file">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
137 <param name="mlst_database" format="db" type="data" label="MLST database file"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
138 </when>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
139 <when value="build_db">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
140 <param name="k" type="integer" value="31" min="1" label="kmer size"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
141 <param name="fasta_files" type="data" format="txt,tabular" label="List of FASTA files"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
142 <param name="profile" type="data" format="txt" label="Profile file for known
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
143 genotypes"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
144 </when>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
145 <when value="download_pubmlst">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
146 <param name="k" type="integer" value="31" min="1" label="kmer size"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
147 <param name="scheme" type="text" label="Species name or scheme ID"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
148 </when>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
149 <when value="download_cgmlst">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
150 <param name="k" type="integer" value="31" min="1" label="kmer size"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
151 <param name="scheme" type="text" label="Species name or scheme ID"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
152 </when>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
153 <when value="download_enterobase">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
154 <param name="k" type="integer" value="31" min="1" label="kmer size"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
155 <param name="scheme" type="text" label="(S)almonella, (Y)ersinia, or
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
156 (E)scherichia/Shigella"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
157 <param name="type" type="text" label="'cg' or 'wg' for cgMLST or wgMLST, respectively"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
158 </when>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
159 </conditional>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
160
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
161 <conditional name="mentalist_adv">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
162 <param name="mentalist_adv_checkbox" type="boolean" label="Advanced MentaLiST Parameters"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
163 <when value="true">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
164 <param name="mutation_thresh" type="integer" min="1" value="6" label="Maximum number of
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
165 mutations when looking for novel alleles"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
166 <param name="kt" type="integer" value="10" min="1" label="Minimum number of times a
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
167 kmer is seen to be considered present in the sample"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
168 </when>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
169 </conditional>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
170 <param name="mlst_fine" type="boolean" label="Consider MLST as a fine datatype"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
171 <param name="mlst_threshold" type="integer" value="300" min="0"
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
172 label="Correlation clustering threshold for MLST"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
173 </when>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
174 </conditional>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
175
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
176 <conditional name="prince">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
177 <param name="prince_checkbox" type="boolean" label="Run PRINCE"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
178 <when value="true">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
179 <param name="cnv_fine" type="boolean" label="Consider CNV as a fine datatype"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
180 <param name="cnv_threshold" type="integer" value="100" min="0"
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
181 label="Correlation clustering threshold for CNV"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
182 </when>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
183 </conditional>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
184
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
185 <conditional name="kwip">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
186 <param name="kwip_checkbox" type="boolean" label="Run kWIP"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
187 <when value="true">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
188 <conditional name="kwip_adv">
3
56f1b7f06222 Modified config builder
matnguyen
parents: 2
diff changeset
189 <param name="kwip_adv_checkbox" type="boolean" label="Advanced kWIP Parameters"/>
2
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
190 <when value="true">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
191 <param name="N" type="integer" value="1" min="1" label="Number of tables"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
192 <param name="x" type="float" value="1e9" min="1" label="Maximum table size"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
193 <param name="ksize" type="integer" value="31" min="1" label="kmer size"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
194 <param name="unique_kmers" type="integer" value="0" min="0" label="Approximate number
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
195 of unique kmers in the input set"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
196 </when>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
197 </conditional>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
198 <param name="kwip_fine" type="boolean" label="Consider kWIP as a fine datatype"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
199 <param name="kwip_threshold" type="float" value="0.4" min="0"
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
200 label="Correlation clustering threshold for kWIP"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
201 </when>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
202 </conditional>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
203
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
204 <conditional name="spotyping">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
205 <param name="spotyping_checkbox" type="boolean" label="Run SpoTyping"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
206 <when value="true">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
207 <param name="spoligo_fine" type="boolean" label="Consider spoligotype as a fine datatype"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
208 <param name="spoligo_threshold" type="integer" value="8" min="0"
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
209 label="Correlation clustering threshold for Spoligotyping"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
210 </when>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
211 </conditional>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
212
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
213 <conditional name="adv_clustering">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
214 <param name="adv_clustering_checkbox" type="boolean"
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
215 label="Advanced settings for correlation and consensus clustering"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
216 <when value="true">
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
217 <param name="all_constraints" type="boolean" checked="true" falsevalue="--less_constraints"
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
218 truevalue="" label="Use all constraints when performing clustering"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
219 <param name="method" type="text" value="C4" size="3"
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
220 label="`C4` or `ILP` method for clustering algorithm"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
221 <param name="presolve" type="boolean" checked="true" falsevalue="--no_presolve" truevalue=""
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
222 label="Perform presolving for clustering"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
223 <param name="visualize" type="boolean" checked="false" falsevalue="" truevalue="--visualize"
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
224 label="Visualize clusters"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
225 </when>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
226 </conditional>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
227 </inputs>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
228
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
229 <outputs>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
230 <data name="output" label="PathOGiST Config File" format="yaml" from_work_dir="config.yaml"/>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
231 </outputs>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
232
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
233 <help>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
234
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
235 </help>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
236
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
237 <citations>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
238
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
239 </citations>
baf1e89b42eb Added config builder
matnguyen
parents:
diff changeset
240 </tool>