Mercurial > repos > bgruening > column_arrange_by_header
annotate columnArrange.xml @ 0:f18f67056946 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
author | bgruening |
---|---|
date | Fri, 16 Oct 2015 14:31:13 -0400 |
parents | |
children | 6c6d26ff01ff |
rev | line source |
---|---|
0
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
1 <tool id="bg_column_arrange_by_header" name="Column arrange" version="0.1"> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
2 <description>by header name</description> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
3 <requirements> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
4 <requirement type="package" version="0.14.1">pandas</requirement> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
5 </requirements> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
6 <command interpreter="python"> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
7 <![CDATA[ |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
8 column_arrange.py |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
9 --columns |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
10 #for token in $rep_param_columns: |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
11 "$token.param_column" |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
12 #end for |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
13 --in $param_input |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
14 --out $output |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
15 ]]> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
16 </command> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
17 <inputs> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
18 <param format="tabular" name="param_input" type="data" label="file to rearrange" /> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
19 <repeat name ="rep_param_columns" min="1" title="Specify the first few columns by name"> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
20 <param name="param_column" type="text" value="" label="column"> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
21 <sanitizer> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
22 <valid initial="string.printable"> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
23 <remove value="'"/> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
24 </valid> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
25 </sanitizer> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
26 </param> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
27 </repeat> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
28 </inputs> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
29 <outputs> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
30 <data format="tabular" name="output" /> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
31 </outputs> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
32 <tests> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
33 <test> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
34 <param name="param_input" value="columnarrange_input1.tab"/> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
35 <repeat name="rep_param_columns"> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
36 <param name="param_column" value="fname"/> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
37 </repeat> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
38 <repeat name="rep_param_columns"> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
39 <param name="param_column" value="age"/> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
40 </repeat> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
41 <output name="out" file="columnarrange_result1.tab"/> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
42 </test> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
43 <test> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
44 <param name="param_input" value="columnarrange_input2.tab"/> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
45 <repeat name="rep_param_columns"> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
46 <param name="param_column" value="first name"/> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
47 </repeat> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
48 <repeat name="rep_param_columns"> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
49 <param name="param_column" value="nationality"/> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
50 </repeat> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
51 <output name="out" file="columnarrange_result2.tab"/> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
52 </test> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
53 </tests> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
54 <help> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
55 **What it does** |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
56 |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
57 With this tool you can specify (by naming the header) which columns need to be leftmost. |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
58 The columns which are not specified will be ordered as before, right of the columns which were specified. |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
59 |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
60 Input file:: |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
61 |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
62 AHeader BHeader CHeader DHeader |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
63 a b c d |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
64 a b c d |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
65 |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
66 Specifying **CHeader** and **BHeader**, as the columns that should be leftmost, generates:: |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
67 |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
68 CHeader BHeader AHeader DHeader |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
69 c b a d |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
70 c b a d |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
71 |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
72 </help> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
73 <citations> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
74 <citation type="bibtex"> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
75 @ARTICLE{bgruening_galaxytools, |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
76 Author = {Björn Grüning, Cameron Smith, Torsten Houwaart, Nicola Soranzo, Eric Rasche}, |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
77 keywords = {bioinformatics, ngs, galaxy, cheminformatics, rna}, |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
78 title = {{Galaxy Tools - A collection of bioinformatics and cheminformatics tools for the Galaxy environment}}, |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
79 url = {https://github.com/bgruening/galaxytools} |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
80 } |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
81 </citation> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
82 </citations> |
f18f67056946
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/column_arrange_by_header commit 088e73e958b55dc765778641b8a84080cc289f85-dirty
bgruening
parents:
diff
changeset
|
83 </tool> |