annotate GSVA.xml @ 0:5b11b0530ee6 draft

GSVA.xml --2021.4.1
author xiaowei
date Thu, 01 Apr 2021 10:18:22 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
1 <tool id="GSVA" name="Gene Set Variation Analysis" version="0.1.0">
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
2 <description>Estimates GSVA enrichment scores</description>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
3 <requirements>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
4 <requirement type="package" version="1.38.0">bioconductor-GSVA</requirement>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
5 <requirement type="package" version="1.0.12">r-pheatmap</requirement>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
6 <requirement type="package" version="1.20.3">r-getopt</requirement>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
7 </requirements>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
9 Rscript '$__tool_directory__/GSVA.R'
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
10 --expr '$expression_data'
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
11 --geneSet '$geneSet'
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
12 --method '$method'
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
13 --img_type '$imgfile.img_args.img_type'
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
14 --img_width '$imgfile.img_args.img_width'
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
15 --img_height '$imgfile.img_args.img_height'
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
16 --img_file '$output_img_file'
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
17 --GSVA_result '$GSVA_result'
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
18 ]]></command>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
19 <inputs>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
20 <param name="expression_data" type="data" format="csv" label="Gene expression data" help="An CSV file that is a matrix of expression values where rows correspond to genes and columns correspond to samples." />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
21
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
22 <param name="geneSet" type="data" format="rdata" label="Gene Sets" help="An rdata file included geneSetCollection object 'geneSet' as name."/>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
23
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
24 <param name="method" type="select" label="Method" display="radio" help="Supposted four method: GSVA, ssGSEA, z-score and PLAGE. Details in help.">
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
25 <option value="gsva">GSVA</option>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
26 <option value="ssgsea">ssGSEA</option>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
27 <option value="zscore">z-score</option>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
28 <option value="plage">PLAGE</option>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
29 </param>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
30
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
31 <section name="imgfile" title="Heatmap" expanded="false">
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
32 <conditional name="img_args">
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
33 <param name="img_type" type="select" label="Heatmap file type">
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
34 <option value="PNG" selected="true">PNG</option>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
35 <option value="PDF">PDF</option>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
36 <option value="JPG">JPG</option>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
37 </param>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
38
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
39 <when value="PNG">
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
40 <param name="img_width" type="integer" value="480" min="480" label="Img width(px)" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
41 <param name="img_height" type="integer" value="480" min="480" label="Img height(px)" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
42 </when>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
43
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
44 <when value="JPG">
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
45 <param name="img_width" type="integer" value="480" min="480" label="Img width(px)" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
46 <param name="img_height" type="integer" value="480" min="480" label="Img height(px)" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
47 </when>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
48
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
49 <when value="PDF">
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
50 <param name="img_width" type="integer" value="7" min="7" label="Img width(inches)" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
51 <param name="img_height" type="integer" value="7" min="7" label="Img height(inches)" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
52 </when>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
53
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
54 </conditional>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
55 </section>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
56
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
57 </inputs>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
58 <outputs>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
59 <data name="GSVA_result" format="csv" label="GSVA_enrich_result" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
60 <data format="pdf" name="output_img_file" label="GSVA_heatmap">
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
61 <change_format>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
62 <when input="imgfile.img_args.img_type" value="PNG" format="png"/>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
63 <when input="imgfile.img_args.img_type" value="JPG" format="jpg"/>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
64 </change_format>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
65 </data>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
66 </outputs>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
67 <tests>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
68 <test>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
69 <param name="expression_data" value="gsva_input2_GSE10245.csv" ftype="csv" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
70 <param name="geneSet" value="GeneSet_from_Msigdb_KEGG.rdata" ftype="rdata" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
71 <param name="method" value="gsva" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
72 <section name="imgfile">
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
73 <conditional name="img_args">
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
74 <param name="img_type" value="PNG" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
75 <param name="img_width" value="480" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
76 <param name="img_height" value="480" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
77 </conditional>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
78 </section>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
79 <output name="GSVA_result" file="GSVA_enrich_result.csv" ftype="csv" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
80 <output name="output_img_file" file="GSVA_heatmap.png" ftype="png" />
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
81 </test>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
82 </tests>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
83
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
84
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
85 <help><![CDATA[
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
86
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
87 .. class:: infomark
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
88
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
89 **What it does**
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
90
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
91 Gene Set Variation Analysis (GSVA) is a Gene Set Enrichment (GSE) method that estimates variation of pathway activity over a sample population in an unsupervised manner.
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
92
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
93 This tool is built from function `gsva()` bioconductor package `GSVA`, which included four method to analyze microarray and RNG-seq data.
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
94
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
95 - **GSVA**: GSVA calculates sample-wise gene set enrichment scores as a function of genes inside and outside the gene set, analogously to a competitive gene set test. And it estimates variation of gene set enrichment over the samples independently of any class label.
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
96
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
97 - **PLAGSE**: Pathway Level analysis of Gene Expression (PLAGE) standardizes each gene expression profile over the samples and then estimates the pathway activity profiles for each gene set as the coefficients of the first right-singular vector of the singular value.
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
98
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
99 - **z-score**: The combined z-score method also standardizes each gene expression profile into z-scores and combine the individual gene z-scores per sample to pathway activity profile.
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
100
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
101 - **ssGSEA**: The ssGSEA method uses the difference in empirical cumulative distribution functions of gene expression rank inside and outside the gene set to calculate an enrichment statistic per sample which is further normalized by the range of values taken throughout all gene sets amd samples.
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
102
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
103 --------
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
104
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
105 =========
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
106 **Input**
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
107 =========
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
108
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
109
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
110 **Gene expression data**
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
111
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
112 The input data is an CSV file, which included a matrix of expression values where rows correspond to genes and columns correspond to samples.
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
113 Recommend gene id is Entrez ID.
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
114
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
115 **Gene Sets**
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
116
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
117 Gene Sets is an rdata file which included object `geneSet` that is geneSetCollection built by `GSEABase` of bioconductor package. You can use
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
118 GeneSet from Msigdb/KEGG to get this file.
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
119
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
120 **Method**
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
121
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
122 Method to employ in the estimation of gene-set enrichment scores per sample. By default this is set to `GSVA` and other options are `ssGSEA`, `z-score` or `PLAGE`. The latter two standardize first expression profiles into z-scores over the samples and, in the case of zscore, it combines them together as their sum divided by the square-root of the size of the gene set, while in the case of plage they are used to calculate the singular value decomposition (SVD) over the genes in the gene set and use the coefficients of the first right-singular vector as pathway activity profile.
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
123
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
124 --------
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
125
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
126 ==========
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
127 **Output**
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
128 ==========
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
129
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
130 **1. A gene-set by sample matrix GSVA enrichment scores**
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
131
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
132 ========= ========== ======== ======== ======== ==== =========
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
133 geneSet sample_1 sample_2 sample_3 sample_4 ... sample_n
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
134 ========= ========== ======== ======== ======== ==== =========
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
135 pathway_1
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
136 pathway_2
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
137 pathway_3
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
138 pathway_4
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
139 ...
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
140 pathway_n
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
141 ========= ========== ======== ======== ======== ==== =========
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
142
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
143
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
144 **2. Heatmap for the matrix GSVA enrichment scores**
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
145
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
146 You can define the heatmap file type, width and height in the part of input.
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
147
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
148 ]]></help>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
149
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
150 <citations>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
151 <citation type="doi">10.1186/1471-2105-14-7</citation>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
152 </citations>
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
153
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
154
5b11b0530ee6 GSVA.xml --2021.4.1
xiaowei
parents:
diff changeset
155 </tool>