comparison distribution_features.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_distribution_features" name="Generate Distribution of Features across Samples." version="@WRAPPER_VERSION@">
2 <description></description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements" />
7 <command detect_errors="exit_code"><![CDATA[
8 distribution_features.py
9 --input $input
10 --design $design
11 --ID $uniqID
12 --figure $figure
13 #if $group
14 --group $group
15 #end if
16 ]]></command>
17 <inputs>
18 <param name="input" type="data" format="tabular" label="Wide Dataset" help="Input your tab-separated wide format dataset. If not tab separated see TIP below."/>
19 <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."/>
20 <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."/>
21 <param name="group" type="text" size="30" value="" optional="true" label="Group/Treatment [Optional]" help="Name of the column in your Design File that contains group classifications."/>
22 </inputs>
23 <outputs>
24 <data format="pdf" name="figure" label="${tool.name} on ${on_string}: Feature Distribution"/>
25 </outputs>
26 <tests>
27 <test>
28 <param name="input" value="ST000006_data.tsv"/>
29 <param name="design" value="ST000006_design.tsv"/>
30 <param name="uniqID" value="Retention_Index" />
31 <param name="group" value="White_wine_type_and_source" />
32 <output name="figure" file="ST000006_distribution_features_with_group_figure.pdf" compare="sim_size" delta="10000"/>
33 </test>
34 </tests>
35 <help><![CDATA[
36
37 @TIP_AND_WARNING@
38
39 **Tool Description**
40
41 The tool summarizes the distribution of 50 randomly selected features (rows) across all samples.
42 Boxplots with outliers and mean value are provided for each selected feature across all samples.
43 If group or treatment information is provided, boxplots are generated for samples within each group and for all samples.
44 If a group or treatment variable is not provided, boxplots are provided for all samples.
45
46 **NOTE:** This script works best with log transformed data.
47
48
49 --------------------------------------------------------------------------------
50
51 **Input**
52
53 - Two input datasets are required.
54
55 @WIDE@
56
57 **NOTE:** The sample IDs must match the sample IDs in the Design File
58 (below). Extra columns will automatically be ignored.
59
60
61 @METADATA@
62
63 @UNIQID@
64
65 @GROUP_OPTIONAL@
66
67 --------------------------------------------------------------------------------
68
69 **Output**
70
71 A PDF file with boxplot(s) and density plot(s):
72
73 if Group/Treatment [Optional] is provided plots will be generated for every group as well as for all samples. Otherwise, a single plot will be generated for all samples.
74
75 ]]></help>
76 <expand macro="citations"/>
77 </tool>