diff macros.xml @ 4:c34eab9d5134 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/delly commit 57b50253f326baf18bfbf417d8c788b4f5ba66e6
author iuc
date Mon, 27 Jun 2022 18:17:19 +0000
parents 6f383714149d
children
line wrap: on
line diff
--- a/macros.xml	Tue Dec 14 19:05:58 2021 +0000
+++ b/macros.xml	Mon Jun 27 18:17:19 2022 +0000
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <macros>
     <token name="@TOOL_VERSION@">0.9.1</token>
-    <token name="@VERSION_SUFFIX@">0</token>
+    <token name="@VERSION_SUFFIX@">1</token>
     <xml name="requirements">
         <requirements>
             <requirement type="package" version="@TOOL_VERSION@">delly</requirement>
@@ -23,12 +23,20 @@
     </xml>
     <!-- command -->
 
+    <token name="@SINGLE_BAM@"><![CDATA[
+ln -s '$input' 'input.bam' &&
+ln -s '$input.metadata.bam_index' 'input.bam.bai' &&
+    ]]></token>
     <token name="@BAM@"><![CDATA[
 #for $i, $current in enumerate($input)
     ln -s '${current}' 'input_${i}.bam' &&
     ln -s '${current.metadata.bam_index}' 'input_${i}.bam.bai' &&
 #end for
     ]]></token>
+    <!-- fasta needs to be linked, because .fai file is created -->
+    <token name="@FASTA@"><![CDATA[
+ln -s '$generic.genome' genome.fa &&
+    ]]></token>
     <token name="@DUMP@"><![CDATA[
 #if 'dump' in $oo.out
     && test -f 'dump.tsv.gz' && bgzip -d 'dump.tsv.gz' || echo 'No dump file.'