diff macros.xml @ 15:a626e8c0e1ba draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 17a0a67dfbc7541a7fe3618cfbbb71d814042889
author iuc
date Fri, 15 Nov 2024 15:31:53 +0000
parents ecb9f4854617
children
line wrap: on
line diff
--- a/macros.xml	Mon Nov 11 14:53:41 2024 +0000
+++ b/macros.xml	Fri Nov 15 15:31:53 2024 +0000
@@ -61,11 +61,28 @@
     </xml>
 
     <xml name="in" token_read_number="1" token_argument="-i">
-        <param name="in@READ_NUMBER@" argument="@ARGUMENT@" type="data" format="fastqsanger,fastqsanger.gz,fastqillumina,fastqillumina.gz" label="Input @READ_NUMBER@" help="Input FASTQ file #@READ_NUMBER@"/>
+        <param name="in@READ_NUMBER@" argument="@ARGUMENT@" type="data" format="fastqsanger,fastqsanger.gz" label="Input @READ_NUMBER@" help="Input FASTQ file #@READ_NUMBER@"/>
     </xml>
 
     <xml name="poly_g_min_len">
         <param argument="--poly_g_min_len" type="integer" optional="true" label="PolyG minimum length"
             help="The minimum length to detect polyG in the read tail. 10 by default."/>
     </xml>
-</macros>
+
+    <xml name="format_actions" token_read_number="1" token_forward_reverse="forward">
+        <actions>
+            <conditional name="single_paired.single_paired_selector">
+                <when value="paired">
+                    <action type="format">
+                        <option type="from_param" name="single_paired.in@READ_NUMBER@" param_attribute="ext" />
+                    </action>
+                </when>
+                <when value="paired_collection">
+                    <action type="format">
+                        <option type="from_param" name="single_paired.paired_input" param_attribute="@FORWARD_REVERSE@.ext" />
+                    </action>
+                </when>
+            </conditional>
+        </actions>
+    </xml>
+</macros>
\ No newline at end of file