Mercurial > repos > galaxy-australia > hifiadapterfilt
annotate macros.xml @ 0:bbc2060caa0e draft
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
author | galaxy-australia |
---|---|
date | Mon, 11 Jul 2022 03:09:58 +0000 |
parents | |
children | 03acc0e3772e |
rev | line source |
---|---|
0
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
1 <macros> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
2 <token name="@TOOL_VERSION@">2.0.0</token> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
3 <token name="@VERSION_SUFFIX@">0</token> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
4 <token name="@PROFILE@">21.05</token> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
5 <token name="@DIGEST@">99b5e479baee5ffe01c676dd3d7180b0d3eb94af08db0f2ceb3641bef3ebbaa4</token> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
6 <xml name="requirements"> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
7 <requirements> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
8 <container type="docker">dmolik/pbadapterfilt:latest</container> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
9 </requirements> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
10 </xml> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
11 <xml name="stdio"> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
12 <stdio> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
13 <exit_code range=":-1" level="fatal" description="Error: Cannot open file" /> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
14 <exit_code range="1:" level="fatal" description="Error" /> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
15 </stdio> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
16 </xml> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
17 <token name="@CLEAN_EXT@"> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
18 <![CDATA[ |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
19 #from os.path import splitext |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
20 #import re |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
21 #def clean_ext($identifier) |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
22 #while $identifier.endswith(('.fq','.fastq', '.fastq.gz','.bam')) |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
23 #set $identifier = splitext($identifier)[0] |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
24 #end while |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
25 $identifier#slurp |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
26 #end def |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
27 ]]> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
28 </token> |
bbc2060caa0e
"planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/hifiadapter commit 1ca83d831d15156432d96f6df9e508d6c9ed09da-dirty"
galaxy-australia
parents:
diff
changeset
|
29 </macros> |