annotate picrust2_pathways_macros.xml @ 0:7275d6a514d2 draft default tip

planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
author oinizan
date Wed, 28 Jan 2026 16:20:19 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
1 <?xml version="1.0"?>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
2 <macros>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
3 <token name="@PICRUST2_PATHWAYS_CMD_LINE@">
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
4 frogsfunc_pathways.py
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
5 @CPUS@
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
6 --input-tsv '$input_tsv'
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
7 --map $database.fields.path
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
8
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
9 #if $normalisation
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
10 --normalisation
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
11 #end if
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
12
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
13 --html $html
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
14 --output-pathways-abund '$output_pathways_abund'
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
15 </token>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
16
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
17 <xml name="picrust2_pathways_inputs">
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
18 <!-- Files -->
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
19 <param argument="--input-tsv" format="tsv" type="data" label="Function abundance file (format Tsv)" help="Function TSV abundance (output of picrust2_functions tool : EC_unstrat_abundance.tsv or KO_unstrat_abundance.tsv)." optional="false"/>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
20
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
21 <!-- References -->
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
22 <param name="marker" type="select" multiple="false" display="radio" label="Marker gene" help="Marker gene analysed.">
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
23 <options from_data_table="frogs_picrust2_pathways">
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
24 <column name='name' index='2' />
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
25 <column name='value' index='2' />
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
26 <filter type="unique_value" column='2'/>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
27 <validator type="no_options" message="A built-in database is not available" />
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
28 </options>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
29 </param>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
30 <param name="database" type='select' label="Pathway reference database" help="For 16S marker, choose Metacyc (EC functions) or KEGG (KO functions) in accordance with your function abundance input file. For fungi ITS or 18S marker, Metacyc is the only valid option." optional="false" multiple='false' display='radio'>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
31 <options from_data_table="frogs_picrust2_pathways">
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
32 <column name='name' index='1'/>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
33 <column name='value' index='1'/>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
34 <column name='path' index='3'/>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
35 <filter type="param_value" ref="marker" column="2" />
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
36 <validator type="no_options" message="A built-in database is not available" />
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
37 </options>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
38 </param>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
39
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
40 <!-- Parameters-->
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
41 <param argument="--normalisation" label="Do you want to normalize the final output table ?" help='Values are divided by sum of columns, then multiplied by 10^6 (CPM values).' type="boolean" />
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
42 </xml>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
43
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
44 <!-- Test -->
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
45 <xml name="picrust2_pathways_test_input">
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
46 <param name="input_tsv" value="references/26-frogsfunc_functions_unstrat_EC.tsv" />
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
47 <param name="marker" value="16S" />
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
48 <param name="database" value="Metacyc" />
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
49 </xml>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
50
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
51 <xml name="picrust2_pathways_test_output">
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
52 <output name="output_pathways_abund" file="references/27-frogsfunc_pathways_unstrat.tsv" compare="diff" lines_diff="0" />
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
53 <output name="html" file="references/27-frogsfunc_pathways_summary.html" compare="diff" lines_diff="0" />
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
54 </xml>
7275d6a514d2 planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e048f8e3dfce3c6abe2facd83ab95d62d42dab8
oinizan
parents:
diff changeset
55 </macros>