annotate bowtie2_macros.xml @ 28:cd659e8cc5fa draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 37384c4ef9fee552914e0e13897ae4c37ef2d24a"
author iuc
date Mon, 31 Jan 2022 08:31:43 +0000
parents a6d65b0c67af
children 03e9b2fbc005
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
1 <macros>
28
cd659e8cc5fa "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 37384c4ef9fee552914e0e13897ae4c37ef2d24a"
iuc
parents: 27
diff changeset
2 <token name="@TOOL_VERSION@">2.4.5</token>
15
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
3 <!-- Import this at the top of your command block and then
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
4 define rg_auto_name. -->
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
5 <token name="@define_read_group_helpers@">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
6 #def identifier_or_name($input1)
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
7 #if hasattr($input1, 'element_identifier')
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
8 #return $input1.element_identifier
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
9 #else
17
66f992977578 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit 0f9578a65e86cc159aadf1a9b37aaf3621f19456
iuc
parents: 15
diff changeset
10 #return $input1.name.rstrip('.gz').rstrip('.fastq').rstrip('.fq').rstrip('.bz2')
15
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
11 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
12 #end def
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
13
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
14 #def clean(name)
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
15 #import re
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
16 #set $name_clean = re.sub('[^\w\-_\.]', '_', $name)
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
17 #return $name_clean
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
18 #end def
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
19
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
20 #def read_group_name_default($input1, $input2=None)
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
21 #if $input2 is None
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
22 #return $clean($identifier_or_name($input1))
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
23 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
24 #import itertools
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
25 #set $input_name1 = $clean($identifier_or_name($input1))
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
26 #set $input_name2 = $clean($identifier_or_name($input2))
27
a6d65b0c67af "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d142d9cd5a8db8a87184c4b7622ea8de8355894f"
iuc
parents: 26
diff changeset
27 #set $common_prefix = ''.join([c[0] for c in itertools.takewhile(lambda x: all(x[0] == y for y in x), zip(*[$input_name1, $input_name2]))])
15
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
28 #if len($common_prefix) > 3
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
29 #return $common_prefix
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
30 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
31 #return $input_name1
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
32 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
33 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
34 #end def
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
35
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
36 #def format_read_group(prefix, value, quote='', arg='')
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
37 #if $value
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
38 #return $arg + $quote + $prefix + $value + $quote
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
39 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
40 #return ''
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
41 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
42 #end def
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
43
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
44 #def rg_param(name)
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
45 #if $varExists("rg")
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
46 #return $rg.get($name, None)
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
47 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
48 #return $getVar($name, None)
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
49 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
50 #end def
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
51
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
52 #set $use_rg = True
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
53 </token>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
54 <!-- preconditions use_rg and rg_auto_name have been
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
55 defined.
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
56 -->
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
57 <token name="@set_read_group_vars@">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
58 #if $use_rg
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
59 #if $rg_param('read_group_id_conditional') is None
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
60 #set $rg_id = $rg_auto_name
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
61 #elif $rg_param('read_group_id_conditional').do_auto_name
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
62 #set $rg_id = $rg_auto_name
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
63 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
64 #set $rg_id = str($rg_param('read_group_id_conditional').ID)
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
65 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
66
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
67 #if $rg_param('read_group_sm_conditional') is None
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
68 #set $rg_sm = ''
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
69 #elif $rg_param('read_group_sm_conditional').do_auto_name
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
70 #set $rg_sm = $rg_auto_name
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
71 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
72 #set $rg_sm = str($rg_param('read_group_sm_conditional').SM)
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
73 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
74
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
75 #if $rg_param('PL')
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
76 #set $rg_pl = str($rg_param('PL'))
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
77 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
78 #set $rg_pl = ''
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
79 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
80
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
81 #if $rg_param('read_group_lb_conditional') is None
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
82 #set $rg_lb = ''
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
83 #elif $rg_param('read_group_lb_conditional').do_auto_name
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
84 #set $rg_lb = $rg_auto_name
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
85 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
86 #set $rg_lb = str($rg_param('read_group_lb_conditional').LB)
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
87 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
88
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
89 #if $rg_param('CN')
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
90 #set $rg_cn = str($rg_param('CN'))
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
91 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
92 #set $rg_cn = ''
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
93 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
94
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
95 #if $rg_param("DS")
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
96 #set $rg_ds = str($rg_param("DS"))
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
97 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
98 #set $rg_ds = ''
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
99 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
100
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
101 #if $rg_param("DT")
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
102 #set $rg_dt = str($rg_param("DT"))
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
103 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
104 #set $rg_dt = ''
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
105 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
106
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
107 #if $rg_param("FO")
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
108 #set $rg_fo = str($rg_param("FO"))
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
109 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
110 #set $rg_fo = ''
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
111 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
112
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
113 #if $rg_param("KS")
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
114 #set $rg_ks = str($rg_param("KS"))
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
115 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
116 #set $rg_ks = ''
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
117 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
118
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
119 #if $rg_param("PG")
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
120 #set $rg_pg = str($rg_param("PG"))
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
121 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
122 #set $rg_pg = ''
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
123 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
124
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
125 #if $rg_param("PI") != None
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
126 #set $rg_pi = str($rg_param("PI"))
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
127 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
128 #set $rg_pi = ''
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
129 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
130
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
131 #if $rg_param("PU")
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
132 #set $rg_pu = str($rg_param("PU"))
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
133 #else
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
134 #set $rg_pu = ''
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
135 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
136 #end if
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
137 </token>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
138 <token name="@set_use_rg_var@">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
139 #set $use_rg = str($rg.rg_selector) != "do_not_set"
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
140 </token>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
141 <xml name="read_group_auto_name_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
142 <param name="do_auto_name" type="boolean" label="Auto-assign" help="Use dataset name or collection information to automatically assign this value" checked="false" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
143 <when value="true">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
144 </when>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
145 <when value="false">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
146 <yield />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
147 </when>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
148 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
149 <xml name="read_group_id_param">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
150 <param name="ID" type="text" value="" label="Read group identifier (ID)" help="This value must be unique among multiple samples in your experiment" optional="false">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
151 <validator type="empty_field" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
152 </param>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
153 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
154 <xml name="read_group_id_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
155 <conditional name="read_group_id_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
156 <expand macro="read_group_auto_name_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
157 <expand macro="read_group_id_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
158 </expand>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
159 </conditional>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
160 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
161 <xml name="read_group_sm_param">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
162 <param name="SM" type="text" value="" label="Read group sample name (SM)" help="This value should be descriptive. Use pool name where a pool is being sequenced" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
163 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
164 <xml name="read_group_sm_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
165 <conditional name="read_group_sm_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
166 <expand macro="read_group_auto_name_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
167 <expand macro="read_group_sm_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
168 </expand>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
169 </conditional>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
170 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
171 <!-- Above SM param is optional (for SAM/BAM spec, this is required
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
172 as per Picard.
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
173 -->
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
174 <xml name="read_group_sm_param_required">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
175 <param name="SM" type="text" value="" label="Read group sample name (SM)" optional="false" help="This value should be descriptive. Use pool name where a pool is being sequenced">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
176 <validator type="empty_field" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
177 </param>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
178 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
179 <xml name="read_group_sm_required_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
180 <conditional name="read_group_sm_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
181 <expand macro="read_group_auto_name_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
182 <expand macro="read_group_sm_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
183 </expand>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
184 </conditional>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
185 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
186 <xml name="read_group_pl_param">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
187 <param name="PL" type="select" label="Platform/technology used to produce the reads (PL)">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
188 <option value="CAPILLARY">CAPILLARY</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
189 <option value="LS454">LS454</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
190 <option selected="True" value="ILLUMINA">ILLUMINA</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
191 <option value="SOLID">SOLID</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
192 <option value="HELICOS">HELICOS</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
193 <option value="IONTORRENT">IONTORRENT</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
194 <option value="PACBIO">PACBIO</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
195 </param>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
196 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
197 <xml name="read_group_lb_param">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
198 <param name="LB" type="text" label="Library name (LB)" optional="true" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
199 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
200 <xml name="read_group_lb_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
201 <conditional name="read_group_lb_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
202 <expand macro="read_group_auto_name_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
203 <expand macro="read_group_lb_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
204 </expand>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
205 </conditional>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
206 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
207 <xml name="read_group_lb_required_param">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
208 <param name="LB" type="text" label="Library name (LB)" optional="false">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
209 <validator type="empty_field" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
210 </param>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
211 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
212 <xml name="read_group_lb_required_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
213 <conditional name="read_group_lb_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
214 <expand macro="read_group_auto_name_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
215 <expand macro="read_group_lb_required_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
216 </expand>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
217 </conditional>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
218 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
219 <xml name="read_group_cn_param">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
220 <param name="CN" type="text" label="Sequencing center that produced the read (CN)" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
221 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
222 <xml name="read_group_ds_param">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
223 <param name="DS" type="text" label="Description (DS)" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
224 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
225 <xml name="read_group_dt_param">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
226 <param name="DT" type="text" label="Date that run was produced (DT)" help="ISO8601 format date or date/time, like YYYY-MM-DD" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
227 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
228 <xml name="read_group_fo_param">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
229 <param name="FO" type="text" optional="true" label="Flow order (FO)" help="The array of nucleotide bases that correspond to the nucleotides used for each flow of each read. Multi-base flows are encoded in IUPAC format, and non-nucleotide flows by various other characters. Format: /\*|[ACMGRSVTWYHKDBN]+/">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
230 <validator type="regex" message="Invalid flow order">\*|[ACMGRSVTWYHKDBN]+$</validator>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
231 </param>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
232 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
233 <xml name="read_group_ks_param">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
234 <param name="KS" type="text" label="The array of nucleotide bases that correspond to the key sequence of each read (KS)" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
235 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
236 <xml name="read_group_pg_param">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
237 <param name="PG" type="text" label="Programs used for processing the read group (PG)" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
238 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
239 <xml name="read_group_pi_param">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
240 <param name="PI" type="integer" optional="true" label="Predicted median insert size (PI)" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
241 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
242 <xml name="read_group_pu_param">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
243 <param name="PU" type="text" label="Platform unit (PU)" help="Unique identifier (e.g. flowcell-barcode.lane for Illumina or slide for SOLiD)" optional="True" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
244 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
245 <xml name="read_group_pu_required_param">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
246 <param name="PU" type="text" label="Platform unit (PU)" help="Unique identifier (e.g. flowcell-barcode.lane for Illumina or slide for SOLiD)" optional="False" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
247 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
248 <!-- Only ID is required - all groups available -->
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
249 <xml name="read_group_inputs_spec">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
250 <expand macro="read_group_id_conditional" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
251 <expand macro="read_group_sm_conditional" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
252 <expand macro="read_group_pl_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
253 <expand macro="read_group_lb_conditional" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
254 <expand macro="read_group_cn_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
255 <expand macro="read_group_ds_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
256 <expand macro="read_group_dt_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
257 <expand macro="read_group_fo_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
258 <expand macro="read_group_ks_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
259 <expand macro="read_group_pg_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
260 <expand macro="read_group_pi_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
261 <expand macro="read_group_pu_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
262 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
263 <!-- ID, SM, LB, PU, PL all required - not ks, pg, or fo params. -->
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
264 <xml name="read_group_inputs_picard">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
265 <expand macro="read_group_id_conditional" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
266 <expand macro="read_group_sm_required_conditional" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
267 <expand macro="read_group_lb_required_conditional" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
268 <expand macro="read_group_pl_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
269 <expand macro="read_group_pu_required_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
270 <expand macro="read_group_cn_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
271 <expand macro="read_group_ds_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
272 <expand macro="read_group_pi_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
273 <expand macro="read_group_dt_param" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
274 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
275 <xml name="read_group_conditional">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
276 <conditional name="rg">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
277 <param name="rg_selector" type="select" label="Set read groups information?" help="Specifying read group information can greatly simplify your downstream analyses by allowing combining multiple datasets.">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
278 <option value="set">Set read groups (SAM/BAM specification)</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
279 <option value="set_picard">Set read groups (Picard style)</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
280 <option value="set_id_auto">Automatically assign ID using name of history item(s)</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
281 <option value="do_not_set" selected="True">Do not set</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
282 </param>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
283 <when value="set_picard">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
284 <expand macro="read_group_inputs_picard" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
285 </when>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
286 <when value="set">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
287 <expand macro="read_group_inputs_spec" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
288 </when>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
289 <when value="set_id_auto">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
290 </when>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
291 <when value="do_not_set">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
292 </when>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
293 </conditional>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
294 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
295 <xml name="paired_end_options">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
296 <conditional name="paired_options">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
297 <param name="paired_options_selector" type="select" label="Do you want to set paired-end options?" help="See &quot;Alignment Options&quot; section of Help below for information">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
298 <option value="no" selected="True">No</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
299 <option value="yes">Yes</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
300 </param>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
301 <when value="yes">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
302 <param argument="-I" type="integer" value="0" min="0" label="Set the minimum fragment length for valid paired-end alignments"
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
303 help="E.g. if `-I 60` is specified and a paired-end alignment consists of two 20-bp alignments in the appropriate orientation with a 20-bp gap between them, that alignment is considered valid (as long as `-X` is also satisfied). A 19-bp gap would not be valid in that case. If trimming options `-3` or `-5` are also used, the `-I` constraint is applied with respect to the untrimmed mates. The larger the difference between `-I` and `-X`, the slower Bowtie 2 will run. This is because larger differences bewteen `-I` and `-X` require that Bowtie 2 scan a larger window to determine if a concordant alignment exists. For typical fragment length ranges (200 to 400 nucleotides), Bowtie 2 is very efficient. Default=0"/>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
304 <param argument="-X" type="integer" value="500" min="0" label="Set the maximum fragment length for valid paired-end alignments"
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
305 help="E.g. if `-X 100` is specified and a paired-end alignment consists of two 20-bp alignments in the proper orientation with a 60-bp gap between them, that alignment is considered valid (as long as `-I` is also satisfied). A 61-bp gap would not be valid in that case. If trimming options `-3` or `-5` are also used, the `-X` constraint is applied with respect to the untrimmed mates, not the trimmed mates; Default=500"/>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
306 <param name="fr_rf_ff" type="select" display="radio" label="Select the upstream/downstream mate orientations for a valid paired-end alignment against the forward reference strand"
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
307 help="--fr, --rf, or --ff; E.g., if `--fr` is specified and there is a candidate paired-end alignment where mate 1 appears upstream of the reverse complement of mate 2 and the fragment length constraints (`-I` and `-X`) are met, that alignment is valid. Also, if mate 2 appears upstream of the reverse complement of mate 1 and all other constraints are met, that too is valid. `--rf` likewise requires that an upstream mate1 be reverse-complemented and a downstream mate2 be forward-oriented. `--ff` requires both an upstream mate 1 and a downstream mate 2 to be forward-oriented; Default=--fr (appropriate for Illumina's Paired-end Sequencing Assay)">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
308 <option value="--fr" selected="True">--fr</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
309 <option value="--rf">--rf</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
310 <option value="--ff">--ff</option>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
311 </param>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
312 <param argument="--no-mixed" name="no_mixed" type="boolean" truevalue="--no-mixed" falsevalue="" checked="False" label="Disable no-mixed behavior" help="--no-mixed; By default, when `bowtie2` cannot find a concordant or discordant alignment for a pair, it then tries to find alignments for the individual mates; default=False"/>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
313 <param argument="--no-discordant" name="no_discordant" type="boolean" truevalue="--no-discordant" falsevalue="" checked="False" label="Disable no-discordant behavior" help="--no-discordant; By default, `bowtie2` looks for discordant alignments if it cannot find any concordant alignments. A discordant alignment is an alignment where both mates align uniquely, but that does not satisfy the paired-end constraints (`--fr`/`--rf`/`--ff`, `-I`, `-X`); default=False"/>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
314 <param argument="--dovetail" name="dovetail" type="boolean" truevalue="--dovetail" falsevalue="" checked="False" label="Allow mate dovetailing" help="--dovetail; If the mates `dovetail`, that is if one mate alignment extends past the beginning of the other such that the wrong mate begins upstream, consider that to be concordant. Default=False"/>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
315 <param argument="--no-contain" name="no_contain" type="boolean" truevalue="--no-contain" falsevalue="" checked="False" label="Disallow one mate alignment to contain another" help="--no-contain; If one mate alignment contains the other, consider that to be non-concordant. Default=False"/>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
316 <param argument="--no-overlap" name="no_overlap" type="boolean" truevalue="--no-overlap" falsevalue="" checked="False" label="Disallow mate alignments to overlap" help="--no-overlap; If one mate alignment overlaps the other at all, consider that to be non-concordant. Default=False"/>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
317 </when>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
318 <when value="no">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
319 <!-- do nothing -->
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
320 </when>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
321 </conditional>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
322 </xml>
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
323 <xml name="align_unalign">
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
324 <param name="unaligned_file" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Write unaligned reads (in fastq format) to separate file(s)" help="--un/--un-conc (possibly with -gz or -bz2); This triggers --un parameter for single reads and --un-conc for paired reads" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
325 <param name="aligned_file" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Write aligned reads (in fastq format) to separate file(s)" help="--al/--al-conc (possibly with -gz or -bz2); This triggers --al parameter for single reads and --al-conc for paired reads" />
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
326 </xml>
23
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
327 <xml name="dbKeyActions">
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
328 <conditional name="reference_genome.source">
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
329 <when value="indexed">
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
330 <action type="metadata" name="dbkey">
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
331 <option type="from_data_table" name="bowtie2_indexes" column="1">
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
332 <filter type="param_value" ref="reference_genome.index" column="0"/>
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
333 </option>
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
334 </action>
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
335 </when>
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
336 <when value="history">
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
337 <action type="metadata" name="dbkey">
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
338 <option type="from_param" name="reference_genome.own_file" param_attribute="dbkey" />
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
339 </action>
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
340 </when>
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
341 </conditional>
17062a0decb7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit d611e968158b012c10d3f8b661af1f07313f06d7
iuc
parents: 17
diff changeset
342 </xml>
15
43d12513224b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit cf554b9b69c32acb484c34fdc60384fa49c7c482
iuc
parents:
diff changeset
343 </macros>