Mercurial > repos > malex > secimtools
comparison magnitude_difference_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 | caba07f41453 |
comparison
equal
deleted
inserted
replaced
0:b54326490b4d | 1:2e7d47c0b027 |
---|---|
1 <tool id="secimtools_magnitude_difference_flags" name="Magnitude Difference Flags" version="@WRAPPER_VERSION@"> | |
2 <description>- Count the number of digits before the decimal place.</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <command detect_errors="exit_code"><![CDATA[ | |
8 magnitude_difference_flags.py | |
9 --input $input | |
10 --design $design | |
11 --ID $uniqID | |
12 --flags $flags | |
13 --figure $figure | |
14 --counts "counts" | |
15 --html $html | |
16 --htmlPath "$html.files_path" | |
17 | |
18 #if $nozero: | |
19 --noZero | |
20 #end if | |
21 #if $group: | |
22 --group $group | |
23 #end if | |
24 ]]></command> | |
25 <inputs> | |
26 <param name="input" type="data" format="tabular" label="Wide Dataset" help="Input your tab-separated wide format dataset. If file is not tab separated see TIP below."/> | |
27 <param name="design" type="data" format="tabular" label="Design File" help="Input your design file (tab-separated). Note you need a 'sampleID' column. If not tab separated see TIP below."/> | |
28 <param name="uniqID" type="text" size="30" value="" label="Unique Feature ID" help="Name of the column in your Wide Dataset that has unique identifiers.."/> | |
29 <param name="nozero" type="select" size="30" display="radio" value="yes" label="Remove zeros before processing" help="If not removed, zeros may skew the results."> | |
30 <option value="yes">Remove zeros</option> | |
31 <option value="no">Do not remove zeros</option> | |
32 </param> | |
33 <param name="group" size="30" type="text" label="Group/Treatment [Optional]" help="Name of the column in your Design File that contains group classifications." /> | |
34 </inputs> | |
35 <outputs> | |
36 <data format="pdf" name="figure" label="${tool.name} on ${on_string}: Figure" /> | |
37 <data format="tabular" name="flags" label="C${tool.name} on ${on_string}: Flags" /> | |
38 <data format="html" name="html" label="${tool.name} on ${on_string}: Counts" /> | |
39 </outputs> | |
40 <tests> | |
41 <test> | |
42 <param name="input" value="ST000006_data.tsv"/> | |
43 <param name="design" value="ST000006_design.tsv"/> | |
44 <param name="uniqID" value="Retention_Index" /> | |
45 <param name="group" value="White_wine_type_and_source" /> | |
46 <param name="nonzero" value="yes" /> | |
47 <output name="figure" file="ST000006_magnitude_difference_flags_figure.pdf" compare="sim_size" delta="10000"/> | |
48 <output name="flags" file="ST000006_magnitude_difference_flags_flags.tsv" /> | |
49 </test> | |
50 </tests> | |
51 <help><![CDATA[ | |
52 | |
53 @TIP_AND_WARNING@ | |
54 | |
55 **Tool Description** | |
56 | |
57 This tool counts the number of digits before the decimal place for each feature in each sample. | |
58 The tool identifies features with different orders of magnitude across different samples in a given group and produces corresponding indicator flags. | |
59 Unusual samples are identified by finding systematically low or high feature values for that particular sample. | |
60 | |
61 -------------------------------------------------------------------------------- | |
62 | |
63 **Input** | |
64 | |
65 - Two input datasets are required. | |
66 | |
67 @WIDE@ | |
68 | |
69 **NOTE:** The sample IDs must match the sample IDs in the Design File | |
70 (below). Extra columns will automatically be ignored. | |
71 | |
72 @METADATA@ | |
73 | |
74 @UNIQID@ | |
75 | |
76 **Remove zeros before processing** | |
77 | |
78 - If zeros are not removed before processing, they may skew the results. | |
79 | |
80 @GROUP_OPTIONAL@ | |
81 | |
82 **NOTE:** Groups with one element will be excluded from the test. | |
83 | |
84 -------------------------------------------------------------------------------- | |
85 | |
86 **Output** | |
87 | |
88 The tool outputs a variable number of files (from 2 to n+1) depending on the number of groups (n). | |
89 | |
90 (1) TSV file containing a 0/1 indicator flag where “1” is used to flag features where the difference in the digit counts is greater than 2. | |
91 | |
92 (2) TSV file containing the digit counts for all samples or for the samples within groups, depending on whether the Group/Treatment [Optional] parameter was provided. | |
93 | |
94 (3) A PDF file of the distribution of digit counts within each group of samples. | |
95 | |
96 ]]></help> | |
97 <expand macro="citations"/> | |
98 </tool> |