annotate kreport2krona.xml @ 4:2deaada69b14 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit f37828f1d6b9c53cc2e7ea334ee9a2fb8dbd8711
author iuc
date Tue, 20 Jun 2023 20:04:33 +0000
parents d80c0fc14504
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
1 <tool id="krakentools_kreport2krona" name="Krakentools: Convert kraken report file" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
2 <description>to krona text file</description>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
3 <macros>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
4 <import>macros.xml</import>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
5 </macros>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
6 <expand macro="biotools"/>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
8 <expand macro="version"/>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
10 kreport2krona.py
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
11 --report '$report'
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
12 --output '$output'
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
13 $intermediate_ranks
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
14 ]]></command>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
15 <inputs>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
16 <param argument="--report" type="data" format="tabular" label="Kraken report file" />
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
17 <param argument="--intermediate-ranks" type="boolean" checked="false" truevalue="--intermediate-ranks" falsevalue="" label="Include intermediate (i.e. non-standard) ranks"/>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
18 </inputs>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
19 <outputs>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
20 <data name="output" format="tabular" />
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
21 </outputs>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
22 <tests>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
23 <test>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
24 <param name="report" value="sample.tabular"/>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
25 <output name="output" file="output.tabular"/>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
26 </test>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
27 <test>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
28 <param name="report" value="sample.tabular"/>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
29 <param name="intermediate_ranks" value="--intermediate-ranks"/>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
30 <output name="output" file="output_intermediate.tabular"/>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
31 </test>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
32 </tests>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
33 <help><![CDATA[
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
34 KrakenTools is a suite of scripts to be used alongside the Kraken, KrakenUniq, Kraken 2, or Bracken programs. These scripts are designed to help Kraken users with downstream analysis of Kraken results. This program takes a Kraken report file and prints out a krona-compatible TEXT file
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
35
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
36 Input
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
37 ------
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
38 A Kraken report file
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
39
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
40 Output
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
41 ------
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
42 A krona-compatible TEXT file
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
43
2
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
44 **Example output:**
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
45
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
46 ``--no-intermediate-ranks``
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
47
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
48 ::
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
49
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
50 6298 Unclassified
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
51 8 k__Bacteria
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
52 4 k__Bacteria p_Proteobacteria
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
53 6 k__Bacteria p_Proteobacteria c__Gammaproteobacteria
0
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
54
2
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
55 ``--intermediate-ranks``
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
56
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
57 ::
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
58
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
59 6298 Unclassified
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
60 79 x__root
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
61 0 x__root x__cellular_organisms
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
62 8 x__root x__cellular organisms k__Bacteria
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
63 4 x__root x__cellular organisms k__Bacteria p__Proteobacteria
d80c0fc14504 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit afc6220b1e5f402f872338bbab440e4a1fe04ccd
iuc
parents: 0
diff changeset
64 6 x__root x__cellular organisms k__Bacteria p__Proteobacteria c__Gammaproteobacteria
0
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
65
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
66 ]]></help>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
67 <expand macro="citations"/>
bc508fe30940 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
iuc
parents:
diff changeset
68 </tool>