Mercurial > repos > frogs > frogs_core
annotate affiliation_report_macros.xml @ 2:76ff9af5c0a3 draft default tip
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 0e987ae3594883fb3b12d2999c6ad7fccd0b1b64
| author | frogs |
|---|---|
| date | Fri, 06 Feb 2026 22:05:51 +0000 |
| parents | cd7675c5b15a |
| children |
| rev | line source |
|---|---|
|
0
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
2 <macros> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
3 <token name="@AFFILIATION_REPORT_CMD_LINE@"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
4 affiliation_report.py |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
5 --input-biom '$input_biom' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
6 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
7 --taxonomic-ranks $taxonomic_ranks |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
8 --rarefaction-ranks $rarefaction_ranks |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
9 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
10 #if $affiliation.affiliation_type == "FROGS_blast" |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
11 --multiple-tag 'blast_affiliations' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
12 --tax-consensus-tag 'blast_taxonomy' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
13 --identity-tag 'perc_identity' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
14 --coverage-tag 'perc_query_coverage' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
15 #elif $affiliation.affiliation_type == "FROGS_rdp" |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
16 --taxonomy-tag 'rdp_taxonomy' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
17 --bootstrap-tag 'rdp_bootstrap' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
18 #else |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
19 --taxonomy-tag '$affiliation.taxonomy_tag' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
20 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
21 #if $affiliation.bootstrap_tag |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
22 --bootstrap-tag '$affiliation.bootstrap_tag' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
23 #end if |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
24 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
25 #if $affiliation.identity_tag and $affiliation.coverage_tag |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
26 --identity-tag '$affiliation.identity_tag' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
27 --coverage-tag '$affiliation.coverage_tag' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
28 #end if |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
29 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
30 #end if |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
31 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
32 --html '$html' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
33 </token> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
34 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
35 <xml name="affiliation_report_inputs"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
36 <!-- Files --> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
37 <param argument="--input-biom" type="data" format="biom1" label="Abundance file (format: BIOM)" help="The abundance file to filter." /> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
38 <!-- Parameters --> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
39 <expand macro="taxonomic_ranks"/> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
40 <param argument="--rarefaction-ranks" type="text" optional="false" value="Class Order Family Genus Species" |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
41 label="Rarefaction ranks" help="The ranks that will be evaluated in rarefaction. Each rank is separated by one space."> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
42 <expand macro="only_letter_sanitizer_validator"/> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
43 </param> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
44 <conditional name="affiliation"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
45 <param name="affiliation_type" type="select" label="Affiliation to process" help="Select the type of affiliation to process. If your affiliation was generated with an external tool: use 'Custom'."> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
46 <option value="FROGS_blast" selected="true">FROGS Blast</option> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
47 <option value="FROGS_rdp">FROGS RDP</option> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
48 <option value="custom">Custom</option> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
49 </param> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
50 <when value="FROGS_blast"/> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
51 <when value="FROGS_rdp"/> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
52 <when value="custom"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
53 <param argument="--taxonomy-tag" type="text" value="taxonomy" label="Taxonomy tag" help="The metadata title in BIOM for the taxonomy"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
54 <expand macro="restricted_sanitizer_validator"/> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
55 </param> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
56 <param argument="--bootstrap-tag" type="text" label="Bootstrap tag" help="The metadata title in BIOM for the taxonomy bootstrap"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
57 <expand macro="restricted_sanitizer_validator"/> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
58 </param> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
59 <param argument="--identity-tag" type="text" label="Identity tag" help="The metadata tag used in BIOM file to store the alignment identity"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
60 <expand macro="restricted_sanitizer_validator"/> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
61 </param> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
62 <param argument="--coverage-tag" type="text" label="Coverage tag" help="The metadata tag used in BIOM file to store the alignment ASVs coverage"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
63 <expand macro="restricted_sanitizer_validator"/> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
64 </param> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
65 </when> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
66 </conditional> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
67 </xml> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
68 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
69 <!-- Test --> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
70 <xml name="affiliation_report_test_input"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
71 <param name="input_biom" value="references/09-normalisation.biom" /> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
72 <param name="rarefaction_ranks" value="Family Genus Species" /> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
73 </xml> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
74 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
75 <xml name="affiliation_report_test_output"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
76 <output name="html" file="references/11-affiliation_report.html" compare="diff" lines_diff="2" /> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
77 </xml> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
78 </macros> |
