Mercurial > repos > devteam > kraken_translate
annotate kraken-translate.xml @ 2:a080250b8326 draft
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
author | devteam |
---|---|
date | Wed, 15 Jul 2015 15:22:31 -0400 |
parents | f23c90363093 |
children | 443674e0ca7f |
rev | line source |
---|---|
2
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
1 <tool id="kraken-translate" name="Kraken-translate" version="1.1.0"> |
0 | 2 <description> |
3 convert taxonomy IDs to names | |
4 </description> | |
5 <macros> | |
6 <import>macros.xml</import> | |
7 </macros> | |
8 <command> | |
9 <![CDATA[ | |
1
f23c90363093
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb1743eafd4ca98be0148d557770ef8635cc8d4c-dirty
devteam
parents:
0
diff
changeset
|
10 @SET_DATABASE_PATH@ && |
0 | 11 kraken-translate @INPUT_DATABASE@ $mpa_format "${input}" > "${translated}" |
12 ]]> | |
13 </command> | |
14 <inputs> | |
2
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
15 <param format="tabular" label="Kraken output" name="input" type="data" help="Select taxonomy classification produced by kraken"/> |
0 | 16 <param label="Restrict labels to standard rank assignments" name="mpa_format" truevalue="--mpa-format" falsevalue="" type="boolean" /> |
17 <expand macro="input_database" /> | |
18 </inputs> | |
19 <outputs> | |
20 <data format="tabular" label="${tool.name} on ${on_string}: Translated classification" name="translated" /> | |
21 </outputs> | |
22 <help> | |
23 <![CDATA[ | |
2
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
24 |
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
25 .. class:: warningmark |
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
26 |
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
27 **Note**: the database used must be the same as the one used in the original Kraken run |
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
28 |
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
29 ------- |
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
30 |
0 | 31 **What it does** |
32 | |
2
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
33 The file sequences.labels generated by the above example is a text file with two tab-delimited columns, and one line for each classified sequence in sequences.fa; unclassified sequences are not reported by kraken-translate. The first column of kraken-translate's output are the sequence IDs of the classified sequences, and the second column contains the taxonomy of the sequence. For example, an output line from kraken:: |
0 | 34 |
2
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
35 C SEQ1 562 36 562:6 |
0 | 36 |
2
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
37 Would result in a corresponding output line from kraken-translate:: |
0 | 38 |
2
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
39 SEQ1 root;cellular organisms;Bacteria;Proteobacteria;Gammaproteobacteria;Enterobacteriales;Enterobacteriaceae;Escherichia;Escherichia coli |
0 | 40 |
2
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
41 Alternatively, kraken-translate accepts the option ``--mpa-format`` which will report only levels of the taxonomy with standard rank assignments (superkingdom, kingdom, phylum, class, order, family, genus, species), and uses pipes to delimit the various levels of the taxonomy. For example, ``kraken-translate --mpa-format`` with the above example output from kraken would result in the following line of output:: |
0 | 42 |
2
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
43 SEQ1 d__Bacteria|p__Proteobacteria|c__Gammaproteobacteria|o__Enterobacteriales|f__Enterobacteriaceae|g__Escherichia|s__Escherichia_coli |
0 | 44 |
2
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
45 Taxonomy assignments above the superkingdom rank are represented as just "root" when using the ``--mpa-report`` option with kraken-translate. |
0 | 46 ]]> |
47 </help> | |
48 <expand macro="requirements" /> | |
49 <expand macro="stdio" /> | |
50 <expand macro="version_command" /> | |
51 <expand macro="citations" /> | |
2
a080250b8326
planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken_translate/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents:
1
diff
changeset
|
52 </tool> |