comparison distribution_samples.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_distribution_samples" name="Generate Distribution of Features within 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_samples.py
9 --input $input
10 --design $design
11 --ID $uniqID
12 --figure $figure
13
14 #if $group
15 --group $group
16 #end if
17
18 #if $order
19 --order $order
20 #end if
21 ]]></command>
22 <inputs>
23 <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."/>
24 <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."/>
25 <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."/>
26 <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."/>
27 <param name="order" type="text" size="30" value="" optional="true" label="Run Order [Optional]" help="The column name in your design file that contains the order samples were run."/>
28 </inputs>
29 <outputs>
30 <data format="pdf" name="figure" label="${tool.name} on ${on_string}: Plot"/>
31 </outputs>
32 <tests>
33 <test>
34 <param name="input" value="ST000006_data.tsv"/>
35 <param name="design" value="ST000006_design.tsv"/>
36 <param name="uniqID" value="Retention_Index" />
37 <param name="group" value="White_wine_type_and_source" />
38 <output name="figure" file="ST000006_distribution_samples_with_group_figure.pdf" compare="sim_size" delta="10000"/>
39 </test>
40 </tests>
41 <help><![CDATA[
42
43 @TIP_AND_WARNING@
44
45 **Tool Description**
46
47 The tool plots the distribution of features within each sample.
48 All samples are colored by group and are plotted on the same graph for comparison purposes.
49 The distributions of the features within each sample are presented as estimated densities and box-and-whiskers plots with potential outliers.
50 If the order samples were run is specified in the input, box plots will be displayed according to the run order.
51
52 **NOTE:** This script works best with log transformed data.
53
54
55 --------------------------------------------------------------------------------
56
57 **Input**
58
59 - Two input datasets are required.
60
61 @WIDE@
62
63 **NOTE:** The sample IDs must match the sample IDs in the Design File
64 (below). Extra columns will automatically be ignored.
65
66 @METADATA@
67
68 @UNIQID@
69
70 @GROUP_OPTIONAL@
71
72 @RUNORDER_OPTIONAL@
73
74 --------------------------------------------------------------------------------
75
76 **Output**
77
78 PDF file containing two plots:
79
80 (1) Density plots illustrating the distribution of features within a given sample
81 (2) Boxplots of the distribution of features within each sample
82
83 ]]></help>
84 <expand macro="citations"/>
85 </tool>