Mercurial > repos > iuc > gemini_query
annotate gemini_query.xml @ 7:da74170c55c7 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
author | iuc |
---|---|
date | Tue, 10 Mar 2020 06:14:55 -0400 |
parents | cd00221d67cb |
children | 77a1e60fd1de |
rev | line source |
---|---|
7
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
1 <tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@+galaxy1"> |
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> |
7
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
30 <xml name="maf_extra_info"> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
31 <param name="tumor_sample_name" type="text" |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
32 label="Name of the tumor sample in the (multi-sample) GEMINI database" |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
33 help="Specify only if the tumor sample is not the only sample in the database." /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
34 <param name="normal_sample_name" type="text" |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
35 label="Name of the normal sample in the GEMINI database (for matched tumor/normal sample pair analyses only)" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
36 </xml> |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
37 </macros> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
38 <expand macro="requirements" /> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
39 <expand macro="stdio" /> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
40 <expand macro="version_command" /> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
41 <command> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
42 <![CDATA[ |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
43 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
|
44 ${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
|
45 ${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
|
46 |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
47 #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
|
48 #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
|
49 #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
|
50 @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
|
51 #end for |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
52 |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
53 #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
|
54 $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
|
55 #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
|
56 --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
|
57 #end if |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
58 ${i.in} |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
59 #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
|
60 #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
|
61 @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
|
62 #end for |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
63 |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
64 #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
|
65 #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
|
66 --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
|
67 #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
|
68 --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
|
69 #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
|
70 #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
|
71 --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
|
72 #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
|
73 --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
|
74 #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
|
75 '${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
|
76 #else: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
77 affected |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
78 #end if |
7
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
79 #elif str($query.oformat.report.format) != 'maf': |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
80 --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
|
81 #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
|
82 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
83 #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
|
84 ## 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
|
85 #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
|
86 #set $cols = "*" |
7
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
87 #elif str($query.oformat.report.format) == 'maf': |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
88 #if str($query.oformat.report.tumor_sample_name): |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
89 #set $gt_string = 'gt_alt_depths.{0}, gt_ref_depths.{0}, gts.{0}'.format(str($query.oformat.report.tumor_sample_name)) |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
90 #if str($query.oformat.report.normal_sample_name): |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
91 #set $gt_string = $gt_string + ', gt_alt_depths.{0}, gt_ref_depths.{0}, gts.{0}'.format(str($query.oformat.report.normal_sample_name)) |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
92 #end if |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
93 #else: |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
94 #set $gt_string = '(gt_alt_depths).(*), (gt_ref_depths).(*), (gts).(*)' |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
95 #end if |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
96 #if str($query.oformat.report.mutation_status.status_select) == 'custom': |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
97 ## Need to quote the user-specified mutation status for the SQL query |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
98 #set $mutation_status = '"%s"' % str($query.oformat.report.mutation_status.status_custom) |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
99 #elif str($query.oformat.report.mutation_status.status_select) == 'expression': |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
100 ## For custom expressions, it is up to the user to ensure valid syntax |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
101 #set $mutation_status = str($query.oformat.report.mutation_status.status_expression) |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
102 #else: |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
103 ## The user selected a fixed value from the list, but |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
104 ## it still needs quoting. |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
105 #set $mutation_status = '"%s"' % str($query.oformat.report.mutation_status.status_select) |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
106 #end if |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
107 #set $cols = 'ifnull(g1.gene, "unknown") AS Hugo_Symbol, ifnull(ifnull(g2.entrez_id, g1.entrez_id), "") AS Entrez_Gene_Id, "" AS Center, "37" AS NCBI_Build, replace(v.chrom, "chr", "") AS Chromosome, v.start + 1 AS Start_Position, v.end AS End_Position, "" as Strand, v.impact_so AS Variant_Classification, ifnull(nullif(v.type, "indel"), v.sub_type) AS Variant_Type, v.ref AS Reference_Allele, "${tumor_seq_allele1}" AS Tumor_Seq_Allele1, "${tumor_seq_allele2}" AS Tumor_Seq_Allele2, ifnull(v.rs_ids, ifnull(nullif(ifnull(nullif(v.in_omim = 0 AND v.cosmic_ids IS NULL AND v.max_aaf_all = -1, 1), "novel"), 0), "")) AS dbSNP_RS, "" AS dbSNP_Val_Status, printf("%s", "' + str($query.oformat.report.tumor_sample_id) + '") AS Tumor_Sample_Barcode, printf("%s", "' + str($query.oformat.report.norm_sample_id) + '") AS Matched_Norm_Sample_Barcode, "${match_norm_seq_allele1}" AS Match_Norm_Seq_Allele1, "${match_norm_seq_allele2}" AS Match_Norm_Seq_Allele2, "" AS Tumor_Validation_Allele1, "" AS Tumor_Validation_Allele2, "" AS Match_Norm_Validation_Allele1, "" AS Match_Norm_Validation_Allele2, "" AS Verification_Status, "" AS Validation_Status, ' + $mutation_status + ' AS Mutation_Status, "" AS Sequencing_Phase, "" AS Sequence_Source, "" AS Validation_Method, "" AS Score, "" AS BAM_File, "" AS Sequencer, ifnull(nullif(v.aa_change, ""), "p.=") AS HGVSp_Short, "${t_alt_count}" AS t_alt_count, "${t_ref_count}" AS t_ref_count, "${n_alt_count}" AS n_alt_count, "${n_ref_count}" AS n_ref_count, v.alt, ' + $gt_string |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
108 #else: |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
109 #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
|
110 @SET_COLS@ |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
111 #end if |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
112 #set $q = "SELECT %s FROM variants" % $cols |
7
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
113 #if str($query.oformat.report.format) == 'maf': |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
114 #set $q = $q + ' v LEFT JOIN (SELECT DISTINCT gene, is_hgnc, hgnc_id, entrez_id, chrom FROM gene_detailed) g1 ON v.gene = g1.gene AND v.chrom = g1.chrom LEFT JOIN (SELECT DISTINCT gene, is_hgnc, hgnc_id, entrez_id, transcript, chrom, ensembl_gene_id FROM gene_detailed) g2 ON g1.gene = g2.gene AND (v.transcript = g2.transcript OR v.transcript=g2.ensembl_gene_id)' |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
115 #end if |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
116 |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
117 #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
|
118 #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
|
119 #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
|
120 #end if |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
121 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
122 #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
|
123 @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
|
124 #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
|
125 #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
|
126 #end if |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
127 #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
|
128 #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
|
129 #end if |
7
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
130 #if str($query.oformat.report.format) == 'maf': |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
131 #set $q = $q + " GROUP BY v.variant_id" |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
132 #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
|
133 #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
|
134 #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
|
135 #end if |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
136 #else |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
137 ## 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
|
138 #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
|
139 #end if |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
140 |
3
666f60a9331a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 1f7418d74c6fcd61a050106ca5f9b66ab9a4c33d
iuc
parents:
0
diff
changeset
|
141 #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
|
142 #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
|
143 @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
|
144 |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
145 '$infile' |
7
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
146 #if str($query.oformat.report.format) == 'maf': |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
147 > temp.txt && python '$__tool_directory__/gemini_mafify.py' temp.txt '${query.oformat.report.tumor_sample_name}' '${query.oformat.report.normal_sample_name}' |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
148 #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
|
149 > '$outfile' |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
150 ]]> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
151 </command> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
152 <inputs> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
153 <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
|
154 <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
|
155 <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
|
156 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
|
157 help=""> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
158 <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
|
159 <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
|
160 </param> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
161 <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
|
162 <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
|
163 <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
|
164 <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
|
165 <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
|
166 <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
|
167 <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
|
168 <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
|
169 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
|
170 <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
|
171 <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
|
172 <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
|
173 <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
|
174 <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
|
175 <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
|
176 <option value="json">JSON</option> |
7
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
177 <option value="maf">MAF (cBioportal-compatible)</option> |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
178 <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
|
179 </param> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
180 <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
|
181 <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
|
182 <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
|
183 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
|
184 help=""/> |
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="dgidb_query" /> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
186 <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
|
187 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
188 <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
|
189 <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
|
190 <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
|
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 <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
|
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="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
|
198 <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
|
199 <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
|
200 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
|
201 help=""/> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
202 <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
|
203 <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
|
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="with_families"> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
206 <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
|
207 <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
|
208 <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
|
209 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
|
210 help=""/> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
211 <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
|
212 <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
|
213 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
214 <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
|
215 <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
|
216 <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
|
217 <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
|
218 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
|
219 help=""/> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
220 <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
|
221 <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
|
222 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
223 <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
|
224 <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
|
225 <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
|
226 <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
|
227 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
228 <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
|
229 <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
|
230 <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
|
231 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
|
232 help=""/> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
233 <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
|
234 <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
|
235 </when> |
7
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
236 <when value="maf"> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
237 <param name="header" type="hidden" value="--header" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
238 <param name="dgidb" type="hidden" value="" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
239 <expand macro="maf_extra_info" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
240 <param name="tumor_sample_id" type="text" |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
241 label="Tumor sample ID"> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
242 <validator type="expression" message="A tumor sample identifier is required">value.strip()</validator> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
243 </param> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
244 <param name="norm_sample_id" type="text" |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
245 label="Normal sample ID (for matched tumor/normal sample pair analyses only)" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
246 <conditional name="mutation_status"> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
247 <param name="status_select" type="select" |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
248 label="Mutation status to be recorded for variants reported with this query" |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
249 help="'Somatic', 'Germline', 'LOH', 'Wildtype' and 'None' are fixed values that are treated explicitly by cBioportal. In particular, 'Somatic' and 'Germline' are supported by the cBioportal user interface in the Mutations tab, while 'LOH', 'Wildtype' and 'None' will not be loaded. Any other values will cause the variants to be loaded into cBioPortal and will be displayed as text in the Mutations tab."> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
250 <option value="expression">Calculate per variant</option> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
251 <option value="custom">Other fixed value</option> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
252 <option value="Somatic" selected="true">Somatic</option> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
253 <option value="Germline">Germline</option> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
254 <option value="LOH">LOH</option> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
255 <option value="Wildtype">Wildtype</option> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
256 <option value="None">None</option> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
257 </param> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
258 <when value="Somatic" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
259 <when value="Germline" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
260 <when value="LOH" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
261 <when value="Wildtype" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
262 <when value="None" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
263 <when value="custom"> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
264 <param name="status_custom" type="text" |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
265 label="Mutation status (custom value)"> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
266 <validator type="expression" message="Need a value for Mutation status">value.strip()</validator> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
267 </param> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
268 </when> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
269 <when value="expression"> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
270 <param name="status_expression" type="text" |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
271 label="SQL expression used to compute per-variant status" |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
272 help="Enter a valid SQL result column expression to compute the mutation status from columns of the variants table in the GEMINI database. As one example, the expression ifnull(nullif(ifnull(nullif(ifnull(nullif(somatic_status, 3), 'LOH'), 2), 'Somatic'), 1), 'Germline') assumes that you have a column somatic_status added to the variants table of your database, and will record 'Germline', 'Somatic', or 'LOH' for variants with a value of 1, 2, or 3 in that column, respectively."> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
273 <expand macro="sanitize_query" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
274 <validator type="expression" message="Mutation status expression cannot be empty">value.strip()</validator> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
275 </param> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
276 </when> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
277 </conditional> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
278 <expand macro="sorting" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
279 </when> |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
280 <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
|
281 <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
|
282 <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
|
283 <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
|
284 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
285 </conditional> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
286 </section> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
287 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
288 <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
|
289 <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
|
290 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
|
291 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
|
292 <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
|
293 <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
|
294 </param> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
295 <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
|
296 <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
|
297 <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
|
298 <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
|
299 <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
|
300 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
|
301 <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
|
302 <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
|
303 <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
|
304 <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
|
305 <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
|
306 <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
|
307 <option value="json">JSON</option> |
7
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
308 <option value="maf">MAF (cBioportal-compatible)</option> |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
309 <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
|
310 </param> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
311 <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
|
312 <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
|
313 <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
|
314 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
315 <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
|
316 <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
|
317 <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
|
318 <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
|
319 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
320 <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
|
321 <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
|
322 <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
|
323 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
324 <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
|
325 <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
|
326 <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
|
327 <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
|
328 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
329 <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
|
330 <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
|
331 <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
|
332 <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
|
333 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
334 <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
|
335 <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
|
336 <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
|
337 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
338 <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
|
339 <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
|
340 <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
|
341 </when> |
7
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
342 <when value="maf"> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
343 <param name="header" type="hidden" value="--header" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
344 <param name="dgidb" type="hidden" value="" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
345 <expand macro="maf_extra_info" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
346 </when> |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
347 <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
|
348 <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
|
349 <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
|
350 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
351 </conditional> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
352 </section> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
353 </when> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
354 </conditional> |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
355 </inputs> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
356 <outputs> |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
357 <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
|
358 <change_format> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
359 <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
|
360 <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
|
361 </change_format> |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
362 </data> |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
363 </outputs> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
364 <tests> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
365 <test> |
4
7ca6716748c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents:
3
diff
changeset
|
366 <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
|
367 <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
|
368 <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
|
369 <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
|
370 </conditional> |
4
7ca6716748c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents:
3
diff
changeset
|
371 <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
|
372 <assert_contents> |
7ca6716748c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents:
3
diff
changeset
|
373 <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
|
374 </assert_contents> |
7ca6716748c2
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents:
3
diff
changeset
|
375 </output> |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
376 </test> |
7
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
377 <test> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
378 <param name="infile" value="gemini_load_result1.db" ftype="gemini.sqlite" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
379 <conditional name="query"> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
380 <param name="interface" value="basic" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
381 </conditional> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
382 <section name="oformat"> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
383 <conditional name="report"> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
384 <param name="format" value="maf" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
385 <param name="tumor_sample_id" value="test" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
386 </conditional> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
387 </section> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
388 <output name="outfile" file="gemini_query_as_maf_result.tabular" /> |
da74170c55c7
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 5ea789e5342c3ad1afd2e0068c88f2b6dc4f7246"
iuc
parents:
5
diff
changeset
|
389 </test> |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
390 </tests> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
391 <help> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
392 <![CDATA[ |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
393 **What it does** |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
394 |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
395 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
|
396 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
|
397 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
|
398 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
|
399 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
|
400 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
|
401 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
402 ----- |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
403 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
404 *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
|
405 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
406 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
|
407 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
|
408 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
|
409 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
410 *Genotype filters* |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
411 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
412 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
|
413 <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
|
414 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
|
415 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
416 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
|
417 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
418 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
|
419 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
420 , 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
|
421 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
|
422 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
|
423 *(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
|
424 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
425 (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
|
426 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
427 , 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
|
428 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
429 *Sample filters* |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
430 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
431 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
|
432 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
|
433 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
434 phenotype == 2 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
435 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
436 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
|
437 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
|
438 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
|
439 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
|
440 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
441 *Region filters* |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
442 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
443 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
|
444 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
|
445 interest. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
446 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
447 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
|
448 *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
|
449 |
5
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
450 *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
|
451 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
452 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
|
453 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
|
454 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
455 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
|
456 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
457 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
|
458 *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
|
459 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
460 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
|
461 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
|
462 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
|
463 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
|
464 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
465 ----- |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
466 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
467 *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
|
468 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
469 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
|
470 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
|
471 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
|
472 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
|
473 table directly. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
474 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
475 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
|
476 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
|
477 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
|
478 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
|
479 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
|
480 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
481 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
|
482 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
|
483 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
|
484 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
|
485 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
|
486 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
|
487 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
488 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
|
489 <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
|
490 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
|
491 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
492 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
|
493 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
|
494 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
|
495 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
|
496 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
497 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
|
498 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
|
499 start |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
500 |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
501 , 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
|
502 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
|
503 position. |
cd00221d67cb
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 62ed732cba355e695181924a8ed4cce49ca21c59
iuc
parents:
4
diff
changeset
|
504 |
0
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
505 ]]> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
506 </help> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
507 <expand macro="citations"/> |
ab195e756e5e
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
iuc
parents:
diff
changeset
|
508 </tool> |