0
|
1 <tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@.0">
|
|
2 <description>Extracting variants from specific regions or genes</description>
|
|
3 <expand macro="requirements" />
|
|
4 <expand macro="version_command" />
|
|
5 <macros>
|
|
6 <import>gemini_macros.xml</import>
|
|
7 <token name="@BINARY@">region</token>
|
|
8 </macros>
|
|
9 <command>
|
|
10 <![CDATA[
|
|
11 gemini @BINARY@
|
|
12
|
|
13 #if $region.region_selector == '--reg':
|
|
14 #if str(${region.region}) != '':
|
|
15 --reg "${region.region}"
|
|
16 #end if
|
|
17 #else:
|
|
18 #if str(${region.gene}) != '':
|
|
19 --gene "${region.gene}"
|
|
20 #end if
|
|
21 #end if
|
|
22
|
|
23 #if $report.report_selector != 'all':
|
|
24 --columns "${report.columns}"
|
|
25 #end if
|
|
26
|
4
|
27 @CMDLN_SQL_FILTER_FILTER_OPTION@
|
0
|
28
|
|
29 $header
|
|
30 "${ infile }"
|
|
31 > "${ outfile }"
|
|
32 ]]>
|
|
33 </command>
|
|
34 <expand macro="stdio" />
|
|
35 <inputs>
|
2
|
36 <expand macro="infile" />
|
0
|
37
|
|
38 <conditional name="region">
|
|
39 <param name="region_selector" type="select" label="Select by ...?" help="">
|
|
40 <option value="--reg">genomic coordinates</option>
|
|
41 <option value="--gene">gene name</option>
|
|
42 </param>
|
|
43 <when value="--reg">
|
|
44 <param name="region" type="text" label="Specify genomic region" help="e.g. chr1:100-200 (--reg)"/>
|
|
45 </when>
|
|
46 <when value="--gene">
|
|
47 <param name="gene" type="text" label="Specify gene name" help="e.g. PTPN22 (--gene)" />
|
|
48 </when>
|
|
49 </conditional>
|
|
50
|
|
51 <expand macro="column_filter" />
|
|
52 <expand macro="filter" />
|
|
53
|
|
54
|
|
55 <expand macro="add_header_column" />
|
|
56
|
|
57 </inputs>
|
|
58 <outputs>
|
2
|
59 <data name="outfile" format="tabular" />
|
0
|
60 </outputs>
|
|
61 <tests>
|
|
62 <test>
|
|
63 </test>
|
|
64 </tests>
|
|
65 <help>
|
|
66 **What it does**
|
|
67
|
|
68 One often is concerned with variants found solely in a particular gene or genomic region.
|
|
69
|
|
70 @CITATION@
|
|
71 </help>
|
|
72 <expand macro="citations"/>
|
|
73 </tool>
|