comparison fixedValueColumn.xml @ 1:4c6ec423baae draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
author devteam
date Fri, 29 Sep 2023 15:06:25 +0000
parents 787fa5c2c738
children
comparison
equal deleted inserted replaced
0:787fa5c2c738 1:4c6ec423baae
1 <tool id="addValue" name="Add column" version="1.0.0"> 1 <tool id="addValue" name="Add column" version="1.0.1" profile="16.04">
2 <description>to an existing dataset</description> 2 <description>to an existing dataset</description>
3 <command interpreter="perl">fixedValueColumn.pl "${input}" "${out_file1}" "${exp}" "${iterate}"</command> 3 <requirements>
4 <inputs> 4 <requirement type="package" version="5.26">perl</requirement>
5 <param name="exp" type="text" value="1" label="Add this value"/> 5 </requirements>
6 <param format="tabular" name="input" type="data" label="to Dataset" help="Dataset missing? See TIP below" /> 6 <command>
7 <param name="iterate" type="select" label="Iterate?"> 7 perl $__tool_directory__/fixedValueColumn.pl
8 <option value="no">NO</option> 8 "${input}"
9 <option value="yes">YES</option> 9 "${out_file1}"
10 </param> 10 "${exp}"
11 </inputs> 11 "${iterate}"
12 <outputs> 12 </command>
13 <data format="input" name="out_file1" metadata_source="input"/> 13 <inputs>
14 </outputs> 14 <param name="exp" type="text" value="1" label="Add this value"/>
15 <tests> 15 <param format="tabular" name="input" type="data" label="to Dataset" help="Dataset missing? See TIP below" />
16 <test> 16 <param name="iterate" type="select" label="Iterate?">
17 <param name="exp" value="1"/> 17 <option value="no">NO</option>
18 <param name="input" value="1.bed"/> 18 <option value="yes">YES</option>
19 <param name="iterate" value="no"/> 19 </param>
20 <output name="out_file1" file="eq-addvalue.dat"/> 20 </inputs>
21 </test> 21 <outputs>
22 </tests> 22 <data name="out_file1" format_source="input"/>
23 <help> 23 </outputs>
24 <tests>
25 <test>
26 <param name="exp" value="1"/>
27 <param name="input" value="1.bed"/>
28 <param name="iterate" value="no"/>
29 <output name="out_file1" file="eq-addvalue.dat"/>
30 </test>
31 </tests>
32 <help>
24 33
25 .. class:: infomark 34 .. class:: infomark
26 35
27 **TIP:** If your data is not TAB delimited, use *Text Manipulation-&gt;Convert* 36 **TIP:** If your data is not TAB delimited, use *Text Manipulation-&gt;Convert*
28 37
53 62
54 chr1 10 100 geneA 1 63 chr1 10 100 geneA 1
55 chr2 200 300 geneB 2 64 chr2 200 300 geneB 2
56 chr2 400 500 geneC 3 65 chr2 400 500 geneC 3
57 66
67 </help>
68 </tool>
58 69
59
60 </help>
61 </tool>