Mercurial > repos > malex > secimtools
annotate add_group_rank.xml @ 2:caba07f41453 draft default tip
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
author | malex |
---|---|
date | Thu, 10 Jun 2021 15:41:17 +0000 |
parents | |
children |
rev | line source |
---|---|
2
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
1 <tool id="secimtools_rank_group_wide" name="Ranked wide file" version="@WRAPPER_VERSION@"> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
2 <description>Generate a wide format file with ranked columns from an input wide file.</description> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
3 <macros> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
4 <import>macros.xml</import> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
5 </macros> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
8 add_group_rank.py |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
9 --wide $wide |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
10 --design $design |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
11 --out $out |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
12 #if $ngroup: |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
13 --ngroup $ngroup |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
14 #end if |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
15 --uniqID $uniqID |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
16 ]]></command> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
17 <inputs> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
18 <param name="wide" type="data" format="tabular" label="Wide Dataset" help="Input dataset in wide format and tab separated. If file is not tab separated see TIP below."/> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
19 <param name="design" type="data" format="tabular" label="Design File" help="Design file tab separated. Note you need a 'sampleID' column. If not tab separated see TIP below."/> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
20 <param name="uniqID" type="text" size="30" value="rowID" label="Unique Feature ID" help="Name of the column in your Wide Dataset that has unique Feature IDs."/> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
21 <param name="ngroup" type="integer" size="30" value="" optional="true" label="number of groups for each feature being ranked" help="number of bins/groups for each feature being ranked. If there is no input, the default behavir is ranking each column."/> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
22 </inputs> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
23 <outputs> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
24 <data format="tabular" name="out" label="${tool.name} on ${on_string}: Results Table"/> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
25 </outputs> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
26 <tests> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
27 <test> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
28 <param name="wide" value="ST000006_data.tsv"/> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
29 <param name="design" value="ST000006_design.tsv"/> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
30 <param name="uniqID" value="Retention_Index" /> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
31 <param name="ngroup" value="100" /> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
32 <output name="out" file="ST000006_add_group_rank_output_wide.tsv" /> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
33 </test> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
34 </tests> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
35 <help><![CDATA[ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
36 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
37 @TIP_AND_WARNING@ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
38 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
39 **Tool Description** |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
40 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
41 The tool is used to generate a wide format file with each column being ranked in the input wide format dataset. |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
42 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
43 -------------------------------------------------------------------------------- |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
44 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
45 **Input** |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
46 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
47 - Two input datasets are required. |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
48 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
49 An example of input wide file is like: |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
50 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
51 +---------+---------+---------+---------+-----+ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
52 | Feature | sample1 | sample2 | sample3 | ... | |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
53 +=========+=========+=========+=========+=====+ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
54 | one | 10.2 | 20 | 10 | ... | |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
55 +---------+---------+---------+---------+-----+ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
56 | two | 5.1 | 22 | 30 | ... | |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
57 +---------+---------+---------+---------+-----+ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
58 | three | 30.5 | 27 | 2 | ... | |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
59 +---------+---------+---------+---------+-----+ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
60 | four | 32.9 | 17 | 8 | ... | |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
61 +---------+---------+---------+---------+-----+ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
62 | ... | ... | ... | ... | ... | |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
63 +---------+---------+---------+---------+-----+ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
64 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
65 -------------------------------------------------------------------------------- |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
66 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
67 **Output** |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
68 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
69 The user will get a output file from the tool: |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
70 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
71 - a wide format file with each column being ranked. |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
72 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
73 The output wide file for the example above will be like: |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
74 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
75 +---------+---------+---------+---------+-----+ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
76 | Feature | sample1 | sample2 | sample3 | ... | |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
77 +=========+=========+=========+=========+=====+ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
78 | one | 2 | 2 | 3 | ... | |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
79 +---------+---------+---------+---------+-----+ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
80 | two | 1 | 3 | 4 | ... | |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
81 +---------+---------+---------+---------+-----+ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
82 | three | 3 | 4 | 1 | ... | |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
83 +---------+---------+---------+---------+-----+ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
84 | four | 4 | 1 | 2 | ... | |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
85 +---------+---------+---------+---------+-----+ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
86 | ... | ... | ... | ... | ... | |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
87 +---------+---------+---------+---------+-----+ |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
88 |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
89 ]]></help> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
90 <expand macro="citations"/> |
caba07f41453
"planemo upload for repository https://github.com/secimTools/SECIMTools/tree/main/galaxy commit 498abad641099412df56f04ff6e144e4193bbc34-dirty"
malex
parents:
diff
changeset
|
91 </tool> |