Mercurial > repos > malex > secimtools
comparison run_order_regression.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_run_order_regression" name="Run Order Regression (ROR)" version="@WRAPPER_VERSION@"> | |
2 <description>using the order samples were run.</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <command detect_errors="exit_code"><![CDATA[ | |
8 run_order_regression.py | |
9 --input $input | |
10 --design $design | |
11 --ID $uniqID | |
12 --group $group | |
13 --order $order | |
14 --fig $order_plots | |
15 --table $order_summary | |
16 --flags $flags | |
17 ]]></command> | |
18 <inputs> | |
19 <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."/> | |
20 <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."/> | |
21 <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."/> | |
22 <param name="group" type="text" size="30" value="" label="Group/Treatment" help="Name of the column in your design file that contains group classifications."/> | |
23 <param name="order" type="text" size="30" value="" label="Run Order ID" help="The name of the column in your design file that contains the order the samples were run."/> | |
24 </inputs> | |
25 <outputs> | |
26 <data name="order_plots" format="pdf" label="${tool.name} on ${on_string}: Plots" /> | |
27 <data name="order_summary" format="tabular" label="${tool.name} on ${on_string}: Summary"/> | |
28 <data name="flags" format="tabular" label="${tool.name} on ${on_string}: Flags"/> | |
29 </outputs> | |
30 <tests> | |
31 <test> | |
32 <param name="input" value="ST000006_data.tsv"/> | |
33 <param name="design" value="ST000006_design.tsv"/> | |
34 <param name="uniqID" value="Retention_Index" /> | |
35 <param name="group" value="White_wine_type_and_source" /> | |
36 <param name="order" value="run_Order_fake_variable" /> | |
37 <output name="order_plots" file="ST000006_run_order_regression_figure.pdf" compare="sim_size" delta="10000" /> | |
38 <output name="order_summary" file="ST000006_run_order_regression_table.tsv" /> | |
39 <output name="flags" file="ST000006_run_order_regression_flags.tsv" /> | |
40 </test> | |
41 </tests> | |
42 <help><![CDATA[ | |
43 | |
44 @TIP_AND_WARNING@ | |
45 | |
46 **Tool Description** | |
47 | |
48 **NOTE:** The tool is intended to evaluate the impact of sample run order on feature (row) values. Not applicable in the absence of known run order. | |
49 | |
50 It uses linear regression to identify features where the regression slope is not zero for nominal levels of significance. | |
51 | |
52 The tool fits a simple linear regression by feature (row) using values for each feature as a response and sample run order as a linear predictor. | |
53 The goal is to identify a linear trend that changes over time and determine whether the trends are statistically significant. | |
54 The tool generates flags if the slope is statistically significant for two different levels of statistical significance ( alpha = 0.05 and alpha = 0.01). | |
55 | |
56 NOTE: Groups with one element are excluded from the analysis. | |
57 | |
58 -------------------------------------------------------------------------------- | |
59 | |
60 **Input** | |
61 | |
62 - Two input datasets are required. | |
63 | |
64 @WIDE@ | |
65 | |
66 **NOTE:** The sample IDs must match the sample IDs in the Design File (below). Extra columns will automatically be ignored. | |
67 | |
68 @METADATA@ | |
69 | |
70 @UNIQID@ | |
71 | |
72 @GROUP@ | |
73 | |
74 - **NOTE:** Groups with one element will be excluded. | |
75 | |
76 @RUNORDER@ | |
77 | |
78 | |
79 ----------------------------------------------------------------------------------- | |
80 | |
81 **Output** | |
82 | |
83 This tool outputs three different files: | |
84 | |
85 (1) a TSV file of regression summaries including the values of the regression slope, corresponding p-value and r-squared value. | |
86 | |
87 (2) a TSV file with the corresponding flags for two levels of statistical significance (alpha = 0.05 and alpha = 0.01). | |
88 | |
89 (3) and a PDF file with fitted regression plots for each feature. The values of the feature are displayed on the plot together with the regression line, bands, slopes, and corresponding p and r-squared values. The values are colored according to group classification. | |
90 | |
91 ]]></help> | |
92 <expand macro="citations"/> | |
93 </tool> |