|
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 | 2 | <description>with recurring lines</description> |
3 | 3 | <macros> |
4 | 4 | <import>macros.xml</import> |
|
21 | 21 | <inputs> |
22 | 22 | <repeat name="token_set" title=" selection" min="1"> |
23 | 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 | 31 | <conditional name="repeat_select"> |
26 | 32 | <param name="repeat_select_opts" type="select" label="Specify the number of iterations by"> |
27 | 33 | <option value="file">File (for each line in file)</option> |
|
68 | 74 | </repeat> |
69 | 75 | <output name="outfile" file="recurring_result2.txt" /> |
70 | 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 | 101 | </tests> |
72 | 102 | <help> |
73 | 103 | <![CDATA[ |
|
0 commit comments