comparison kraken_taxonomy_report.xml @ 2:528a1d91b066 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/kraken_taxonomy_report commit 11ee7ac206d41894c0b6a11f2439aaea490824f0
author iuc
date Thu, 09 Nov 2017 14:06:54 -0500
parents b97694b21bc3
children 27d65c78863c
comparison
equal deleted inserted replaced
1:b97694b21bc3 2:528a1d91b066
6 </requirements> 6 </requirements>
7 <stdio> 7 <stdio>
8 <exit_code range="1:" /> 8 <exit_code range="1:" />
9 <exit_code range=":-1" /> 9 <exit_code range=":-1" />
10 </stdio> 10 </stdio>
11 <version_command>python ${__tool_directory__}/kraken_taxonomy_report.py --version</version_command> 11 <version_command>python '${__tool_directory__}/kraken_taxonomy_report.py' --version</version_command>
12 <command> 12 <command><![CDATA[
13 <![CDATA[
14
15 #for $input_classification in $classification: 13 #for $input_classification in $classification:
16 ln -s "${input_classification}" "${input_classification.element_identifier}" && 14 ln -s "${input_classification}" "${input_classification.element_identifier}" &&
17 #end for 15 #end for
18 16
19 export KRAKEN_DB_PATH="${kraken_database.fields.path}" && 17 export KRAKEN_DB_PATH='${kraken_database.fields.path}' &&
20 python ${__tool_directory__}/kraken_taxonomy_report.py 18 python '${__tool_directory__}/kraken_taxonomy_report.py'
21 19
22 --db "${kraken_database.fields.name}" 20 --db '${kraken_database.fields.name}'
23 ${show_zeros} 21 ${show_zeros}
24 ${header_line} 22 ${header_line}
25 ${otu_name} 23 ${otu_name}
26 ${taxonomy} 24 ${taxonomy}
27 ${show_rank} 25 ${show_rank}
28 ${intermediate} 26 ${intermediate}
29 ${sanitize_names} 27 ${sanitize_names}
30 #if str( $cluster.cluster ): 28 #if str( $cluster.cluster ):
31 --cluster "${cluster.cluster}" 29 --cluster ${cluster.cluster}
32 #else: 30 #else:
33 ${cluster.summation} 31 ${cluster.summation}
34 #end if 32 #end if
35 33
36 --output "${output_report}" 34 --output '${output_report}'
37 35
38 #if $output_tree: 36 #if $output_tree:
39 --output-tree "${output_tree}" 37 --output-tree '${output_tree}'
40 #end if 38 #end if
41 39
42 #for $input_classification in $classification: 40 #for $input_classification in $classification:
43 "${input_classification.element_identifier}" 41 '${input_classification.element_identifier}'
44 #end for 42 #end for
45 43 ]]></command>
46 ]]>
47 </command>
48 <inputs> 44 <inputs>
49 <param format="tabular" label="Kraken output" multiple="True" name="classification" type="data" /> 45 <param format="tabular" label="Kraken output" multiple="True" name="classification" type="data" />
50 <param checked="False" falsevalue="" argument="--show-zeros" label="Display taxa even if they lack a read in any sample" name="show_zeros" truevalue="--show-zeros" type="boolean" /> 46 <param checked="False" falsevalue="" argument="--show-zeros" label="Display taxa even if they lack a read in any sample" name="show_zeros" truevalue="--show-zeros" type="boolean" />
51 <param checked="True" falsevalue="" argument="--header-line" label="Display a header line indicating sample IDs" name="header_line" truevalue="--header-line" type="boolean" /> 47 <param checked="True" falsevalue="" argument="--header-line" label="Display a header line indicating sample IDs" name="header_line" truevalue="--header-line" type="boolean" />
52 <param label="Select a Kraken database" name="kraken_database" type="select" help="Select the same database used to classify reads"> 48 <param label="Select a Kraken database" name="kraken_database" type="select" help="Select the same database used to classify reads">
205 <param name="tree" value="True"/> 201 <param name="tree" value="True"/>
206 <output name="output_report" file="output_abundance_4.tabular" ftype="tabular"/> 202 <output name="output_report" file="output_abundance_4.tabular" ftype="tabular"/>
207 <output name="output_tree" file="output_tree_3.newick" /> 203 <output name="output_tree" file="output_tree_3.newick" />
208 </test> 204 </test>
209 </tests> 205 </tests>
210 <help> 206 <help><![CDATA[
211 <![CDATA[
212
213 .. class:: warningmark 207 .. class:: warningmark
214 208
215 **Note**: the database used must be the same as the one used in the original Kraken run 209 **Note**: the database used must be the same as the one used in the original Kraken run
216 210
217 ----- 211 -----
225 **Output** 219 **Output**
226 220
227 The output is tab-delimited, with one line per taxon. 221 The output is tab-delimited, with one line per taxon.
228 222
229 Will optionally output a newick tree built from the kraken database taxonomy using the specified options. Tree branch lengths will be set to "1.00000". 223 Will optionally output a newick tree built from the kraken database taxonomy using the specified options. Tree branch lengths will be set to "1.00000".
230 224 ]]></help>
231
232 ]]>
233 </help>
234 <citations> 225 <citations>
235 <citation type="bibtex">@unpublished{Kraken-Taxonomy-Report:2016, 226 <citation type="bibtex">@unpublished{Kraken-Taxonomy-Report:2016,
236 title = "Kraken Taxonomy Report", 227 title = "Kraken Taxonomy Report",
237 author = "Daniel Blankenberg", 228 author = "Daniel Blankenberg",
238 url = "https://github.com/blankenberg/Kraken-Taxonomy-Report", 229 url = "https://github.com/blankenberg/Kraken-Taxonomy-Report",