annotate SPIA.xml @ 4:6445741c6c02 draft default tip

Uploaded
author mora-lab
date Thu, 20 May 2021 12:19:23 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
1 <tool id="SPIA" name="SPIA (Signaling Pathway Impact Analysis)" version="0.1.0" >
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
2 <description>A method based on over-representation and signaling perturbation accumulation to analyze KEGG signaling pathways.</description>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
3
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
4 <requirements>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
5 <requirement type="package" version="1.20.3">r-getopt</requirement>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
6 <requirement type="package" version="2.42.0">bioconductor-SPIA</requirement>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
7 </requirements>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
8
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
10 Rscript '$__tool_directory__/SPIA.R'
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
11 -D '$input_data'
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
12 -O '$organism'
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
13 -R '$sigP_output'
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
14
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
15 -P '$adv.P_value_threshold'
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
16
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
17 -N '$adv.Number_bootstrap'
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
18 -C '$adv.method_combine_pvalue'
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
19 #if $adv.plot_perturbation=="True":
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
20 -W
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
21 -L '$SPIA_Perturbation_Plots'
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
22 #end if
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
23
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
24 #if $adv.pathwayId !="":
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
25 -I '$adv.pathwayId'
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
26 #end if
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
27
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
28 ]]></command>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
29
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
30 <inputs>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
31 <param type="data" name="input_data" format="csv" multiple="false" label="Input data" help="A csv file including the columns ENTREZ, logFC, and adj.P.Val"/>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
32 <param type="text" name="organism" value="hsa" label="Organism" help="A three letter character designating the organism. Default is `hsa` (human). See a full list at https://www.genome.jp/kegg/catalog/org_list.html" />
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
33
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
34 <section name="adv" title="Advanced Options" expanded="false">
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
35 <param type="float" name="P_value_threshold" label="P value threshold to select DEgenes" value="0.05" min="0.00" max="1.00" help="Set a threshold value to define differentially expressed genes"/>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
36 <param type="integer" name="Number_bootstrap" value="2000" min="100" label="Bootstrap iterations" help="Number of bootstrap iterations used to compute the P PERT value. Should be larger than 100. A recommended value is 2000." />
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
37 <param type="select" name="method_combine_pvalue" label="Method to combine P values" help="Method used to combine the two types of p-values. If set to 'fisher' it will use Fisher's method. If set to 'norminv' it will use the normal inversion method.">
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
38 <option value="fisher" selected="True">fisher</option>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
39 <option value="norminv">norminv</option>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
40 </param>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
41 <param type="boolean" name="plot_perturbation" truevalue="True" falsevalue="False" checked="False" label="Plot perturbation" help="If set to Yes, plot the gene perturbation accumulation vs log2 fold change for every gene on each pathway. Default is No." />
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
42 <param type="text" name="pathwayId" value="" label="Pathway IDs -- default as NULL and analysis all pathway. " help="Special one or more pathway to analysis, input pathway ID at here. For example: 03018, 03320."/>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
43 </section>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
44
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
45 </inputs>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
46
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
47 <outputs>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
48 <data name="sigP_output" format="csv" label="SPIA_enrich_kegg" />
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
49 <data format="pdf" name="SPIA_Perturbation_Plots" label="SPIA_Perturbation_Plots">
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
50 <filter>adv['plot_perturbation'] == True</filter>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
51 </data>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
52 </outputs>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
53
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
54 <tests>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
55 <test>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
56 <param name="input_data" value="SPIA_input.csv" ftype="csv" />
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
57 <output name="sigP_output" file="x.csv" ftype="csv" />
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
58 </test>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
59 </tests>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
60
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
61 <help><![CDATA[
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
62
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
63 .. class:: infomark
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
64
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
65 **What it does**
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
66
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
67 SPIA (Signaling pathway impact analysis) combines the evidence obtained from the
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
68 classical enrichment analysis with a novel type of evidence, which measures the actual
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
69 perturbation on a given pathway under a given condition.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
70
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
71 A bootstap procedure is used to assess the significance of the observed total pathway perturbation.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
72
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
73 Then we can calculate a global pathway significance P-value, which combines the enrichment and perturbation P-values.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
74
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
75 SPIA tool analyzes KEGG signaling pathways.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
76
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
77 -------
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
78
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
79 =========
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
80 **Input**
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
81 =========
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
82
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
83 Basic options
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
84 --------------
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
85
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
86 **Input data**
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
87
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
88 The input data is a csv file, which includes the columns `ENTREZ`, `logFC` and `adj.P.Val`.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
89 This file contains all genes of your dataset.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
90
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
91 ====== ========== ======= ========== ========= ==== ========
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
92 logFC AveExpr t P.Value adj.P.Val B ENTREZ
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
93 ====== ========== ======= ========== ========= ==== ========
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
94 5.96 6.23 23.9 1.79e-17 9.78e-13 25.4 3491
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
95 5.14 7.49 17.4 1.56e-14 2.84e-10 21.0 2353
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
96 4.15 7.04 16.5 5.15e-14 7.04e-10 20.1 1958
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
97 2.43 9.59 14.1 1.29e-12 1.41e- 8 17.7 1843
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
98 1.53 8.22 11.0 1.69e-10 1.15e- 6 13.6 3725
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
99 1.43 5.33 10.5 4.27e-10 2.42e- 6 12.8 23645
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
100 ====== ========== ======= ========== ========= ==== ========
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
101
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
102 **Organism**
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
103
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
104 A three letter word designating the organism of your data. Default is `hsa` (Human). See a full list of options at https://www.genome.jp/kegg/catalog/org_list.html.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
105
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
106 ------
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
107
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
108 Advanced Options
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
109 -----------------
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
110
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
111 **P value threshold to select DEgenes**
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
112
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
113 Set a threshold value to define differentially expressed genes. Default is 0.05.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
114
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
115 **Bootstrap iterations**
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
116
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
117 Number of bootstrap iterations used to compute the `pPERT` value. Should be larger than 100. A recommended value is 2000.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
118
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
119 **Method to combine P values**
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
120
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
121 Method used to combine the two types of p-values. If set to 'fisher' it will use Fisher's method. If set to 'norminv' it will use the normal inversion method.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
122
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
123 **Plot perturbation**
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
124
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
125 If set to `Yes`, plots the gene perturbation accumulation vs log2 fold change for every gene on each pathway. Default is `No`.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
126
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
127 **Pathway IDs -- default as NULL and analysis all pathway.**
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
128
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
129 if you want special one or more pathway to analysis, Input pathway id at here. for example: `03018, 03320`.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
130
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
131 ------
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
132
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
133 ==========
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
134 **Output**
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
135 ==========
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
136
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
137 **CSV file**
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
138
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
139 This file contains the ranked pathways and various statistics:
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
140 - **Name** is the pathway name;
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
141 - **ID** is the pathway ID;
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
142 - **pSize** is the number of genes on the pathway;
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
143 - **NDE** is the number of DE genes per pathway;
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
144 - **tA** is the observed total perturbation accumulation in the pathway;
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
145 - **pNDE** is the probability to observe at least NDE genes on the pathway using a hypergeometric model;
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
146 - **pPERT** is the probability to observe a total accumulation more extreme than tA only by chance;
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
147 - **pG** is the p-value obtained by combining pNDE and pPERT;
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
148 - **pGFdr** and **pGFWER** are the False Discovery Rate and Bonferroni adjusted global p-values;
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
149 - **Status** gives the direction in which the pathway is perturbed (activated or inhibited).
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
150 - **KEGGLINK** gives a web link to the KEGG website that displays the pathway image with the differentially expressed genes highlighted in red.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
151
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
152 **PDF file**
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
153
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
154 If the plot argument is set to `Yes`, it will output the plots for the gene perturbation accumulation vs log2 fold change for every gene on each pathway.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
155
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
156 ------
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
157
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
158 Please cite SPIA_ appropriately if you use them.
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
159
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
160 .. _SPIA: https://pubmed.ncbi.nlm.nih.gov/18990722/
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
161
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
162 ]]></help>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
163
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
164 <citations>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
165 <citation type="doi">10.1093/bioinformatics/btn577</citation>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
166 </citations>
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
167
6445741c6c02 Uploaded
mora-lab
parents:
diff changeset
168 </tool>