Mercurial > repos > iuc > picrust_categorize
annotate categorize_by_function.xml @ 0:a94f4d96045c draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
author | iuc |
---|---|
date | Thu, 08 Dec 2016 06:27:47 -0500 |
parents | |
children | fd5533e57354 |
rev | line source |
---|---|
0
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
1 <tool id="picrust_categorize" name="Categorize by function" version="@WRAPPER_VERSION@.0"> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
2 <description>collapse hierarchical data to a specified level</description> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
3 <macros> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
5 </macros> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
7 <expand macro="version_command"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
8 <command detect_errors="aggressive"><![CDATA[ |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
9 categorize_by_function.py |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
10 -i '$input_fp' |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
11 -c $metadata_category |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
12 -l $level |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
13 -o tempbiom |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
14 $format_tab_delimited |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
15 |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
16 @OUTPUT_CONVERSION_COMMANDS@ |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
17 ]]></command> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
18 <inputs> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
19 <param argument="--input_fp" format="tabular,biom1" type="data" label="Input file" help="the output from the PICRISt predict tool"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
20 <param argument="--metadata_category" type="select" multiple="false" label="Metadata category that describes the hierarchy" help=""> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
21 <option value="KEGG_Pathways" selected="true">KEGG Pathways</option> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
22 <option value="COG_Category">COG Category</option> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
23 <option value="taxonomy">Using taxonomy metadata</option> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
24 </param> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
25 <param argument="--level" type="integer" value="3" min="1" label="Hierarchy Level" |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
26 help="a value of 1 is the highest level, and any higher value nears the leaves of the hierarchy. For instance, if the hierarchy contains 4 levels, specifying 3 would collapse at one level above being fully specified"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
27 <param argument="--format_tab_delimited" type="boolean" truevalue="-f" falsevalue="" checked="false" label="output the predicted metagenome table in tab-delimited" help="will contain the metadata lost in the classic output"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
28 <expand macro="biom_format_select"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
29 </inputs> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
30 <outputs> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
31 <expand macro="biom_output"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
32 <data name="out_tabdel" format="tabular" from_work_dir="tempbiom" label="${tool.name} on ${on_string}: metagenome table"> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
33 <filter>format_tab_delimited</filter> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
34 </data> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
35 </outputs> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
36 <tests> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
37 <test> <!-- test with Kegg Pathways and json output --> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
38 <param name="input_fp" value="predicted_metagenomes.L3.biom"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
39 <param name="metadata_category" value="KEGG_Pathways"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
40 <param name="level" value="2"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
41 <param name="format_tab_delimited" value="-f"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
42 <param name="output_type" value="json"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
43 <output name="out_biom" ftype="json"> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
44 <assert_contents> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
45 <has_text text="Biological Observation Matrix"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
46 <has_text text="generated_by"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
47 <has_text text="KEGG_Pathways"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
48 <has_text text="Cancers"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
49 <not_has_text text="ABC transporters"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
50 </assert_contents> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
51 </output> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
52 <output name="out_tabdel" ftype="tabular" file="tempout.table"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
53 </test> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
54 <test> <!-- test with COG categories and classic output --> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
55 <param name="input_fp" value="cog_predicted_metagenomes.L2.biom"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
56 <param name="metadata_category" value="COG_Category"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
57 <param name="level" value="1"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
58 <param name="format_tab_delimited" value="-f"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
59 <param name="output_type" value="tsv"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
60 <output name="out_biom" ftype="tabular" md5="7682875d365f884b399ffa521952dbd8"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
61 <output name="out_tabdel" ftype="tabular" md5="e3545484ff53bf8650725573af2ebbb9"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
62 </test> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
63 <test> <!-- test with taxonomy metadata and hdf5 output --> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
64 <param name="input_fp" value="observation_table.biom"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
65 <param name="metadata_category" value="taxonomy"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
66 <param name="level" value="1"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
67 <param name="output_type" value="hdf5"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
68 <output name="out_biom" ftype="hdf5" file="categorize_biom.hdf5" compare="sim_size"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
69 </test> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
70 </tests> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
71 <help> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
72 <![CDATA[ |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
73 @PICRUST_OVERVIEW@ |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
74 |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
75 **Command Documentation** |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
76 |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
77 This module collapses hierarchical data to a specified level for PICRUSt predictions. For instance, often it is useful to examine KEGG results from a higher level within the pathway hierarchy. |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
78 Many genes are sometimes involved in multiple pathways, and in these circumstances (also know as a one-to-many relationship), the gene is counted for each pathway. |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
79 |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
80 **Input file:** Output file from the predict tool |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
81 |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
82 ]]> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
83 </help> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
84 <expand macro="citations"/> |
a94f4d96045c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/picrust commit a933cd08ace9778a03e575e54f2b69bc5315e14c
iuc
parents:
diff
changeset
|
85 </tool> |