Mercurial > repos > iuc > humann_associate
comparison humann_associate.xml @ 0:10fdefbf5920 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann commit 077b8f34e081e6c427acb0fde0fbb97d1b241e0b"
author | iuc |
---|---|
date | Wed, 12 May 2021 09:05:51 +0000 |
parents | |
children | 5ae955d5bd2b |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:10fdefbf5920 |
---|---|
1 <tool id="humann_associate" name="Perform metadata association" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> | |
2 <description>on HUMAnN generated table</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="edam_ontology"/> | |
7 <expand macro="requirements"/> | |
8 <expand macro="version"/> | |
9 <command detect_errors="exit_code"><![CDATA[ | |
10 humann_associate | |
11 --input '$input' | |
12 --focal-metadatum '$focal_metadatum' | |
13 --last-metadatum '$last_metadatum' | |
14 --focal-type '$focal_type' | |
15 --fdr $fdr | |
16 --output '$output' | |
17 ]]></command> | |
18 <inputs> | |
19 <param argument="--input" type="data" format="tsv,tabular" label="Gene family or pathway table with metadata rows at the top"/> | |
20 <param argument="--focal-metadatum" type="text" value="" label="Metadatum to test vs. community feature totals"> | |
21 <sanitizer invalid_char=""> | |
22 <valid initial="string.ascii_letters,string.digits"> | |
23 <add value="_" /> | |
24 </valid> | |
25 </sanitizer> | |
26 <validator type="empty_field" /> | |
27 </param> | |
28 <param argument="--last-metadatum" type="text" value="" label="End of metadata rows"> | |
29 <sanitizer invalid_char=""> | |
30 <valid initial="string.ascii_letters,string.digits"> | |
31 <add value="_" /> | |
32 </valid> | |
33 </sanitizer> | |
34 <validator type="empty_field" /> | |
35 </param> | |
36 <param name="focal_type" argument="--focal-type" type="select" label="Metadatum type"> | |
37 <option value="continuous">Continuous</option> | |
38 <option value="categorical">Categorical</option> | |
39 </param> | |
40 <param argument="--fdr" type="float" value="0.2" label="FDR threshold"/> | |
41 </inputs> | |
42 <outputs> | |
43 <data format="tabular" name="output"/> | |
44 </outputs> | |
45 <tests> | |
46 <test expect_num_outputs="1"> | |
47 <param name="input" value="hmp_pathabund.txt"/> | |
48 <param name="focal_metadatum" value="STSite"/> | |
49 <param name="last_metadatum" value="STSite"/> | |
50 <param name="focal_type" value="categorical"/> | |
51 <param name="fdr" value="0.2"/> | |
52 <output name="output" ftype="tabular"> | |
53 <assert_contents> | |
54 <has_text text="Feature"/> | |
55 <has_text text="BRANCHED-CHAIN-AA-SYN-PWY: superpathway of branched amino acid biosynthesis"/> | |
56 <has_text text="Level means (|ed)"/> | |
57 <has_text text="P-value"/> | |
58 <has_text text="Q-value"/> | |
59 <has_n_columns n="4"/> | |
60 </assert_contents> | |
61 </output> | |
62 </test> | |
63 </tests> | |
64 <help><![CDATA[ | |
65 @HELP_HEADER@ | |
66 | |
67 When associating metadata with HUMAnN features, it is often beneficial to associate with community totals and avoid testing each | |
68 individual feature stratification (to improve statistical power). | |
69 | |
70 This is the approach used by this tool, which can compare feature totals across samples with | |
71 1) a single continuous metadatum (via the Spearman Correlation) or | |
72 2) a single categorical metadatum (via the Kruskal-Wallis H-test). | |
73 | |
74 Notably, this is a naive approach to association, but it is useful for tutorial purposes. | |
75 ]]></help> | |
76 <expand macro="citations"/> | |
77 </tool> |