annotate macros.xml @ 0:023800b21a2a draft

"planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
author guerler
date Tue, 23 Mar 2021 13:54:20 +0000
parents
children f70e6398f3bb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
1 <macros>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
2 <xml name="requirements">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
3 <requirements>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
4 <requirement type="package" version="@TOOL_VERSION@">springsuite</requirement>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
5 <yield />
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
6 </requirements>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
7 </xml>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
8 <token name="@TOOL_VERSION@">0.1</token>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
9 <token name="@VERSION_SUFFIX@">0</token>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
10
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
11 <xml name="ffindex_single_inputs">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
12 <param name="ffdata" type="data" format="ffdata" label="PDB Database" help="Database Data file." />
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
13 <param name="ffindex" type="data" format="ffindex" label="PDB Database Index" help="Database Index file." />
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
14 </xml>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
15
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
16 <xml name="ffindex_single_inputs_hhr">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
17 <param name="ffdata" type="data" format="ffdata" label="HHR Database" help="Database Data file." />
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
18 <param name="ffindex" type="data" format="ffindex" label="HHR Database Index" help="Database Index file." />
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
19 </xml>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
20
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
21 <xml name="citations">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
22 <citations>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
23 <citation type="doi">10.1021/ci300579r</citation>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
24 </citations>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
25 </xml>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
26 <xml name="logfile">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
27 <param name="logfile" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Output log file" />
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
28 </xml>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
29
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
30 <xml name="pdb_source">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
31 <conditional name="pdb_source">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
32 <param name="pdb_source_selector" type="select" label="Custom or built-in PDB" help="Built-ins have been indexed using ffindex">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
33 <option value="indexed" selected="true">Use a built-in index</option>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
34 <option value="history">Use a PDB index from history</option>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
35 </param>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
36 <when value="indexed">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
37 <param name="pdb" type="select" label="Select PDB database" help="">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
38 <options from_data_table="ffindex_indices">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
39 <filter type="sort_by" column="0" />
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
40 <filter type="static_value" column="3" value="pdb" />
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
41 <validator type="no_options" message="No indices are available" />
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
42 </options>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
43 </param>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
44 </when>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
45 <when value="history">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
46 <expand macro="ffindex_single_inputs" />
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
47 </when>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
48 </conditional>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
49 </xml>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
50 <xml name="hhr_source">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
51 <conditional name="hhr_source">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
52 <param name="hhr_source_selector" type="select" label="Custom or built-in HHR index" help="Built-ins have been indexed using ffindex">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
53 <option value="indexed" selected="true">Use a built-in index</option>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
54 <option value="history">Use a HHR index from history</option>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
55 </param>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
56 <when value="indexed">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
57 <param name="hhr" type="select" label="Select HHR database" help="">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
58 <options from_data_table="ffindex_indices">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
59 <filter type="sort_by" column="0" />
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
60 <filter type="static_value" column="3" value="hhr" />
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
61 <validator type="no_options" message="No indices are available" />
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
62 </options>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
63 </param>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
64 </when>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
65 <when value="history">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
66 <expand macro="ffindex_single_inputs_hhr" />
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
67 </when>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
68 </conditional>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
69 </xml>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
70
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
71 <token name="@pdb_source@">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
72 #if $pdb_source.pdb_source_selector == 'indexed':
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
73 -d '${pdb_source.pdb.fields.path}.ffdata'
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
74 -i '${pdb_source.pdb.fields.path}.ffindex'
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
75 #else
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
76 -d '$pdb_source.ffdata'
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
77 -i '$pdb_source.ffindex'
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
78 #end if
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
79 </token>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
80 <token name="@hhr_source@">
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
81 #if $hhr_source.hhr_source_selector == 'indexed':
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
82 -dh '${hhr_source.hhr.fields.path}.ffdata'
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
83 -ih '${hhr_source.hhr.fields.path}.ffindex'
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
84 #else
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
85 -dh '$hhr_source.ffdata'
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
86 -ih '$hhr_source.ffindex'
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
87 #end if
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
88 </token>
023800b21a2a "planemo upload commit 6158473dbced09024b0a805a7df2c93d47705d87"
guerler
parents:
diff changeset
89 </macros>