Mercurial > repos > malex > secimtools
comparison 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 |
comparison
equal
deleted
inserted
replaced
1:2e7d47c0b027 | 2:caba07f41453 |
---|---|
1 <tool id="secimtools_rank_group_wide" name="Ranked wide file" version="@WRAPPER_VERSION@"> | |
2 <description>Generate a wide format file with ranked columns from an input wide file.</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <command detect_errors="exit_code"><![CDATA[ | |
8 add_group_rank.py | |
9 --wide $wide | |
10 --design $design | |
11 --out $out | |
12 #if $ngroup: | |
13 --ngroup $ngroup | |
14 #end if | |
15 --uniqID $uniqID | |
16 ]]></command> | |
17 <inputs> | |
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."/> | |
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."/> | |
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."/> | |
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."/> | |
22 </inputs> | |
23 <outputs> | |
24 <data format="tabular" name="out" label="${tool.name} on ${on_string}: Results Table"/> | |
25 </outputs> | |
26 <tests> | |
27 <test> | |
28 <param name="wide" value="ST000006_data.tsv"/> | |
29 <param name="design" value="ST000006_design.tsv"/> | |
30 <param name="uniqID" value="Retention_Index" /> | |
31 <param name="ngroup" value="100" /> | |
32 <output name="out" file="ST000006_add_group_rank_output_wide.tsv" /> | |
33 </test> | |
34 </tests> | |
35 <help><![CDATA[ | |
36 | |
37 @TIP_AND_WARNING@ | |
38 | |
39 **Tool Description** | |
40 | |
41 The tool is used to generate a wide format file with each column being ranked in the input wide format dataset. | |
42 | |
43 -------------------------------------------------------------------------------- | |
44 | |
45 **Input** | |
46 | |
47 - Two input datasets are required. | |
48 | |
49 An example of input wide file is like: | |
50 | |
51 +---------+---------+---------+---------+-----+ | |
52 | Feature | sample1 | sample2 | sample3 | ... | | |
53 +=========+=========+=========+=========+=====+ | |
54 | one | 10.2 | 20 | 10 | ... | | |
55 +---------+---------+---------+---------+-----+ | |
56 | two | 5.1 | 22 | 30 | ... | | |
57 +---------+---------+---------+---------+-----+ | |
58 | three | 30.5 | 27 | 2 | ... | | |
59 +---------+---------+---------+---------+-----+ | |
60 | four | 32.9 | 17 | 8 | ... | | |
61 +---------+---------+---------+---------+-----+ | |
62 | ... | ... | ... | ... | ... | | |
63 +---------+---------+---------+---------+-----+ | |
64 | |
65 -------------------------------------------------------------------------------- | |
66 | |
67 **Output** | |
68 | |
69 The user will get a output file from the tool: | |
70 | |
71 - a wide format file with each column being ranked. | |
72 | |
73 The output wide file for the example above will be like: | |
74 | |
75 +---------+---------+---------+---------+-----+ | |
76 | Feature | sample1 | sample2 | sample3 | ... | | |
77 +=========+=========+=========+=========+=====+ | |
78 | one | 2 | 2 | 3 | ... | | |
79 +---------+---------+---------+---------+-----+ | |
80 | two | 1 | 3 | 4 | ... | | |
81 +---------+---------+---------+---------+-----+ | |
82 | three | 3 | 4 | 1 | ... | | |
83 +---------+---------+---------+---------+-----+ | |
84 | four | 4 | 1 | 2 | ... | | |
85 +---------+---------+---------+---------+-----+ | |
86 | ... | ... | ... | ... | ... | | |
87 +---------+---------+---------+---------+-----+ | |
88 | |
89 ]]></help> | |
90 <expand macro="citations"/> | |
91 </tool> |