annotate pathway_pipeline.xml @ 1:f53beb324696 draft default tip

planemo upload for repository https://github.com/picrust/picrust2 commit f8c32a316582ff102c9b7edf3817000691ef9eea
author iuc
date Tue, 13 Aug 2024 12:11:04 +0000
parents 6077821e8ae7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
1 <tool id="picrust2_pathway_pipeline" name="PICRUSt2 Pathway abundance inference" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
2 <description></description>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
3 <macros>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
4 <import>macros.xml</import>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
5 </macros>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
6 <expand macro="bio_tool"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
8 <version_command>pathway_pipeline.py -v</version_command>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
10 @VAR_ACCESS_FOO@
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
11 #if $intermediate_check
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
12 mkdir intermediate &&
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
13 #end if
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
14
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
15 pathway_pipeline.py
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
16 --input '$input'
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
17 @PATHWAY_PIPELINE_PARAMS@
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
18 #if $intermediate_check
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
19 --intermediate 'intermediate/pathways/'
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
20 #end if
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
21 --out_dir 'pathways_out'
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
22 --processes "\${GALAXY_SLOTS:-1}"
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
23
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
24 ## gunzip all results and rename all tsv files to tabular to simplify discovery
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
25 #set find_paths="pathways_out"
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
26 #if $intermediate_check
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
27 #set find_paths+=" intermediate"
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
28 #end if
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
29 &&
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
30 find $find_paths -name "*.gz" -exec gunzip {} \;
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
31 &&
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
32 find $find_paths -name "*.tsv" -exec sh -c 'mv {} \$(dirname {})/\$(basename {} .tsv).tabular' \;
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
33 &&
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
34 ## otherwise the `;` on the last line is swallowed
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
35 true
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
36 ]]></command>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
37 <inputs>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
38 <param argument="--input" type="data" format="tabular" label="Input table with gene family abundances" help="Unstratified or stratified output of PICRUSt2 Metagenome prediction tool"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
39 <expand macro="pathway_pipeline_params" mapargument="--map"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
40 <param argument="--intermediate_check" type="boolean" truevalue="intermediate_check" falsevalue="" checked="false" label="Keep intermediate files" help="Intermediate output files will be deleted by default"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
41 </inputs>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
42 <outputs>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
43 <expand macro="pathways_output" from_work_dir="./">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
44 <token name="intermediate_filter">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
45 <filter>intermediate_check</filter>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
46 </token>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
47 <token name="coverage_filter">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
48 <filter>coverage</filter>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
49 </token>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
50 <token name="per_sequence_filter">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
51 <filter>strat_output['per_sequence_contrib'] != ''</filter>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
52 </token>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
53 </expand>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
54 </outputs>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
55 <tests>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
56 <test expect_num_outputs="1">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
57 <param name="input" ftype="tabular" value="pred_metagenome_unstrat.tsv.gz"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
58 <param name="skip_minpath" value="true"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
59 <param name="no_gap_fill" value="true"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
60 <param name="no_regroup" value=""/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
61 <conditional name="strat_output">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
62 <param name="per_sequence_contrib" value=""/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
63 </conditional>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
64 <param name="intermediate_check" value="false"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
65 <output name="pathways_output" ftype="tabular">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
66 <assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
67 <has_text text="pathway"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
68 <has_n_lines n="205"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
69 </assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
70 </output>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
71 <assert_command>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
72 <!-- assert that regrouping is chosen but without custom map-->
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
73 <has_text text="--no_regroup" negate="true"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
74 <has_text text="--regroup_map" negate="true"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
75 </assert_command>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
76 </test>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
77 <test expect_num_outputs="6">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
78 <param name="input" ftype="tabular" value="pred_metagenome_unstrat.tsv.gz"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
79 <param name="skip_minpath" value="true"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
80 <param name="no_gap_fill" value="true"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
81 <param name="no_regroup" value=""/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
82 <param name="intermediate_check" value="false"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
83 <conditional name="strat_output">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
84 <param name="per_sequence_contrib" value="--per_sequence_contrib"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
85 <param name="wide_table" value="false"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
86 <param name="per_sequence_abun" ftype="tabular" value="seqtab_norm.tsv.gz"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
87 <param name="per_sequence_function" ftype="tabular" value="per_seq_func.tsv.gz"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
88 </conditional>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
89 <param name="coverage" value="true"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
90 <param name="intermediate_check" value="true"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
91 <output name="pathways_output" ftype="tabular">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
92 <assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
93 <has_text text="pathway"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
94 <has_n_lines n="205"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
95 </assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
96 </output>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
97 <output name="path_cov_unstrat" ftype="tabular">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
98 <assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
99 <has_text text="100CHE6KO"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
100 <has_n_lines n="92"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
101 </assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
102 </output>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
103 <output name="path_abun_unstrat_per_seq" ftype="tabular">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
104 <assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
105 <has_text text="101CHE6WT"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
106 <has_n_lines n="3"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
107 </assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
108 </output>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
109 <output name="path_abun_predictions" ftype="tabular">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
110 <assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
111 <has_text text="PWY-5837"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
112 <has_n_lines n="3"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
113 </assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
114 </output>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
115 <output name="path_abun_contrib" ftype="tabular">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
116 <assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
117 <has_text text="taxon"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
118 <has_n_lines n="7"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
119 </assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
120 </output>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
121 <output_collection name="pathways_intermediate_output" type="list" count="2">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
122 <element name="parsed_mapfile" ftype="tabular">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
123 <assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
124 <has_text text="METHYLENETHFDEHYDROG"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
125 <has_n_lines n="575"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
126 </assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
127 </element>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
128 <element name="regrouped_infile" ftype="tabular">
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
129 <assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
130 <has_text text="100CHE6KO"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
131 <has_n_lines n="1790"/>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
132 </assert_contents>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
133 </element>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
134 </output_collection>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
135 </test>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
136 </tests>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
137 <help><![CDATA[
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
138 @HELP_HEADER@
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
139
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
140 Infer pathway abundances
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
141 ========================
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
142 Infer the presence and abundances of pathways based on gene family abundances in a sample. By default, this script expects a table of E.C. number abundances (as output by PICRUSt2). However, alternative reaction to pathways mapping files can also be specified. By default, E.C. numbers are first regrouped to MetaCyc reactions, which are then linked to MetaCyc pathways through the default database.
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
143
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
144 Pathway abundances are calculated using the same approach as HUMAnN2 based on the abundances of gene families that can be linked to reactions within pathways (E.C. numbers regrouped to MetaCyc reactions be default). By default, pathways will first be identified as present or not with MinPath.
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
145
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
146 Either a structured or unstructured pathway mapfile can be input (the mapfile is structured by default), which will identify which set of pathways are likely present based on the presence of requisite gene families.
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
147
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
148 Note
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
149 ====
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
150 Stratified output will only be output if a stratified metagenome is input (or if --per_sequence_contrib is set). Please note that by default stratified abundances are based on how much predicted genomes (e.g. sequences) contribute to the community-wide abundance, not the abundance of the pathway based on the predicted genes in that genome alone. In other words, a predicted genome might be contributing greatly to the community-wide pathway abundance simply because one required gene for that pathway is at extremely high abundance in that genome even though no other required genes for that pathway are present. In contrast, the --per_sequence_contrib option should be used to get the predicted abundance and coverage of each pathway based on the predicted gene families within each genome. Note that using the --per_sequence_contrib option can greatly increase runtime.
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
151
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
152 Input
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
153 =====
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
154 Input tabular table of gene family abundances (either the unstratified or stratified output of metagenome_pipeline.py).
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
155
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
156 Output
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
157 ======
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
158 Pathway abundance.
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
159
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
160 ]]></help>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
161 <citations>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
162 <citation type="doi">10.1038/s41587-020-0548-6</citation>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
163 </citations>
6077821e8ae7 planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff changeset
164 </tool>