comparison humann2_associate.xml @ 0:b6f52c19973d draft

planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/humann2/ commit 6753a2c0fec9222f5977cab43a855c63fa9f7bee
author iuc
date Tue, 01 Aug 2017 07:56:34 -0400
parents
children e57b437186b3
comparison
equal deleted inserted replaced
-1:000000000000 0:b6f52c19973d
1 <tool id="humann2_associate" name="Associate" version="@WRAPPER_VERSION@.0">
2 <description>HUMAnN2 functions with metadata</description>
3 <macros>
4 <import>humann2_macros.xml</import>
5 </macros>
6 <expand macro="requirements"/>
7 <expand macro="version"/>
8 <command detect_errors="exit_code"><![CDATA[
9 humann2_associate
10 --input '$input'
11 --focal-metadatum '$focal_metadatum'
12 --last-metadatum '$last_metadatum'
13 --focal-type '$focal_type'
14 --fdr '$fdr'
15 --output '$associated_table'
16 ]]></command>
17 <inputs>
18 <param argument="--input" type="data" format="tsv,tabular" label="HUMAnN2 table with metadata rows at the top"/>
19 <param name="focal_metadatum" argument="--focal-metadatum" type="text" value="" label="Metadatum to test vs. community feature totals"/>
20 <param name="last_metadatum" argument="--last-metadatum" type="text" value="" label="End of metadata rows"/>
21 <param name="focal_type" argument="--focal-type" type="select" label="Metadatum type">
22 <option value="continuous">Continuous</option>
23 <option value="categorical">Categorical</option>
24 </param>
25 <param argument="--fdr" type="float" value="0.2" label="FDR threshold"/>
26 </inputs>
27 <outputs>
28 <data format="tabular" name="associated_table" label="${tool.name} on ${on_string}" />
29 </outputs>
30 <tests>
31 <test>
32 <param name="input" value="hmp_pathabund.txt"/>
33 <param name="focal_metadatum" value="STSite"/>
34 <param name="last_metadatum" value="STSite"/>
35 <param name="focal_type" value="categorical"/>
36 <param name="fdr" value="0.2"/>
37 <output name="associated_table" md5="d37e750915a6895145540d15074a9c15"/>
38 </test>
39 </tests>
40 <help><![CDATA[
41 @HELP_HEADER@
42
43 When associating metadata with HUMAnN2 features, it is often beneficial to associate with community totals and avoid testing each individual feature stratification (to improve statistical power). This is the approach used by the HUMAnN2 utility script humann2_associate, which can compare feature totals across samples with 1) a single continuous metadatum (via the Spearman Correlation) or 2) a single categorical metadatum (via the Kruskal-Wallis H-test). Notably, this is a naive approach to association, but it is useful for tutorial purposes.
44 ]]></help>
45 <expand macro="citations"/>
46 </tool>