0
|
1 <macros>
|
|
2 <xml name="requirements">
|
|
3 <requirements>
|
2
|
4 <requirement type="package" version="0.10.0">gemini</requirement>
|
0
|
5 <requirement type="package" version="0.1.3">grabix</requirement>
|
|
6 <requirement type="package" version="0.2.6">tabix</requirement>
|
|
7 <requirement type="package" version="0.1.19">samtools</requirement>
|
|
8 <requirement type="package" version="2.19.1">bedtools</requirement>
|
|
9 <yield />
|
|
10 </requirements>
|
|
11 </xml>
|
|
12
|
|
13 <xml name="version_command">
|
|
14 <version_command>gemini --version</version_command>
|
|
15 </xml>
|
|
16
|
|
17 <xml name="stdio">
|
|
18 <stdio>
|
|
19 <exit_code range="1:" />
|
|
20 <exit_code range=":-1" />
|
|
21 <regex match="Error:" />
|
|
22 <regex match="Exception:" />
|
|
23 </stdio>
|
|
24 </xml>
|
|
25
|
4
|
26 <xml name="annotation_dir">
|
|
27 <param name="annotation_databases" type="select" label="Choose a gemini annotation database">
|
6
|
28 <options from_data_table="gemini_databases">
|
9
|
29 <column name="value" index="0"/>
|
|
30 <column name="dbkey" index="1"/>
|
|
31 <column name="name" index="2"/>
|
|
32 <column name="path" index="3"/>
|
|
33 <filter type="sort_by" column="0" />
|
|
34 <validator type="unspecified_build" />
|
|
35 <validator type="no_options" message="No annotation database is available" />
|
4
|
36 </options>
|
|
37 </param>
|
|
38 </xml>
|
|
39
|
0
|
40 <xml name="add_header_column">
|
|
41 <param name="header" type="boolean" truevalue="--header" falsevalue="" checked="False"
|
|
42 label="Add a header of column names to the output" help="(--header)"/>
|
|
43 </xml>
|
|
44
|
|
45 <xml name="radius">
|
|
46 <param name="radius" type="integer" value="3" size="5" label="Set filter for Breadth-first search (BFS) in the Protein-Protein Interaction network" help="(-r)" >
|
|
47 <validator type="in_range" min="0"/>
|
|
48 </param>
|
|
49 </xml>
|
|
50 <xml name="variant_mode">
|
|
51 <param name="variant_mode" type="boolean" truevalue="--var" falsevalue="" checked="False"
|
|
52 label="Returns variant info (e.g. impact, biotype) for interacting genes" help="(--var)"/>
|
|
53 </xml>
|
|
54
|
|
55 <xml name="column_filter">
|
|
56 <conditional name="report">
|
|
57 <param name="report_selector" type="select" label="Columns to include in the report"
|
|
58 help="By default, this tool reports all columns in the variants table. One may choose to report only a subset of the columns.">
|
|
59 <option value="all" selected="True">all</option>
|
|
60 <option value="column_filter">User given columns</option>
|
|
61 </param>
|
|
62 <when value="all"/>
|
|
63 <when value="column_filter">
|
|
64 <param name="columns" type="select" display="checkboxes" multiple="True" label="Choose columns to include in the report" help="(--columns)">
|
|
65 <option value="gene">gene</option>
|
|
66 <option value="chrom">chrom</option>
|
|
67 <option value="start">start</option>
|
|
68 <option value="end">end</option>
|
|
69 <option value="ref">ref</option>
|
|
70 <option value="alt">alt</option>
|
|
71 <option value="impact">impact</option>
|
|
72 <option value="impact_severity">impact_severity</option>
|
|
73 </param>
|
|
74 </when>
|
|
75 </conditional>
|
|
76 </xml>
|
|
77
|
|
78 <xml name="filter">
|
|
79 <conditional name="filter">
|
|
80 <param name="filter_selector" type="select" label="Apply additional constraints"
|
|
81 help="By default, this tool will report all variants regardless of their putative functional impact. In order to apply additional constraints on the variants returned, you can this optional filter.">
|
|
82 <option value="no">No additional constraints</option>
|
|
83 <option value="yes">Apply additional constraints</option>
|
|
84 </param>
|
|
85 <when value="no"/>
|
|
86 <when value="yes">
|
8
|
87 <param name="filter" type="text" size="20" label="Contraints in SQL syntax" help="Conditions applied here will become WHERE clauses in the query issued to the GEMINI database. E.g. alt='G' or impact_severity = 'HIGH'. (--filter)">
|
|
88 <expand macro="sanitize_query" />
|
|
89 </param>
|
0
|
90 </when>
|
|
91 </conditional>
|
|
92 </xml>
|
|
93
|
8
|
94 <xml name="sanitize_query">
|
|
95 <sanitizer invalid_char="">
|
|
96 <valid initial="string.printable">
|
|
97 </valid>
|
|
98 </sanitizer>
|
|
99 </xml>
|
|
100
|
0
|
101 <xml name="min_sequence_depth">
|
|
102 <param name="d" type="integer" value="0" size="5" label="The minimum aligned sequence depth (genotype DP) required for each sample"
|
|
103 help="default: 0 (-d)">
|
|
104 <validator type="in_range" min="0"/>
|
|
105 </param>
|
|
106 </xml>
|
|
107
|
5
|
108 <token name="@VERSION@">0.10.0</token>
|
0
|
109
|
|
110 <token name="@CITATION@">------
|
|
111
|
|
112 **Citation**
|
|
113
|
|
114 If you use GEMINI in your research, please cite the following manuscript:
|
|
115
|
|
116 </token>
|
|
117 <xml name="citations">
|
|
118 <citations>
|
|
119 <citation type="doi">10.1371/journal.pcbi.1003153</citation>
|
|
120 <yield />
|
|
121 </citations>
|
|
122 </xml>
|
|
123 </macros>
|