annotate galaxy/tools/config_builder/config_builder.xml @ 7:4bfb3a8dd955 draft

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