Mercurial > repos > bgruening > racon
changeset 4:157794cb4e5d draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/racon commit f88d0f555d2bb239e6f2818454fc767ccd2f2150"
author | bgruening |
---|---|
date | Sun, 29 Aug 2021 10:48:30 +0000 |
parents | 822cb4a511d4 |
children | 31e3a7f42502 |
files | macros.xml racon.xml |
diffstat | 2 files changed, 26 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/macros.xml Sat Apr 18 23:38:41 2020 +0000 +++ b/macros.xml Sun Aug 29 10:48:30 2021 +0000 @@ -1,11 +1,12 @@ <macros> <xml name="requirements"> <requirements> - <requirement type="package" version="@VERSION@">racon</requirement> + <requirement type="package" version="@TOOL_VERSION@">racon</requirement> <yield/> </requirements> </xml> - <token name="@VERSION@">1.4.13</token> + <token name="@TOOL_VERSION@">1.4.13</token> + <token name="@VERSION_SUFFIX@">1</token> <xml name="citations"> <citations> <citation type="doi">10.1101/gr.214270.116</citation>
--- a/racon.xml Sat Apr 18 23:38:41 2020 +0000 +++ b/racon.xml Sun Aug 29 10:48:30 2021 +0000 @@ -1,4 +1,4 @@ -<tool id="racon" name="Racon" version="@VERSION@"> +<tool id="racon" name="Racon" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> <description>Consensus module for raw de novo DNA assembly of long uncorrected reads.</description> <macros> <import>macros.xml</import> @@ -6,22 +6,40 @@ <expand macro="requirements" /> <version_command>racon --version</version_command> <command detect_errors="exit_code"><![CDATA[ - ln -s '$reads' reads.${reads.ext} && + #if $reads.ext.startswith("fasta") + #set ext="fasta" + #else + #set ext="fastq" + #end if + #if $reads.ext.endswith(".gz") + #set ext=ext+".gz" + #end if + + ln -s '$reads' reads.$ext && #if $overlaps.ext == 'sam': ln -s '$overlaps' overlaps.${overlaps.ext} && #else: ln -s '$overlaps' overlaps.paf && #end if - ln -s '$corrected_reads' corrected_reads.${corrected_reads.ext} && + + #if $corrected_reads.ext.startswith("fasta") + #set cext="fasta" + #else + #set cext="fastq" + #end if + #if $corrected_reads.ext.endswith(".gz") + #set cext=cext+".gz" + #end if + ln -s '$corrected_reads' corrected_reads.$cext && racon - reads.${reads.ext} + reads.$ext #if $overlaps.ext == 'sam': overlaps.${overlaps.ext} #else: overlaps.paf #end if - corrected_reads.${corrected_reads.ext} + corrected_reads.$cext -t \${GALAXY_SLOTS:-4} $u $f