comparison phyloseq_structure_macros.xml @ 0:6507a8d42a4f draft default tip

planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
author frogs
date Wed, 04 Feb 2026 13:16:44 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:6507a8d42a4f
1 <?xml version="1.0"?>
2 <macros>
3 <token name="@PHYLOSEQ_STRUCTURE_CMD_LINE@">
4 phyloseq_structure.py
5 --phyloseq-rdata '$phyloseq_rdata'
6 --beta-distance-matrix '$beta_distance_matrix'
7 --var-exp '$var_exp'
8 --ordination-method '$ordination_method'
9 --html '$html'
10 </token>
11
12 <xml name="phyloseq_structure_inputs">
13 <!-- Files -->
14 <param argument="--phyloseq-rdata" type="data" format="rdata" label="Phyloseq object (.Rdata)" help="RData file generated by the FROGS Stat 'Phyloseq Import data' tool."/>
15 <param argument="--beta-distance-matrix" type="data" format="tsv" label="Beta diversity distance matrix file" help="TSV file generated by the FROGS Stat 'Phyloseq Beta Diversity' tool."/>
16 <!-- Parameters -->
17 <param argument="--var-exp" type="text" label="Grouping variable" help="Experimental variable used to group samples in the ordination plots (e.g., Treatment, Site, Host type, etc.)." optional="false" value="" >
18 <expand macro="restricted_sanitizer_validator"/>
19 </param>
20 <param argument="--ordination-method" type="select" label="Ordination method" help="Ordination method used to visualize sample relationships based on beta diversity distances (e.g., PCoA, NMDS, DPCoA).">
21 <option value="MDS" >MDS/PCoA</option>
22 <option value="NMDS" >NMDS</option>
23 <option value="DPCoA" >DPCoA</option>
24 </param>
25 </xml>
26
27 <!-- Test -->
28 <xml name="phyloseq_structure_test_input">
29 <param name="phyloseq_rdata" value="references/16-phylo_import.Rdata" />
30 <param name="var_exp" value="EnvType" />
31 <param name="beta_distance_matrix" value="references/unifrac.tsv"/>
32 <param name="ordination_method" value="MDS" />
33 </xml>
34
35 <xml name="phyloseq_structure_test_output">
36 <output name="html" count="1">
37 <assert_contents>
38 <!-- HTML size or line diff can't be used as many information about path, os, date are present. -->
39 <!-- Here we test only title, intermediate results and output of last R command -->
40 <has_text text='Stat: Structure Visualisation' />
41 <has_text text='(phyloseq_structure.py' />
42 <has_text text='v5.1.0)' />
43 <has_text text='"title":{"text":"Axis.1 [22.1%]' />
44 <has_text text='"title":{"text":"Axis.2 [12.8%]' />
45 <has_text text='─ Session info ───────────────────────────────────────────────────────────────' />
46 </assert_contents>
47 </output>
48 </xml>
49 </macros>