annotate gemini_region.xml @ 0:720cbfb4190d draft

Imported from capsule None
author iuc
date Mon, 25 Aug 2014 17:15:54 -0400
parents
children 93bb0cfacefb
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
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
27 #if $filter.filter_selector == 'yes':
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
28 --filter "${filter.filter}"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
29 #end if
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
30
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
31 $header
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
32 "${ infile }"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
33 > "${ outfile }"
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
34 ]]>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
35 </command>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
36 <expand macro="stdio" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
37 <inputs>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
38 <param name="infile" type="data" format="sqlite" label="GEMINI database" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
39
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
40 <conditional name="region">
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
41 <param name="region_selector" type="select" label="Select by ...?" help="">
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
42 <option value="--reg">genomic coordinates</option>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
43 <option value="--gene">gene name</option>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
44 </param>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
45 <when value="--reg">
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
46 <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
47 </when>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
48 <when value="--gene">
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
49 <param name="gene" type="text" label="Specify gene name" help="e.g. PTPN22 (--gene)" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
50 </when>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
51 </conditional>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
52
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
53 <expand macro="column_filter" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
54 <expand macro="filter" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
55
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
56
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
57 <expand macro="add_header_column" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
58
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
59 </inputs>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
60 <outputs>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
61 <data name="outfile" format="tabular" label="${tool.name} on ${on_string}" />
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
62 </outputs>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
63 <tests>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
64 <test>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
65 </test>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
66 </tests>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
67 <help>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
68 **What it does**
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
69
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
70 One often is concerned with variants found solely in a particular gene or genomic region.
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
71
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
72 @CITATION@
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
73 </help>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
74 <expand macro="citations"/>
720cbfb4190d Imported from capsule None
iuc
parents:
diff changeset
75 </tool>