Mercurial > repos > iuc > umi_tools_dedup
diff macros.xml @ 8:983ec27dce7c draft
"planemo upload commit 28e58376e1d70e38276873a7d5e2ab44db88c2c0"
author | iuc |
---|---|
date | Tue, 27 Aug 2019 17:11:11 -0400 |
parents | 2ee290d6c24d |
children | 1692b1acebfd |
line wrap: on
line diff
--- a/macros.xml Fri Jul 20 03:49:09 2018 -0400 +++ b/macros.xml Tue Aug 27 17:11:11 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':