annotate gemini_region.xml @ 4:ba3abde6775b draft default tip

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