Mercurial > repos > iuc > bbtools_bbduk
comparison bbduk.xml @ 7:4f4e34a75de9 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit b3c4dcad33ad59a50c953f409896dc2279e776ab
| author | iuc |
|---|---|
| date | Thu, 13 Feb 2025 12:06:47 +0000 |
| parents | c456a40153af |
| children |
comparison
equal
deleted
inserted
replaced
| 6:c456a40153af | 7:4f4e34a75de9 |
|---|---|
| 139 gchist='${output_gchist}' | 139 gchist='${output_gchist}' |
| 140 #end if | 140 #end if |
| 141 #if str($output_hists_cond.output_hists_select).find('enthist') >= 0: | 141 #if str($output_hists_cond.output_hists_select).find('enthist') >= 0: |
| 142 enthist='${output_enthist}' | 142 enthist='${output_enthist}' |
| 143 #end if | 143 #end if |
| 144 #end if | |
| 145 #if $log_file | |
| 146 2> >(tee '$log_output' >&2) | |
| 144 #end if | 147 #end if |
| 145 t=\${GALAXY_SLOTS:-4} | 148 t=\${GALAXY_SLOTS:-4} |
| 146 ]]></command> | 149 ]]></command> |
| 147 <inputs> | 150 <inputs> |
| 148 <expand macro="input_type_cond"/> | 151 <expand macro="input_type_cond"/> |
| 224 <option value="gchist">Read GC content histogram</option> | 227 <option value="gchist">Read GC content histogram</option> |
| 225 <option value="enthist">Read entropy histogram</option> | 228 <option value="enthist">Read entropy histogram</option> |
| 226 </param> | 229 </param> |
| 227 </when> | 230 </when> |
| 228 </conditional> | 231 </conditional> |
| 232 <param name="log_file" type="boolean" label="Generate a log file" help="Generates a log file, which can be used as MultiQC input"/> | |
| 229 </inputs> | 233 </inputs> |
| 230 <outputs> | 234 <outputs> |
| 231 <data name="outputu" format="fastqsanger" label="${tool.name} on ${on_string} (Forward Unmatched)"> | 235 <data name="outputu" format="fastqsanger" label="${tool.name} on ${on_string} (Forward Unmatched)"> |
| 232 <filter>str(outputs_select).find('outu') >= 0</filter> | 236 <filter>str(outputs_select).find('outu') >= 0</filter> |
| 233 <filter>'outu' in outputs_select</filter> | 237 <filter>'outu' in outputs_select</filter> |
| 281 <filter>output_hists_cond['output_hists'] == 'yes' and 'gchist' in output_hists_cond['output_hists_select']</filter> | 285 <filter>output_hists_cond['output_hists'] == 'yes' and 'gchist' in output_hists_cond['output_hists_select']</filter> |
| 282 </data> | 286 </data> |
| 283 <data name="output_enthist" format="tabular" label="${tool.name} on ${on_string} (Read entropy)"> | 287 <data name="output_enthist" format="tabular" label="${tool.name} on ${on_string} (Read entropy)"> |
| 284 <filter>output_hists_cond['output_hists'] == 'yes' and 'enthist' in output_hists_cond['output_hists_select']</filter> | 288 <filter>output_hists_cond['output_hists'] == 'yes' and 'enthist' in output_hists_cond['output_hists_select']</filter> |
| 285 </data> | 289 </data> |
| 290 <data name="log_output" format="txt" label="${tool.name} on ${on_string} (Log file)"> | |
| 291 <filter>log_file</filter> | |
| 292 </data> | |
| 286 </outputs> | 293 </outputs> |
| 287 <tests> | 294 <tests> |
| 288 <!-- Single read --> | 295 <!-- Single read --> |
| 289 <test expect_num_outputs="1"> | 296 <test expect_num_outputs="2"> |
| 290 <param name="read1" value="13-1941-6_S4_L001_R1_600000.fastq.gz" ftype="fastqsanger.gz"/> | 297 <param name="read1" value="13-1941-6_S4_L001_R1_600000.fastq.gz" ftype="fastqsanger.gz"/> |
| 291 <param name="reference" value="adapters.fa.gz" ftype="fasta.gz"/> | 298 <param name="reference" value="adapters.fa.gz" ftype="fasta.gz"/> |
| 292 <param name="reference_type" value="files"/> | 299 <param name="reference_type" value="files"/> |
| 293 <param name="outputs_select" value="outu"/> | 300 <param name="outputs_select" value="outu"/> |
| 301 <param name="log_file" value="true"/> | |
| 294 <output name="outputu" file="bduk_outputu1.fastqsanger" ftype="fastqsanger" compare="contains"/> | 302 <output name="outputu" file="bduk_outputu1.fastqsanger" ftype="fastqsanger" compare="contains"/> |
| 303 <output name="log_output" ftype="txt"> | |
| 304 <assert_contents> | |
| 305 <has_text text="Executing jgi.BBDuk"/> | |
| 306 <has_text text="Input"/> | |
| 307 <has_text text="Contaminants"/> | |
| 308 <has_text text="Total Removed"/> | |
| 309 <has_text text="Result"/> | |
| 310 <has_text text="10000 bases"/> | |
| 311 <has_text text="100 reads"/> | |
| 312 <has_text text="0 reads"/> | |
| 313 <has_text text="0 bases"/> | |
| 314 </assert_contents> | |
| 315 </output> | |
| 295 </test> | 316 </test> |
| 296 <!-- Paired reads in separate datasets --> | 317 <!-- Paired reads in separate datasets --> |
| 297 <test expect_num_outputs="4"> | 318 <test expect_num_outputs="4"> |
| 298 <param name="input_type" value="pair"/> | 319 <param name="input_type" value="pair"/> |
| 299 <param name="read1" value="13-1941-6_S4_L001_R1_600000.fastq.gz" ftype="fastqsanger.gz"/> | 320 <param name="read1" value="13-1941-6_S4_L001_R1_600000.fastq.gz" ftype="fastqsanger.gz"/> |
