Mercurial > repos > iuc > picrust2_pathway_pipeline
annotate pathway_pipeline.xml @ 0:7349692f8d7f draft
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
| author | iuc |
|---|---|
| date | Sat, 04 Mar 2023 20:25:24 +0000 |
| parents | |
| children |
| rev | line source |
|---|---|
|
0
7349692f8d7f
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@"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
2 <description></description> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
3 <macros> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
5 </macros> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
6 <expand macro="bio_tool"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
7 <expand macro="requirements"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
8 <version_command>pathway_pipeline.py -v</version_command> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
9 <command detect_errors="exit_code"><![CDATA[ |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
10 @VAR_ACCESS_FOO@ |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
11 #if $intermediate_check |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
12 mkdir intermediate && |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
13 #end if |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
14 |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
15 pathway_pipeline.py |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
16 --input '$input' |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
17 @PATHWAY_PIPELINE_PARAMS@ |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
18 #if $intermediate_check |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
19 --intermediate 'intermediate/pathways/' |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
20 #end if |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
21 --out_dir 'pathways_out' |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
22 --processes "\${GALAXY_SLOTS:-1}" |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
23 |
|
7349692f8d7f
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 |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
25 #set find_paths="pathways_out" |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
26 #if $intermediate_check |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
27 #set find_paths+=" intermediate" |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
28 #end if |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
29 && |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
30 find $find_paths -name "*.gz" -exec gunzip {} \; |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
31 && |
|
7349692f8d7f
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' \; |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
33 && |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
34 ## otherwise the `;` on the last line is swallowed |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
35 true |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
36 ]]></command> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
37 <inputs> |
|
7349692f8d7f
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"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
39 <expand macro="pathway_pipeline_params" mapargument="--map"/> |
|
7349692f8d7f
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"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
41 </inputs> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
42 <outputs> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
43 <expand macro="pathways_output" from_work_dir="./"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
44 <token name="intermediate_filter"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
45 <filter>intermediate_check</filter> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
46 </token> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
47 <token name="coverage_filter"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
48 <filter>coverage</filter> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
49 </token> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
50 <token name="per_sequence_filter"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
51 <filter>strat_output['per_sequence_contrib'] != ''</filter> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
52 </token> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
53 </expand> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
54 </outputs> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
55 <tests> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
56 <test expect_num_outputs="1"> |
|
7349692f8d7f
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"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
58 <param name="skip_minpath" value="true"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
59 <param name="no_gap_fill" value="true"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
60 <param name="no_regroup" value=""/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
61 <conditional name="strat_output"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
62 <param name="per_sequence_contrib" value=""/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
63 </conditional> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
64 <param name="intermediate_check" value="false"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
65 <output name="pathways_output" ftype="tabular"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
66 <assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
67 <has_text text="pathway"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
68 <has_n_lines n="205"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
69 </assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
70 </output> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
71 <assert_command> |
|
7349692f8d7f
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--> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
73 <has_text text="--no_regroup" negate="true"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
74 <has_text text="--regroup_map" negate="true"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
75 </assert_command> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
76 </test> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
77 <test expect_num_outputs="6"> |
|
7349692f8d7f
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"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
79 <param name="skip_minpath" value="true"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
80 <param name="no_gap_fill" value="true"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
81 <param name="no_regroup" value=""/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
82 <param name="intermediate_check" value="false"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
83 <conditional name="strat_output"> |
|
7349692f8d7f
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"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
85 <param name="wide_table" value="false"/> |
|
7349692f8d7f
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"/> |
|
7349692f8d7f
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"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
88 </conditional> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
89 <param name="coverage" value="true"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
90 <param name="intermediate_check" value="true"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
91 <output name="pathways_output" ftype="tabular"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
92 <assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
93 <has_text text="pathway"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
94 <has_n_lines n="205"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
95 </assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
96 </output> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
97 <output name="path_cov_unstrat" ftype="tabular"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
98 <assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
99 <has_text text="100CHE6KO"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
100 <has_n_lines n="92"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
101 </assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
102 </output> |
|
7349692f8d7f
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"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
104 <assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
105 <has_text text="101CHE6WT"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
106 <has_n_lines n="3"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
107 </assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
108 </output> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
109 <output name="path_abun_predictions" ftype="tabular"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
110 <assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
111 <has_text text="PWY-5837"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
112 <has_n_lines n="3"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
113 </assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
114 </output> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
115 <output name="path_abun_contrib" ftype="tabular"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
116 <assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
117 <has_text text="taxon"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
118 <has_n_lines n="7"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
119 </assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
120 </output> |
|
7349692f8d7f
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"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
122 <element name="parsed_mapfile" ftype="tabular"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
123 <assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
124 <has_text text="METHYLENETHFDEHYDROG"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
125 <has_n_lines n="575"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
126 </assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
127 </element> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
128 <element name="regrouped_infile" ftype="tabular"> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
129 <assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
130 <has_text text="100CHE6KO"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
131 <has_n_lines n="1790"/> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
132 </assert_contents> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
133 </element> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
134 </output_collection> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
135 </test> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
136 </tests> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
137 <help><![CDATA[ |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
138 @HELP_HEADER@ |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
139 |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
140 Infer pathway abundances |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
141 ======================== |
|
7349692f8d7f
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. |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
143 |
|
7349692f8d7f
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. |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
145 |
|
7349692f8d7f
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. |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
147 |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
148 Note |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
149 ==== |
|
7349692f8d7f
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. |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
151 |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
152 Input |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
153 ===== |
|
7349692f8d7f
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). |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
155 |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
156 Output |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
157 ====== |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
158 Pathway abundance. |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
159 |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
160 ]]></help> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
161 <citations> |
|
7349692f8d7f
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> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
163 </citations> |
|
7349692f8d7f
planemo upload for repository https://github.com/picrust/picrust2 commit 972784d909912af20cd213fc56830fee79d83ca6
iuc
parents:
diff
changeset
|
164 </tool> |
