comparison kreport2krona.xml @ 0:bc508fe30940 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 3dfd5d7d5870695d24d2ede7b321bcaac25e0209
author iuc
date Fri, 13 Jan 2023 13:22:07 +0000
parents
children d80c0fc14504
comparison
equal deleted inserted replaced
-1:000000000000 0:bc508fe30940
1 <tool id="krakentools_kreport2krona" name="Krakentools: Convert kraken report file" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
2 <description>to krona text file</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="biotools"/>
7 <expand macro="requirements"/>
8 <expand macro="version"/>
9 <command detect_errors="exit_code"><![CDATA[
10 kreport2krona.py
11 --report '$report'
12 --output '$output'
13 $intermediate_ranks
14 ]]></command>
15 <inputs>
16 <param argument="--report" type="data" format="tabular" label="Kraken report file" />
17 <param argument="--intermediate-ranks" type="boolean" checked="false" truevalue="--intermediate-ranks" falsevalue="" label="Include intermediate (i.e. non-standard) ranks"/>
18 </inputs>
19 <outputs>
20 <data name="output" format="tabular" />
21 </outputs>
22 <tests>
23 <test>
24 <param name="report" value="sample.tabular"/>
25 <output name="output" file="output.tabular"/>
26 </test>
27 <test>
28 <param name="report" value="sample.tabular"/>
29 <param name="intermediate_ranks" value="--intermediate-ranks"/>
30 <output name="output" file="output_intermediate.tabular"/>
31 </test>
32 </tests>
33 <help><![CDATA[
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
35
36 Input
37 ------
38 A Kraken report file
39
40 Output
41 ------
42 A krona-compatible TEXT file
43
44 Example output:
45 --no-intermediate-ranks
46 6298 Unclassified
47 8 k__Bacteria
48 4 k__Bacteria p_Proteobacteria
49 6 k__Bacteria p_Proteobacteria c__Gammaproteobacteria
50 ...
51
52 --intermediate-ranks
53 6298 Unclassified
54 79 x__root
55 0 x__root x__cellular_organisms
56 8 x__root x__cellular organisms k__Bacteria
57 4 x__root x__cellular organisms k__Bacteria p__Proteobacteria
58 6 x__root x__cellular organisms k__Bacteria p__Proteobacteria c__Gammaproteobacteria
59 ....
60
61 ]]></help>
62 <expand macro="citations"/>
63 </tool>