diff macros.xml @ 5:b9c38856e540 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tools/coverm commit 339c91447e45305efa0eed6952ef391db8e5d207
author iuc
date Sun, 12 Nov 2023 14:30:50 +0000
parents 1dcea261abbe
children 28d740f2c0b0
line wrap: on
line diff
--- a/macros.xml	Fri Aug 18 09:23:21 2023 +0000
+++ b/macros.xml	Sun Nov 12 14:30:50 2023 +0000
@@ -1,6 +1,6 @@
 <macros>
     <token name="@TOOL_VERSION@">0.6.1</token>
-    <token name="@VERSION_SUFFIX@">2</token>
+    <token name="@VERSION_SUFFIX@">3</token>
     <token name="@PROFILE@">22.01</token>
     <xml name="requirements">
         <requirements>
@@ -74,7 +74,10 @@
             </when>
             <when value="builtin">
                 <param argument="--genome-fasta-files" type="select" multiple="true" label="Reference genome(s)">
-                    <options from_data_table="all_fasta" />
+                    <options from_data_table="all_fasta">
+                        <column name="name" index="2"/>
+                        <column name="value" index="3"/>
+                    </options>
                 </param>
             </when>
         </conditional>
@@ -178,6 +181,8 @@
 ln -s '$ref' '${fn}' &&
 ]]></token>
     <token name="@GENOME_FOR_READS@"><![CDATA[
+        echo "GENOME_FOR_READS mapped.mode.genome.genomic.source=$mapped.mode.genome.genomic.source" &&
+        echo "GENOME_FOR_READS mapped.mode.genome.genomic.genome_fasta_files=$mapped.mode.genome.genomic.genome_fasta_files" &&
             #if $mapped.mode.genome.genomic.source == 'history'
                 #for $i, $genome in enumerate($mapped.mode.genome.genomic.genome_fasta_files)
                     #set $fn = re.sub('[^\s\w\-\\.]', '_', str($genome.element_identifier))
@@ -185,10 +190,8 @@
 ln -s '$genome' '$fn' &&
                 #end for
             #else
-                #for $i, $genome in enumerate($mapped.mode.genome.genomic.genome_fasta_files)
-                    #set $fn = re.sub('[^\s\w\-\\.]', '_', str($genome.fields.path.element_identifier))
-                    #silent $genome_fp.append( $fn )
-ln -s '$genome' '$fn' &&
+                #for $genome in $mapped.mode.genome.genomic.genome_fasta_files
+                    #silent $genome_fp.append($genome)
                 #end for
             #end if
 ]]></token>