Mercurial > repos > bgruening > text_processing
comparison recurring_lines.xml @ 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 |
comparison
equal
deleted
inserted
replaced
22:3dc70b59608c | 23:6073bb457ec0 |
---|---|
1 <tool id="tp_text_file_with_recurring_lines" name="Create text file" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> | 1 <tool id="tp_text_file_with_recurring_lines" name="Create text file" version="@TOOL_VERSION@+galaxy1" profile="@PROFILE@"> |
2 <description>with recurring lines</description> | 2 <description>with recurring lines</description> |
3 <macros> | 3 <macros> |
4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
5 </macros> | 5 </macros> |
6 <expand macro="creator"/> | 6 <expand macro="creator"/> |
19 ]]> | 19 ]]> |
20 </command> | 20 </command> |
21 <inputs> | 21 <inputs> |
22 <repeat name="token_set" title=" selection" min="1"> | 22 <repeat name="token_set" title=" selection" min="1"> |
23 <param name="line" type="text" | 23 <param name="line" type="text" |
24 label="Characters to insert" help="Specify the characters that will be inserted X times in every line"/> | 24 label="Characters to insert" help="Specify the characters that will be inserted X times in every line"> |
25 <sanitizer> | |
26 <valid initial="default"> | |
27 <add value="	" /> <!-- 	 is the HTML entity for a tab --> | |
28 </valid> | |
29 </sanitizer> | |
30 </param> | |
25 <conditional name="repeat_select"> | 31 <conditional name="repeat_select"> |
26 <param name="repeat_select_opts" type="select" label="Specify the number of iterations by"> | 32 <param name="repeat_select_opts" type="select" label="Specify the number of iterations by"> |
27 <option value="file">File (for each line in file)</option> | 33 <option value="file">File (for each line in file)</option> |
28 <option value="user" selected="True">User defined number</option> | 34 <option value="user" selected="True">User defined number</option> |
29 </param> | 35 </param> |
66 <param name="times" value="10" /> | 72 <param name="times" value="10" /> |
67 </conditional> | 73 </conditional> |
68 </repeat> | 74 </repeat> |
69 <output name="outfile" file="recurring_result2.txt" /> | 75 <output name="outfile" file="recurring_result2.txt" /> |
70 </test> | 76 </test> |
77 <test> | |
78 <repeat name="token_set"> | |
79 <param name="line" value="a	b	c	d	e	f" /> | |
80 <conditional name="repeat_select"> | |
81 <param name="repeat_select_opts" value="user" /> | |
82 <param name="times" value="2" /> | |
83 </conditional> | |
84 </repeat> | |
85 <repeat name="token_set"> | |
86 <param name="line" value="2	3	4	5	6	7" /> | |
87 <conditional name="repeat_select"> | |
88 <param name="repeat_select_opts" value="user" /> | |
89 <param name="times" value="1" /> | |
90 </conditional> | |
91 </repeat> | |
92 <repeat name="token_set"> | |
93 <param name="line" value="1	2	3	4	5	6" /> | |
94 <conditional name="repeat_select"> | |
95 <param name="repeat_select_opts" value="user" /> | |
96 <param name="times" value="1" /> | |
97 </conditional> | |
98 </repeat> | |
99 <output name="outfile" file="sort_rows_results1.bed" /> | |
100 </test> | |
71 </tests> | 101 </tests> |
72 <help> | 102 <help> |
73 <![CDATA[ | 103 <![CDATA[ |
74 .. class:: infomark | 104 .. class:: infomark |
75 | 105 |