comparison macros.xml @ 2:03acc0e3772e draft default tip

"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit db087ed782a52833a02df3bfef0793b4dd909081"
author galaxy-australia
date Wed, 16 Nov 2022 06:19:15 +0000
parents bbc2060caa0e
children
comparison
equal deleted inserted replaced
1:41f5b4a4eac0 2:03acc0e3772e
12 <stdio> 12 <stdio>
13 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" /> 13 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" />
14 <exit_code range="1:" level="fatal" description="Error" /> 14 <exit_code range="1:" level="fatal" description="Error" />
15 </stdio> 15 </stdio>
16 </xml> 16 </xml>
17 <token name="@CLEAN_EXT@">
18 <![CDATA[
19 #from os.path import splitext
20 #import re
21 #def clean_ext($identifier)
22 #while $identifier.endswith(('.fq','.fastq', '.fastq.gz','.bam'))
23 #set $identifier = splitext($identifier)[0]
24 #end while
25 $identifier#slurp
26 #end def
27 ]]>
28 </token>
29 </macros> 17 </macros>