annotate gemini_query.xml @ 10:37e2ac64e4f6 draft

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