comparison macros.xml @ 0:07a6e49c7d74 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
author iuc
date Mon, 04 Oct 2021 12:14:47 +0000
parents
children e0ca2ec4f5d9
comparison
equal deleted inserted replaced
-1:000000000000 0:07a6e49c7d74
1 <macros>
2 <token name="@WRAPPER_VERSION@">1.0.0</token>
3 <token name="@VERSION_SUFFIX@">1.0.0</token>
4 <token name="@PROFILE@">20.09</token>
5 <xml name="requirements">
6 <requirements>
7 <requirement type="package" version="38.92">bbmap</requirement>
8 </requirements>
9 </xml>
10 <macro name="dbKeyActionsBBMap">
11 <expand macro="dbKeyActions">
12 <option type="from_data_table" name="fasta_indexes" column="1" offset="0">
13 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/>
14 <filter type="param_value" ref="ref_source_cond.reference" column="1"/>
15 </option>
16 </expand>
17 </macro>
18 <macro name="dbKeyActions">
19 <actions>
20 <conditional name="ref_source_cond.ref_source">
21 <when value="cached">
22 <action type="metadata" name="dbkey">
23 <yield/>
24 </action>
25 </when>
26 <when value="history">
27 <action type="metadata" name="dbkey">
28 <option type="from_param" name="ref_source_cond.reference" param_attribute="dbkey"/>
29 </action>
30 </when>
31 </conditional>
32 </actions>
33 </macro>
34 <macro name="reference_source_cond">
35 <conditional name="ref_source_cond">
36 <param name="ref_source" type="select" label="Select reference genome source; a cached reference or one from the history">
37 <option value="cached" selected="True">Use a cached reference</option>
38 <option value="history">Use a reference from the history</option>
39 </param>
40 <when value="cached">
41 <param name="reference" type="select" label="Using reference genome">
42 <options from_data_table="fasta_indexes">
43 <filter type="sort_by" column="2"/>
44 <validator type="no_options" message="A built-in reference genome is not available"/>
45 </options>
46 </param>
47 </when>
48 <when value="history">
49 <param name="reference" type="data" format="fasta" label="Using reference genome">
50 <validator type="no_options" message="The current history does not include a fasta dataset"/>
51 </param>
52 </when>
53 </conditional>
54 </macro>
55 <xml name="citations">
56 <citations>
57 <citation type="doi">
58 https://doi.org/10.1371/journal.pone.0185056
59 </citation>
60 </citations>
61 </xml>
62 </macros>
63