Mercurial > repos > frogs > frogs_core
annotate affiliation_postprocess_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_POSTPROCESS_CMD_LINE@"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
4 affiliation_postprocess.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 --input-fasta '$input_fasta' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
7 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
8 #if $is_HVL.HVL_amplicon == "Yes" |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
9 --reference '$is_HVL.reference.fields.path' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
10 #end if |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
11 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
12 --identity $identity |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
13 --coverage $coverage |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
14 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
15 --output-biom '$output_biom' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
16 --output-fasta '$output_fasta' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
17 --output-compo '$output_asv_compo' |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
18 </token> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
19 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
20 <xml name="affiliation_postprocess_inputs"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
21 <!-- Files --> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
22 <param argument="--input-fasta" type="data" format="fasta" label="Sequence file (.fasta)" help="The sequence file to filter." /> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
23 <param argument="--input-biom" type="data" format="biom1" label="Abundance file (.biom)" help="The abundance file to filter." /> |
|
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 <!-- Parameters --> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
26 <conditional name="is_HVL"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
27 <param name="HVL_amplicon" type="select" display="radio" label="Is this an amplicon hyper variable in length?" help="Multi-affiliation tag may be resolved by selecting the shortest amplicon reference. For this, you need the reference fasta file of your target amplicon."> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
28 <option value="No">No</option> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
29 <option value="Yes" >Yes</option> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
30 </param> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
31 <when value="Yes"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
32 <param argument="--reference" type="select" label="Using reference database" help="Select reference from the list"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
33 <options from_data_table="frogs_HVL_db"/> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
34 <validator type="no_options" message="A built-in database is not available"/> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
35 </param> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
36 </when> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
37 <when value="No"/> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
38 </conditional> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
39 <param argument="--identity" type="float" min="0.0" max="100.0" value="99.0" label="Minimum identity for aggregation" help="ASVs will be aggregated if they share the same taxonomy with at least X% identity"/> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
40 <param argument="--coverage" type="float" min="0.0" max="100.0" value="99.0" label="Minimum coverage for aggregation" help="ASVs will be aggregated if they share the same taxonomy with at least X% alignment coverage"/> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
41 </xml> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
42 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
43 <!-- Test --> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
44 <xml name="affiliation_postprocess_test_input"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
45 <param name="input_fasta" value="references/04-filters.fasta" /> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
46 <param name="input_biom" value="references/06-affiliation.biom" /> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
47 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
48 <conditional name="is_HVL"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
49 <param name="HVL_amplicon" value="Yes" /> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
50 <param name="reference" value="Unite_extract_ITS1_test" /> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
51 </conditional> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
52 </xml> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
53 |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
54 <xml name="affiliation_postprocess_test_output"> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
55 <!-- Diff size instead of line because biom include date --> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
56 <output name="output_biom" file="references/08-affiliation_postprocessed.biom" compare="sim_size" delta="0" /> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
57 <output name="output_fasta" file="references/08-affiliation_postprocessed.fasta" compare="diff" lines_diff="0" /> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
58 <output name="output_asv_compo" file="references/08-affiliation_postprocessed.compo.tsv" compare="diff" lines_diff="0" /> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
59 </xml> |
|
cd7675c5b15a
planemo upload for repository https://github.com/geraldinepascal/FROGS-wrappers/ commit 78ca62b54aee22893d278d9c3d495527be405f8a
frogs
parents:
diff
changeset
|
60 </macros> |
