|
0
|
1 <tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@.0">
|
|
|
2 <description></description>
|
|
|
3 <expand macro="requirements" />
|
|
|
4 <expand macro="version_command" />
|
|
|
5 <macros>
|
|
|
6 <import>gemini_macros.xml</import>
|
|
|
7 <token name="@BINARY@">query</token>
|
|
|
8 </macros>
|
|
|
9 <command>
|
|
|
10 <![CDATA[
|
|
|
11 gemini @BINARY@
|
|
|
12
|
|
|
13 #if $q.strip():
|
|
|
14 -q "${q}"
|
|
|
15 #end if
|
|
|
16
|
|
|
17 #if $gt_filter.strip():
|
|
|
18 --gt-filter "${gt_filter}"
|
|
|
19 #end if
|
|
|
20
|
|
|
21 #if $sample_filter.strip():
|
|
|
22 --sample-filter "${sample_filter}"
|
|
|
23 #end if
|
|
|
24
|
|
|
25 $show_samples
|
|
|
26 $show_families
|
|
|
27 $family_wise
|
|
|
28 $header
|
|
|
29 $dgidb
|
|
|
30 --in $in
|
|
|
31 #if $region.strip():
|
|
|
32 --region "${region}"
|
|
|
33 #end if
|
|
|
34 #if int($min_kindreds) > 0:
|
|
|
35 --min-kindreds $min_kindreds
|
|
|
36 #end if
|
|
|
37 ##--format FORMAT Format of output (JSON, TPED or default) # we will take default for the time being
|
|
|
38 ## --sample-delim STRING The delimiter to be used with the --show-samples option.
|
|
|
39
|
|
|
40
|
|
|
41
|
|
|
42
|
|
|
43 "${ infile }"
|
|
|
44 > "${ outfile }"
|
|
|
45 ]]>
|
|
|
46 </command>
|
|
|
47 <!--
|
|
|
48 ##TODO:
|
|
|
49 - -carrier-summary-by-phenotype CARRIER_SUMMARY
|
|
|
50 Output columns of counts of carriers and non-carriers
|
|
|
51 stratified by the given sample phenotype column-->
|
|
|
52 <expand macro="stdio" />
|
|
|
53 <inputs>
|
|
|
54 <param name="infile" type="data" format="sqlite" label="GEMINI database" />
|
|
|
55
|
|
|
56 <param name="q" type="text" area="True" size="5x50" label="The query to be issued to the database"/>
|
|
|
57 <param name="gt_filter" type="text" area="True" size="5x50" label="Restrictions to apply to genotype values"/>
|
|
|
58 <param name="sample_filter" type="text" area="True" size="5x50" label="SQL filter to use to filter the sample table"/>
|
|
|
59 <param name="sample_filter" type="text" area="True" size="5x50" label="SQL filter to use to filter the sample table"/>
|
|
|
60
|
|
|
61 <param name="show_samples" type="boolean" truevalue="--show-samples" falsevalue="" checked="False"
|
|
|
62 label="Add a column of all sample names with a variant to each variant" help="(--show-samples)"/>
|
|
|
63
|
|
|
64 <param name="show_families" type="boolean" truevalue="--show-families" falsevalue="" checked="False"
|
|
|
65 label="Add a column listing all of the families with a variant to each variant" help="(--show-families)"/>
|
|
|
66
|
|
|
67 <param name="family_wise" type="boolean" truevalue="--family-wise" falsevalue="" checked="False"
|
|
|
68 label="Perform the sample-filter on a family-wise basis" help="(--family-wise)"/>
|
|
|
69
|
|
|
70 <expand macro="add_header_column" />
|
|
|
71
|
|
|
72 <!-- TODO: is there any default values set? -->
|
|
|
73 <param name="min_kindreds" size="4" type="integer" value="-1" lebel="Minimum number of families for a variant passing a family-wise filter to be in" help="-1 means default values (--min-kindreds)" />
|
|
|
74
|
|
|
75 <param name="dgidb" type="boolean" truevalue="--dgidb" falsevalue="" checked="False"
|
|
|
76 label="Request drug-gene interaction info from DGIdb" help="(--dgidb)"/>
|
|
|
77
|
|
|
78 <param name="in" type="select" label="A variant must be in either all, none or any samples passing the sample-query filter" help="(--in)">
|
|
|
79 <option value="all">all</option>
|
|
|
80 <option value="none">none</option>
|
|
|
81 <option value="any">any</option>
|
|
|
82 <option value="only">only</option>
|
|
|
83 </param>
|
|
|
84
|
|
|
85 <param name="region" size="30" type="text" value="" label="Restrict query to this region" help="e.g. chr1:10-20 (--region)"/>
|
|
|
86
|
|
|
87
|
|
|
88 </inputs>
|
|
|
89 <outputs>
|
|
|
90 <data name="outfile" format="tabular" label="${tool.name} on ${on_string}" />
|
|
|
91 </outputs>
|
|
|
92 <tests>
|
|
|
93 <test>
|
|
|
94 </test>
|
|
|
95 </tests>
|
|
|
96 <help>
|
|
|
97 **What it does**
|
|
|
98
|
|
|
99 The real power in the GEMINI framework lies in the fact that all of your genetic variants have been stored in a convenient database in the context of a wealth of genome annotations that facilitate variant interpretation.
|
|
|
100 The expressive power of SQL allows one to pose intricate questions of one’s variation data. This tool offers you an easy way to query your variants!
|
|
|
101
|
|
|
102 http://gemini.readthedocs.org/en/latest/content/querying.html
|
|
|
103
|
|
|
104 @CITATION@
|
|
|
105 </help>
|
|
|
106 <expand macro="citations"/>
|
|
|
107 </tool>
|