Mercurial > repos > devteam > kraken_filter
diff kraken-filter.xml @ 6:ccfb9cbfcc72 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken_filter/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
author | iuc |
---|---|
date | Mon, 07 Aug 2017 17:27:49 -0400 |
parents | d246279116a4 |
children | 6e690205b306 |
line wrap: on
line diff
--- a/kraken-filter.xml Wed Mar 23 10:59:52 2016 -0400 +++ b/kraken-filter.xml Mon Aug 07 17:27:49 2017 -0400 @@ -1,22 +1,24 @@ -<tool id="kraken-filter" name="Kraken-filter" version="1.2.1"> - <description> - filter classification by confidence score - </description> +<tool id="kraken-filter" name="Kraken-filter" version="@WRAPPER_VERSION@"> + <description>filter classification by confidence score</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements" /> - <expand macro="stdio" /> <expand macro="version_command" /> - <command> - <![CDATA[ + <command detect_errors="exit_code"><![CDATA[ @SET_DATABASE_PATH@ && - kraken-filter @INPUT_DATABASE@ --threshold $threshold "${input}" > "$filtered_output" - ]]> - </command> + + kraken-filter + @INPUT_DATABASE@ + --threshold $threshold + '${input}' + > '$filtered_output' + ]]></command> <inputs> - <param format="tabular" label="Kraken output" name="input" type="data" help="Select taxonomy classification produced by kraken"/> - <param label="Confidence threshold" max="1" min="0" name="threshold" type="float" value="0" help="--threshold; A number between 0 and 1; default=0"/> + <param name="input" type="data" format="tabular" label="Kraken output" help="Select taxonomy classification produced by kraken"/> + <param argument="--threshold" type="float" value="0" min="0" max="1" + label="Confidence threshold" help="A floating point number between 0 and 1; default=0"/> + <expand macro="input_database" /> </inputs> <outputs> @@ -27,7 +29,8 @@ <param name="input" value="kraken_filter_test1.tab"/> <param name="threshold" value="0"/> <param name="kraken_database" value="test_db"/> - <output name="output" file="kraken_filter_test1_output.tab" ftype="tabular"/> + + <output name="filtered_output" file="kraken_filter_test1_output.tab" ftype="tabular"/> </test> </tests> @@ -46,7 +49,7 @@ A sequence label's score is a fraction C/Q, where C is the number of k-mers mapped to LCA values in the clade rooted at the label, and Q is the number of k-mers in the sequence that lack an ambiguous nucleotide (i.e., they were queried against the database). Consider the example of the LCA mappings in Kraken's output:: - 562:13 561:4 A:31 0:1 562:3 + 562:13 561:4 A:31 0:1 562:3 would indicate that::