Mercurial > repos > malex > secimtools
comparison summarize_flags.xml @ 1:2e7d47c0b027 draft
"planemo upload for repository https://malex@toolshed.g2.bx.psu.edu/repos/malex/secimtools"
author | malex |
---|---|
date | Mon, 08 Mar 2021 22:04:06 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:b54326490b4d | 1:2e7d47c0b027 |
---|---|
1 <tool id="secimtools_summarize_flags" name="Summarize Flags in a Flag File" version="@WRAPPER_VERSION@"> | |
2 <description></description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <command><![CDATA[ | |
8 summarize_flags.py | |
9 --flags $flags | |
10 --ID $uniqID | |
11 --outSummary $summaryFlags | |
12 ]]></command> | |
13 <inputs> | |
14 <param name="flags" type="data" format="tabular" label="Flag File" | |
15 help="Input dataset containing the binary indicator flag values for each feature."/> | |
16 <param name="uniqID" type="text" size="30" value="" label="Unique Feature ID" | |
17 help="Name of the column in your flag file containing unique identifiers."/> | |
18 </inputs> | |
19 <outputs> | |
20 <data name="summaryFlags" format="tabular" label="${tool.name} on ${on_string}"/> | |
21 </outputs> | |
22 <tests> | |
23 <test> | |
24 <param name="flags" value="ST000006_lasso_enet_var_select_flags.tsv"/> | |
25 <param name="uniqID" value="Retention_Index" /> | |
26 <output name="summaryFlags" file="ST000006_summarize_flags_outSummary.tsv" /> | |
27 </test> | |
28 </tests> | |
29 <help><![CDATA[ | |
30 | |
31 @TIP_AND_WARNING@ | |
32 | |
33 **Tool Description** | |
34 | |
35 Summary of the Flags | |
36 | |
37 This tool takes a wide format flag file and summarizes information about the flags. | |
38 The flag summary includes, for each feature: | |
39 (i) the sum of the flags, | |
40 (ii) the mean of the flags, | |
41 (iii) an indicator if at least one of the original flags had a value of 1 and | |
42 (iv) a second indicator if all of the original flags had a value of 1. | |
43 | |
44 -------------------------------------------------------------------------------- | |
45 | |
46 **Input** | |
47 | |
48 - One input dataset is required. | |
49 | |
50 @FLAGS@ | |
51 | |
52 @UNIQID@ | |
53 | |
54 -------------------------------------------------------------------------------- | |
55 | |
56 **Output** | |
57 | |
58 This tool will output a TSV file containing all original input flag data with four additional columns containing the flag summaries. | |
59 | |
60 The four additional columns are: | |
61 | |
62 (i) a column with the sum of the flags, | |
63 (ii) a column with the flag means, and | |
64 (iii) a flag indicator column if at least one of the original flags had a value of 1 | |
65 (iv) a second flag indicator column if all of the original flags had a value of 1 | |
66 | |
67 | |
68 ]]></help> | |
69 <expand macro="citations"/> | |
70 </tool> |