annotate tb_profiler_profile.xml @ 0:82d71ed440f6 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
author iuc
date Tue, 21 Oct 2025 10:24:35 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
1 <tool id="tb_profiler_profile" name="TB-Profiler Profile" version="@TOOL_VERSION@+galaxy0" profile="20.09" license="AGPL-3.0-or-later">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
2 <description>Infer strain types and drug resistance markers from sequences</description>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
3
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
4 <macros>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
5 <import>macros.xml</import>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
6 </macros>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
7
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
8 <xrefs>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
9 <xref type="bio.tools">tb-profiler</xref>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
10 </xrefs>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
11
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
12 <requirements>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
13 <requirement type="package" version="@TOOL_VERSION@">tb-profiler</requirement>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
14 </requirements>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
15
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
16 <expand macro="version_command"/>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
17
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
18 <command detect_errors="exit_code"><![CDATA[
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
19 #if str($fastq_or_bam.input_select.value) in ("paired_fastq", "paired_collection_fastq", "single_fastq")
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
20 #if str($fastq_or_bam.input_select.value) == "paired_fastq"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
21 #set r1_ext = $fastq_or_bam.read1.extension
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
22 #set r2_ext = $fastq_or_bam.read2.extension
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
23 ln -s '$fastq_or_bam.read1' fastq_r1.'$r1_ext' &&
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
24 ln -s '$fastq_or_bam.read2' fastq_r2.'$r2_ext' &&
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
25 #else if str($fastq_or_bam.input_select.value) == "single_fastq"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
26 #set r1_ext = $fastq_or_bam.fastq.extension
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
27 ln -s '$fastq_or_bam.fastq' fastq_r1.'$r1_ext' &&
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
28 #else if str($fastq_or_bam.input_select.value) == "paired_collection_fastq"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
29 #set r1_ext = $fastq_or_bam.fastq_collection.forward.extension
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
30 #set r2_ext = $fastq_or_bam.fastq_collection.reverse.extension
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
31 ln -s '$fastq_or_bam.fastq_collection.forward' fastq_r1.'$r1_ext' &&
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
32 ln -s '$fastq_or_bam.fastq_collection.reverse' fastq_r2.'$r2_ext' &&
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
33 #end if
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
34 #else if str($fastq_or_bam.input_select.value) == "bam"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
35 ln -s '$fastq_or_bam.bam_input' input.bam &&
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
36 #end if
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
37
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
38 tb-profiler profile
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
39 --platform '${platform.value}'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
40 ${spoligotype}
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
41 #if str($fastq_or_bam.input_select.value) in ("paired_fastq", "paired_collection_fastq", "single_fastq")
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
42 -1 fastq_r1.'$r1_ext'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
43 #end if
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
44 #if str($fastq_or_bam.input_select.value) in ("paired_fastq", "paired_collection_fastq")
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
45 -2 fastq_r2.'$r1_ext'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
46 #else if str($fastq_or_bam.input_select.value) == "bam"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
47 --bam input.bam
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
48 #end if
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
49
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
50 --threads "\${GALAXY_SLOTS:-1}"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
51 #if $advanced.options == 'yes'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
52 --mapper '${advanced.mapper}'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
53 --caller '${advanced.caller}'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
54 --depth '${advanced.vf.min_depth_hard},${advanced.vf.min_depth_soft}'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
55 --af '${advanced.vf.min_af_hard},${advanced.vf.min_af_soft}'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
56 --strand '${advanced.vf.min_read_hard},${advanced.vf.min_read_soft}'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
57 --sv-depth '${advanced.vf.min_sv_depth_hard},${advanced.vf.min_sv_depth_soft}'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
58 --sv-af '${advanced.vf.min_sv_af_hard},${advanced.vf.min_sv_af_soft}'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
59 --sv-len '${advanced.vf.max_sv_len_hard},${advanced.vf.max_sv_len_soft}'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
60 ${advanced.suspect}
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
61 ${advanced.no_trim}
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
62 ${advanced.no_coverage_qc}
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
63 ${advanced.no_samclip}
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
64 ${advanced.no_delly}
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
65 #end if
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
66
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
67 #if $output_format == "pdf"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
68 --pdf
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
69 #else if $output_format == "txt"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
70 --txt
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
71 #end if
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
72 && mv results/tbprofiler.results.json $results_json
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
73 #if str($fastq_or_bam.input_select) != "bam"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
74 && mv bam/tbprofiler.bam '${output_bam}'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
75 #end if
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
76 && bcftools view -Ov -o '${output_vcf}' vcf/tbprofiler.targets.vcf.gz
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
77 #if $output_format == "pdf"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
78 && mv results/tbprofiler.results.pdf '${output_pdf}'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
79 #else if $output_format == "txt"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
80 && mv results/tbprofiler.results.txt '${output_txt}'
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
81 #end if
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
82
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
83 ]]> </command>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
84 <inputs>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
85 <param name="platform" type="select" label="Platform">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
86 <option value="illumina" selected="true">Illumina</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
87 <option value="nanopore">Nanopore</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
88 <option value="pacbio">PacBio</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
89 </param>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
90 <conditional name="fastq_or_bam">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
91 <param name="input_select" type="select" label="Input File Type">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
92 <option value="paired_fastq">Paired Fastq</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
93 <option value="paired_collection_fastq">Paired Collection Fastq</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
94 <option value="single_fastq">Single Fastq</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
95 <option value="bam">BAM</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
96 </param>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
97 <when value="paired_fastq">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
98 <param name="read1" type="data" format="fastq" label="Read1" help="First read file (default: None)"/>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
99 <param name="read2" type="data" format="fastq" optional="true" label="Read2" help="Second read file (default: None)"/>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
100 </when>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
101 <when value="paired_collection_fastq">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
102 <param label="Reads (collection)" name="fastq_collection" type="data_collection" collection_type="paired" format="fastq,fastq.gz,fastqsanger,fastqsanger.gz" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
103 </when>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
104 <when value="single_fastq">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
105 <param label="Reads" name="fastq" type="data" format="fastq,fastq.gz,fastqsanger,fastqsanger.gz" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
106 </when>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
107 <when value="bam">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
108 <param name="bam_input" type="data" format="bam" label="Bam" help="Warning!!!: The BAM files must have been created using the ensembl version of the genome."/>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
109 </when>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
110 </conditional>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
111 <param argument="--spoligotype" type="boolean" label="Perform in-silico spoligotyping" checked="false" truevalue="--spoligotype" falsevalue=""
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
112 help="Uses spacers of CRISPR region to call a spoligotype."/>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
113 <param name="output_format" label="Output format" type="select">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
114 <option value="txt" selected="true">Text</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
115 <option value="pdf">PDF</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
116 </param>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
117 <conditional name="advanced">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
118 <param label="Select advanced options" type="select" name="options">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
119 <option value="yes">Yes</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
120 <option value="no" selected="true">No</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
121 </param>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
122 <when value="no">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
123 </when>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
124 <when value="yes">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
125 <param argument="mapper" label="Mapper" type="select" help="Mapping tools to use (default: bwa)">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
126 <option value="bwa" selected="true">bwa</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
127 <option value="minimap2">minimap2</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
128 <option value="bowtie2">bowtie2</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
129 <option value="bwa-mem2">bwa-mem2</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
130 </param>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
131 <param argument="caller" label="Variant caller" help="Variant calling tool to use" type="select">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
132 <option value="freebayes" selected="true">freebayes</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
133 <option value="bcftools">bcftools</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
134 <option value="gatk">gatk</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
135 <option value="pilon">pilon</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
136 <option value="lofreq">lofreq</option>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
137 </param>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
138 <section name="vf" title="Variant Filters">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
139 <param name="min_depth_hard" argument="--depth" label="Min Depth (hard cutoff)" type="integer" value="0" min="0"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
140 help="Minimum depth required to call variant. Bases with depth below this cutoff will be marked as missing (default: 0)"/>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
141 <param name="min_depth_soft" argument="--depth" label="Min Depth (soft cutoff)" type="integer" value="10" min="0"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
142 help="Minimum depth required to call variant. Variants at positions lower than this depth and above the hard cutoff will be marked as QC fail (default: 10)"/>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
143 <param name="min_af_hard" argument="--af" type="float" value="0" label="Minimum allele frequency to call variants (hard cutoff)" min="0.0" max="1.0"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
144 help="Minimum allele frequency to call variants (default: 0)" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
145 <param name="min_af_soft" argument="--af" type="float" value="0.1" label="Minimum allele frequency to call variants (soft cutoff)" min="0.0" max="1.0"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
146 help="Variants with an allele frequency lower than this (and higher than the hard cutoff) will be marked as QC fail (default 0.1)" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
147 <param name="min_read_hard" argument="--strand" type="integer" value="0" label="Mininum read number per strand (hard cutoff)" min="0"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
148 help="Minimum read number per strand to call variants (default: 0)" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
149 <param name="min_read_soft" argument="--strand" type="integer" value="3" label="Mininum read number per strand (soft cutoff)" min="0"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
150 help="Minimum read number per strand to report variants (default: 3). Variants with number of reads on each strand below this (and above the hard cutoff) will be marked as QC fail" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
151 <param name="min_sv_depth_hard" argument="--sv-depth" type="integer" value="0" label="Min Depth for SV (hard cutoff)" min="0"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
152 help="Minimum depth required to call structural variants (default: 0)" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
153 <param name="min_sv_depth_soft" argument="--sv-depth" type="integer" value="10" label="Min Depth for SV (soft cutoff)" min="0"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
154 help="Minimum depth required to call structural variants. Variants at positions lower than this depth and above the hard cutoff will be marked as QC fail" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
155 <param name="min_sv_af_hard" argument="--sv-af" type="float" value="0.5" label="Min SV allele frequency (hard cutoff)" min="0.0" max="1.0"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
156 help="Minimum allele frequency to call structural variants (default: 0.5)" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
157 <param name="min_sv_af_soft" argument="--sv-af" type="float" value="0.9" label="Min SV allele frequency (soft cutoff)" min="0.0" max="1.0"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
158 help="Variants with an allele frequency lower than this (and higher than the hard cutoff) will be marked as QC fail (default 0.9)" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
159 <param name="max_sv_len_hard" argument="--sv-len" type="integer" value="100000" label="Max SV length (hard cutoff)" min="0"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
160 help="Maximum length (length) of structural variants to call (default: 100000)" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
161 <param name="max_sv_len_soft" argument="--sv-len" type="integer" value="50000" label="Max SV length (soft cutoff)" min="0"
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
162 help="Structural variants with length higher than this (and lower than the hard cutoff) will be marked as QC fail (default: 50000)" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
163 </section>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
164 <param argument="--suspect" label="Use ML predictions of resistance from the SUSPECT tool suite" type="boolean" checked="False" truevalue="--suspect" falsevalue=""
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
165 help="The SUSPECT tools offer ML-based predictions of RIF, PZA and BDQ resistance. Note that this uses a web service thus requires an Internet connection."/>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
166 <param argument="--no_trim" label="Do not trim reads using trimmomatic" checked="false" type="boolean" truevalue="--no_trim" falsevalue="" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
167 <param argument="--no_coverage_qc" label="Don't collect flagstats" type="boolean" truevalue="--no_coverage_qc" falsevalue="" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
168 <param argument="--no_samclip" label="Don't removed clipped reads from variant calling" type="boolean" truevalue="--no_samclip" falsevalue="" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
169 <param argument="--no_delly" label="Don't run delly for SV calling" type="boolean" truevalue="--no_delly" falsevalue="" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
170 </when>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
171 </conditional>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
172 </inputs>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
173 <outputs>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
174 <data name="results_json" format="json" from_work_dir="results/tbprofiler.results.json" label="${tool.name} on ${on_string}: Results.json"/>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
175 <data format="vcf" name="output_vcf" label="${tool.name} VCF on ${on_string}" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
176 <data format="bam" name="output_bam" label="${tool.name} BAM on ${on_string}">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
177 <filter>fastq_or_bam['input_select'] != 'bam'</filter>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
178 </data>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
179 <data format="pdf" name="output_pdf" label="${tool.name} PDF report on ${on_string}">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
180 <filter>output_format == 'pdf'</filter>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
181 </data>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
182 <data format="txt" name="output_txt" label="${tool.name} report on ${on_string}">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
183 <filter>output_format == 'txt'</filter>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
184 </data>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
185 </outputs>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
186 <tests>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
187 <test expect_num_outputs="4">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
188 <conditional name="fastq_or_bam">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
189 <param name="input_select" value="single_fastq"/>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
190 <param name="fastq" ftype="fastq.gz" value="rif_resistant.fastq.gz" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
191 </conditional>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
192 <param name="output_format" value="txt" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
193 <param name="platform" value="illumina" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
194 <conditional name="advanced">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
195 <param name="options" value="no" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
196 </conditional>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
197 <output name="output_txt">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
198 <assert_contents>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
199 <has_line line="Drug-resistance: RR-TB" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
200 <has_line line="lineage2.2.2&#009;100.000&#009;East-Asian (Beijing)&#009;RD105;RD207" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
201 <has_line line="Rifampicin&#009;R&#009;rpoB p.Asp435Val (1.00)" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
202 <has_line line="761110&#009;Rv0667&#009;rpoB&#009;missense_variant&#009;p.Asp435Val&#009;43&#009;1.000&#009;rifampicin&#009;Assoc w R" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
203 </assert_contents>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
204 </output>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
205 </test>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
206 <test expect_num_outputs="3">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
207 <conditional name="fastq_or_bam">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
208 <param name="input_select" value="bam"/>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
209 <param name="bam_input" ftype="bam" value="rif_resistant.bam" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
210 </conditional>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
211 <param name="output_format" value="txt" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
212 <param name="platform" value="illumina" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
213 <conditional name="advanced">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
214 <param name="options" value="no" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
215 </conditional>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
216 <output name="output_txt">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
217 <assert_contents>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
218 <has_line line="Drug-resistance: RR-TB" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
219 <has_line line="lineage2.2.2&#009;100.000&#009;East-Asian (Beijing)&#009;RD105;RD207" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
220 <has_line line="Rifampicin&#009;R&#009;rpoB p.Asp435Val (1.00)" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
221 <has_line line="761110&#009;Rv0667&#009;rpoB&#009;missense_variant&#009;p.Asp435Val&#009;43&#009;1.000&#009;rifampicin&#009;Assoc w R" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
222 </assert_contents>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
223 </output>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
224 </test>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
225 <test expect_num_outputs="4">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
226 <conditional name="fastq_or_bam">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
227 <param name="input_select" value="single_fastq"/>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
228 <param name="fastq" ftype="fastq.gz" value="rif_resistant.fastq.gz" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
229 </conditional>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
230 <param name="output_format" value="txt" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
231 <param name="platform" value="illumina" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
232 <conditional name="advanced">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
233 <param name="options" value="yes" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
234 <section name="vf">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
235 <param name="min_depth_hard" value="40" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
236 <param name="min_depth_soft" value="50" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
237 </section>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
238 </conditional>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
239 <output name="output_txt">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
240 <assert_contents>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
241 <has_line line="lineage2.2.2&#009;100.000&#009;East-Asian (Beijing)&#009;RD105;RD207" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
242 <has_line line="761110&#009;Rv0667&#009;rpoB&#009;missense_variant&#009;p.Asp435Val&#009;43&#009;1.000&#009;rifampicin&#009;Assoc w R" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
243 </assert_contents>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
244 </output>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
245 <output name="results_json">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
246 <assert_contents>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
247 <has_text text='"filter": "soft_fail",' />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
248 </assert_contents>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
249 </output>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
250 </test>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
251 <test expect_num_outputs="4">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
252 <conditional name="fastq_or_bam">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
253 <param name="input_select" value="single_fastq"/>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
254 <param name="fastq" ftype="fastq.gz" value="rpoB_and_crispr.fastq.gz" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
255 </conditional>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
256 <param name="output_format" value="txt" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
257 <param name="platform" value="illumina" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
258 <param name="spoligotype" value="true" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
259 <conditional name="advanced">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
260 <param name="options" value="no" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
261 </conditional>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
262 <output name="output_txt">
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
263 <assert_contents>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
264 <has_line line="Octal: 000000000000771" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
265 <has_line line="Drug-resistance: RR-TB" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
266 <has_line line="Rifampicin&#009;R&#009;rpoB p.Asp435Val (1.00)" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
267 <has_line line="761110&#009;Rv0667&#009;rpoB&#009;missense_variant&#009;p.Asp435Val&#009;35&#009;1.000&#009;rifampicin&#009;Assoc w R" />
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
268 </assert_contents>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
269 </output>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
270 </test>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
271 </tests>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
272 <help><![CDATA[
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
273 Summary
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
274 =======
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
275
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
276 The pipeline aligns reads to the H37Rv reference using BWA, bowtie2 or minimap2 and then calls variants
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
277 (using bcftools, GATK4 or freebayes). These variants are then compared to a drug-resistance database.
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
278 TB-Profiler also predicts the number of reads supporting drug resistance variants as an insight into
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
279 hetero-resistance (not applicable for MinION data).
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
280
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
281 Produces a JSON output file by default.
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
282
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
283 In the Advanced options, you can select the mapper and variant caller to use, as well as set a number of filtering parameters.
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
284 Each of these typically has a "hard" and a "soft" cutoff. If a variant value is below the "hard" cutoff it is discarded, if
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
285 it is between the "hard" and "soft" values it is removed from the final predictions but added to the "qc_fail_variants" section
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
286 of the output.
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
287
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
288 One of the advanced options is to use the SUSPECT tool suite to predict resistance to `rifampicin (RIF)`_, `pyrazinamide (PZA)`_
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
289 and `bedaquiline (BDQ)`_.
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
290
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
291 .. _rifampicin (RIF): https://www.nature.com/articles/s41598-020-74648-y
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
292 .. _pyrazinamide (PZA): https://www.nature.com/articles/s41598-020-58635-x
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
293 .. _bedaquiline (BDQ): https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0217169
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
294 ]]> </help>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
295 <citations>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
296 <citation type="doi">10.1186/s13073-019-0650-x</citation>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
297 </citations>
82d71ed440f6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/tb-profiler commit 7dba70c70c9fe33353a0fd21803b11cfddc42c32
iuc
parents:
diff changeset
298 </tool>