annotate kreport2krona.xml @ 4:6e1273dde0db draft default tip

"planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
author jdv
date Thu, 30 Sep 2021 17:35:38 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
1 <tool id="krakentools_kreport2krona" name="Kraken To Krona" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="17.09">
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
2 <description>Convert a Kraken/Kraken2 report to a Krona-compatible text file</description>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
3 <macros>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
4 <import>macros.xml</import>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
5 </macros>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
6 <expand macro="requirements" />
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
7 <expand macro="stdio" />
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
8 <version_command>echo -n @TOOL_VERSION@</version_command>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
9
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
11
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
12 kreport2krona.py
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
13 --report '$report'
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
14 -o '$output'
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
15 $intermediate_ranks
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
16
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
17 ]]></command>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
18
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
19 <inputs>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
20 <param name="report" argument="--report" format="tabular" type="data" label="Report" help="Report (classification) file from Kraken/Kraken2" />
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
21 <param name="intermediate_ranks" argument="--intermediate-ranks" type="boolean" value="False" truevalue="--intermediate-ranks" falsevalue="--no-intermediate-ranks" label="Intermediate ranks" help="Include non-standard taxonomic levels" />
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
22
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
23 </inputs>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
24
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
25 <outputs>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
26 <data name="output" format="tabular" label="${tool.name} on ${on_string}: table" />
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
27 </outputs>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
28
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
29 <tests>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
30
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
31 <!-- test Kraken2 input, no intermediate ranks -->
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
32 <test>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
33 <param name="report" value="kraken2.report" ftype="tabular"/>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
34 <param name="intermediate_ranks" value="False"/>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
35 <output name="output" file="krona.k2.noint.tsv"/>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
36 </test>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
37 <!-- test KrakenUniq input, intermediate ranks -->
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
38 <test>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
39 <param name="report" value="kraken2.report" ftype="tabular"/>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
40 <param name="intermediate_ranks" value="True"/>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
41 <output name="output" file="krona.k2.int.tsv"/>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
42 </test>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
43
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
44 </tests>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
45
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
46 <help><![CDATA[
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
47
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
48 .. class:: infomark
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
49
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
50 **What it does**
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
51
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
52 -------------------
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
53
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
54 After running Kraken, Kraken2, or KrakenUniq, users may use the
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
55 `kreport2krona.py` program to convert the report file to a tabular format
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
56 suitable for input into Krona.
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
57
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
58 **Example usage**
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
59
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
60 -------------------
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
61
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
62 .. code-block:: bash
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
63
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
64 kraken2 --db KRAKEN2DB --threads THREADNUM --report MYSAMPLE.KREPORT \
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
65 --paired SAMPLE_1.FASTA SAMPLE_2.FASTA > MYSAMPLE.KRAKEN2
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
66 kreport2krona.py --report MYSAMPLE.KREPORT --output MYSAMPLE.krona
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
67 ktImportText MYSAMPLE.krona -o MYSAMPLE.krona.html
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
68
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
69 -------------------
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
70
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
71 **Command-line arguments**
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
72
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
73 -------------------
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
74
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
75 The following command-line usage corresponds with the Galaxy wrapper
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
76 parameters::
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
77
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
78 usage: kreport2krona.py [-h] -r R_FILE -o O_FILE [--intermediate-ranks] [--no-intermediate-ranks]
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
79
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
80 optional arguments:
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
81 -h, --help show this help message and exit
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
82 -r R_FILE, --report-file R_FILE, --report R_FILE
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
83 Input kraken report file for converting
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
84 -o O_FILE, --output O_FILE
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
85 Output krona-report file name
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
86 --intermediate-ranks Include non-traditional taxonomic ranks in output
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
87 --no-intermediate-ranks
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
88 Do not include non-traditional taxonomic ranks in output [default: no intermediate ranks]
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
89
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
90 --------------------
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
91
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
92 **More Information**
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
93
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
94 --------------------
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
95
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
96 Author: Jennifer Lu
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
97
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
98 See the `online documentation`_
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
99
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
100 .. _`online documentation`: https://github.com/jenniferlu717/KrakenTools#kreport2kronapy
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
101
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
102 --------------------
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
103
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
104 **Galaxy Wrapper Development**
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
105
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
106 --------------------
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
107
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
108 Author: Jeremy Volkening
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
109
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
110 ]]></help>
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
111
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
112 <expand macro="citations" />
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
113
6e1273dde0db "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jdv
parents:
diff changeset
114 </tool>