Mercurial > repos > iuc > gemini_query
annotate gemini_query.xml @ 5:cd00221d67cb draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
author | iuc |
---|---|
date | Fri, 11 Jan 2019 17:47:02 -0500 |
parents | 7ca6716748c2 |
children | da74170c55c7 |
rev | line source |
---|---|
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
1 <tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@"> |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
2 <description>Querying the GEMINI database</description> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
3 <macros> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
4 <import>gemini_macros.xml</import> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
5 <token name="@BINARY@">query</token> |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
6 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
7 <xml name="sorting"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
8 <param name="order_by" type="text" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
9 label="Sort the output by the following column(s)" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
10 help="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
11 <param name="sort_order" type="select" label="Sort order"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
12 <option value=" ASC">Ascending</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
13 <option value=" DESC">Descending</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
14 </param> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
15 </xml> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
16 <xml name="pheno_strat"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
17 <param name="phenotype" type="text" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
18 label="Phenotype to stratify samples across" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
19 help="Leave blank to stratify across the default phenotype column" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
20 </xml> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
21 <xml name="sample_delimiter" token_applied_to="samples"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
22 <param argument="--sample-delim" name="sample_delim" type="text" value="," |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
23 label="Delimiter to use in the list of affected @APPLIED_TO@" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
24 help="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
25 </xml> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
26 <xml name="dgidb_query"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
27 <param argument="--dgidb" name="dgidb" type="boolean" truevalue="--dgidb" falsevalue="" checked="False" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
28 label="Request drug-gene interaction info from DGIdb" help="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
29 </xml> |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
30 </macros> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
31 <expand macro="requirements" /> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
32 <expand macro="stdio" /> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
33 <expand macro="version_command" /> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
34 <command> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
35 <![CDATA[ |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
36 gemini @BINARY@ |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
37 ${query.oformat.report.header} |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
38 ${query.oformat.report.dgidb} |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
39 |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
40 #for $i in $query.filter_by_genotype: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
41 #set $multiline_sql_expr = str($i.gt_filter) |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
42 #set $cmdln_param = "--gt-filter" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
43 @MULTILN_SQL_EXPR_TO_CMDLN@ |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
44 #end for |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
45 |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
46 #for $i in $query.filter_by_sample: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
47 $i.family_wise |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
48 #if int($i.min_kindreds) > 0: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
49 --min-kindreds ${i.min_kindreds} |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
50 #end if |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
51 ${i.in} |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
52 #set $multiline_sql_expr = str($i.sample_filter) |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
53 #set $cmdln_param = "--sample-filter" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
54 @MULTILN_SQL_EXPR_TO_CMDLN@ |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
55 #end for |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
56 |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
57 #if str($query.oformat.report.format) == 'with_samples': |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
58 #set $sample_delim = str($query.oformat.report.sample_delim) or ',' |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
59 --show-samples --sample-delim '$sample_delim' |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
60 #elif str($query.oformat.report.format) == 'with_samples_flattened': |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
61 --show-samples --format sampledetail |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
62 #elif str($query.oformat.report.format) == 'with_families': |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
63 #set $sample_delim = str($query.oformat.report.sample_delim) or ',' |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
64 --show-families --sample-delim '$sample_delim' |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
65 #elif str($query.oformat.report.format) == 'carrier_summary': |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
66 --carrier-summary-by-phenotype |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
67 #if str($query.oformat.report.phenotype).strip(): |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
68 '${query.oformat.report.phenotype}' |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
69 #else: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
70 affected |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
71 #end if |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
72 #else: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
73 --format ${query.oformat.report.format} |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
74 #end if |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
75 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
76 #if str($query.interface) == 'basic': |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
77 ## build the SQL query string from its components |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
78 #if str($query.oformat.report.format) in ('vcf', 'tped'): |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
79 #set $cols = "*" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
80 #else: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
81 #set $report = $query.oformat.report.report |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
82 @SET_COLS@ |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
83 #end if |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
84 #set $q = "SELECT %s FROM variants" % $cols |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
85 #set $where_clause_elements = [] |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
86 #if str($query.filter).strip(): |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
87 #silent $where_clause_elements.append(str($query.filter).strip()) |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
88 #end if |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
89 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
90 #set $regions = $query.regions |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
91 @PARSE_REGION_ELEMENTS@ |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
92 #if $region_elements: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
93 #silent $where_clause_elements.append(" OR ".join($region_elements)) |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
94 #end if |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
95 #if $where_clause_elements: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
96 #set $q = $q + " WHERE " + " AND ".join($where_clause_elements) |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
97 #end if |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
98 #if str($query.oformat.report.order_by).strip(): |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
99 #set $q = $q + " ORDER BY " + str($query.oformat.report.order_by).strip() + str($query.oformat.report.sort_order) |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
100 #end if |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
101 #else |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
102 ## The user entered the SQL query string directly. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
103 #set $q = str($query.q) |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
104 #end if |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
105 |
3
666f60a9331a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 1f7418d74c6fcd61a050106ca5f9b66ab9a4c33d
iuc
parents:
0
diff
changeset
|
106 #set $multiline_sql_expr = $q |
666f60a9331a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 1f7418d74c6fcd61a050106ca5f9b66ab9a4c33d
iuc
parents:
0
diff
changeset
|
107 #set $cmdln_param = "-q" |
666f60a9331a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 1f7418d74c6fcd61a050106ca5f9b66ab9a4c33d
iuc
parents:
0
diff
changeset
|
108 @MULTILN_SQL_EXPR_TO_CMDLN@ |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
109 |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
110 '$infile' |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
111 > '$outfile' |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
112 ]]> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
113 </command> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
114 <inputs> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
115 <expand macro="infile" /> |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
116 <conditional name="query"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
117 <param name="interface" type="select" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
118 label="Build GEMINI query using" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
119 help=""> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
120 <option value="basic">Basic variant query constructor</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
121 <option value="advanced">Advanced query constructor</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
122 </param> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
123 <when value="basic"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
124 <expand macro="gt_filter" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
125 <expand macro="sample_filter" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
126 <expand macro="region_filter" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
127 <expand macro="filter" argument="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
128 <section name="oformat" title="Output format options" expanded="true"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
129 <conditional name="report"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
130 <param name="format" type="select" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
131 label="Type of report to generate"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
132 <option value="default">tabular (GEMINI default)</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
133 <option value="with_samples">tabular with affected samples</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
134 <option value="with_samples_flattened">tabular with affected samples flattened</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
135 <option value="with_families">tabular with affected families</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
136 <option value="carrier_summary">tabular with carrier summary</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
137 <option value="vcf">VCF (simplified)</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
138 <option value="json">JSON</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
139 <option value="tped">TPED</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
140 </param> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
141 <when value="default"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
142 <expand macro="add_header_column" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
143 <expand macro="column_filter" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
144 minimalset="chrom, start, end, ref, alt, gene, impact" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
145 help=""/> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
146 <expand macro="dgidb_query" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
147 <expand macro="sorting" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
148 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
149 <when value="with_samples"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
150 <expand macro="add_header_column" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
151 <expand macro="sample_delimiter" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
152 <expand macro="column_filter" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
153 minimalset="chrom, start, end, ref, alt, gene, impact" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
154 help=""/> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
155 <expand macro="dgidb_query" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
156 <expand macro="sorting" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
157 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
158 <when value="with_samples_flattened"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
159 <expand macro="add_header_column" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
160 <expand macro="column_filter" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
161 minimalset="chrom, start, end, ref, alt, gene, impact" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
162 help=""/> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
163 <param name="dgidb" type="hidden" value="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
164 <expand macro="sorting" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
165 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
166 <when value="with_families"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
167 <expand macro="add_header_column" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
168 <expand macro="sample_delimiter" applied_to="families"/> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
169 <expand macro="column_filter" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
170 minimalset="chrom, start, end, ref, alt, gene, impact" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
171 help=""/> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
172 <expand macro="dgidb_query" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
173 <expand macro="sorting" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
174 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
175 <when value="carrier_summary"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
176 <expand macro="add_header_column" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
177 <expand macro="pheno_strat" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
178 <expand macro="column_filter" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
179 minimalset="chrom, start, end, ref, alt, gene, impact" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
180 help=""/> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
181 <expand macro="dgidb_query" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
182 <expand macro="sorting" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
183 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
184 <when value="vcf"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
185 <expand macro="add_header_column" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
186 <param name="order_by" type="hidden" value="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
187 <param name="dgidb" type="hidden" value="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
188 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
189 <when value="json"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
190 <param name="header" type="hidden" value="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
191 <expand macro="column_filter" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
192 minimalset="chrom, start, end, ref, alt, gene, impact" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
193 help=""/> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
194 <param name="dgidb" type="hidden" value="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
195 <expand macro="sorting" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
196 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
197 <when value="tped"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
198 <param name="header" type="hidden" value="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
199 <param name="dgidb" type="hidden" value="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
200 <expand macro="sorting" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
201 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
202 </conditional> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
203 </section> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
204 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
205 <when value="advanced"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
206 <param argument="-q" name="q" type="text" area="True" size="5x50" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
207 label="The query to be issued to the database" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
208 help="Formulate your query using SQL syntax."> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
209 <expand macro="sanitize_query" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
210 <validator type="expression" message="Query cannot be empty">value.strip()</validator> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
211 </param> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
212 <expand macro="gt_filter" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
213 <expand macro="sample_filter" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
214 <section name="oformat" title="Output format options" expanded="true"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
215 <conditional name="report"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
216 <param name="format" type="select" |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
217 label="Type of report to generate"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
218 <option value="default">tabular (GEMINI default)</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
219 <option value="with_samples">tabular with affected samples</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
220 <option value="with_samples_flattened">tabular with affected samples flattened</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
221 <option value="with_families">tabular with affected families</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
222 <option value="carrier_summary">tabular with carrier summary</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
223 <option value="vcf">VCF (simplified)</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
224 <option value="json">JSON</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
225 <option value="tped">TPED</option> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
226 </param> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
227 <when value="default"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
228 <expand macro="add_header_column" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
229 <expand macro="dgidb_query" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
230 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
231 <when value="with_samples"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
232 <expand macro="add_header_column" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
233 <expand macro="sample_delimiter" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
234 <expand macro="dgidb_query" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
235 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
236 <when value="with_samples_flattened"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
237 <expand macro="add_header_column" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
238 <param name="dgidb" type="hidden" value="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
239 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
240 <when value="with_families"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
241 <expand macro="add_header_column" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
242 <expand macro="sample_delimiter" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
243 <expand macro="dgidb_query" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
244 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
245 <when value="carrier_summary"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
246 <expand macro="pheno_strat" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
247 <expand macro="add_header_column" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
248 <expand macro="dgidb_query" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
249 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
250 <when value="vcf"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
251 <expand macro="add_header_column" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
252 <param name="dgidb" type="hidden" value="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
253 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
254 <when value="json"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
255 <param name="header" type="hidden" value="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
256 <param name="dgidb" type="hidden" value="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
257 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
258 <when value="tped"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
259 <param name="header" type="hidden" value="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
260 <param name="dgidb" type="hidden" value="" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
261 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
262 </conditional> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
263 </section> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
264 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
265 </conditional> |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
266 </inputs> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
267 <outputs> |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
268 <data name="outfile" format="tabular"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
269 <change_format> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
270 <when input="query.oformat.report.format" value="json" format="json" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
271 <when input="query.oformat.report.format" value="vcf" format="vcf" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
272 </change_format> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
273 </data> |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
274 </outputs> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
275 <tests> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
276 <test> |
4
7ca6716748c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents:
3
diff
changeset
|
277 <param name="infile" value="gemini_load_result1.db" ftype="gemini.sqlite" /> |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
278 <conditional name="query"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
279 <param name="interface" value="advanced" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
280 <param name="q" value="select chrom,start from variants limit 10" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
281 </conditional> |
4
7ca6716748c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents:
3
diff
changeset
|
282 <output name="outfile"> |
7ca6716748c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents:
3
diff
changeset
|
283 <assert_contents> |
7ca6716748c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents:
3
diff
changeset
|
284 <has_line_matching expression="chrom	start" /> |
7ca6716748c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents:
3
diff
changeset
|
285 </assert_contents> |
7ca6716748c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents:
3
diff
changeset
|
286 </output> |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
287 </test> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
288 </tests> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
289 <help> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
290 <![CDATA[ |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
291 **What it does** |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
292 |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
293 The real power in the GEMINI framework lies in the fact that all of your |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
294 genetic variants have been stored in a convenient database in the context of a |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
295 wealth of genome annotations that facilitate variant interpretation. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
296 The expressive power of SQL allows one to pose intricate questions of one’s |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
297 variation data. This tool offers you a flexible, yet relatively easy way |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
298 to query your variants! |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
299 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
300 ----- |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
301 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
302 *Building your variant query with the Basic variant query constructor* |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
303 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
304 This mode tries to break down the complexity of formulating GEMINI queries |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
305 into more easily digestable parts. In this mode, the tool also prevents you |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
306 from combining options that are incompatible or not meaningful. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
307 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
308 *Genotype filters* |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
309 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
310 These are discussed `here |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
311 <https://gemini.readthedocs.io/en/latest/content/querying.html#gt-filter-filtering-on-genotypes>`__ |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
312 in the GEMINI documentation. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
313 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
314 The tool supports regular genotype filters like:: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
315 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
316 gt.sample1 == HET and gt_depths.sample1 >= 15 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
317 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
318 , which would keep only variants for which sample 1 is a heterozygous carrier |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
319 and if the genomic position in sample1 is covered by at least 15 sequencing |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
320 reads, as well as GEMINI wildcard filters of the general form |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
321 *(COLUMN).(SAMPLE_FILTER).(RULE).(RULE_ENFORCEMENT)* like:: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
322 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
323 (gt_types).(phenotype==2).(!=HOM_REF).(all) |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
324 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
325 , which keeps only variants for which all phenotypic samples are homozygous. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
326 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
327 *Sample filters* |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
328 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
329 Sample filters have the same format as the second component of the genotype |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
330 wildcard filters above, so:: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
331 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
332 phenotype == 2 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
333 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
334 would filter for phenotypically affected samples. In this case, however, the |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
335 filter determines, from which samples variants should be reported, i.e., here, |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
336 only variants found in phenotypically affected samples become analyzed. You can |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
337 use the ``--in`` filter to adjust the exact meaning of the sample filter. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
338 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
339 *Region filters* |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
340 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
341 They let you restrict your analysis to parts of the genome, which can be useful |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
342 if you have prior knowledge of the approximate location of a variant of |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
343 interest. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
344 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
345 If you specify more then one region filter, they get combined with a logical |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
346 *OR*, meaning variants and genes falling in *any* of the regions are reported. |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
347 |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
348 *Additional constraints on variants* |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
349 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
350 These get translated directly into the WHERE clause of an SQL query and, thus, |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
351 have to be expressed in valid SQL syntax. As an example you could use:: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
352 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
353 is_exonic = 1 and impact_severity != 'LOW' |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
354 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
355 to indicate that you are only interested in exonic variants that are not of |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
356 *LOW* impact severity, *i.e.*, not silent mutations. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
357 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
358 Note that in SQL syntax tests for equality use a single ``=``, while genotype |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
359 filters (discussed above) are following Python syntax and use ``==`` for the |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
360 same purpose. Also note that non-numerical values need to be enclosed in |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
361 single-quotes, *e.g.* ``'LOW'``, but numerical values must *NOT* be. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
362 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
363 ----- |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
364 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
365 *Building your query with the Advanced query constructor* |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
366 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
367 For the sake of simplicity, the basic mode of the tool limits your queries to |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
368 the variants table of the underlying database. While this still allows many |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
369 useful queries to be formulated, it prevents you from joining information from |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
370 other tables (in particular, the gene_detailed table) or to query a different |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
371 table directly. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
372 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
373 In advanced mode, you take responsibility for formulating the complete SQL |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
374 query in correct syntax, which allows you to do anything you could do with the |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
375 command line tool. Beyond querying other tables, this includes changing output |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
376 column names, deriving simple statistics on columns using the SQL Min, Max, |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
377 Count, Avg and Sum functions, and more. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
378 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
379 The price you pay for this extra flexibility is that you will have to make sure |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
380 that any other tool options you set are compatible with the result of your |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
381 particular query. For example, most output formats except the tabular default |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
382 output of GEMINI are incompatible with non-standard queries. Choosing |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
383 non-compatible options can result in them getting ignored silently, but also |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
384 in tool errors, or in problems with downstream tools. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
385 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
386 The chapter `Querying the GEMINI database |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
387 <http://gemini.readthedocs.org/en/latest/content/querying.html>`__ of the |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
388 GEMINI documentation can get you started with formulating your own queries. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
389 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
390 Note that genotype filters and sample filters cannot be expressed as genuine |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
391 SQL queries, so even the Advanced query constructor is offering them. Region |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
392 filters and sort order of rows and columns on the other hand can be controlled |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
393 through SQL queries, like in this example:: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
394 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
395 SELECT gene, chrom, start, end, ref, alt FROM variants WHERE chrom = 'chr1' |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
396 AND start >= 10000000 and stop <= 20000000 and is_lof = 1 ORDER BY chrom, |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
397 start |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
398 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
399 , which would report all loss-of-function variants between 10,000,000 and |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
400 20,000,000 on chr1 and report the selected columns sorted on chromosome, then |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
401 position. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
402 |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
403 ]]> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
404 </help> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
405 <expand macro="citations"/> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
406 </tool> |