annotate centrifuge_kreport.xml @ 1:ccb90fac3605 draft default tip

planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
author youyuh48
date Tue, 05 Feb 2019 03:08:48 -0500
parents d4372c7fa79d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d4372c7fa79d planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents:
diff changeset
1 <tool id="centrifuge_kreport" name="centrifuge_kreport" version="0.1.0">
1
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
2 <description>Centrifuge-kreport creates Kraken-style reports from centrifuge out files</description>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
3 <requirements>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
4 <requirement type="package" version="1.0.3">centrifuge</requirement>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
5 </requirements>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
6 <command detect_errors="exit_code">
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
7 <![CDATA[
0
d4372c7fa79d planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents:
diff changeset
8 centrifuge-kreport
d4372c7fa79d planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents:
diff changeset
9 -x '${db.fields.path}'
1
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
10
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
11 #if $settings.advanced == "advanced"
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
12 $settings.only_unique
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
13 $settings.show_zeros
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
14 $settings.count_table
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
15 --min-score $settings.min_score
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
16 --min-length $settings.min_length
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
17 #end if
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
18
0
d4372c7fa79d planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents:
diff changeset
19 $input > output.txt
1
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
20 ]]>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
21 </command>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
22 <inputs>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
23 <param type="data" name="input" format="tabular"/>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
24 <param name="db" type="select" label="Select a reference database">
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
25 <options from_data_table="centrifuge_indices">
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
26 <filter type="sort_by" column="2"/>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
27 <validator type="no_options" message="No indexes are available for the selected input dataset"/>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
28 </options>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
29 </param>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
30 <conditional name="settings">
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
31 <param name="advanced" type="select" label="Specify advanced parameters">
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
32 <option value="simple" selected="true">No, use program defaults.</option>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
33 <option value="advanced">Yes, see full parameter list.</option>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
34 </param>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
35 <when value="simple"></when>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
36 <when value="advanced">
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
37 <param name="only_unique" type="boolean" truevalue="--only-unique" falsevalue="" checked="false" label="Only count reads that were uniquely assigned to one taxon"/>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
38 <param name="show_zeros" type="boolean" truevalue="--show-zeros" falsevalue="" checked="false" label="Show clades that have zero reads, too"/>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
39 <param name="count_table" type="boolean" truevalue="--is-count-table" falsevalue="" label="The format of the file is 'TAXID-tab-COUNT' instead of the standard Centrifuge output format"/>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
40 <param name="min_score" type="integer" label="--min-score" value="0" min="0" help="Require a minimum score for reads to be counted"/>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
41 <param name="min_length" type="integer" label="--min-length" value="0" min="0" help="Require a minimum alignment length to the read"/>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
42 </when>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
43 </conditional>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
44 </inputs>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
45 <outputs>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
46 <data format="tabular" name="output" from_work_dir="output.txt" label="${tool.name} on ${on_string}"/>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
47 </outputs>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
48 <tests>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
49 <test>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
50 <param name="input" value="test-data_centrifuge-kreport/defaults.tsv"/>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
51 <output name="output" file="defaults.tsv.kreport"/>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
52 </test>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
53 </tests>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
54 <help>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
55 <![CDATA[
0
d4372c7fa79d planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents:
diff changeset
56 centrifuge-kreport creates Kraken-style reports from centrifuge out files.
1
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
57 ]]>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
58 </help>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
59 <citations>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
60 <citation type="doi">10.1101/gr.210641.116</citation>
ccb90fac3605 planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents: 0
diff changeset
61 </citations>
0
d4372c7fa79d planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/centrifuge
youyuh48
parents:
diff changeset
62 </tool>