annotate fixedValueColumn.xml @ 3:745871c0b055 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit a1517c9d22029095120643bbe2c8fa53754dd2b7
author devteam
date Wed, 11 Nov 2015 12:03:16 -0500
parents cd36813b813f
children 023f0a3760b3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
cd36813b813f planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents: 1
diff changeset
1 <tool id="addValue" name="Add column" version="1.0.0">
0
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
2 <description>to an existing dataset</description>
1
4676e145a44e Updated command line format per dev team standards.
InitHello <inithello@gmail.com>
parents: 0
diff changeset
3 <command interpreter="perl">fixedValueColumn.pl "${input}" "${out_file1}" "${exp}" "${iterate}"</command>
0
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
4 <inputs>
3
745871c0b055 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
5 <param name="exp" type="text" value="1" label="Add this value"/>
0
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
6 <param format="tabular" name="input" type="data" label="to Dataset" help="Dataset missing? See TIP below" />
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
7 <param name="iterate" type="select" label="Iterate?">
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
8 <option value="no">NO</option>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
9 <option value="yes">YES</option>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
10 </param>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
11 </inputs>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
12 <outputs>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
13 <data format="input" name="out_file1" metadata_source="input"/>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
14 </outputs>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
15 <tests>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
16 <test>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
17 <param name="exp" value="1"/>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
18 <param name="input" value="1.bed"/>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
19 <param name="iterate" value="no"/>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
20 <output name="out_file1" file="eq-addvalue.dat"/>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
21 </test>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
22 </tests>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
23 <help>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
24
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
25 .. class:: infomark
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
26
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
27 **TIP:** If your data is not TAB delimited, use *Text Manipulation-&gt;Convert*
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
28
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
29 -----
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
30
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
31 **What it does**
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
32
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
33 You can enter any value and it will be added as a new column to your dataset
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
34
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
35 -----
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
36
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
37 **Example**
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
38
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
39 If you original data looks like this::
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
40
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
41 chr1 10 100 geneA
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
42 chr2 200 300 geneB
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
43 chr2 400 500 geneC
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
44
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
45 Typing **+** in the text box will generate::
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
46
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
47 chr1 10 100 geneA +
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
48 chr2 200 300 geneB +
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
49 chr2 400 500 geneC +
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
50
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
51
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
52 You can also add line numbers by selecting **Iterate: YES**. In this case if you enter **1** in the text box you will get::
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
53
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
54 chr1 10 100 geneA 1
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
55 chr2 200 300 geneB 2
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
56 chr2 400 500 geneC 3
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
57
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
58
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
59
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
60 </help>
181dd378275c Uploaded add_value tarball.
devteam
parents:
diff changeset
61 </tool>