annotate tbvcfreport.xml @ 3:42818629ec4c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f54e7cfd572498517dde7fe6afab47a20e3fcb17
author iuc
date Fri, 31 May 2024 20:06:49 +0000
parents 4934c0ac6197
children 9793bc5d741b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
1 <?xml version="1.0" ?>
3
42818629ec4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f54e7cfd572498517dde7fe6afab47a20e3fcb17
iuc
parents: 2
diff changeset
2 <tool id="tbvcfreport" name="TB Variant Report" version="@TOOL_VERSION@+galaxy0" profile="23.0" license="AGPL-3.0-or-later">
0
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
3 <description>- generate HTML report from SnpEff annotated M.tb VCF(s)</description>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
4 <macros>
3
42818629ec4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f54e7cfd572498517dde7fe6afab47a20e3fcb17
iuc
parents: 2
diff changeset
5 <token name="@TOOL_VERSION@">1.0.0</token>
0
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
6 </macros>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
7 <requirements>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">tbvcfreport</requirement>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
9 </requirements>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
10 <command detect_errors="exit_code">
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
11 <![CDATA[
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
12 #if $adv.database_uri
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
13 export DATABASE_URI='${adv.database_uri}' &&
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
14 #end if
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
15
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
16 #if not '.vcf' in str($input_vcf.element_identifier)
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
17 #set $input_vcf_filename = str($input_vcf.element_identifier).replace(' ', '') + '.vcf'
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
18 #else
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
19 #set $input_vcf_filename = str($input_vcf.element_identifier).replace(' ', '')
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
20 #end if
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
21
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
22 ln -s '${input_vcf}' '${input_vcf_filename}' &&
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
23
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
24 #set vcf_name = os.path.splitext(os.path.basename($input_vcf_filename))[0]
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
25
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
26 #if $tbprofiler_json
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
27 #if not '.json' in str($tbprofiler_json.element_identifier)
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
28 #set $tbprofiler_report = str($tbprofiler_json.element_identifier).replace(' ', '') + '.json'
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
29 #else
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
30 #set $tbprofiler_report = str($tbprofiler_json.element_identifier).replace(' ', '')
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
31 #end if
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
32 ln -s '${tbprofiler_json}' '${tbprofiler_report}' &&
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
33 #end if
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
34
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
35 tbvcfreport generate
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
36
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
37 $filter_udi
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
38
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
39 #if $tbprofiler_json
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
40 --tbprofiler-report '${tbprofiler_report}'
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
41 #end if
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
42
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
43 '${input_vcf_filename}' &&
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
44
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
45 #set variants_report = str(vcf_name) + '_variants_report'
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
46 #set html_variants_report = variants_report + '.html'
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
47 #set txt_variants_report = variants_report + '.txt'
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
48
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
49 mv '${html_variants_report}' '$variants_report_html' &&
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
50 mv '${txt_variants_report}' '$variants_report_txt'
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
51
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
52 #if $tbprofiler_json
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
53 #set drug_resistance_report = str(vcf_name) + '_drug_resistance_report'
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
54 #set html_drug_resistance_report = drug_resistance_report + '.html'
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
55 #set txt_drug_resistance_report = drug_resistance_report + '.txt'
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
56
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
57 && mv '${html_drug_resistance_report}' '$drug_resistance_report_html'
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
58 && mv '${txt_drug_resistance_report}' '$drug_resistance_report_txt'
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
59 #end if
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
60 ]]>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
61 </command>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
62 <inputs>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
63 <param name="input_vcf" type="data" format="vcf" label="Input SnpEff annotated M.tuberculosis VCF(s)" />
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
64 <param name="tbprofiler_json" type="data" format="json" optional="true" label="TBProfiler Drug Resistance Report (Optional)" help="--tbprofiler-report" />
3
42818629ec4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f54e7cfd572498517dde7fe6afab47a20e3fcb17
iuc
parents: 2
diff changeset
65 <param argument="--filter-udi" type="boolean" truevalue="--filter-udi" falsevalue="--no-filter-udi" checked="true" label="Filter UPSTREAM, DOWNSTREAM and INTERGENIC variants" />
0
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
66 <section name="adv" title="Advanced options" expanded="false">
2
4934c0ac6197 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit eb93304c3aef325f02a62675d53c69a2b73c0fef"
iuc
parents: 1
diff changeset
67 <param name="database_uri" type="text" optional="true" value="neodb.sanbi.ac.za" label="Specify COMBAT-TB-NeoDB URI" help="For people with their own deployment of COMBAT-TB-NeoDB" />
0
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
68 </section>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
69 </inputs>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
70 <outputs>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
71 <data name="variants_report_html" format="html" label="${tool.name} variants report (html) on ${on_string}" />
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
72 <data name="variants_report_txt" format="txt" label="${tool.name} variants report (text) on ${on_string}" />
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
73 <data name="drug_resistance_report_html" format="html" label="${tool.name} drug resistance report (html) on ${on_string}">
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
74 <filter>tbprofiler_json</filter>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
75 </data>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
76 <data name="drug_resistance_report_txt" format="txt" label="${tool.name} drug resistance report (text) on ${on_string}">
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
77 <filter>tbprofiler_json</filter>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
78 </data>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
79 </outputs>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
80 <tests>
2
4934c0ac6197 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit eb93304c3aef325f02a62675d53c69a2b73c0fef"
iuc
parents: 1
diff changeset
81 <test expect_num_outputs="2">
0
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
82 <param name="input_vcf" value="rif_resistant.vcf" ftype="vcf" />
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
83 <output name="variants_report_html" compare="diff" lines_diff="2" file="rif_resistant_variants_report.html" ftype="html" />
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
84 <output name="variants_report_txt" compare="diff" lines_diff="2" file="rif_resistant_variants_report.txt" ftype="txt" />
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
85 </test>
2
4934c0ac6197 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit eb93304c3aef325f02a62675d53c69a2b73c0fef"
iuc
parents: 1
diff changeset
86 <test expect_num_outputs="4">
0
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
87 <param name="input_vcf" value="rif_resistant.vcf" ftype="vcf" />
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
88 <param name="tbprofiler_json" value="rif_resistant.results.json" ftype="json" />
1
adc0645b945c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit 9cd78488b53cde8d3139d2d71ec500e2c91b9335"
iuc
parents: 0
diff changeset
89 <output name="variants_report_html" compare="diff" lines_diff="2" file="rif_resistant_variants_report_with_lineage.html" ftype="html" />
adc0645b945c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit 9cd78488b53cde8d3139d2d71ec500e2c91b9335"
iuc
parents: 0
diff changeset
90 <output name="variants_report_txt" compare="diff" lines_diff="2" file="rif_resistant_variants_report_with_lineage.txt" ftype="txt" />
0
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
91 <output name="drug_resistance_report_html" file="rif_resistant_drug_resistance_report.html" lines_diff="2" ftype="html" />
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
92 <output name="drug_resistance_report_txt" compare="diff" lines_diff="2" file="rif_resistant_drug_resistance_report.txt" ftype="txt" />
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
93 </test>
2
4934c0ac6197 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit eb93304c3aef325f02a62675d53c69a2b73c0fef"
iuc
parents: 1
diff changeset
94 <test expect_num_outputs="2">
4934c0ac6197 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit eb93304c3aef325f02a62675d53c69a2b73c0fef"
iuc
parents: 1
diff changeset
95 <!-- test for bug fixed in 0.1.9 onwards: a gene with no protein product -->
4934c0ac6197 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit eb93304c3aef325f02a62675d53c69a2b73c0fef"
iuc
parents: 1
diff changeset
96 <param name="input_vcf" value="vcf_with_no_protein.vcf" ftype="vcf" />
4934c0ac6197 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit eb93304c3aef325f02a62675d53c69a2b73c0fef"
iuc
parents: 1
diff changeset
97 <output name="variants_report_html" compare="diff" lines_diff="2" file="vcf_with_no_protein_report.html" ftype="html" />
4934c0ac6197 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit eb93304c3aef325f02a62675d53c69a2b73c0fef"
iuc
parents: 1
diff changeset
98 <output name="variants_report_txt" compare="diff" lines_diff="2" file="vcf_with_no_protein_report.txt" ftype="txt" />
4934c0ac6197 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit eb93304c3aef325f02a62675d53c69a2b73c0fef"
iuc
parents: 1
diff changeset
99 </test>
0
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
100 </tests>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
101 <help>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
102 <![CDATA[
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
103 **tbvcfreport - @TOOL_VERSION@**
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
104
3
42818629ec4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f54e7cfd572498517dde7fe6afab47a20e3fcb17
iuc
parents: 2
diff changeset
105 **tbvcfreport** takes SnpEff annotated M.tuberculosis VCF file(s) and generates an HTML-based report with data from Combat-TB-NeoDB
0
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
106 and links to Combat-TB-eXplorer (https://explorer.sanbi.ac.za/).
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
107
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
108 **tbvcfreport** will generate an HTML-based Drug Resistance report if provided with a TBProfiler json report.
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
109
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
110 Drug resistance predictions are for **Research Purposes Only** and are produced by TBProfiler (https://github.com/jodyphelan/TBProfiler)
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
111
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
112 **Inputs**
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
113
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
114 - SnpEff annotated M.tuberculosis VCF file(s) - vcf - **required**
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
115
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
116 - TBProfiler Drug Resistance JSON Report - json - **optional**
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
117
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
118 **Outputs**
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
119
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
120 - Variant Report in HTML and TXT format
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
121
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
122 - Drug Resistance Report in HTML and TXT format if provided with a TBProfiler json report
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
123
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
124
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
125 **Advanced options**:
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
126
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
127 - database_uri - String - Use an on-premise COMBAT-TB-NeoDB (default 'neodb.sanbi.ac.za') - **optional**
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
128
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
129 **Further information**
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
130
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
131 For more on the **COMBAT-TB Project**, see https://combattb.org.
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
132
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
133 For more on **tbvcfreport**, see https://github.com/COMBAT-TB/tbvcfreport.
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
134
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
135 For more on **COMBAT-TB-NeoDB**, see https://github.com/COMBAT-TB/combat-tb-neodb.
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
136 ]]>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
137 </help>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
138 <citations>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
139 <citation type="bibtex">
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
140 @misc{githubtbvcfreport,
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
141 author = {COMBAT-TB},
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
142 year = {2019},
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
143 title = {tbvcfreport},
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
144 publisher = {GitHub},
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
145 journal = {GitHub repository},
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
146 url = {https://github.com/COMBAT-TB/tbvcfreport},
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
147 }</citation>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
148 </citations>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
149 </tool>