comparison tb_profiler_profile.xml @ 2:49b819f88c2b draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/tb-profiler commit da74c7f8419319266b84dcac128ad84d8fc2216d
author iuc
date Tue, 16 Jul 2019 08:29:18 -0400
parents 5182e1a99313
children 19793eecc9f0
comparison
equal deleted inserted replaced
1:5182e1a99313 2:49b819f88c2b
1 <tool id="tb_profiler_profile" name="TB-Profiler Profile" version="2.1.0"> 1 <tool id="tb_profiler_profile" name="TB-Profiler Profile" version="2.4">
2 <description>Infer strain types and drug resistance markers from sequences</description> 2 <description>Infer strain types and drug resistance markers from sequences</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="2.1.0">tb-profiler</requirement> 4 <requirement type="package" version="2.4">tb-profiler</requirement>
5 </requirements> 5 </requirements>
6 <command detect_errors="exit_code"><![CDATA[ 6 <command detect_errors="exit_code"><![CDATA[
7 #if str($fastq_or_bam.input_select.value) in ("paired_fastq", "paired_collection_fastq", "single_fastq") 7 #if str($fastq_or_bam.input_select.value) in ("paired_fastq", "paired_collection_fastq", "single_fastq")
8 #if str($fastq_or_bam.input_select.value) == "paired_fastq" 8 #if str($fastq_or_bam.input_select.value) == "paired_fastq"
9 #set r1_ext = $fastq_or_bam.read1.extension 9 #set r1_ext = $fastq_or_bam.read1.extension
58 && mv results/tbprofiler.results.pdf '${output_pdf}' 58 && mv results/tbprofiler.results.pdf '${output_pdf}'
59 #else if $output_format == "txt" 59 #else if $output_format == "txt"
60 && mv results/tbprofiler.results.txt '${output_txt}' 60 && mv results/tbprofiler.results.txt '${output_txt}'
61 #end if 61 #end if
62 62
63 ]]></command> 63 ]]> </command>
64 <inputs> 64 <inputs>
65 <param name="platform" type="select" label="Platform"> 65 <param name="platform" type="select" label="Platform">
66 <option value="Illumina" selected="true">Illumina</option> 66 <option value="Illumina" selected="true">Illumina</option>
67 <option value="minION">MinION</option> 67 <option value="minION">MinION</option>
68 </param> 68 </param>
80 <when value="paired_collection_fastq"> 80 <when value="paired_collection_fastq">
81 <param label="Reads (collection)" name="fastq_collection" type="data_collection" collection_type="paired" format="fastq,fastq.gz,fastqsanger,fastqsanger.gz" /> 81 <param label="Reads (collection)" name="fastq_collection" type="data_collection" collection_type="paired" format="fastq,fastq.gz,fastqsanger,fastqsanger.gz" />
82 </when> 82 </when>
83 <when value="single_fastq"> 83 <when value="single_fastq">
84 <param label="Reads" name="fastq" type="data" format="fastq,fastq.gz,fastqsanger,fastqsanger.gz" /> 84 <param label="Reads" name="fastq" type="data" format="fastq,fastq.gz,fastqsanger,fastqsanger.gz" />
85 </when> 85 </when>
86 <when value="bam"> 86 <when value="bam">
87 <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."/> 87 <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."/>
88 </when> 88 </when>
89 </conditional> 89 </conditional>
90 <param name="output_format" label="Output format" type="select"> 90 <param name="output_format" label="Output format" type="select">
102 <param label="Quality required for calls to be accepted" type="select" argument="--call_method"> 102 <param label="Quality required for calls to be accepted" type="select" argument="--call_method">
103 <option value="low" selected="true">Low</option> 103 <option value="low" selected="true">Low</option>
104 <option value="high">High</option> 104 <option value="high">High</option>
105 <option value="optimise">Optimise</option> 105 <option value="optimise">Optimise</option>
106 </param> 106 </param>
107 <param label="Minimum coverage fraction to infer deletion" type="float" 107 <param label="Minimum coverage fraction to infer deletion" type="float" help="Used to infer a deletion if the fraction of a gene covered falls below this value." argument="--min_gene_frac" value="0.9" />
108 help="Used to infer a deletion if the fraction of a gene covered falls below this value."
109 argument="--min_gene_frac" value="0.9" />
110 108
111 <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)"/> 109 <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)"/>
112 <param name="mapper" label="Mapper" type="select" help="Mapping tools to use (default: bwa)"> 110 <param name="mapper" label="Mapper" type="select" help="Mapping tools to use (default: bwa)">
113 <option value="bwa" selected="true">bwa</option> 111 <option value="bwa" selected="true">bwa</option>
114 <option value="minimap2">minimap2</option> 112 <option value="minimap2">minimap2</option>
140 <param name="platform" value="Illumina" /> 138 <param name="platform" value="Illumina" />
141 <param name="options" value="no" /> 139 <param name="options" value="no" />
142 <output name="output_txt"> 140 <output name="output_txt">
143 <assert_contents> 141 <assert_contents>
144 <has_line line="Drug-resistance: Drug-resistant" /> 142 <has_line line="Drug-resistance: Drug-resistant" />
145 <has_line line="lineage2.2.2&#009;1.000&#009;East-Asian (Beijing)&#009;Beijing-RD105/RD207&#009;RD105;RD207" /> 143 <has_line line="lineage2.2.2&#009;1.000&#009;East-Asian (Beijing)&#009;Beijing-RD105/RD207&#009;RD105;RD207" />
146 <has_line line="rifampicin&#009;R&#009;rpoB p.Asp435Val (1.00)" /> 144 <has_line line="Rifampicin&#009;R&#009;rpoB p.Asp435Val (1.00)" />
147 <has_line line="763031&#009;Rv0667&#009;c.3225T>C&#009;1.000" /> 145 <has_line line="763031&#009;Rv0667&#009;rpoB&#009;c.3225T>C&#009;1.000" />
148 </assert_contents> 146 </assert_contents>
149 </output> 147 </output>
150 </test> 148 </test>
151 <test> 149 <test>
152 <param name="input_select" value="bam"/> 150 <param name="input_select" value="bam"/>
155 <param name="platform" value="Illumina" /> 153 <param name="platform" value="Illumina" />
156 <param name="options" value="no" /> 154 <param name="options" value="no" />
157 <output name="output_txt"> 155 <output name="output_txt">
158 <assert_contents> 156 <assert_contents>
159 <has_line line="Drug-resistance: Drug-resistant" /> 157 <has_line line="Drug-resistance: Drug-resistant" />
160 <has_line line="lineage2.2.2&#009;1.000&#009;East-Asian (Beijing)&#009;Beijing-RD105/RD207&#009;RD105;RD207" /> 158 <has_line line="lineage2.2.2&#009;1.000&#009;East-Asian (Beijing)&#009;Beijing-RD105/RD207&#009;RD105;RD207" />
161 <has_line line="rifampicin&#009;R&#009;rpoB p.Asp435Val (1.00)" /> 159 <has_line line="Rifampicin&#009;R&#009;rpoB p.Asp435Val (1.00)" />
162 <has_line line="763031&#009;Rv0667&#009;c.3225T>C&#009;1.000" /> 160 <has_line line="763031&#009;Rv0667&#009;rpoB&#009;c.3225T>C&#009;1.000" />
163 </assert_contents> 161 </assert_contents>
164 </output> 162 </output>
165 </test> 163 </test>
166 </tests> 164 </tests>
167 <help><![CDATA[ 165 <help><![CDATA[
170 168
171 The pipeline aligns reads to the H37Rv reference using bowtie2, BWA or minimap2 and then calls variants using SAMtools. These variants are then compared to a drug-resistance database. We also predict the number of reads supporting drug resistance variants as an insight into hetero-resistance (not applicable for minION data). 169 The pipeline aligns reads to the H37Rv reference using bowtie2, BWA or minimap2 and then calls variants using SAMtools. These variants are then compared to a drug-resistance database. We also predict the number of reads supporting drug resistance variants as an insight into hetero-resistance (not applicable for minION data).
172 170
173 Produces a JSON output file by default. 171 Produces a JSON output file by default.
174 172
175 ]]></help> 173 ]]> </help>
176 <citations> 174 <citations>
177 <citation type="bibtex"> 175 <citation type="bibtex">
178 @UNPUBLISHED{Phelan2016, 176 @UNPUBLISHED{Phelan2016,
179 author = {Phelan, Jody}, 177 author = {Phelan, Jody},
180 title = {TBProfiler}, 178 title = {TBProfiler},