Mercurial > repos > malex > gait_gm
annotate add_pval_flags.xml @ 2:2c218a253d56 draft default tip
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
author | malex |
---|---|
date | Thu, 29 Jul 2021 20:48:10 +0000 |
parents | ec9ee8edb84d |
children |
rev | line source |
---|---|
2
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
1 <tool id="secimtools_add_pval_flags" name="Add Binary (0/1) P-value Flags" version="@WRAPPER_VERSION@"> |
1 | 2 <description>using custom thresholds</description> |
3 <macros> | |
4 <import>macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <command detect_errors="exit_code"><![CDATA[ | |
8 add_pval_flags.py | |
9 -de=$DE_Dataset | |
10 -id=$uniqID | |
11 -p=$pvalue | |
12 -t=$thresholds | |
13 -o=$output | |
14 -fl=$flags | |
15 ]]></command> | |
16 <inputs> | |
17 <param name="DE_Dataset" type="data" format="tabular" label="Select Dataset containing p-values from your history"/> | |
18 <param name="uniqID" type="text" size="30" value="" label="Unique FeatureID" help="Name of the column in your Dataset that contains unique FeatureIDs."/> | |
19 <param name="pvalue" type="text" size="30" value="" label="P-Value" help="Name of the column containing your p-values."/> | |
2
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
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. Default values are 0.1,0.05,0.01"/> |
1 | 21 </inputs> |
22 <outputs> | |
23 <data format="tabular" name="output" label="${tool.name} on ${on_string}: Output File"/> | |
24 <data format="tabular" name="flags" label="${tool.name} on ${on_string}: Flags File"/> | |
25 </outputs> | |
26 <tests> | |
27 <test> | |
2
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
28 <param name="DE_Dataset" value="limma_voom_gene.tsv"/> |
1 | 29 <param name="uniqID" value="UniqueID"/> |
30 <param name="pvalue" value="P.Value"/> | |
31 <param name="thresholds" value="0.1,0.05,0.01"/> | |
2
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
32 <output name="output" file="add_flags_gene_output.tsv"/> |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
33 <output name="flags" file="add_flags_gene_flags.tsv"/> |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
34 </test> |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
35 <test> |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
36 <param name="DE_Dataset" value="limma_voom_metabolite.tsv"/> |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
37 <param name="uniqID" value="UniqueID"/> |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
38 <param name="pvalue" value="P.Value"/> |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
39 <param name="thresholds" value="0.1,0.05,0.01"/> |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
40 <output name="output" file="add_flags_metabolite_output.tsv"/> |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
41 <output name="flags" file="add_flags_metabolite_flags.tsv"/> |
1 | 42 </test> |
43 </tests> | |
44 <help><![CDATA[ | |
45 **Tool Description** | |
46 | |
2
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
47 This tool generates 0/1 indicator variables to identify (‘flag’) p-values less than a user-specified threshold or less than the |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
48 default values of 0.1, 0.05 and 0.01. The flag_threshold variable is equal to 1 if the p-value is less than or equal to the |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
49 threshold and equal to 0 if greater than the threshold. You can flag nominal p-values or p-values after correction for multiple testing. |
1 | 50 |
51 -------------------------------------------------------------------------------- | |
52 | |
53 **INPUT** | |
54 | |
55 **Example of a dataset containing p-values** | |
56 | |
57 +-----------+---------+---------+-----+ | |
58 | FeatureID | P-value | FDR | ... | | |
59 +===========+=========+=========+=====+ | |
60 | one | 2.02e-6 | 1.83e-6 | ... | | |
61 +-----------+---------+---------+-----+ | |
62 | two | 2.87e-5 | 0.0063 | ... | | |
63 +-----------+---------+---------+-----+ | |
64 | three | 0.001 | 0.19 | ... | | |
65 +-----------+---------+---------+-----+ | |
66 | four | 0.22 | 0.99 | ... | | |
67 +-----------+---------+---------+-----+ | |
68 | ... | ... | ... | ... | | |
69 +-----------+---------+---------+-----+ | |
70 | |
71 **P-value** | |
72 | |
73 Name of the column in your Dataset that contains p-values. | |
74 | |
75 **P-value Threshold** | |
76 | |
77 P-values less than the threshold will be flagged with a 1. P-values greater than the threshold will be flagged with a 0. | |
78 | |
79 **NOTE:** More than one threshold value is allowed. Separate flags will be generated for each threshold value. | |
80 | |
81 -------------------------------------------------------------------------------- | |
82 | |
83 **OUTPUT** | |
84 | |
85 Two output files are generated from the Add Binary (0/1) P-value Flags tool: | |
86 | |
2
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
87 **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). |
1 | 88 |
89 +-----------+---------+---------+--------+-------------+-----+ | |
90 | FeatureID | p-value | FDR | Flag_0.2 | Flag_0.05 | ... | | |
91 +===========+=========+=========+==========+===========+=====+ | |
92 | one | 2.02e-6 | 1.83e-6 | 1 | 1 | ... | | |
93 +-----------+---------+---------+----------+-----------+-----+ | |
94 | two | 2.87e-5 | 0.0063 | 1 | 1 | ... | | |
95 +-----------+---------+---------+----------+-----------+-----+ | |
96 | three | 0.001 | 0.19 | 1 | 0 | ... | | |
97 +-----------+---------+---------+----------+-----------+-----+ | |
98 | four | 0.22 | 0.99 | 0 | 0 | ... | | |
99 +-----------+---------+---------+----------+-----------+-----+ | |
100 | ... | ... | ... | ... | ... | ... | | |
101 +-----------+---------+---------+----------+-----------+-----+ | |
102 | |
103 **Flag Table.** A TSV file containing only the FeatureID column from the input dataset and the tool-generated binary indicator flags. | |
104 | |
105 +-----------+----------+-----------+-----+ | |
106 | FeatureID | Flag_0.2 | Flag_0.05 | ... | | |
107 +===========+==========+===========+=====+ | |
108 | one | 1 | 1 | ... | | |
109 +-----------+----------+-----------+-----+ | |
110 | two | 1 | 1 | ... | | |
111 +-----------+----------+-----------+-----+ | |
112 | three | 1 | 0 | ... | | |
113 +-----------+----------+-----------+-----+ | |
114 | four | 0 | 0 | ... | | |
115 +-----------+----------+-----------+-----+ | |
116 | ... | ... | ... | ... | | |
117 +-----------+----------+-----------+-----+ | |
118 | |
2
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
119 ]]></help> |
1 | 120 <citations> |
121 <citation type="bibtex">@ARTICLE{Kirpich17secimtools, | |
122 author = {Alexander S. Kirpich, Miguel Ibarra, Oleksandr Moskalenko, Justin M. Fear, Joseph Gerken, Xinlei Mi, Ali Ashrafi, Alison M. Morse, Lauren M. McIntyre}, | |
123 title = {SECIMTools: A suite of Metabolomics Data Analysis Tools}, | |
124 journal = {BMC Bioinformatics}, | |
2
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
125 year = {2018} |
1 | 126 }</citation> |
2
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
127 <citation type="bibtex">@article{Mor2021GaitGM, |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
128 title={GAIT-GM integrative cross-omics analyses reveal cholinergic defects in a C. elegans model of Parkinson's disease}, |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
129 author={Mor, DE and Huertas, F and Morse, AM and Kaletsky, R and Murphy, CT and Kalia, V and Miller, GW and Moskalenko, O and Conesa, A and McIntyre, LM}, |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
130 journal={BMC Genomics}, |
2c218a253d56
"planemo upload for repository https://github.com/secimTools/gait-gm/tree/main/galaxy commit 758394addb95b09e794132a23a1f7e95ba39df0b"
malex
parents:
1
diff
changeset
|
131 year={submitted}, |
1 | 132 }</citation> |
133 </citations> | |
134 </tool> |