comparison convert_characters.xml @ 3:042ed2d0a017 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/convert_characters commit f929353ffb0623f2218d7dec459c7da62f3b0d24"
author devteam
date Mon, 06 Jul 2020 20:25:21 -0400
parents 8a53d7f02ce4
children
comparison
equal deleted inserted replaced
2:8a53d7f02ce4 3:042ed2d0a017
1 <tool id="Convert characters1" name="Convert" version="1.0.0"> 1 <tool id="Convert characters1" name="Convert" version="1.0.1">
2 <description>delimiters to TAB</description> 2 <description>delimiters to TAB</description>
3 <command interpreter="python">convert_characters.py "${input}" "${convert_from}" "${out_file1}"</command> 3 <requirements>
4 <inputs> 4 <requirement type="package" version="3.8">python</requirement>
5 <param name="convert_from" type="select" label="Convert all"> 5 </requirements>
6 <option value="s">Whitespaces</option> 6 <command>
7 <option value="T">Tabs</option> 7 python '$__tool_directory__/convert_characters.py'
8 <!--<option value="Sp">Spaces</option>--> 8 '${input}'
9 <option value="Dt">Dots</option> 9 '${convert_from}'
10 <option value="C">Commas</option> 10 '${out_file1}'
11 <option value="D">Dashes</option> 11 </command>
12 <option value="U">Underscores</option> 12 <inputs>
13 <option value="P">Pipes</option> 13 <param name="convert_from" type="select" label="Convert all">
14 <option value="Co">Colons</option> 14 <option value="s">Whitespaces</option>
15 </param> 15 <option value="T">Tabs</option>
16 <param format="txt" name="input" type="data" label="in Query"/> 16 <!--<option value="Sp">Spaces</option>-->
17 </inputs> 17 <option value="Dt">Dots</option>
18 <outputs> 18 <option value="C">Commas</option>
19 <data format="tabular" name="out_file1" /> 19 <option value="D">Dashes</option>
20 </outputs> 20 <option value="U">Underscores</option>
21 <tests> 21 <option value="P">Pipes</option>
22 <test> 22 <option value="Co">Colons</option>
23 <param name="convert_from" value="s"/> 23 </param>
24 <param name="input" value="1.bed"/> 24 <param format="txt" name="input" type="data" label="in Query"/>
25 <output name="out_file1" file="eq-convert.dat"/> 25 </inputs>
26 </test> 26 <outputs>
27 <test> 27 <data format="tabular" name="out_file1" />
28 <param name="convert_from" value="s"/> 28 </outputs>
29 <param name="input" value="a.txt"/> 29 <tests>
30 <output name="out_file1" file="a.tab"/> 30 <test>
31 </test> 31 <param name="convert_from" value="s"/>
32 </tests> 32 <param name="input" value="1.bed"/>
33 <help> 33 <output name="out_file1" file="eq-convert.dat"/>
34 </test>
35 <test>
36 <param name="convert_from" value="s"/>
37 <param name="input" value="a.txt"/>
38 <output name="out_file1" file="a.tab"/>
39 </test>
40 </tests>
41 <help>
34 42
35 **What it does** 43 **What it does**
36 44
37 Converts all delimiters of a specified type into TABs. Consecutive characters are condensed. For example, if columns are separated by 5 spaces they will converted into 1 tab. 45 Converts all delimiters of a specified type into TABs. Consecutive characters are condensed. For example, if columns are separated by 5 spaces they will converted into 1 tab.
38 46
52 chrX 151283558 151283724 NM_000808_exon_8_0_chrX_151283559_r 0 - 60 chrX 151283558 151283724 NM_000808_exon_8_0_chrX_151283559_r 0 -
53 chrX 151370273 151370486 NM_000808_exon_9_0_chrX_151370274_r 0 - 61 chrX 151370273 151370486 NM_000808_exon_9_0_chrX_151370274_r 0 -
54 chrX 151559494 151559583 NM_018558_exon_1_0_chrX_151559495_f 0 + 62 chrX 151559494 151559583 NM_018558_exon_1_0_chrX_151559495_f 0 +
55 chrX 151564643 151564711 NM_018558_exon_2_0_chrX_151564644_f 0 + 63 chrX 151564643 151564711 NM_018558_exon_2_0_chrX_151564644_f 0 +
56 64
57 </help> 65 </help>
58 </tool> 66 </tool>