Mercurial > repos > geco-team > gmql_queries_composer
comparison gmql_queries_macros.xml @ 0:a80c93182db3 draft default tip
planemo upload for repository https://github.com/lu-brn/gmql-galaxy commit 953ee36ceda5814dc9baa03427bc0eb4ee2e93bd-dirty
author | geco-team |
---|---|
date | Tue, 26 Jun 2018 09:08:06 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a80c93182db3 |
---|---|
1 <macros> | |
2 <xml name="input_ds" token_label="@LABEL@"> | |
3 <param name="input_ds" type="select" label="@LABEL@"> | |
4 <options from_dataset="gmql_datasets"> | |
5 <column name="value" index="0"/> | |
6 </options> | |
7 </param> | |
8 </xml> | |
9 <xml name="output_var"> | |
10 <param name="output_var" type="text" label="Output Variable Name" > | |
11 <expand macro="text_val" /> | |
12 </param> | |
13 </xml> | |
14 <xml name="input_var" token_name="@NAME@" token_label="@LABEL@" token_optional="@OPTIONAL@"> | |
15 <param name="@NAME@" label="@LABEL@" optional="@OPTIONAL@" type="text" | |
16 help="Must be a dataset variable already defined as output of a previous operation."> | |
17 <expand macro="text_val" /> | |
18 </param> | |
19 </xml> | |
20 <xml name="materialize_stm" > | |
21 <conditional name="m_stm"> | |
22 <param name="materialize_stm" type="boolean" label="Materialize the result?" help="This may be helpful to check intermediate datasets" /> | |
23 <when value="true"> | |
24 <param name="file_name" type="text" label="Name of the file into which the dataset DS will be saved" | |
25 help="The actual GMQL implementation materializes DS into a file with a name in the form [queryname]_[timestamp]_filename"> | |
26 <validator type="regex" message="Only alphanumeric characters and underscore allowed.">[\w]+$</validator> | |
27 </param> | |
28 </when> | |
29 </conditional> | |
30 </xml> | |
31 <xml name="block_logCon" > | |
32 <section name="block_logCon" title="Logical concatenation between blocks" expanded="true" | |
33 help="The following logical connectors applies to the WHOLE following block."> | |
34 <expand macro="logCon" /> | |
35 <param name="negate" type="boolean" label="Negative Condition" /> | |
36 </section> | |
37 </xml> | |
38 <xml name="logCon"> | |
39 <param name="logCon" type="select" label="Logical Operator"> | |
40 <option value="AND">AND</option> | |
41 <option value="OR">OR</option> | |
42 </param> | |
43 </xml> | |
44 <xml name="metajoin_attribute" token_name="@NAME@" token_optional="@OPTIONAL@"> | |
45 <param name="@NAME@" type="text" label="Attribute Name" optional="@OPTIONAL@"> | |
46 <validator type="regex" message="Invalid attribute name.">[\w]+(.[\w]+)?$</validator> | |
47 <option value="attribute_name">attribute_name</option> | |
48 <option value="DS.attribute_name">DS.attribute_name</option> | |
49 <option value="DS.attribute_name">Prefix.DS.attribute_name</option> | |
50 </param> | |
51 <yield /> | |
52 </xml> | |
53 <xml name="metajoin_options"> | |
54 <param type="select" label="Matching Options" name="metajoin_match"> | |
55 <option value="SIMPLE">Match all attributes that are equal to OR end with the dot-separated suffix specified name</option> | |
56 <option value="EXACT">Match all attributes that are equal to the specified name (without any prefixes)</option> | |
57 <option value="FULL">Match two attributes if they end with the specified name AND their full names are equal</option> | |
58 </param> | |
59 </xml> | |
60 <xml name="aggrFuncs" token_help="@HELP@" token_optional="@OPTIONAL@" token_label="@LABEL@"> | |
61 <param name="function" type="select" label="@LABEL@" optional="@OPTIONAL@" | |
62 help="@HELP@"> | |
63 <option value="SUM">Sum Values</option> | |
64 <option value="AVG">Average Value</option> | |
65 <option value="MIN">Minimum Value</option> | |
66 <option value="MAX">Maximum Value</option> | |
67 <option value="STD">Standard Deviation</option> | |
68 <option value="BAG">Create comma separated string of attributes values</option> | |
69 <option value="BAGD">Create comma separated list of distinct attributes values</option> | |
70 <yield /> | |
71 </param> | |
72 </xml> | |
73 <xml name="text_val"> | |
74 <validator type="regex" message="Only alphanumeric characters and underscore allowed.">[\w]+$</validator> | |
75 </xml> | |
76 </macros> |