annotate vcfanno.xml @ 0:fb20fa735dfe draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
author iuc
date Thu, 21 Jan 2021 10:33:49 +0000
parents
children 4f3c5e634679
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
2 <tool id="vcfanno" name="vcfanno" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
3 <description>VCF annotation</description>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
4 <macros>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
5 <import>macros.xml</import>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
6 </macros>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
7
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
8 <expand macro="xrefs"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
9
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
10 <expand macro="requirements"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
11
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
12 <expand macro="version_command"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
13
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
14 <!--
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
15 In future versions - figure out how to safely add in lua support without posing security risk
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
16 (Should be doable but requires writing some lua unfortunately to make custom sandboxes)
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
17 -->
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
18 <command detect_errors="exit_code"><![CDATA[
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
19 ln -s '$config_toml' config.toml &&
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
20 ln -s '$input_vcf' input.vcf &&
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
21
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
22 #for $i, $annotation in enumerate($annotations):
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
23 #set $ext = str($annotation.type.type_select)
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
24 ln -s '$annotation.type.annotation' 'input_${i}.${ext}' &&
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
25 ### These sets of conversions etc shouldn't be necessary but the vcfanno in Galaxy looks for an index file regardless of compression for some reason and if not present fails.
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
26 #if $ext == 'vcf' or $ext == 'bed':
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
27 bgzip 'input_${i}.${ext}' &&
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
28 #set $ext = $ext + ".gz"
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
29 #end if
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
30 #if '.gz' in $ext[-3:]:
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
31 tabix -p vcf 'input_${i}.${ext}' &&
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
32 #elif $ext == 'bam':
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
33 ln -s '${annotation.type.annotation.metadata.bam_index}' input_${i}.bam.bai &&
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
34 #end if
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
35 #end for
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
36 vcfanno -p \${GALAXY_SLOTS:-4}
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
37 #if $ends:
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
38 '$ends'
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
39 #end if
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
40 #if $permissive_overlap:
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
41 '$permissive_overlap'
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
42 #end if
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
43 config.toml
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
44 input.vcf
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
45 >
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
46 '$out_vcf'
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
47 ]]></command>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
48 <configfiles>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
49 <configfile name="config_toml">#
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
50 #for $i, $annotation in enumerate($annotations):
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
51 #set $ext = $annotation.type.type_select
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
52 #if $ext == 'vcf' or $ext == 'bed':
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
53 #set $ext = $ext + ".gz"
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
54 #end if
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
55 #if $ext == 'vcf.gz' or $ext == 'bam':
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
56 #set $annotation_names = list()
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
57 #set $annotation_fields = list()
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
58 #set $annotation_ops = list()
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
59 #for $field in $annotation.type.fields:
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
60 #silent $annotation_names.append('"%s"' %(str($field.name)))
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
61 #silent $annotation_fields.append('"%s"' %(str($field.field)))
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
62 #silent $annotation_ops.append('"%s"' %(str($field.op)))
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
63 #end for
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
64 #set $names = "names= [%s]" % (", ".join($annotation_names))
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
65 #set $fields = "fields= [%s]" % (", ".join($annotation_fields))
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
66 #set $ops = "ops= [%s]" % (", ".join($annotation_ops))
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
67 #elif $ext == 'bed.gz':
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
68 #set $annotation_names = list()
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
69 #set $annotation_columns = list()
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
70 #set $annotation_ops = list()
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
71 #for $field in $annotation.type.fields:
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
72 #silent $annotation_names.append('"%s"' %(str($field.name)))
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
73 #silent $annotation_columns.append( str($field.columns))
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
74 #silent $annotation_ops.append('"%s"' %(str($field.op)))
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
75 #end for
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
76 #set $names = "names= [%s]" % (", ".join($annotation_names))
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
77 #set $fields = "columns= [%s]" % (", ".join($annotation_columns))
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
78 #set $ops = "ops= [%s]" % (", ".join($annotation_ops))
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
79 #end if
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
80 [[annotation]]
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
81 file="input_${i}.${ext}"
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
82 ${names}
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
83 ${fields}
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
84 ${ops}
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
85
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
86 #end for
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
87 </configfile>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
88 </configfiles>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
89 <inputs>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
90 <param name="input_vcf" type="data" format="vcf,vcf_bgzip" label="VCF to be annotated"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
91 <param argument="-ends" type="boolean" checked="false" truevalue="-ends" falsevalue="" label="annotate the start and end as well as the interval itself?"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
92 <param argument="-permissive-overlap" type="boolean" checked="false" truevalue="-permissive-overlap" falsevalue="" label="annotate with an overlapping variant even it doesn't share the same ref and alt alleles." help="Default is to require exact match between variants."/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
93 <repeat name="annotations" title="Input annotations" min="1">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
94 <conditional name="type">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
95 <param name="type_select" type="select">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
96 <option value="vcf" selected="true">VCF</option>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
97 <option value="vcf.gz">VCF.bgzip</option>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
98 <option value="bed">BED</option>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
99 <option value="bam">BAM</option>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
100 </param>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
101 <when value="vcf">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
102 <param name="annotation" type="data" format="vcf" label="Annotation file"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
103 <repeat name="fields" title="Fields" min="1">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
104 <param name="name" type="text"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
105 <param name="field" type="text" help="ID and FILTER are special fields that pull the ID and FILTER columns from the VCF"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
106 <param name="op" type="select" label="Op" help="In most cases, we will have a single annotation entry for each entry (variant) in the query VCF, in which case the self op is the best choice. However, it is possible that there will be multiple annotations from a single annotation file--in this case, the op determines how the many values are reduced. In nearly all cases, if you are annotating with a VCF, use self">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
107 <expand macro="ops"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
108 </param>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
109 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
110 </when>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
111 <when value="vcf.gz">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
112 <param name="annotation" type="data" format="vcf_bgzip" label="Annotation file"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
113 <repeat name="fields" title="Fields" min="1">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
114 <param name="name" type="text"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
115 <param name="field" type="text" help="ID and FILTER are special fields that pull the ID and FILTER columns from the VCF"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
116 <param name="op" type="select" label="Op" help="In most cases, we will have a single annotation entry for each entry (variant) in the query VCF, in which case the self op is the best choice. However, it is possible that there will be multiple annotations from a single annotation file--in this case, the op determines how the many values are reduced. In nearly all cases, if you are annotating with a VCF, use self">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
117 <expand macro="ops"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
118 </param>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
119 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
120 </when>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
121 <when value="bed">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
122 <param name="annotation" type="data" format="bed" label="Annotation file"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
123 <repeat name="fields" title="Fields" min="1">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
124 <param name="name" type="text"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
125 <param name="columns" type="text" help="(1-based) column number from which to pull the value for the op"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
126 <param name="op" type="select" label="Op">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
127 <expand macro="ops"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
128 </param>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
129 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
130 </when>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
131 <when value="bam">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
132 <param name="annotation" type="data" format="bam" label="Annotation file"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
133 <repeat name="fields" title="Fields" min="1">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
134 <param name="name" type="text"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
135 <param name="field" type="select" help="Field in the BAM to pull value from">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
136 <option value="depth">Depth (count)</option>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
137 <option value="coverage">Coverage</option>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
138 <option value="mapq">mapq (mapping quality)</option>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
139 <option value="seq">seq</option>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
140 <option value="DP2">DP2</option>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
141 </param>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
142 <param name="op" type="select" label="Op" help="Op to perform on the field. Note: DP2 field always will result in DP2 op">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
143 <expand macro="ops"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
144 </param>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
145 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
146 </when>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
147 </conditional>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
148 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
149 <!-- <repeat name="postannotations" title="Input postannotations">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
150 </repeat> -->
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
151 <!-- Until we figure out lua sanitization there's really no point to adding this either-->
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
152 </inputs>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
153 <outputs>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
154 <!-- standard -->
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
155 <data name="out_vcf" format="vcf" label="${tool.name} on ${on_string}: Result"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
156 </outputs>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
157 <tests>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
158 <!-- #1 default -->
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
159 <test expect_num_outputs="1">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
160 <param name="input_vcf" value="query.vcf.gz" ftype="vcf_bgzip"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
161 <repeat name="annotations">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
162 <conditional name="type">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
163 <param name="type_select" value="vcf.gz" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
164 <param name="annotation" value="exac.vcf.gz" ftype="vcf_bgzip"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
165 <repeat name="fields">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
166 <param name="name" value="AC_AFR" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
167 <param name="field" value="AC_AFR" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
168 <param name="op" value="first" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
169 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
170 <repeat name="fields">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
171 <param name="name" value="AC_AMR" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
172 <param name="field" value="AC_AMR" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
173 <param name="op" value="first" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
174 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
175 <repeat name="fields">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
176 <param name="name" value="AC_EAS" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
177 <param name="field" value="AC_EAS" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
178 <param name="op" value="first" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
179 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
180 <repeat name="fields">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
181 <param name="name" value="ID" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
182 <param name="field" value="ID" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
183 <param name="op" value="first" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
184 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
185 </conditional>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
186 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
187 <repeat name="annotations">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
188 <conditional name="type">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
189 <param name="type_select" value="bam" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
190 <param name="annotation" value="ex.bam" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
191 <repeat name="fields">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
192 <param name="name" value="mapq" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
193 <param name="field" value="mapq" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
194 <param name="op" value="mean" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
195 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
196 <repeat name="fields">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
197 <param name="name" value="coverage" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
198 <param name="field" value="coverage" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
199 <param name="op" value="sum" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
200 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
201 <repeat name="fields">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
202 <param name="name" value="xdp2" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
203 <param name="field" value="DP2" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
204 <param name="op" value="self" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
205 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
206 </conditional>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
207 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
208 <repeat name="annotations">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
209 <conditional name="type">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
210 <param name="type_select" value="bed" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
211 <param name="annotation" value="fitcons.bed" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
212 <repeat name="fields">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
213 <param name="name" value="lua_start" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
214 <param name="columns" value="4" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
215 <param name="op" value="first" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
216 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
217 <repeat name="fields">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
218 <param name="name" value="lua_end" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
219 <param name="columns" value="4" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
220 <param name="op" value="first" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
221 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
222 <repeat name="fields">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
223 <param name="name" value="lua_len" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
224 <param name="columns" value="4" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
225 <param name="op" value="first" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
226 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
227 <repeat name="fields">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
228 <param name="name" value="lua_mean" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
229 <param name="columns" value="4" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
230 <param name="op" value="first" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
231 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
232 <repeat name="fields">
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
233 <param name="name" value="lua_loc" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
234 <param name="columns" value="4" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
235 <param name="op" value="first" />
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
236 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
237 </conditional>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
238 </repeat>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
239 <output name="out_vcf" file="vcfanno_result.vcf"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
240 </test>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
241 </tests>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
242 <help><![CDATA[
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
243 .. class:: infomark
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
244
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
245 **What it does**
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
246
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
247 @WID@
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
248
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
249 Note this version of vcfanno does not support lua code functionality
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
250
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
251 **Input**
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
252
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
253 - VCF file to be annotated
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
254
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
255 - BAM / BED / VCF files to annotate with
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
256
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
257 **Output**
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
258
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
259 - Annotated VCF
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
260
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
261 **References**
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
262
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
263 @REFERENCES@
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
264 ]]></help>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
265 <expand macro="citations"/>
fb20fa735dfe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/vcfanno/ commit d962b44c5d3fecd1a315d6fbda8831d6de1b2801"
iuc
parents:
diff changeset
266 </tool>