comparison gemini_macros.xml @ 0:720cbfb4190d draft

Imported from capsule None
author iuc
date Mon, 25 Aug 2014 17:15:54 -0400
parents
children 93bb0cfacefb
comparison
equal deleted inserted replaced
-1:000000000000 0:720cbfb4190d
1 <macros>
2 <xml name="requirements">
3 <requirements>
4 <requirement type="package" version="0.10.0">gemini</requirement>
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
26 <xml name="annotation_dir">
27 <param name="annotation_databases" type="select" label="Choose a gemini annotation database">
28 <options from_data_table="gemini_databases">
29 <filter type="sort_by" column="0" />
30 <validator type="no_options" message="No annotation database is available" />
31 </options>
32 </param>
33 </xml>
34
35 <xml name="add_header_column">
36 <param name="header" type="boolean" truevalue="--header" falsevalue="" checked="False"
37 label="Add a header of column names to the output" help="(--header)"/>
38 </xml>
39
40 <xml name="radius">
41 <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)" >
42 <validator type="in_range" min="0"/>
43 </param>
44 </xml>
45 <xml name="variant_mode">
46 <param name="variant_mode" type="boolean" truevalue="--var" falsevalue="" checked="False"
47 label="Returns variant info (e.g. impact, biotype) for interacting genes" help="(--var)"/>
48 </xml>
49
50 <xml name="column_filter">
51 <conditional name="report">
52 <param name="report_selector" type="select" label="Columns to include in the report"
53 help="By default, this tool reports all columns in the variants table. One may choose to report only a subset of the columns.">
54 <option value="all" selected="True">all</option>
55 <option value="column_filter">User given columns</option>
56 </param>
57 <when value="all"/>
58 <when value="column_filter">
59 <param name="columns" type="select" display="checkboxes" multiple="True" label="Choose columns to include in the report" help="(--columns)">
60 <option value="gene">gene</option>
61 <option value="chrom">chrom</option>
62 <option value="start">start</option>
63 <option value="end">end</option>
64 <option value="ref">ref</option>
65 <option value="alt">alt</option>
66 <option value="impact">impact</option>
67 <option value="impact_severity">impact_severity</option>
68 </param>
69 </when>
70 </conditional>
71 </xml>
72
73 <xml name="filter">
74 <conditional name="filter">
75 <param name="filter_selector" type="select" label="Apply additional constraints"
76 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.">
77 <option value="no">No additional constraints</option>
78 <option value="yes">Apply additional constraints</option>
79 </param>
80 <when value="no"/>
81 <when value="yes">
82 <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)">
83 <expand macro="sanitize_query" />
84 </param>
85 </when>
86 </conditional>
87 </xml>
88
89 <xml name="sanitize_query">
90 <sanitizer invalid_char="">
91 <valid initial="string.printable">
92 </valid>
93 </sanitizer>
94 </xml>
95
96 <xml name="min_sequence_depth">
97 <param name="d" type="integer" value="0" size="5" label="The minimum aligned sequence depth (genotype DP) required for each sample"
98 help="default: 0 (-d)">
99 <validator type="in_range" min="0"/>
100 </param>
101 </xml>
102
103 <token name="@VERSION@">0.10.0</token>
104
105 <token name="@CITATION@">------
106
107 **Citation**
108
109 If you use GEMINI in your research, please cite the following manuscript:
110
111 </token>
112 <xml name="citations">
113 <citations>
114 <citation type="doi">10.1371/journal.pcbi.1003153</citation>
115 <yield />
116 </citations>
117 </xml>
118 </macros>