diff generate_cannot_links.xml @ 3:68d2cd0be567 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/semibin commit a9fc83e0029266f910b549d5d1eef6a9bc3e3f7b
author iuc
date Tue, 25 Mar 2025 15:53:41 +0000
parents a6f004bc73bf
children
line wrap: on
line diff
--- a/generate_cannot_links.xml	Fri Nov 10 20:51:27 2023 +0000
+++ b/generate_cannot_links.xml	Tue Mar 25 15:53:41 2025 +0000
@@ -18,11 +18,12 @@
     --cannot-name 'cannot'
 #if $mode.ref.select == "cached"
     --reference-db-data-dir '$mode.ref.cached_db.fields.path'
-#else
+#end if
+#if $mode.ref.select == "taxonomy"
     --taxonomy-annotation-table '$mode.ref.taxonomy_annotation_table'
 #end if
     @MIN_LEN@
-#if str($ml_threshold) != ''
+#if $ml_threshold:
     --ml-threshold $ml_threshold
 #end if
     --cannot-name 'cannot'
@@ -34,15 +35,15 @@
             <expand macro="mode_select"/>
             <when value="single">
                 <expand macro="input-fasta-single"/>
-                <expand macro="ref-single"/>
+                <expand macro="ref-single-cannot"/>
             </when>
             <when value="co">
                 <expand macro="input-fasta-single"/>
-                <expand macro="ref-single"/>
+                <expand macro="ref-single-cannot"/>
             </when>
             <when value="multi">
                 <expand macro="input-fasta-multi"/>
-                <expand macro="ref-multi"/>
+                <expand macro="ref-multi-cannot"/>
             </when>
         </conditional>
         <expand macro="min_len"/>
@@ -65,7 +66,6 @@
                 <param name="method" value="min-len"/>
                 <param name="min_len" value="0" />
             </conditional>
-            <param name="ml_threshold" value=""/>
             <output name="cannot" ftype="txt">
                 <assert_contents>
                     <has_text text="g1k_0,g4k_0"/>
@@ -87,7 +87,6 @@
                 <param name="method" value="min-len"/>
                 <param name="min_len" value="0" />
             </conditional>
-            <param name="ml_threshold" value=""/>
             <output name="cannot" ftype="txt">
                 <assert_contents>
                     <has_text text="g1k_0,g4k_0"/>
@@ -101,7 +100,7 @@
                 <param name="select" value="single"/>
                 <param name="input_fasta" ftype="fasta" value="input_single.fasta"/>
                 <conditional name="ref">
-                    <param name="db_selector" value="cached"/>
+                    <param name="select" value="cached"/>
                     <param name="cached_db" value="test-db"/>
                 </conditional>
             </conditional>
@@ -109,11 +108,9 @@
                 <param name="method" value="min-len"/>
                 <param name="min_len" value="0" />
             </conditional>
-            <param name="ml_threshold" value=""/>
             <output name="cannot" ftype="txt">
                 <assert_contents>
-                    <has_text text="g1k_0,g2k_0"/>
-                    <has_text text="g2k_9,g4k_1"/>
+                    <has_n_lines n='300' delta="10"/>
                 </assert_contents>
             </output>
         </test>