annotate gemini_annotate.xml @ 12:e8fb7bc84498 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit f7bdf08922aaf4119aefe7041e754a69cf64aebd
author iuc
date Wed, 13 Jul 2022 15:00:13 +0000
parents 260333f59308
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
1 <tool id="gemini_@BINARY@" name="GEMINI @BINARY@" version="@VERSION@+galaxy2">
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
2 <description>the variants in an existing GEMINI database with additional information</description>
11
260333f59308 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents: 9
diff changeset
3 <expand macro="bio_tools"/>
0
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
4 <macros>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
5 <import>gemini_macros.xml</import>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
6 <token name="@BINARY@">annotate</token>
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
7 <xml name="add_as">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
8 <param argument="-c" name="column_name" type="text" value=""
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
9 label="Database column name to use for recording annotations"
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
10 help="A column with the name provided here will be added to the variants table of the GEMINI database to store the annotations">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
11 <validator type="empty_field" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
12 <validator type="expression" message="Only alphanumeric characters and the underscore can be used in column names">value.replace('_', '').isalnum()</validator>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
13 </param>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
14 </xml>
0
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
15 </macros>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
16 <expand macro="requirements" />
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
17 <expand macro="stdio" />
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
18 <expand macro="version_command" />
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
19 <command>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
20 <![CDATA[
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
21
3
f052e48b4783 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit e4dce25c8dbeffca62c402f74ca733ddc7a6091b
iuc
parents: 2
diff changeset
22 ## For GEMINI to work correctly, tabixed file must have form [name].[bed|vcf].gz
9
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
23 #if $annotate_source.ext == 'vcf_bgzip':
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
24 ## File is bgzipped and tabixed already -> just symlink data and index
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
25 #set $tabixed_file = 'tabixed.vcf.gz'
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
26 ln -s '$annotate_source' $tabixed_file &&
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
27 ln -s '$annotate_source.metadata.tabix_index' ${tabixed_file}.tbi &&
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
28 #else:
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
29 ## bgzip and index vcf or bed
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
30 #set $tabixed_file = "tabixed.%s.gz" % $annotate_source.ext
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
31 bgzip -c '$annotate_source' > '$tabixed_file' &&
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
32 tabix -p '$annotate_source.ext' '$tabixed_file' &&
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
33 #end if
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
34 ## gemini annotate modifies its input database in-place so, in Galaxy,
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
35 ## we need to create a copy first!
5
1f5421e565d8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents: 4
diff changeset
36 cp '$infile' '$outfile' &&
3
f052e48b4783 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit e4dce25c8dbeffca62c402f74ca733ddc7a6091b
iuc
parents: 2
diff changeset
37
5
1f5421e565d8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents: 4
diff changeset
38 gemini @BINARY@
1f5421e565d8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents: 4
diff changeset
39 -f '$tabixed_file'
1f5421e565d8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents: 4
diff changeset
40 -a $a.a_selector
1f5421e565d8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents: 4
diff changeset
41 #if $a.a_selector == 'extract':
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
42 #set $types = []
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
43 #set $elements = []
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
44 #set $column_names = []
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
45 #set $operations = []
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
46 #for $action in $a.actions:
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
47 $types.append(str($action.column_type))
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
48 $elements.append(str($action.element_to_extract).strip())
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
49 $column_names.append(str($action.column_name).strip())
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
50 $operations.append(str($action.operation))
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
51 #end for
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
52
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
53 -t #echo ",".join($types)
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
54 -e '#echo ",".join($elements)#'
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
55 -o #echo ",".join($operations)
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
56 -c '#echo ",".join($column_names)#'
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
57 #else:
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
58 -c '${a.column_name}'
5
1f5421e565d8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents: 4
diff changeset
59 #end if
9
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
60 #if str($annotate_source.ext) != "bed":
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
61 $region_only
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
62 #end if
5
1f5421e565d8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents: 4
diff changeset
63 '$outfile'
0
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
64 ]]>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
65 </command>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
66 <inputs>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
67 <expand macro="infile" />
9
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
68 <param argument="-f" name="annotate_source" type="data" format="vcf,vcf_bgzip,bed"
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
69 label="Dataset to use as the annotation source"
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
70 help="The tool can use the information from a BED or VCF dataset to annotate the database variants."/>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
71 <param argument="--region-only" name="region_only" type="boolean" checked="true" truevalue="" falsevalue="--region-only"
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
72 label="Strict variant-identity matching of database and annotation records (VCF format only)"
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
73 help="The default is to consider VCF-formatted annotations only if a variant in the GEMINI database and a record in the annotation source describe the exact same nucleotide change at the same position in the genome. You can disable this option to make use of any annotation that overlaps with the position of a database variant. This setting is ignored for annotation sources in BED format, for which matching is always based on overlapping positions only." />
0
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
74 <conditional name="a">
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
75 <param argument="-a" name="a_selector" type="select"
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
76 label="Type of information to add to the database variants"
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
77 help="">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
78 <option value="boolean">Binary indicator (1=found, 0=not found) of whether the variant had any match in the annotation source (boolean)</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
79 <option value="count">Count of the number of matches found in the annotation source for the database variant (count)</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
80 <option value="extract" selected="True">Specific values extracted from matching records in the annotation source (extract)</option>
0
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
81 </param>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
82 <when value="extract">
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
83 <repeat name="actions" title="Annotation extraction recipe" default="1" min="1">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
84 <param argument="-e" name="element_to_extract" type="text" value=""
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
85 label="Elements to extract from the annotation source"
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
86 help="For an annotation source in BED format, specify the number of the column from which the annotations should be read. For a VCF source, name an INFO field element.">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
87 <validator type="expression" message="This field cannot be empty">value.strip()</validator>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
88 </param>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
89 <expand macro="add_as" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
90 <param argument="-t" name="column_type" type="select" display="radio"
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
91 label="What type of data are you trying to extract?"
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
92 help="Your selection will determine the data type used to store the new annotations in the database.">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
93 <option value="float">Numbers with decimal precision</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
94 <option value="integer">Integer numbers</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
95 <option value="text">Text (text)</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
96 </param>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
97 <param argument="-o" name="operation" type="select"
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
98 label="If multiple annotations are found for the same variant, store ..."
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
99 help="Note: If indicated (in parentheses) an option is only applicable to annotations of a specific type.">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
100 <option value="first">the first annotation found</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
101 <option value="last">the last annotation found</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
102 <option value="list">a comma-separated list of the (text) values</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
103 <option value="uniq_list">a comma-separated list of non-redundant (text) values</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
104 <option value="min">the smallest of the (numeric) values</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
105 <option value="max">the largest of the (numeric) values</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
106 <option value="mode">the most frequent of the (numeric) values</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
107 <option value="mean">the mean of the (numeric) values</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
108 <option value="median">the median of the (numeric) values</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
109 <option value="sum">the sum of the (numeric) values</option>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
110 </param>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
111 </repeat>
0
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
112 </when>
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
113 <when value="boolean">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
114 <expand macro="add_as" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
115 </when>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
116 <when value="count">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
117 <expand macro="add_as" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
118 </when>
0
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
119 </conditional>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
120 </inputs>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
121 <outputs>
5
1f5421e565d8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents: 4
diff changeset
122 <data name="outfile" format="gemini.sqlite" />
0
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
123 </outputs>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
124 <tests>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
125 <test>
9
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
126 <!-- test with annotation source in bed format -->
5
1f5421e565d8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents: 4
diff changeset
127 <param name="infile" value="gemini_load_result1.db" ftype="gemini.sqlite" />
9
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
128 <param name="annotate_source" value="anno.bed" ftype="bed" />
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
129 <param name="region_only" value="false" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
130 <conditional name="a">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
131 <param name="a_selector" value="count" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
132 <param name="column_name" value="anno5" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
133 </conditional>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
134 <assert_command>
9
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
135 <!-- confirm region_only gets ignored for bed input -->
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
136 <not_has_text text="--region-only" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
137 </assert_command>
5
1f5421e565d8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 283362494058ed64143b1f27afb447b8a1cb4313
iuc
parents: 4
diff changeset
138 <output name="outfile" file="gemini_annotate_result.db" ftype="gemini.sqlite" compare="sim_size" delta="1000"/>
0
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
139 </test>
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
140 <test>
9
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
141 <!-- test with annotation source in vcf format -->
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
142 <param name="infile" value="gemini_load_result1.db" ftype="gemini.sqlite" />
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
143 <param name="annotate_source" value="gemini_amend.vcf" ftype="vcf" />
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
144 <param name="region_only" value="false" />
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
145 <conditional name="a">
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
146 <param name="a_selector" value="count" />
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
147 <param name="column_name" value="anno5" />
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
148 </conditional>
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
149 <output name="outfile" file="gemini_annotate_result.db" ftype="gemini.sqlite" compare="sim_size" delta="1000"/>
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
150 </test>
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
151 <test>
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
152 <!-- test with annotation source in vcf_bgzip format -->
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
153 <param name="infile" value="gemini_load_result1.db" ftype="gemini.sqlite" />
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
154 <param name="annotate_source" value="gemini_amend.vcf.gz" ftype="vcf_bgzip" />
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
155 <param name="region_only" value="false" />
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
156 <conditional name="a">
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
157 <param name="a_selector" value="count" />
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
158 <param name="column_name" value="anno5" />
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
159 </conditional>
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
160 <output name="outfile" file="gemini_annotate_result.db" ftype="gemini.sqlite" compare="sim_size" delta="1000"/>
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
161 </test>
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
162 <test>
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
163 <param name="infile" value="gemini_load_result1.db" ftype="gemini.sqlite" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
164 <param name="annotate_source" value="anno.bed" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
165 <conditional name="a">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
166 <param name="a_selector" value="extract" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
167 <repeat name="actions">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
168 <param name="element_to_extract" value="1" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
169 <param name="column_name" value="anno5" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
170 <param name="column_type" value="text" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
171 <param name="operation" value="first" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
172 </repeat>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
173 </conditional>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
174 <assert_command>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
175 <has_text_matching expression="-a +extract" />
9
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
176 <has_text_matching expression="-e +&apos;1&apos;" />
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
177 <has_text_matching expression="-c +&apos;anno5&apos;" />
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
178 <has_text_matching expression="-t +text" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
179 <has_text_matching expression="-o +first" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
180 </assert_command>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
181 </test>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
182 <test>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
183 <param name="infile" value="gemini_load_result1.db" ftype="gemini.sqlite" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
184 <param name="annotate_source" value="anno.bed" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
185 <conditional name="a">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
186 <param name="a_selector" value="extract" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
187 <repeat name="actions">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
188 <param name="element_to_extract" value="1" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
189 <param name="column_name" value="anno5" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
190 <param name="column_type" value="text" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
191 <param name="operation" value="first" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
192 </repeat>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
193 <repeat name="actions">
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
194 <param name="element_to_extract" value="2" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
195 <param name="column_name" value="anno6" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
196 <param name="column_type" value="integer" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
197 <param name="operation" value="first" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
198 </repeat>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
199 </conditional>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
200 <assert_command>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
201 <has_text_matching expression="-a +extract" />
9
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
202 <has_text_matching expression="-e +&apos;1,2&apos;" />
de9bdb014464 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 251c6024b4ff643a63e17fbfe2590998c2bae3a7"
iuc
parents: 8
diff changeset
203 <has_text_matching expression="-c +&apos;anno5,anno6&apos;" />
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
204 <has_text_matching expression="-t +text,integer" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
205 <has_text_matching expression="-o +first,first" />
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
206 </assert_command>
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
207 </test>
0
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
208 </tests>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
209 <help><![CDATA[
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
210 **What it does**
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
211
8
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
212 Given an existing GEMINI database and an annotation source in BED or VCF
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
213 format, the annotate tool will, for each variant in the variants table of the
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
214 database, screen for overlapping regions defined in the annotation source and
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
215 update one or more new columns of the variant record in the database based on
e5eb597e8f80 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gemini commit 29750462f6e725177dc5617c14ba28bcaeed9794
iuc
parents: 6
diff changeset
216 the result and the annotation found.
0
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
217 ]]></help>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
218 <expand macro="citations"/>
c30f03974122 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gemini commit e88029bb12e5262687267293f9d2a694eb00d3f0-dirty
iuc
parents:
diff changeset
219 </tool>