changeset 23:6073bb457ec0 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 7cdafed6c6a1387395e5a869186518f129aa3132
author bgruening
date Tue, 25 Mar 2025 14:34:17 +0000
parents 3dc70b59608c
children
files recurring_lines.xml
diffstat 1 files changed, 32 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/recurring_lines.xml	Fri Mar 07 20:44:20 2025 +0000
+++ b/recurring_lines.xml	Tue Mar 25 14:34:17 2025 +0000
@@ -1,4 +1,4 @@
-<tool id="tp_text_file_with_recurring_lines" name="Create text file" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
+<tool id="tp_text_file_with_recurring_lines" name="Create text file" version="@TOOL_VERSION@+galaxy1" profile="@PROFILE@">
     <description>with recurring lines</description>
     <macros>
         <import>macros.xml</import>
@@ -21,7 +21,13 @@
     <inputs>
         <repeat name="token_set" title=" selection" min="1">
             <param name="line" type="text"
-                label="Characters to insert" help="Specify the characters that will be inserted X times in every line"/>
+                label="Characters to insert" help="Specify the characters that will be inserted X times in every line">
+                    <sanitizer>
+                        <valid initial="default">
+                            <add value="&#9;" />  <!-- &#9; is the HTML entity for a tab -->
+                        </valid>
+                    </sanitizer>
+            </param>
             <conditional name="repeat_select">
                 <param name="repeat_select_opts" type="select" label="Specify the number of iterations by">
                     <option value="file">File (for each line in file)</option>
@@ -68,6 +74,30 @@
             </repeat>
             <output name="outfile" file="recurring_result2.txt" />
         </test>
+        <test>
+            <repeat name="token_set">
+                <param name="line" value="a&#9;b&#9;c&#9;d&#9;e&#9;f" />
+                <conditional name="repeat_select">
+                    <param name="repeat_select_opts" value="user" />
+                    <param name="times" value="2" />
+                </conditional>
+            </repeat>
+            <repeat name="token_set">
+                <param name="line" value="2&#9;3&#9;4&#9;5&#9;6&#9;7" />
+                <conditional name="repeat_select">
+                    <param name="repeat_select_opts" value="user" />
+                    <param name="times" value="1" />
+                </conditional>
+            </repeat>
+            <repeat name="token_set">
+                <param name="line" value="1&#9;2&#9;3&#9;4&#9;5&#9;6" />
+                <conditional name="repeat_select">
+                    <param name="repeat_select_opts" value="user" />
+                    <param name="times" value="1" />
+                </conditional>
+            </repeat>
+            <output name="outfile" file="sort_rows_results1.bed" />
+        </test>
     </tests>
     <help>
 <![CDATA[