Mercurial > repos > iuc > kraken_biom
annotate kraken_biom.xml @ 0:3ff4712dc111 draft
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
author | iuc |
---|---|
date | Sat, 03 Sep 2022 22:13:08 +0000 |
parents | |
children | 65eb9962d272 |
rev | line source |
---|---|
0
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
1 <tool id="kraken_biom" name="Kraken-biom" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
2 <description>Create BIOM-format tables from kraken output</description> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
3 <macros> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
5 </macros> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
7 <version_command>kraken-biom --version</version_command> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
9 #for $i, $s in enumerate($kraken_reports) |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
10 #if $s |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
11 ln -s '$s' './$i-kraken_report.tabular' && |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
12 #end if |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
13 #end for |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
14 kraken-biom |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
15 #for $i, $s in enumerate($kraken_reports) |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
16 #if $s |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
17 '$i-kraken_report.tabular' |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
18 #end if |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
19 #end for |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
20 #if $max |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
21 --max $max |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
22 #end if |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
23 #if $min |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
24 --min $min |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
25 #end if |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
26 #if $otu_fp |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
27 --otu_fp '$otu_fp' |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
28 #end if |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
29 #if $fmt |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
30 --fmt $fmt |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
31 #end if |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
32 ]]></command> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
33 <inputs> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
34 <param name="kraken_reports" type="data" multiple="true" format="tabular" label="Input files to Kraken-biom: Kraken report output file(s)"/> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
35 <param argument="--max" type="select" optional="true" label="Max" help="Assigned reads will be recorded only if they are at or below max rank. Default: O"> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
36 <option value="O" selected="true">O</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
37 <option value="D">D</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
38 <option value="P">P</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
39 <option value="C">C</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
40 <option value="F">F</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
41 <option value="G">G</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
42 <option value="S">S</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
43 </param> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
44 <param argument="--min" type="select" optional="true" label="Min" help="Reads assigned at and below min rank will be recorded as being assigned to the min rank level. Default: S"> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
45 <option value="O">O</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
46 <option value="D">D</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
47 <option value="P">P</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
48 <option value="C">C</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
49 <option value="F">F</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
50 <option value="G">G</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
51 <option value="S" selected="true">S</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
52 </param> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
53 <param argument="--otu_fp" type="data" optional="true" format="tabular" label="OTU FP" help="Create a file containing just the (NCBI) OTU IDs for use with a service such as phyloT (http://phylot.biobyte.de/) to generate a phylogenetic tree for use in downstream analysis such as UniFrac, iTol (itol.embl.de), or PhyloToAST (phylotoast.org)"/> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
54 <param argument="--fmt" type="select" optional="true" label="Output Format" help="Set the output format of the BIOM table. Default is HDF5"> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
55 <option value="tsv">TSV</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
56 <option value="json">JSON</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
57 <option value="hdf5" selected="true">Biom2 (HDF5)</option> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
58 </param> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
59 </inputs> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
60 <outputs> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
61 <data name="biomOutput" format="biom2" from_work_dir="./table.biom" label="Kraken biom output file"> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
62 <change_format> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
63 <when input="fmt" value="json" format="json" /> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
64 </change_format> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
65 <change_format> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
66 <when input="fmt" value="tsv" format="tsv" /> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
67 </change_format> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
68 </data> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
69 </outputs> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
70 <tests> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
71 <test expect_num_outputs="1"> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
72 <param name="kraken_reports" value="krakenReport1.tabular,krakenReport2.tabular,krakenReport3.tabular"/> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
73 <param name="fmt" value="hdf5"/> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
74 <output name="biomOutput" ftype="biom2"> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
75 <assert_contents> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
76 <has_text text="creation-date"/> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
77 </assert_contents> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
78 </output> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
79 </test> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
80 <test expect_num_outputs="1"> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
81 <param name="kraken_reports" value="krakenReport1.tabular,krakenReport2.tabular,krakenReport3.tabular"/> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
82 <param name="fmt" value="tsv"/> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
83 <output name="biomOutput" ftype="tsv"> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
84 <assert_contents> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
85 <has_n_lines n="8246"/> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
86 <has_text text="Constructed from biom file"/> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
87 </assert_contents> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
88 </output> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
89 </test> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
90 <test expect_num_outputs="1"> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
91 <param name="kraken_reports" value="krakenReport1.tabular,krakenReport2.tabular,krakenReport3.tabular"/> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
92 <param name="fmt" value="json"/> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
93 <output name="biomOutput" ftype="json"> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
94 <assert_contents> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
95 <has_text text="Biological Observation"/> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
96 </assert_contents> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
97 </output> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
98 </test> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
99 </tests> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
100 <help><![CDATA[ |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
101 Kraken-biom |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
102 =========== |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
103 Create BIOM-format tables (http://biom-format.org) from Kraken output (http://ccb.jhu.edu/software/kraken/). |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
104 |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
105 Input |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
106 ===== |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
107 The program takes as input, one or more files output from the kraken-report tool. Each file is parsed and the counts for each OTU (operational taxonomic unit) are recorded, along with database ID (e.g. NCBI), and lineage. The extracted data are then stored in a BIOM table where each count is linked to the Sample and OTU it belongs to. Sample IDs are extracted from the input filenames (everything up to the '.'). |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
108 |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
109 OTUs are defined by the --max and --min arguments. By default these are set to Order and Species respectively. This means that counts assigned directly to an Order, Family, or Genus are recorded under the associated OTU ID, and counts assigned at or below the Species level are assigned to the OTU ID for the species. Setting a minimum rank below Species is not yet available. |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
110 |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
111 Output |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
112 ====== |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
113 The BIOM format currently has two major versions. Version 1.0 uses the JSON (JavaScript Object Notation) format as a base. Version 2.x uses the HDF5 (Hierarchical Data Format v5) as a base. The output format can be specified with the --fmt option. Note that a tab-separated (tsv) output format is also available. The resulting file will not contain most of the metadata, but can be opened by spreadsheet programs. |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
114 |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
115 Version 2 of the BIOM format is used by default for output, but requires the Python library 'h5py'. If the library is not installed, kraken-biom will automatically switch to using version 1.0. Note that the output can optionally be compressed with gzip (--gzip) for version 1.0 and TSV files. Version 2 files are automatically compressed. |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
116 ]]></help> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
117 <citations> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
118 <citation type="bibtex"> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
119 @misc{githubseqtk, |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
120 author = {Dabdoub, SM}, |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
121 year = {2016}, |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
122 title = {kraken-biom}, |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
123 publisher = {GitHub}, |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
124 journal = {GitHub repository}, |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
125 url = {https://github.com/smdabdoub/kraken-biom}, |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
126 }</citation> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
127 </citations> |
3ff4712dc111
planemo upload for repository https://github.com/smdabdoub/kraken-biom commit a7d3ae6f4ff1a49b1b329532379f5ccfafd573fa
iuc
parents:
diff
changeset
|
128 </tool> |