comparison macros.xml @ 0:6273e2721fa3 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:28:17 -0500
parents
children 76c040c8b9fc
comparison
equal deleted inserted replaced
-1:000000000000 0:6273e2721fa3
1 <macros>
2 <token name="@WRAPPER_VERSION@">1.0.1</token>
3 <xml name="requirements">
4 <requirements>
5 <requirement type="package" version="1.0.1">picrust</requirement>
6 </requirements>
7 </xml>
8
9 <xml name="version_command">
10 <version_command>predict_metagenomes.py --version | cut -d" " -f3 </version_command>
11 </xml>
12
13 <xml name="otu-reference-precalculated">
14 <!-- selection of "gg" picrust parameter reference data file -->
15 <conditional name="gg">
16 <param name="source" type="select" label="Select precalculated file from" help="">
17 <option value="ref">Cached Reference</option>
18 <option value="hist">History</option>
19 </param>
20 <when value="ref">
21 <param name="precalc" type="select" label="Precalculated input marker gene copy number predictions on per-otu basis">
22 <options from_data_table="picrust_precalculated"/>
23 </param>
24 </when>
25 <when value="hist">
26 <param name="precalc" type="data" format="tabular" label="Precalculated input marker gene copy number predictions on per-otu basis"
27 help="files may be downloaded from PICRUSt website (see tool help below)" />
28 </when>
29 </conditional>
30 </xml>
31
32 <xml name="biom_format_select">
33 <param name="output_type" type="select" label="Format of the output BIOM file">
34 <option value="json" selected="true">JSON</option>
35 <option value="hdf5">HDF5</option>
36 <option value="tsv">Classic (tab-separated text)</option>
37 </param>
38 </xml>
39
40 <xml name="biom_output">
41 <data name="out_biom" format="tabular" label="${tool.name} on ${on_string}: Normalized OTUs">
42 <change_format>
43 <when input="output_type" value="json" format="json"/>
44 <when input="output_type" value="tsv" format="tabular"/>
45 <when input="output_type" value="hdf5" format="hdf5"/>
46 </change_format>
47 </data>
48 </xml>
49
50 <token name="@OUTPUT_CONVERSION_COMMANDS@"><![CDATA[
51 #if $output_type == "json":
52 && biom convert -i tempbiom -o '$out_biom' --to-json
53 #elif $output_type == "tsv":
54 && biom convert -i tempbiom -o '$out_biom' --to-tsv
55 #else
56 && biom convert -i tempbiom -o '$out_biom' --to-hdf5
57 #end if
58 ]]></token>
59
60 <token name="@PICRUST_OVERVIEW@">
61 <![CDATA[
62 **PICRUSt: Phylogenetic Investigation of Communities by Reconstruction of Unobserved States**
63
64 The PICRUSt project aims to support prediction of the unobserved character states in a community of
65 organisms from phylogenetic information about the organisms in that community. The primary application
66 is to predict gene family abundance (e.g. the metagenome) in environmental DNA samples for which only
67 marker gene (e.g. 16S rRNA gene) data are available. This is an open source, international, collaborative
68 bioinformatics project developed in the Huttenhower, Beiko, Langille, Vega Thurber, Knight and Caporaso labs.
69
70 For more information please visit:
71
72 - Picrust Documentation: https://picrust.github.io/picrust/
73 - Picrust GitHub: http://picrust.github.com/
74 - Picrust Support: https://groups.google.com/d/forum/picrust-users
75
76 **Reference Data**
77
78 Precalculated files: ftp://ftp.microbio.me/pub/picrust-references/picrust-1.0.0/
79
80 ]]>
81 </token>
82
83 <xml name="citations">
84 <citations>
85 <citation type="doi">10.1038/nbt.2676</citation>
86 <yield/>
87 </citations>
88 </xml>
89
90 </macros>