Mercurial > repos > iuc > gemini_query
comparison gemini_query.xml @ 0:ab195e756e5e draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit 4bbfca6f0e9cae9a8f263aad4eab7304c96358c4
author | iuc |
---|---|
date | Thu, 18 Feb 2016 08:53:18 -0500 |
parents | |
children | 666f60a9331a |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ab195e756e5e |
---|---|
1 <tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@.0"> | |
2 <description>Querying the GEMINI database</description> | |
3 <macros> | |
4 <import>gemini_macros.xml</import> | |
5 <token name="@BINARY@">query</token> | |
6 </macros> | |
7 <expand macro="requirements" /> | |
8 <expand macro="stdio" /> | |
9 <expand macro="version_command" /> | |
10 <command> | |
11 <![CDATA[ | |
12 gemini @BINARY@ | |
13 | |
14 --in "${in}" | |
15 | |
16 #if $gt_filter.strip(): | |
17 --gt-filter "${gt_filter}" | |
18 #end if | |
19 | |
20 #if $sample_filter.strip(): | |
21 --sample-filter "${sample_filter}" | |
22 #end if | |
23 | |
24 $show_samples | |
25 $show_families | |
26 $family_wise | |
27 $header | |
28 $dgidb | |
29 #if $region.strip(): | |
30 --region "${region}" | |
31 #end if | |
32 #if int($min_kindreds) > 0: | |
33 --min-kindreds $min_kindreds | |
34 #end if | |
35 ##--format FORMAT Format of output (JSON, TPED or default) # we will take default for the time being | |
36 ## --sample-delim STRING The delimiter to be used with the --show-samples option. | |
37 | |
38 #if $q.strip(): | |
39 -q "${q}" | |
40 #end if | |
41 | |
42 "${ infile }" | |
43 > "${ outfile }" | |
44 ]]> | |
45 </command> | |
46 <!-- | |
47 ##TODO: | |
48 - -carrier-summary-by-phenotype CARRIER_SUMMARY | |
49 Output columns of counts of carriers and non-carriers | |
50 stratified by the given sample phenotype column--> | |
51 <inputs> | |
52 <expand macro="infile" /> | |
53 | |
54 <param name="q" type="text" area="True" size="5x50" label="The query to be issued to the database" help="(-q)"> | |
55 <expand macro="sanitize_query" /> | |
56 </param> | |
57 <param name="gt_filter" type="text" area="True" size="5x50" label="Restrictions to apply to genotype values" help="(--gt-filer)"> | |
58 <expand macro="sanitize_query" /> | |
59 </param> | |
60 <param name="sample_filter" type="text" area="True" size="5x50" label="SQL filter to use to filter the sample table" help="(--sample-filter)"> | |
61 <expand macro="sanitize_query" /> | |
62 </param> | |
63 | |
64 <param name="show_samples" type="boolean" truevalue="--show-samples" falsevalue="" checked="False" | |
65 label="Add a column of all sample names with a variant to each variant" help="(--show-samples)"/> | |
66 | |
67 <param name="show_families" type="boolean" truevalue="--show-families" falsevalue="" checked="False" | |
68 label="Add a column listing all of the families with a variant to each variant" help="(--show-families)"/> | |
69 | |
70 <param name="family_wise" type="boolean" truevalue="--family-wise" falsevalue="" checked="False" | |
71 label="Perform the sample-filter on a family-wise basis" help="(--family-wise)"/> | |
72 | |
73 <expand macro="add_header_column" /> | |
74 <expand macro="min_kindreds" /> | |
75 | |
76 <param name="dgidb" type="boolean" truevalue="--dgidb" falsevalue="" checked="False" | |
77 label="Request drug-gene interaction info from DGIdb" help="(--dgidb)"/> | |
78 | |
79 <param name="in" type="select" label="A variant must be in either all, none or any samples passing the sample-query filter" help="(--in)"> | |
80 <option value="all">Return a variant if all samples matching the query have the variant. (all)</option> | |
81 <option value="none">Return a variant if the variant does not appear in any of the matching samples. (none)</option> | |
82 <option value="any">Return all of the variant which are in all of the matching samples and not in any of the non-matching samples. (any)</option> | |
83 <option value="only">Return a variant if the variant is only in the matching samples and not in any of the non-matching samples. (only)</option> | |
84 </param> | |
85 | |
86 <param name="region" type="text" value="" label="Restrict query to this region" help="e.g. chr1:10-20 (--region)"/> | |
87 | |
88 | |
89 </inputs> | |
90 <outputs> | |
91 <data name="outfile" format="tabular" /> | |
92 </outputs> | |
93 <tests> | |
94 <test> | |
95 <param name="infile" value="gemini_load_result.db" ftype="gemini.sqlite" /> | |
96 <param name="q" value="select start from variants limit 10" /> | |
97 <output name="outfile" file="gemini_query_result.tabular" /> | |
98 </test> | |
99 </tests> | |
100 <help> | |
101 <![CDATA[ | |
102 **What it does** | |
103 | |
104 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. | |
105 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! | |
106 | |
107 http://gemini.readthedocs.org/en/latest/content/querying.html | |
108 ]]> | |
109 </help> | |
110 <expand macro="citations"/> | |
111 </tool> |