annotate tb_profiler_profile.xml @ 17:d03af1c7002c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 361de6d5f86e66c5ce996cdb37998408b3c28ae5
author iuc
date Mon, 11 Mar 2024 21:48:49 +0000
parents 2c68b0c38785
children 4839e590cb26
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
809dfc93d593 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit d2bbd2cb4dfde6c8a17d751cbe6bd43c7bed4637"
iuc
parents: 12
diff changeset
1 <tool id="tb_profiler_profile" name="TB-Profiler Profile" version="@TOOL_VERSION@+galaxy0" profile="20.09">
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>
16
2c68b0c38785 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit b6d3c87b5000ddfef726e72ba00b0b3bf2978acd
iuc
parents: 15
diff changeset
4 <token name="@TOOL_VERSION@">4.4.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}'
1
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
34 #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
35 -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
36 #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
37 #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
38 -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
39 #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
40 --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
41 #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
42
1
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
43 --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
44 #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
45 --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
46 --caller '${advanced.caller}'
1
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
47 --min_depth '${advanced.min_depth}'
7
200c378d85f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 53f6ccebd38e89bb2e67b2eec3aee30b4e141b5b"
iuc
parents: 5
diff changeset
48 --af '${advanced.min_allele_freq}'
200c378d85f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 53f6ccebd38e89bb2e67b2eec3aee30b4e141b5b"
iuc
parents: 5
diff changeset
49 --reporting_af '${advanced.min_allele_freq_reporting}'
1
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
50 #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
51
1
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
52 #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
53 --pdf
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
54 #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
55 --txt
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
56 #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
57 && 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
58 #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
59 && 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
60 #end if
4
c2656b729ee9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit a51548708ea975c0a7b135a2cbaa5d094f3c5602"
iuc
parents: 3
diff changeset
61 && bcftools view -Ov -o'${output_vcf}' vcf/tbprofiler.targets.csq.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
62 #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
63 && 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
64 #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
65 && 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
66 #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
67
2
49b819f88c2b planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit da74c7f8419319266b84dcac128ad84d8fc2216d
iuc
parents: 1
diff changeset
68 ]]> </command>
0
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
69 <inputs>
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
70 <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
71 <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
72 <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
73 <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
74 </param>
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
75 <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
76 <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
77 <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
78 <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
79 <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
80 <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
81 </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
82 <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
83 <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
84 <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
85 </when>
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
86 <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
87 <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
88 </when>
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
89 <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
90 <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
91 </when>
0
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
92 <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
93 <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
94 </when>
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
95 </conditional>
1
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 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
97 <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
98 <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
99 </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
100 <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
101 <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
102 <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
103 <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
104 </param>
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
105 <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
106 </when>
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
107 <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
108 <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
109 <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
110 <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
111 <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
112 <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
113 </param>
ac8250086ac3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 7598f8402d6adaab0e7c9a3cd426914f700be336"
iuc
parents: 13
diff changeset
114 <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
115 <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
116 <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
117 <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
118 <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
119 <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
120 </param>
7
200c378d85f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 53f6ccebd38e89bb2e67b2eec3aee30b4e141b5b"
iuc
parents: 5
diff changeset
121 <param name="min_depth" label="Min Depth" type="integer" value="10" help="Minimum depth required to call variant. Bases with depth below this cutoff will be marked as missing (default: 10)"/>
200c378d85f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 53f6ccebd38e89bb2e67b2eec3aee30b4e141b5b"
iuc
parents: 5
diff changeset
122 <param name="min_allele_freq" argument="--af" type="float" value="0.1" label="Minimum allele frequency to call variants" help=" Minimum allele frequency to call variants (default: 0.1)" />
200c378d85f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 53f6ccebd38e89bb2e67b2eec3aee30b4e141b5b"
iuc
parents: 5
diff changeset
123 <param name="min_allele_freq_reporting" argument="--reporting_af" value="0.1" label="Reporting Minimum allele frequency to call variants" type="float" help=" Minimum allele frequency to call variants (default: 0.1)"/>
1
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
124 </when>
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
125 </conditional>
0
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
126 </inputs>
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
127 <outputs>
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
128 <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
129 <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
130 <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
131 <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
132 </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
133 <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
134 <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
135 </data>
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
136 <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
137 <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
138 </data>
5182e1a99313 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 761cc6083b4db7e69ddf03033bc8659b08e16f74
iuc
parents: 0
diff changeset
139
0
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
140 </outputs>
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
141 <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
142 <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
143 <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
144 <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
145 <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
146 <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
147 <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
148 <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
149 <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
150 <has_line line="Drug-resistance: RR-TB" />
15
45083d070fb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 9dd4c8aca212218a9e8f8a49013c255696191b0f
iuc
parents: 14
diff changeset
151 <has_line line="lineage2.2.2&#009;1.000&#009;Beijing-RD105/RD207&#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
152 <has_line line="Rifampicin&#009;R&#009;rpoB p.Asp435Val (1.00)" />
15
45083d070fb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 9dd4c8aca212218a9e8f8a49013c255696191b0f
iuc
parents: 14
diff changeset
153 <has_line line="761110&#009;Rv0667&#009;rpoB&#009;missense_variant&#009;p.Asp435Val&#009;1.000&#009;rifampicin&#009;type=who_confidence|drug=rifampicin|who_confidence=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
154 </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
155 </output>
0
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
156 </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
157 <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
158 <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
159 <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
160 <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
161 <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
162 <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
163 <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
164 <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
165 <has_line line="Drug-resistance: RR-TB" />
15
45083d070fb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 9dd4c8aca212218a9e8f8a49013c255696191b0f
iuc
parents: 14
diff changeset
166 <has_line line="lineage2.2.2&#009;1.000&#009;Beijing-RD105/RD207&#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
167 <has_line line="Rifampicin&#009;R&#009;rpoB p.Asp435Val (1.00)" />
15
45083d070fb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 9dd4c8aca212218a9e8f8a49013c255696191b0f
iuc
parents: 14
diff changeset
168 <has_line line="761110&#009;Rv0667&#009;rpoB&#009;missense_variant&#009;p.Asp435Val&#009;1.000&#009;rifampicin&#009;type=who_confidence|drug=rifampicin|who_confidence=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
169 </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
170 </output>
0
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
171 </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
172 <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
173 <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
174 <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
175 <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
176 <param name="platform" value="illumina" />
200c378d85f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 53f6ccebd38e89bb2e67b2eec3aee30b4e141b5b"
iuc
parents: 5
diff changeset
177 <param name="options" value="yes" />
200c378d85f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 53f6ccebd38e89bb2e67b2eec3aee30b4e141b5b"
iuc
parents: 5
diff changeset
178 <param name="min_allele_freq" value="0.25" />
200c378d85f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 53f6ccebd38e89bb2e67b2eec3aee30b4e141b5b"
iuc
parents: 5
diff changeset
179 <param name="min_allele_freq_reporting" value="0.33" />
200c378d85f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 53f6ccebd38e89bb2e67b2eec3aee30b4e141b5b"
iuc
parents: 5
diff changeset
180 <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
181 <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
182 <has_line line="Drug-resistance: RR-TB" />
15
45083d070fb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 9dd4c8aca212218a9e8f8a49013c255696191b0f
iuc
parents: 14
diff changeset
183 <has_line line="lineage2.2.2&#009;1.000&#009;Beijing-RD105/RD207&#009;RD105;RD207" />
7
200c378d85f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 53f6ccebd38e89bb2e67b2eec3aee30b4e141b5b"
iuc
parents: 5
diff changeset
184 <has_line line="Rifampicin&#009;R&#009;rpoB p.Asp435Val (1.00)" />
15
45083d070fb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 9dd4c8aca212218a9e8f8a49013c255696191b0f
iuc
parents: 14
diff changeset
185 <has_line line="761110&#009;Rv0667&#009;rpoB&#009;missense_variant&#009;p.Asp435Val&#009;1.000&#009;rifampicin&#009;type=who_confidence|drug=rifampicin|who_confidence=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
186 </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
187 </output>
200c378d85f3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 53f6ccebd38e89bb2e67b2eec3aee30b4e141b5b"
iuc
parents: 5
diff changeset
188 </test>
0
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
189 </tests>
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
190 <help><![CDATA[
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
191 Summary
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
192 =======
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
193
9
e1a9d6fd258d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit 9fa7ac6aaaf97db392a1bf93741a6d271b619ed3"
iuc
parents: 7
diff changeset
194 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
195 (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
196 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
197 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
198
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
199 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
200
2
49b819f88c2b planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit da74c7f8419319266b84dcac128ad84d8fc2216d
iuc
parents: 1
diff changeset
201 ]]> </help>
0
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
202 <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
203 <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
204 </citations>
8529c9fd63ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit ef7cfd0c271f1ec40d3df3be4c91bb71028e85e8
iuc
parents:
diff changeset
205 </tool>