annotate add_pval_flags.xml @ 1:ec9ee8edb84d draft

Initial upload of 21.6.10 release.
author malex
date Fri, 18 Jun 2021 20:23:19 +0000
parents
children 2c218a253d56
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
1 <tool id="secimtools_add_pval_flags" name="Add Binary (0/1) -value Flags" version="@WRAPPER_VERSION@">
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
2 <description>using custom thresholds</description>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
3 <macros>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
4 <import>macros.xml</import>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
5 </macros>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
6 <expand macro="requirements" />
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
8 add_pval_flags.py
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
9 -de=$DE_Dataset
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
10 -id=$uniqID
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
11 -p=$pvalue
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
12 -t=$thresholds
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
13 -o=$output
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
14 -fl=$flags
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
15 ]]></command>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
16 <inputs>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
17 <param name="DE_Dataset" type="data" format="tabular" label="Select Dataset containing p-values from your history"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
18 <param name="uniqID" type="text" size="30" value="" label="Unique FeatureID" help="Name of the column in your Dataset that contains unique FeatureIDs."/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
19 <param name="pvalue" type="text" size="30" value="" label="P-Value" help="Name of the column containing your p-values."/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
20 <param name="thresholds" type="text" size="30" value="0.1,0.05,0.01" label="P-Value Thresholds" help="Enter the threshold(s). P-values less than the given threshold(s) will be flagged with a 1. Separate more than 1 threshold value with a comma, no spaces allowed."/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
21 </inputs>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
22 <outputs>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
23 <data format="tabular" name="output" label="${tool.name} on ${on_string}: Output File"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
24 <data format="tabular" name="flags" label="${tool.name} on ${on_string}: Flags File"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
25 </outputs>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
26 <tests>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
27 <test>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
28 <param name="DE_Dataset" value="limma_voom_gene_file_01fhl.tsv"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
29 <param name="uniqID" value="UniqueID"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
30 <param name="pvalue" value="P.Value"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
31 <param name="thresholds" value="0.1,0.05,0.01"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
32 <output name="output" file="add_flags_gene_output_file_01fhl.tsv"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
33 <output name="flags" file="add_flags_gene_flags_file_01fhl.tsv"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
34 </test>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
35 <test>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
36 <param name="DE_Dataset" value="limma_voom_metabolite_file_01fhl.tsv"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
37 <param name="uniqID" value="UniqueID"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
38 <param name="pvalue" value="P.Value"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
39 <param name="thresholds" value="0.1,0.05,0.01"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
40 <output name="output" file="add_flags_metabolite_output_file_01fhl.tsv"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
41 <output name="flags" file="add_flags_metabolite_flags_file_01fhl.tsv"/>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
42 </test>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
43 </tests>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
44 <help><![CDATA[
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
45
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
46
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
47 **Tool Description**
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
48
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
49 This tool generates an indicator variable (0 or 1) to identify p-values below a user-specified threshold. A “1” is used to indicate (flag)
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
50 p-values less than the indicated threshold p-value. The user can flag nominal p-values or p-values after correction for multiple testing.
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
51
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
52 --------------------------------------------------------------------------------
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
53
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
54 **INPUT**
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
55
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
56 **Example of a dataset containing p-values**
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
57
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
58 +-----------+---------+---------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
59 | FeatureID | P-value | FDR | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
60 +===========+=========+=========+=====+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
61 | one | 2.02e-6 | 1.83e-6 | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
62 +-----------+---------+---------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
63 | two | 2.87e-5 | 0.0063 | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
64 +-----------+---------+---------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
65 | three | 0.001 | 0.19 | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
66 +-----------+---------+---------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
67 | four | 0.22 | 0.99 | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
68 +-----------+---------+---------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
69 | ... | ... | ... | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
70 +-----------+---------+---------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
71
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
72 **P-value**
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
73
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
74 Name of the column in your Dataset that contains p-values.
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
75
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
76 **P-value Threshold**
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
77
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
78 P-values less than the threshold will be flagged with a 1. P-values greater than the threshold will be flagged with a 0.
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
79
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
80 **NOTE:** More than one threshold value is allowed. Separate flags will be generated for each threshold value.
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
81
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
82 --------------------------------------------------------------------------------
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
83
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
84 **OUTPUT**
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
85
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
86 Two output files are generated from the Add Binary (0/1) P-value Flags tool:
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
87
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
88 **Output File.** A TSV file containing the same columns as the Input Dataset plus an additional column(s) containing 0/1 binary indicators for whether the P-value was less that the user-specified threshold. The indicator columns are named by appending the user-specified threshold to 'Flag_' prefix (e.g. Flag_user-specified threshold, Flag_0.10).
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
89
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
90 +-----------+---------+---------+--------+-------------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
91 | FeatureID | p-value | FDR | Flag_0.2 | Flag_0.05 | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
92 +===========+=========+=========+==========+===========+=====+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
93 | one | 2.02e-6 | 1.83e-6 | 1 | 1 | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
94 +-----------+---------+---------+----------+-----------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
95 | two | 2.87e-5 | 0.0063 | 1 | 1 | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
96 +-----------+---------+---------+----------+-----------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
97 | three | 0.001 | 0.19 | 1 | 0 | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
98 +-----------+---------+---------+----------+-----------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
99 | four | 0.22 | 0.99 | 0 | 0 | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
100 +-----------+---------+---------+----------+-----------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
101 | ... | ... | ... | ... | ... | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
102 +-----------+---------+---------+----------+-----------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
103
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
104 **Flag Table.** A TSV file containing only the FeatureID column from the input dataset and the tool-generated binary indicator flags.
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
105
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
106 +-----------+----------+-----------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
107 | FeatureID | Flag_0.2 | Flag_0.05 | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
108 +===========+==========+===========+=====+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
109 | one | 1 | 1 | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
110 +-----------+----------+-----------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
111 | two | 1 | 1 | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
112 +-----------+----------+-----------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
113 | three | 1 | 0 | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
114 +-----------+----------+-----------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
115 | four | 0 | 0 | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
116 +-----------+----------+-----------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
117 | ... | ... | ... | ... |
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
118 +-----------+----------+-----------+-----+
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
119
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
120 ]]>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
121 </help>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
122 <citations>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
123 <citation type="bibtex">@ARTICLE{Kirpich17secimtools,
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
124 author = {Alexander S. Kirpich, Miguel Ibarra, Oleksandr Moskalenko, Justin M. Fear, Joseph Gerken, Xinlei Mi, Ali Ashrafi, Alison M. Morse, Lauren M. McIntyre},
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
125 title = {SECIMTools: A suite of Metabolomics Data Analysis Tools},
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
126 journal = {BMC Bioinformatics},
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
127 year = {in press}
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
128 }</citation>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
129 <citation type="bibtex">@article{garcia2010paintomics,
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
130 title={Paintomics: a web based tool for the joint visualization of transcriptomics and metabolomics data},
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
131 author={Garc{\'\i}a-Alcalde, Fernando and Garc{\'\i}a-L{\'o}pez, Federico and Dopazo, Joaqu{\'\i}n and Conesa, Ana},
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
132 journal={Bioinformatics},
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
133 volume={27},
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
134 number={1},
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
135 pages={137--139},
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
136 year={2010},
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
137 publisher={Oxford University Press}
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
138 }</citation>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
139 </citations>
ec9ee8edb84d Initial upload of 21.6.10 release.
malex
parents:
diff changeset
140 </tool>