annotate secimtools/retention_time_flags.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_retention_time_flags" name="Retention Time (RT) Flags" version="@WRAPPER_VERSION@">
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
2 <description>- Flag features with discrepancies in retention time.</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 <stdio>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
8 <exit_code range="1:" level="warning" description="RuntimeWarning"/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
9 </stdio>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
11 retention_time_flags.py
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
12 --input $input
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
13 --design $design
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
14 --ID $uniqID
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
15 --figure $RTplot
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
16 --flag $RTflag
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
17 --minutes $minutes
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
18 #if $CVcutoff:
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
19 --CVcutoff $CVcutoff
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
20 #end if
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
21 #if $pctl
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
22 --pctl
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
23 #end if
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
24 ]]></command>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
25 <inputs>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
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."/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
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."/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
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."/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
29 <param name="CVcutoff" optional="true" type="float" value="0.1" size="4" label="Coefficient of Variation (CV) Cutoff" help="Coefficient of variation (CV) cutoff (in decimals) that specifies the proportion of features to flag. Default CV cutoff = 0.1, which implies that 10% of the features with the largest CVs will be flagged." />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
30 <param name="minutes" type="float" size="4" value="0.2" label="Retention Time Cutoff Value" help="If the difference in the retention time between the 95th and 5th percentiles (or 90th and 10th) is greater than this specified RT Cutoff value, features are flagged. (A default value of 0.2 assumes data units are in minutes)" />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
31 <param name="pctl" type="boolean" size="6" label="90th and 10th percentiles [Optional]" help="See RT Cutoff Value above. Check this box to use the 90th and 10th percentiles instead of the default 95th and 5th percentiles."/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
32 </inputs>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
33 <outputs>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
34 <data format="pdf" name="RTplot" label="${tool.name} on ${on_string}: plot" />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
35 <data format="tabular" name="RTflag" label="${tool.name} on ${on_string}: flag" />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
36 </outputs>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
37 <tests>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
38 <test>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
39 <param name="input" value="TEST0000_rt.tsv"/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
40 <param name="design" value="TEST0000_design.tsv"/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
41 <param name="uniqID" value="rowID" />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
42 <output name="RTplot" file="TEST0000_retention_time_flags_figure.pdf" compare="sim_size" delta="10000"/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
43 <output name="RTflag" file="TEST0000_retention_time_flags_flag.tsv" />
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
44 </test>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
45 </tests>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
46 <help><![CDATA[
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
47
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
48 @TIP_AND_WARNING@
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
49
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
50 **Tool Description**
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
51
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
52 ***NOTE:*** This tool is primarily intended for flagging features with variation in retention times in mass spectrometry data analysis.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
53 The goal of the tool is to identify potential problems with the instrument or with data processing and pre-processing.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
54
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
55 The retention time for a given feature is predicted to be relatively consistent across samples. This tool identifies potential abnormalities or shifts in the retention time for a feature.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
56
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
57 --------------------------------------------------------------------------------
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
58
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
59 **Input**
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
60
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
61 - Two input datasets are required.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
62
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
63 @WIDE@
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:** The sample IDs must match the sample IDs in the Design File (below).
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
66 Extra columns will automatically be ignored.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
67
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
68 @METADATA@
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
69
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
70 @UNIQID@
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
71
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
72 **Coefficient of Variation (CV) Cutoff**
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
73
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
74 - The coefficient of variation (CV) cutoff (in decimals) specifies the proportion of features to flag. Default CV cutoff = 0.1, implying that 10% of the features with the largest CV will be flagged.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
75
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
76
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
77 **Retention Time Cutoff Value**
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
78
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
79 - A user specified value (Default value = 0.2 assumes the data units are in minutes) used with the percentile button below. Features where the difference in the RT between the 95th and 5th percentiles is greater than the given Retention Time Cutoff Value are flagged.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
80
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
81
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
82 **90th percentile [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 - See Retention Time Cutoff Value above. Check this box to use a 90th percentile. The default is a 95th percentile.
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
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
88 **Output**
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
89
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
90 The tool outputs two files:
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
91
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
92 (1) a TSV file with flags for each feature, where the results from each flagging method are saved in a separate column
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
93
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
94 - flag_RT_Q95Q05_outlier: 0/1 flag where the value “1” is for features where the difference in the retention time between the 95th and 5th percentile (or 90th and 10th percentiles) is greater than the user specified Retention Time Cutoff Value (default is 0.2 minutes).
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
95
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
96 - flag_RT_max_gt_threshold: 0/1 flag where the value “1” is for features where the difference between the retention time maximum and median is greater than the Retention Time Cutoff Value divided by 2.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
97
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
98 - flag_RT_min_lt_threshold: 0/1 flag where the value “1” is for features where the difference between the retention time minimum and median is greater than the Retention Time Cutoff Value divided by 2.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
99
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
100 - flag_RT_min_max_outlier: 0/1 flag where the value “1” is for features where the difference between the retention time minimum and maximum is greater than 3 times the standard deviation from the mean.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
101
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
102 - flag_RT_big_CV: 0/1 flag where the value “1” is for features where the coefficient of variation (CV) in retention time is greater than the CV Cutoff. The default value is 0.1 which corresponds to flagging the 10% of the features with the largest CV.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
103
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
104 (2) and a PDF file containing a density plot of the coefficients of variation (CV) for the retention time. The vertical red dotted line shows the CV cutoff for the top XX% of the data as specified by the CV cutoff values.
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
105
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
106
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
107
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
108 ]]></help>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
109 <expand macro="citations"/>
b54326490b4d Upload 21.3.4.2 release
malex
parents:
diff changeset
110 </tool>