annotate tb_profiler_profile.xml @ 19:51dd22484644 draft default tip

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