annotate tbvcfreport.xml @ 0:02d81b994ef5 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
author iuc
date Thu, 29 Aug 2019 08:18:59 -0400
parents
children adc0645b945c
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" ?>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
2 <tool id="tbvcfreport" name="TB Variant Report" version="@TOOL_VERSION@+galaxy0">
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>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
5 <token name="@TOOL_VERSION@">0.1.7</token>
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" />
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
65 <param name="filter_udi" argument="--filter-udi" type="boolean" truevalue="--filter-udi" falsevalue="--no-filter-udi" checked="true" label="Filter UPSTREAM, DOWNSTREAM and INTERGENIC variants" />
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">
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
67 <param name="database_uri" type="text" optional="true" value="neodb.sanbi.ac.za" label="Specify on-premise COMBAT-TB-NeoDB URI" help="For people with an on-premise deployment of COMBAT-TB-NeoDB" />
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>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
81 <test>
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>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
86 <test>
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" />
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
89 <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
90 <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
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>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
94 </tests>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
95 <help>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
96 <![CDATA[
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
97 **tbvcfreport - @TOOL_VERSION@**
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
98
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
99 **tbvcfreport** takes SnpEff annotated M.tuberculosis VCF file(s) and generates an HTML-based report with data from Combat-TB-NeoDB (https://neodb.sanbi.ac.za)
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
100 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
101
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
102 **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
103
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
104 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
105
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
106 **Inputs**
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 - 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
109
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
110 - 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
111
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
112 **Outputs**
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 - 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
115
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
116 - 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
117
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
118
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
119 **Advanced options**:
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
120
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
121 - 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
122
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
123 **Further information**
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 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
126
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
127 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
128
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
129 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
130 ]]>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
131 </help>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
132 <citations>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
133 <citation type="bibtex">
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
134 @misc{githubtbvcfreport,
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
135 author = {COMBAT-TB},
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
136 year = {2019},
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
137 title = {tbvcfreport},
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
138 publisher = {GitHub},
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
139 journal = {GitHub repository},
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
140 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
141 }</citation>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
142 </citations>
02d81b994ef5 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tbvcfreport commit f337505deb06b66961f77a64bfae244f88c6a865"
iuc
parents:
diff changeset
143 </tool>