Mercurial > repos > iuc > umi_tools_group
diff macros.xml @ 9:3b8fecdf9058 draft
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
author | iuc |
---|---|
date | Tue, 27 Aug 2019 17:10:29 -0400 |
parents | 7d886fe41f56 |
children | a24f5b991320 |
line wrap: on
line diff
--- a/macros.xml Fri Jul 20 03:48:54 2018 -0400 +++ b/macros.xml Tue Aug 27 17:10:29 2019 -0400 @@ -1,5 +1,23 @@ <?xml version="1.0"?> <macros> + <macro name="barcode_sanitizer" > + <sanitizer invalid_char=""> + <valid initial="string.letters,string.digits"> + <add value="(" /><!-- left bracket --> + <add value=")" /><!-- right bracket --> + <add value="*" /><!-- asterisk --> + <add value="," /><!-- comma --> + <add value="." /><!-- period --> + <add value="<" /><!-- less than --> + <add value="=" /><!-- equals sign --> + <add value=">" /><!-- greater than --> + <add value="?" /><!-- question mark --> + <add value="_" /><!-- underscore --> + <add value="{"/><!-- left brace --> + <add value="}"/><!-- right brace --> + </valid> + </sanitizer> + </macro> <macro name="barcode2_conditional" > <conditional name="barcode"> <param name="barcode_select" argument="--split-barcode" type="select" label="Barcode on both reads?"> @@ -11,6 +29,7 @@ <param name="bc_pattern2" argument="--bc-pattern2" type="text" value="" label="Barcode pattern for second read" help="Use this option to specify the format of the UMI/barcode for the second read pair if required." > + <expand macro="barcode_sanitizer" /> </param> </when> </conditional> @@ -55,7 +74,7 @@ <yield /> </requirements> </xml> - <token name="@VERSION@">0.5.3</token> + <token name="@VERSION@">0.5.5</token> <token name="@COMMAND_LINK@"><![CDATA[ #set $gz = False #if $input_type.type == 'single':