comparison biohansel.xml @ 7:3360158bb0c5 draft

planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
author nml
date Mon, 13 May 2019 09:42:08 -0400
parents ba6a0af656a6
children 4fa9d5e748d4
comparison
equal deleted inserted replaced
6:ba6a0af656a6 7:3360158bb0c5
1 <tool id="biohansel" name="biohansel" version="2.1.5"> 1 <tool id="biohansel" name="biohansel" version="2.1.6">
2 <description>SNP subtyping of genome sequence reads or assemblies</description> 2 <description>SNP subtyping of genome sequence reads or assemblies</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="2.1.1">bio_hansel</requirement> 4 <requirement type="package" version="2.1.1">bio_hansel</requirement>
5 </requirements> 5 </requirements>
6 <command detect_errors="exit_code"> 6 <command detect_errors="exit_code">
70 ln -s "$input.paired_collection.forward" $forward_filename && 70 ln -s "$input.paired_collection.forward" $forward_filename &&
71 ln -s "$input.paired_collection.reverse" $reverse_filename && 71 ln -s "$input.paired_collection.reverse" $reverse_filename &&
72 #end if 72 #end if
73 73
74 ## Checking for custom scheme. 74 ## Checking for custom scheme.
75 #if $type_of_scheme.scheme_type == "custom": 75 #if $type_of_scheme.scheme_check == "custom":
76 #if $type_of_scheme.scheme_input.is_of_type('fasta'): 76 #if $type_of_scheme.scheme_input.is_of_type('fasta'):
77 ln -s '$type_of_scheme.scheme_input' '$type_of_scheme.scheme_input.name' && 77 ln -s '$type_of_scheme.scheme_input' '$type_of_scheme.scheme_input.name' &&
78 #end if 78 #end if
79 #end if 79 #end if
80 80
110 -O match_results.tab 110 -O match_results.tab
111 -S tech_results.tab 111 -S tech_results.tab
112 $dev_args.use_json 112 $dev_args.use_json
113 $input_files 113 $input_files
114 --scheme 114 --scheme
115 #if $type_of_scheme.scheme_type == "custom": 115 #if $type_of_scheme.scheme_check == "custom":
116 '$type_of_scheme.scheme_input.name' 116 '$type_of_scheme.scheme_input.name'
117 #else: 117 #else:
118 $type_of_scheme.scheme_type 118 $type_of_scheme.scheme_type
119 #end if 119 #end if
120 #if $subtype_metadata_filename 120 #if $subtype_metadata_filename
187 label="Paired-end reads collection (FASTQ)" 187 label="Paired-end reads collection (FASTQ)"
188 /> 188 />
189 </when> 189 </when>
190 </conditional> 190 </conditional>
191 <conditional name="type_of_scheme"> 191 <conditional name="type_of_scheme">
192 <param name="scheme_type" type="select" 192 <param name="scheme_check" type="select"
193 label="SNP Subtyping Scheme" 193 label="Subtyping Schemes"
194 help="Select the SNP subtyping scheme you wish to subtype with"> 194 help="Use included scheme or custom">
195 <option value="heidelberg">Salmonella Heidelberg subtyping scheme</option> 195 <option value="standard">Included Biohansel Schemes</option>
196 <option value="enteritidis">Salmonella Enteritidis subtyping scheme</option> 196 <option value="custom">Select User Custom Scheme</option>
197 <option value="custom">Specify your own custom scheme</option>
198 </param> 197 </param>
199 <when value="heidelberg"/> 198 <when value="standard">
200 <when value="enteritidis"/> 199 <param name="scheme_type" type="select"
200 label="Included SNP Subtyping Scheme">
201 <option value="heidelberg">Salmonella Heidelberg subtyping scheme</option>
202 <option value="enteritidis">Salmonella Enteritidis subtyping scheme</option>
203 </param>
204 </when>
201 <when value="custom"> 205 <when value="custom">
202 <param name="scheme_input" 206 <param name="scheme_input"
203 type="data" format="fasta" 207 type="data" format="fasta"
204 label="Your biohansel SNP Subtyping Scheme"/> 208 label="Your Custom Biohansel SNP Subtyping Scheme"/>
205 </when> 209 </when>
206 </conditional> 210 </conditional>
207 <param name="subtype_metadata" 211 <param name="subtype_metadata"
208 type="data" format="tabular,csv" 212 type="data" format="tabular,csv"
209 optional="true" 213 optional="true"