annotate compare_biom.xml @ 4:8e2ac1b8f70a draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 899e24f2aecad79c80667fb6c938dd4573a98820
author iuc
date Fri, 09 Feb 2024 21:41:50 +0000
parents 9168545e09df
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
1 <tool id="picrust_compare_biom" name="Compare BIOM tables" version="@TOOL_VERSION@.1">
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
2 <description>Compare the accuracy of biom files (expected and observed) either by observations (default) or by samples.</description>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
3 <macros>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
4 <import>macros.xml</import>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
5 </macros>
4
8e2ac1b8f70a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 899e24f2aecad79c80667fb6c938dd4573a98820
iuc
parents: 3
diff changeset
6 <expand macro="bio_tools"/>
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
8 <expand macro="version_command"/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
10 compare_biom.py
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
11 -e '$expected'
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
12 -o '$outfile'
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
13 $not_relative_abundance_scores
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
14 $advanced.compare_observations
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
15 $advanced.normalize
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
16 $advanced.limit_to_observed_observations
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
17 $advanced.limit_to_expected_observations
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
18 $advanced.shuffle_samples
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
19 '$observed'
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
20 ]]></command>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
21 <inputs>
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
22 <param argument="-o" name="observed" type="data" format="biom1" label="Observed table" help="The observed table of either relative abundance or real counts"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
23 <param argument="-e" name="expected" type="data" format="biom1" label="Expected table" help="The expected table of either relative abundance or real counts"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
24 <param argument="--not_relative_abundance_scores" type="boolean" truevalue="--not_relative_abundance_scores" falsevalue="" checked="false" label="Real counts instead of relative abundances?"
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
25 help="Round numbers (instead of taking ceil() which is used for RA) before calculating TP,FP,FN,TN"/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
26 <section name="advanced" title="Advanced parameters" expanded="false">
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
27 <param argument="--compare_observations" type="boolean" truevalue="--compare_observations" falsevalue="" checked="false" label="Compare observations"
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
28 help="Calculate accuracy values by comparing between observations (instead of between samples)."/>
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
29 <param argument="--normalize" type="boolean" truevalue="--normalize" falsevalue="" checked="false" label="Normalize?"
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
30 help="Convert both expected and observed tables to relative abundances (instead of observations)."/>
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
31 <param argument="--limit_to_observed_observations" type="boolean" truevalue="--limit_to_observed_observations" falsevalue="" checked="false" label="Limit to observed observations?"
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
32 help="Ignore observations that are not in the observed table."/>
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
33 <param argument="--limit_to_expected_observations" type="boolean" truevalue="--limit_to_expected_observations" falsevalue="" checked="false" label="Limit to expected observations?"
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
34 help="Ignore observations that are not in the expected table."/>
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
35 <param argument="--shuffle_samples" type="boolean" truevalue="--shuffle_samples" falsevalue="" checked="false" label="Shuffle samples?"
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
36 help="Shuffle samples ids randomly before measuring accuracy."/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
37 </section>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
38 </inputs>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
39 <outputs>
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
40 <data format="tabular" name="outfile" label="${tool.name} on ${on_string}"/>
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
41 </outputs>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
42 <tests>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
43 <test><!-- relative abundance test -->
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
44 <param name="observed" value="observed_ra.biom" ftype="biom1"/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
45 <param name="expected" value="expected_ra.biom" ftype="biom1"/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
46 <output name="outfile" ftype="tabular">
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
47 <assert_contents>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
48 <has_text_matching expression="file\tlabel\taccuracy"/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
49 <has_text text="sample1"/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
50 <has_text text="sample3"/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
51 <has_text text="sample2"/>
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
52 <has_n_lines n="4"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
53 <has_n_columns n="16"/>
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
54 </assert_contents>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
55 </output>
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
56 <assert_command>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
57 <not_has_text text="--not_relative_abundance_scores"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
58 <not_has_text text="--compare_observations"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
59 <not_has_text text="--normalize"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
60 <not_has_text text="--limit_to_observed_observations"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
61 <not_has_text text="--limit_to_expected_observations"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
62 <not_has_text text="--shuffle_samples"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
63 </assert_command>
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
64 </test>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
65 <test><!-- real counts test -->
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
66 <param name="observed" value="observed.biom" ftype="biom1"/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
67 <param name="expected" value="expected.biom" ftype="biom1"/>
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
68 <param name="not_relative_abundance_scores" value="true"/>
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
69 <output name="outfile" ftype="tabular">
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
70 <assert_contents>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
71 <has_text_matching expression="file\tlabel\taccuracy"/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
72 <has_text text="sample1"/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
73 <has_text text="sample3"/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
74 <has_text text="sample2"/>
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
75 <has_n_lines n="4"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
76 <has_n_columns n="16"/>
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
77 </assert_contents>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
78 </output>
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
79 <assert_command>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
80 <has_text text="--not_relative_abundance_scores"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
81 <not_has_text text="--compare_observations"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
82 <not_has_text text="--normalize"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
83 <not_has_text text="--limit_to_observed_observations"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
84 <not_has_text text="--limit_to_expected_observations"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
85 <not_has_text text="--shuffle_samples"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
86 </assert_command>
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
87 </test>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
88 <test><!-- all other switches test -->
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
89 <param name="observed" value="observed.biom" ftype="biom1"/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
90 <param name="expected" value="expected.biom" ftype="biom1"/>
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
91 <param name="not_relative_abundance_scores" value="true"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
92 <section name="advanced">
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
93 <param name="compare_observations" value="true"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
94 <param name="normalize" value="true"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
95 <param name="limit_to_observed_observations" value="true"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
96 <param name="limit_to_expected_observations" value="true"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
97 <param name="shuffle_samples" value="true"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
98 </section>
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
99 <output name="outfile" ftype="tabular">
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
100 <assert_contents>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
101 <has_text_matching expression="file\tlabel\taccuracy"/>
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
102 <has_text text="K00005"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
103 <has_text text="K00004"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
104 <has_text text="K00003"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
105 <has_n_lines n="6"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
106 <has_n_columns n="16"/>
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
107 </assert_contents>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
108 </output>
3
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
109 <assert_command>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
110 <has_text text="--not_relative_abundance_scores"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
111 <has_text text="--compare_observations"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
112 <has_text text="--normalize"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
113 <has_text text="--limit_to_observed_observations"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
114 <has_text text="--limit_to_expected_observations"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
115 <has_text text="--shuffle_samples"/>
9168545e09df "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit ee7bd710f5194337040a592a5c9069bc3486a68f"
iuc
parents: 0
diff changeset
116 </assert_command>
0
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
117 </test>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
118 </tests>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
119 <help>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
120 <![CDATA[
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
121 @PICRUST_OVERVIEW@
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
122
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
123 **Command Documentation**
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
124
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
125 Compare an observed table to an expected table using either relative abundance or real counts.
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
126
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
127 **Input files:**
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
128
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
129 **Observed table:** A table of observed relative abundances or real counts in .biom format.
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
130
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
131 **Expected table:** The expected table of relative abundances or real counts in .biom format.
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
132
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
133 **Output file:** Tab delimited file with various accuracy metrics.
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
134
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
135 **Optional Parameters:**
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
136
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
137 *compare observations*
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
138
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
139 Calculate accuracy values by comparing between observations (instead of between samples) [default: False]
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
140
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
141 *normalize*
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
142
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
143 Convert both expected and observed tables to relative abundances (instead of observations) [default: False]
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
144
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
145 *limit to expected observations*
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
146
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
147 Ignore observations that are not in the expected table[default: False]
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
148
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
149 *limit to observed observations*
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
150
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
151 Ignore observations that are not in the observed table[default: False]
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
152
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
153 *shuffle samples*
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
154
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
155 Shuffle samples ids randomly before measuring accuracy[default: False]
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
156
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
157 *not relative abundance scores*
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
158
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
159 Round numbers (instead of taking ceil() which is used for RA) before calculating TP,FP,FN,TN [default: False]
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
160
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
161 ]]>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
162 </help>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
163 <expand macro="citations"/>
43244ad9e7ef planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit 95e0878f4cbd9caadffae7b9bcff4c1795f4c739
iuc
parents:
diff changeset
164 </tool>