Mercurial > repos > geco-team > gmql_queries_composer
comparison gmql_operators_order.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 <macro> | |
2 <import>gmql_queries_macros.xml</import> | |
3 <xml name="order"> | |
4 <expand macro="input_var" name="input_var_ordering_ds" label="Input Dataset to Order" /> | |
5 <expand macro="output_var" /> | |
6 <section name="ordering_attributes" title="Ordering Attributes" expanded="true" | |
7 help="Samples or samples regions will be ordered according to the values of the given attribute(s). | |
8 A a new ordering metadata and/or region attribute is added with the sample or region ordering | |
9 value, respectively. " > | |
10 <repeat name="attributes" title="Add new ordering attribute" min="1" default="1" | |
11 help="At least an ordering metadata or region attribute must be specified."> | |
12 <param name="att_type" type="select" display="radio" label="Metadata or region attribute?" > | |
13 <option value="metadata">Metadata</option> | |
14 <option value="region">Region</option> | |
15 </param> | |
16 <param name="attribute_name" type="text" label="Attribute Name" > | |
17 <expand macro="text_val" /> | |
18 </param> | |
19 <param name="order_type" label="Ascending or Descending order?" type="select" display="radio" > | |
20 <option value="asc">Ascending</option> | |
21 <option value="desc">Descending</option> | |
22 </param> | |
23 </repeat> | |
24 </section> | |
25 <section name="top_options" title="Samples/Regions to keep" expanded="true" | |
26 help="It is possible to specify the number (or percentage) of samples (or regions) to be extracted | |
27 from the ordered dataset (or from each sample), starting from the top (with respect to the | |
28 ascending/descending ordering)." > | |
29 <repeat name="to" title="Constraint on number of samples (sample region)" | |
30 min="0" default="0" > | |
31 <param name="type" type="select" label="Constraint on samples or samples regions?"> | |
32 <option value="metadata">Samples</option> | |
33 <option value="region">Samples Regions</option> | |
34 </param> | |
35 <conditional name="opt"> | |
36 <param name="k_type" type="select" label="How to chose samples/sample regions" display="radio" > | |
37 <option value="n">Top k elements</option> | |
38 <option value="perc">Top k % elements</option> | |
39 <option value="group">Top k elements of each group (implicitly consider the ordering defined by | |
40 first grouping identical values of the first n − 1 ordering attributes, and then sorted by the | |
41 remaining attributes)</option> | |
42 </param> | |
43 <when value="n"> | |
44 <param name="k" type="integer" label="Value of k" value="1" min="1"/> | |
45 </when> | |
46 <when value="group"> | |
47 <param name="k" type="integer" label="Value of k" value="1" min="1"/> | |
48 </when> | |
49 <when value="perc"> | |
50 <param name="k" type="integer" label="Value of k" value="1" min="1" max="100"/> | |
51 </when> | |
52 </conditional> | |
53 </repeat> | |
54 </section> | |
55 <expand macro="materialize_stm" /> | |
56 </xml> | |
57 </macro> |