annotate secimtools/standardized_euclidean_distance.xml @ 0:b54326490b4d draft

Upload 21.3.4.2 release
author malex
date Mon, 08 Mar 2021 20:55:03 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
1 <tool id="secimtools_standardized_euclidean_distance" name="Standardized Euclidean Distance (SED)" version="@WRAPPER_VERSION@">
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
2 <description>calculated for the data.</description>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
3 <macros>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
4 <import>macros.xml</import>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
5 </macros>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
6 <expand macro="requirements" />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
8 standardized_euclidean_distance.py
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
9 --input $input
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
10 --design $design
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
11 --ID $uniqID
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
12 --fig $plot
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
13 --SEDtoMean $out1
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
14 --SEDpairwise $out2
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
15
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
16 #if $group
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
17 --group $group
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
18 #end if
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
19 #if $levels
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
20 --levels $levels
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
21 #end if
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
22 #if $p
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
23 --per $p
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
24 #end if
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
25
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
26 #if $order
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
27 --order $order
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
28 #end if
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
29 ]]></command>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
30 <inputs>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
31 <param name="input" type="data" format="tabular" label="Wide Dataset" help="Input dataset in wide format and tab separated. If file not tab separated see TIP below."/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
32 <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."/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
33 <param name="uniqID" type="text" size="30" value="" label="Unique Feature ID" help="Name of the column in your Wide Dataset that has unique Feature IDs."/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
34 <param name="group" type="text" size="30" label="Group/Treatment [Optional]" help="Name of the column in your Design File that contains group classifications." />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
35 <param name="order" type="text" size="30" label="Input Run Order Name [Optional]" help="Enter the name of the column containing the order samples were run. Spelling and capitalization must be exact." />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
36 <param name="levels" type="text" size="30" label="Additional groups to separate by [Optional]" help="Enter additional group(s) name(s). Spelling and capitalization must be exact. If more than one group separate with a ','." />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
37 <param name="p" type="float" value= "0.95" size="6" label="Threshold" help="Threshold for standard distribution, specified as percentile. Default = 0.95." />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
38 </inputs>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
39 <outputs>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
40 <data format="pdf" name="plot" label="${tool.name} on ${on_string}: Plot" />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
41 <data format="tabular" name="out1" label="${tool.name} on ${on_string}: SEDtoMean" />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
42 <data format="tabular" name="out2" label="${tool.name} on ${on_string}: SEDpairwise" />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
43 </outputs>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
44 <tests>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
45 <test>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
46 <param name="input" value="ST000006_data.tsv"/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
47 <param name="design" value="ST000006_design.tsv"/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
48 <param name="uniqID" value="Retention_Index" />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
49 <param name="group" value="White_wine_type_and_source" />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
50 <output name="plot" value="ST000006_standardized_euclidean_distance_figure.pdf" compare="sim_size" delta="50000" />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
51 <output name="out1" file="ST000006_standardized_euclidean_distance_to_mean.tsv" />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
52 <output name="out2" file="ST000006_standardized_euclidean_distance_pairwise.tsv" />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
53 </test>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
54 </tests>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
55 <help><![CDATA[
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
56
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
57 @TIP_AND_WARNING@
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
58
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
59 **Tool Description**
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
60
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
61 The tool is designed to identify samples that are different using the standardized Euclidian distance (SED) between samples.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
62 The tool estimates the variance of features and calculates the SED between each pair of samples in addition to the SED between each sample and the estimated mean.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
63 If a group or treatment variable is provided, then the same distance plots are generated for each group and for all samples together.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
64
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
65 **NOTE:** Groups with less than three samples will be excluded from the analysis.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
66
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
67
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
68
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
69 **Input**
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
70
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
71 - Two input datasets are required.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
72
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
73 @WIDE@
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
74
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
75 **NOTE:** The sample IDs must match the sample IDs in the Design File
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
76 (below). Extra columns will automatically be ignored.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
77
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
78 @METADATA@
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
79
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
80 @UNIQID@
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
81
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
82 @GROUP_OPTIONAL@
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
83
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
84 - **Warning:** All groups must contain 3 or more samples.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
85
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
86
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
87 @RUNORDER_OPTIONAL@
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
88
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
89 **Additional groups to separate by [Optional]**
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
90
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
91 - Enter group(s) name(s). Spelling and capitalization must be exact. If more than one group, separate with commas.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
92 - **Warning:** All groups must contain 3 or more samples.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
93 - **NOTE:** Groups with one element will be excluded from the analysis.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
94
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
95
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
96 **Percentile cutoff**
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
97
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
98 - The percentile cutoff for standard distributions. The default is 0.95.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
99
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
100 --------------------------------------------------------------------------------
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
101
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
102 **Output**
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
103
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
104 The tool outputs three different files:
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
105
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
106 (1) a TSV file that contains a n x n matrix (where n is the number computed samples) of the pairwise distances between the samples.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
107 If the Group/Treatment [Optional] variable is specified, the distances will be computed within groups.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
108
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
109 (2) A PDF file containing:
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
110 (i) Boxplots of the distribution of distances. The distances are computed between samples in the group and summarized as boxplots.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
111 The outliers (blue dots), means (red squares) and median (blue bars) of the distances are presented for each sample within the group.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
112 (ii) 2D scatter plots that show distances computed pairwise within the group
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
113
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
114 ]]></help>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
115 <expand macro="citations"/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
116 </tool>