Mercurial > repos > devteam > add_value
annotate fixedValueColumn.xml @ 4:023f0a3760b3 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:32 +0000 |
parents | 745871c0b055 |
children |
rev | line source |
---|---|
4
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
1 <tool id="addValue" name="Add column" version="1.0.1" profile="16.04"> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
2 <description>to an existing dataset</description> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
3 <requirements> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
4 <requirement type="package" version="5.26">perl</requirement> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
5 </requirements> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
6 <command> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
7 perl $__tool_directory__/fixedValueColumn.pl |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
8 "${input}" |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
9 "${out_file1}" |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
10 "${exp}" |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
11 "${iterate}" |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
12 </command> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
13 <inputs> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
14 <param name="exp" type="text" value="1" label="Add this value"/> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
15 <param format="tabular" name="input" type="data" label="to Dataset" help="Dataset missing? See TIP below" /> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
16 <param name="iterate" type="select" label="Iterate?"> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
17 <option value="no">NO</option> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
18 <option value="yes">YES</option> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
19 </param> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
20 </inputs> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
21 <outputs> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
22 <data name="out_file1" format_source="input"/> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
23 </outputs> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
24 <tests> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
25 <test> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
26 <param name="exp" value="1"/> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
27 <param name="input" value="1.bed"/> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
28 <param name="iterate" value="no"/> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
29 <output name="out_file1" file="eq-addvalue.dat"/> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
30 </test> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
31 </tests> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
32 <help> |
0 | 33 |
34 .. class:: infomark | |
35 | |
36 **TIP:** If your data is not TAB delimited, use *Text Manipulation->Convert* | |
37 | |
38 ----- | |
39 | |
40 **What it does** | |
41 | |
42 You can enter any value and it will be added as a new column to your dataset | |
43 | |
44 ----- | |
45 | |
46 **Example** | |
47 | |
48 If you original data looks like this:: | |
49 | |
50 chr1 10 100 geneA | |
51 chr2 200 300 geneB | |
52 chr2 400 500 geneC | |
53 | |
54 Typing **+** in the text box will generate:: | |
55 | |
56 chr1 10 100 geneA + | |
57 chr2 200 300 geneB + | |
58 chr2 400 500 geneC + | |
59 | |
60 | |
61 You can also add line numbers by selecting **Iterate: YES**. In this case if you enter **1** in the text box you will get:: | |
62 | |
63 chr1 10 100 geneA 1 | |
64 chr2 200 300 geneB 2 | |
65 chr2 400 500 geneC 3 | |
66 | |
4
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
67 </help> |
023f0a3760b3
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/add_value commit 4066016ffafd7918ba9826db4f3c6fb41315e942
devteam
parents:
3
diff
changeset
|
68 </tool> |
0 | 69 |