Mercurial > repos > guerler > ffindex_dbkit_extract
annotate macros.xml @ 2:953f0fd655c0 draft
"planemo upload commit 2a0fc8275bfbb76a828082424d346bbe0fd40914"
author | guerler |
---|---|
date | Thu, 01 Apr 2021 19:36:20 +0000 |
parents | 1d9fcf2157e0 |
children |
rev | line source |
---|---|
0
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
1 <macros> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
2 <xml name="requirements"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
3 <requirements> |
1
1d9fcf2157e0
"planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents:
0
diff
changeset
|
4 <requirement type="package" version="@TOOL_VERSION@">ffindex-dbkit</requirement> |
0
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
5 <yield /> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
6 </requirements> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
7 </xml> |
1
1d9fcf2157e0
"planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents:
0
diff
changeset
|
8 <token name="@TOOL_VERSION@">0.2</token> |
1d9fcf2157e0
"planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents:
0
diff
changeset
|
9 <token name="@VERSION_SUFFIX@">0</token> |
0
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
10 <xml name="ffindex_single_inputs"> |
1
1d9fcf2157e0
"planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents:
0
diff
changeset
|
11 <param name="ffdata" type="data" format="ffdata" label="Database" help="Database Data file." /> |
1d9fcf2157e0
"planemo upload commit aa6c4b1d15a2d5361d68c7eb313551bddf2700fa"
guerler
parents:
0
diff
changeset
|
12 <param name="ffindex" type="data" format="ffindex" label="Database Index" help="Database Index file." /> |
0
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
13 </xml> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
14 |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
15 <xml name="citations"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
16 <citations> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
17 <!--citation type="doi">10.1021/ci300579r</citation--> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
18 </citations> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
19 </xml> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
20 <xml name="logfile"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
21 <param name="logfile" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Output log file" /> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
22 </xml> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
23 |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
24 <xml name="db_source"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
25 <conditional name="db_source"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
26 <param name="db_source_selector" type="select" label="Custom or built-in ffindex" help="Built-ins have been indexed using ffindex"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
27 <option value="indexed" selected="true">Use a built-in index</option> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
28 <option value="history">Use a ffindex from history</option> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
29 </param> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
30 <when value="indexed"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
31 <param name="ffindex" type="select" label="Select ffindex" help=""> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
32 <options from_data_table="ffindex_indices"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
33 <filter type="sort_by" column="0" /> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
34 <validator type="no_options" message="No indices are available" /> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
35 </options> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
36 </param> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
37 </when> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
38 <when value="history"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
39 <expand macro="ffindex_single_inputs" /> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
40 </when> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
41 </conditional> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
42 </xml> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
43 <xml name="db_source2"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
44 <conditional name="db_source2"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
45 <param name="db_source_selector" type="select" label="Custom or built-in ffindex" help="Built-ins have been indexed using ffindex"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
46 <option value="indexed" selected="true">Use a built-in index</option> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
47 <option value="history">Use a ffindex from history</option> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
48 </param> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
49 <when value="indexed"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
50 <param name="ffindex" type="select" label="Select ffindex" help=""> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
51 <options from_data_table="ffindex_indices"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
52 <filter type="sort_by" column="0" /> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
53 <validator type="no_options" message="No indices are available" /> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
54 </options> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
55 </param> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
56 </when> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
57 <when value="history"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
58 <expand macro="ffindex_single_inputs" /> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
59 </when> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
60 </conditional> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
61 </xml> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
62 |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
63 <token name="@db_source@"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
64 #if $db_source.db_source_selector == 'indexed': |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
65 -d '${db_source.ffindex.fields.path}.ffdata' |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
66 -i '${db_source.ffindex.fields.path}.ffindex' |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
67 #else |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
68 -d '$db_source.ffdata' |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
69 -i '$db_source.ffindex' |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
70 #end if |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
71 </token> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
72 <token name="@db_source2@"> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
73 #if $db_source.db_source_selector == 'indexed': |
2
953f0fd655c0
"planemo upload commit 2a0fc8275bfbb76a828082424d346bbe0fd40914"
guerler
parents:
1
diff
changeset
|
74 -sd '${db_source2.ffindex.fields.path}.ffdata' |
953f0fd655c0
"planemo upload commit 2a0fc8275bfbb76a828082424d346bbe0fd40914"
guerler
parents:
1
diff
changeset
|
75 -si '${db_source2.ffindex.fields.path}.ffindex' |
0
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
76 #else |
2
953f0fd655c0
"planemo upload commit 2a0fc8275bfbb76a828082424d346bbe0fd40914"
guerler
parents:
1
diff
changeset
|
77 -sd '$db_source2.ffdata' |
953f0fd655c0
"planemo upload commit 2a0fc8275bfbb76a828082424d346bbe0fd40914"
guerler
parents:
1
diff
changeset
|
78 -si '$db_source2.ffindex' |
0
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
79 #end if |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
80 </token> |
ad4b7db26523
"planemo upload commit b68cb41b1884703c4f1574b65a6408d7d0cca321"
guerler
parents:
diff
changeset
|
81 </macros> |