annotate read_group_macros.xml @ 3:bfaa0d22c2e4 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 689a4aeaf70a8e77be8589b1dcceb190f9df626a
author iuc
date Wed, 26 Jul 2023 20:02:13 +0000
parents 82217dccdbcf
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
1 <macros>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
2 <!-- Import this at the top of your command block and then
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
3 define rg_auto_name. -->
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
4 <token name="@define_read_group_helpers@">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
5 #def identifier_or_name($input1)
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
6 #if hasattr($input1, 'element_identifier')
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
7 #return $input1.element_identifier
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
8 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
9 #return $input1.name.rstrip('.gz').rstrip('.fastq').rstrip('.fq')
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
10 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
11 #end def
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
12
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
13 #def clean(name)
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
14 #import re
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
15 #set $name_clean = re.sub('[^\w\-_\.]', '_', $name)
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
16 #return $name_clean
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
17 #end def
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
18
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
19 #def read_group_name_default($input1, $input2=None)
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
20 #if $input2 is None
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
21 #return $clean($identifier_or_name($input1))
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
22 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
23 #import itertools
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
24 #set $input_name1 = $clean($identifier_or_name($input1))
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
25 #set $input_name2 = $clean($identifier_or_name($input2))
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
26 #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]))])
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
27 #if len($common_prefix) > 3
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
28 #return $common_prefix
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
29 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
30 #return $input_name1
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
31 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
32 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
33 #end def
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
34
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
35 #def format_read_group(prefix, value, quote='', arg='')
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
36 #if $value
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
37 #return $arg + $quote + $prefix + $value + $quote
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
38 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
39 #return ''
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
40 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
41 #end def
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
42
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
43 #def rg_param(name)
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
44 #if $varExists("rg")
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
45 #return $rg.get($name, None)
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
46 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
47 #return $getVar($name, None)
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
48 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
49 #end def
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
50
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
51 #set $use_rg = True
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
52 </token>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
53 <!-- preconditions use_rg and rg_auto_name have been
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
54 defined.
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
55 -->
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
56 <token name="@set_read_group_vars@">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
57 #if $use_rg
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
58 #if $rg_param('read_group_id_conditional') is None
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
59 #set $rg_id = $rg_auto_name
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
60 #elif $rg_param('read_group_id_conditional').do_auto_name
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
61 #set $rg_id = $rg_auto_name
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
62 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
63 #set $rg_id = str($rg_param('read_group_id_conditional').ID)
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
64 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
65
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
66 #if $rg_param('read_group_sm_conditional') is None
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
67 #set $rg_sm = ''
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
68 #elif $rg_param('read_group_sm_conditional').do_auto_name
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
69 #set $rg_sm = $rg_auto_name
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
70 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
71 #set $rg_sm = str($rg_param('read_group_sm_conditional').SM)
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
72 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
73
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
74 #if $rg_param('PL')
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
75 #set $rg_pl = str($rg_param('PL'))
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
76 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
77 #set $rg_pl = ''
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
78 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
79
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
80 #if $rg_param('read_group_lb_conditional') is None
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
81 #set $rg_lb = ''
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
82 #elif $rg_param('read_group_lb_conditional').do_auto_name
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
83 #set $rg_lb = $rg_auto_name
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
84 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
85 #set $rg_lb = str($rg_param('read_group_lb_conditional').LB)
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
86 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
87
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
88 #if $rg_param('CN')
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
89 #set $rg_cn = str($rg_param('CN'))
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
90 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
91 #set $rg_cn = ''
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
92 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
93
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
94 #if $rg_param("DS")
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
95 #set $rg_ds = str($rg_param("DS"))
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
96 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
97 #set $rg_ds = ''
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
98 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
99
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
100 #if $rg_param("DT")
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
101 #set $rg_dt = str($rg_param("DT"))
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
102 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
103 #set $rg_dt = ''
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
104 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
105
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
106 #if $rg_param("FO")
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
107 #set $rg_fo = str($rg_param("FO"))
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
108 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
109 #set $rg_fo = ''
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
110 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
111
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
112 #if $rg_param("KS")
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
113 #set $rg_ks = str($rg_param("KS"))
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
114 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
115 #set $rg_ks = ''
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
116 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
117
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
118 #if $rg_param("PG")
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
119 #set $rg_pg = str($rg_param("PG"))
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
120 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
121 #set $rg_pg = ''
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
122 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
123
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
124 #if $rg_param("PI") != None
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
125 #set $rg_pi = str($rg_param("PI"))
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
126 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
127 #set $rg_pi = ''
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
128 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
129
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
130 #if $rg_param("PU")
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
131 #set $rg_pu = str($rg_param("PU"))
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
132 #else
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
133 #set $rg_pu = ''
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
134 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
135 #end if
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
136 </token>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
137 <token name="@set_use_rg_var@">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
138 #set $use_rg = str($rg.rg_selector) != "do_not_set"
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
139 </token>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
140 <xml name="read_group_auto_name_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
141 <param name="do_auto_name" type="boolean" label="Auto-assign" help="Use dataset name or collection information to automatically assign this value" checked="no" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
142 <when value="true">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
143 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
144 <when value="false">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
145 <yield />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
146 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
147 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
148 <xml name="read_group_id_param">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
149 <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">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
150 <validator type="empty_field" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
151 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
152 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
153 <xml name="read_group_id_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
154 <conditional name="read_group_id_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
155 <expand macro="read_group_auto_name_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
156 <expand macro="read_group_id_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
157 </expand>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
158 </conditional>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
159 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
160 <xml name="read_group_sm_param">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
161 <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" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
162 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
163 <xml name="read_group_sm_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
164 <conditional name="read_group_sm_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
165 <expand macro="read_group_auto_name_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
166 <expand macro="read_group_sm_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
167 </expand>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
168 </conditional>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
169 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
170 <!-- Above SM param is optional (for SAM/BAM spec, this is required
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
171 as per Picard.
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
172 -->
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
173 <xml name="read_group_sm_param_required">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
174 <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">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
175 <validator type="empty_field" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
176 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
177 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
178 <xml name="read_group_sm_required_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
179 <conditional name="read_group_sm_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
180 <expand macro="read_group_auto_name_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
181 <expand macro="read_group_sm_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
182 </expand>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
183 </conditional>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
184 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
185 <xml name="read_group_pl_param">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
186 <param name="PL" type="select" label="Platform/technology used to produce the reads (PL)">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
187 <option value="CAPILLARY">CAPILLARY</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
188 <option value="LS454">LS454</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
189 <option selected="True" value="ILLUMINA">ILLUMINA</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
190 <option value="SOLID">SOLID</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
191 <option value="HELICOS">HELICOS</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
192 <option value="IONTORRENT">IONTORRENT</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
193 <option value="PACBIO">PACBIO</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
194 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
195 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
196 <xml name="read_group_lb_param">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
197 <param name="LB" type="text" label="Library name (LB)" optional="true" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
198 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
199 <xml name="read_group_lb_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
200 <conditional name="read_group_lb_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
201 <expand macro="read_group_auto_name_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
202 <expand macro="read_group_lb_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
203 </expand>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
204 </conditional>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
205 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
206 <xml name="read_group_lb_required_param">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
207 <param name="LB" type="text" label="Library name (LB)" optional="false">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
208 <validator type="empty_field" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
209 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
210 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
211 <xml name="read_group_lb_required_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
212 <conditional name="read_group_lb_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
213 <expand macro="read_group_auto_name_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
214 <expand macro="read_group_lb_required_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
215 </expand>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
216 </conditional>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
217 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
218 <xml name="read_group_cn_param">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
219 <param name="CN" type="text" label="Sequencing center that produced the read (CN)" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
220 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
221 <xml name="read_group_ds_param">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
222 <param name="DS" type="text" label="Description (DS)" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
223 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
224 <xml name="read_group_dt_param">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
225 <param name="DT" type="text" label="Date that run was produced (DT)" help="ISO8601 format date or date/time, like YYYY-MM-DD" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
226 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
227 <xml name="read_group_fo_param">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
228 <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]+/">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
229 <validator type="regex" message="Invalid flow order">\*|[ACMGRSVTWYHKDBN]+$</validator>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
230 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
231 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
232 <xml name="read_group_ks_param">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
233 <param name="KS" type="text" label="The array of nucleotide bases that correspond to the key sequence of each read (KS)" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
234 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
235 <xml name="read_group_pg_param">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
236 <param name="PG" type="text" label="Programs used for processing the read group (PG)" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
237 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
238 <xml name="read_group_pi_param">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
239 <param name="PI" type="integer" optional="true" label="Predicted median insert size (PI)" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
240 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
241 <xml name="read_group_pu_param">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
242 <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" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
243 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
244 <xml name="read_group_pu_required_param">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
245 <param name="PU" type="text" value="run" label="Platform unit (PU)" help="Unique identifier (e.g. flowcell-barcode.lane for Illumina or slide for SOLiD)" optional="False" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
246 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
247 <!-- Only ID is required - all groups available -->
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
248 <xml name="read_group_inputs_spec">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
249 <expand macro="read_group_id_conditional" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
250 <expand macro="read_group_sm_conditional" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
251 <expand macro="read_group_pl_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
252 <expand macro="read_group_lb_conditional" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
253 <expand macro="read_group_cn_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
254 <expand macro="read_group_ds_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
255 <expand macro="read_group_dt_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
256 <expand macro="read_group_fo_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
257 <expand macro="read_group_ks_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
258 <expand macro="read_group_pg_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
259 <expand macro="read_group_pi_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
260 <expand macro="read_group_pu_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
261 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
262 <!-- ID, SM, LB, PU, PL all required - not ks, pg, or fo params. -->
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
263 <xml name="read_group_inputs_picard">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
264 <expand macro="read_group_id_conditional" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
265 <expand macro="read_group_sm_required_conditional" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
266 <expand macro="read_group_lb_required_conditional" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
267 <expand macro="read_group_pl_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
268 <expand macro="read_group_pu_required_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
269 <expand macro="read_group_cn_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
270 <expand macro="read_group_ds_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
271 <expand macro="read_group_pi_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
272 <expand macro="read_group_dt_param" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
273 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
274 <xml name="read_group_conditional">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
275 <conditional name="rg">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
276 <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.">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
277 <option value="set">Set read groups (SAM/BAM specification)</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
278 <option value="set_picard">Set read groups (Picard style)</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
279 <option value="set_id_auto">Automatically assign ID</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
280 <option value="do_not_set" selected="True">Do not set</option>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
281 </param>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
282 <when value="set_picard">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
283 <expand macro="read_group_inputs_picard" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
284 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
285 <when value="set">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
286 <expand macro="read_group_inputs_spec" />
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
287 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
288 <when value="set_id_auto">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
289 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
290 <when value="do_not_set">
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
291 </when>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
292 </conditional>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
293 </xml>
82217dccdbcf "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bwa_mem2 commit 7998bbefd9bfd03bc0e92a922297b503832c0419"
iuc
parents:
diff changeset
294 </macros>