comparison picrust2_pathways_macros.xml @ 0:c5fd7b97c2a4 draft default tip

planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
author frogs
date Wed, 04 Feb 2026 13:17:34 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c5fd7b97c2a4
1 <?xml version="1.0"?>
2 <macros>
3 <token name="@PICRUST2_PATHWAYS_CMD_LINE@">
4 frogsfunc_pathways.py
5 @CPUS@
6 --input-tsv '$input_tsv'
7 --map $database.fields.path
8
9 #if $normalisation
10 --normalisation
11 #end if
12
13 --html $html
14 --output-pathways-abund '$output_pathways_abund'
15 </token>
16
17 <xml name="picrust2_pathways_inputs">
18 <!-- Files -->
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"/>
20
21 <!-- References -->
22 <param name="marker" type="select" multiple="false" display="radio" label="Marker gene" help="Marker gene analysed.">
23 <options from_data_table="frogs_picrust2_pathways">
24 <column name='name' index='2' />
25 <column name='value' index='2' />
26 <filter type="unique_value" column='2'/>
27 <validator type="no_options" message="A built-in database is not available" />
28 </options>
29 </param>
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'>
31 <options from_data_table="frogs_picrust2_pathways">
32 <column name='name' index='1'/>
33 <column name='value' index='1'/>
34 <column name='path' index='3'/>
35 <filter type="param_value" ref="marker" column="2" />
36 <validator type="no_options" message="A built-in database is not available" />
37 </options>
38 </param>
39
40 <!-- Parameters-->
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" />
42 </xml>
43
44 <!-- Test -->
45 <xml name="picrust2_pathways_test_input">
46 <param name="input_tsv" value="references/26-frogsfunc_functions_unstrat_EC.tsv" />
47 <param name="marker" value="16S" />
48 <param name="database" value="Metacyc" />
49 </xml>
50
51 <xml name="picrust2_pathways_test_output">
52 <output name="output_pathways_abund" file="references/27-frogsfunc_pathways_unstrat.tsv" compare="diff" lines_diff="0" />
53 <output name="html" file="references/27-frogsfunc_pathways_summary.html" compare="diff" lines_diff="0" />
54 </xml>
55 </macros>