annotate GSVA.xml @ 1:b83133fd91d5 draft default tip

Uploaded
author mora-lab
date Thu, 20 May 2021 08:30:52 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
1 <tool id="GSVA" name="GSVA (Gene Set Variation Analysis)" version="0.1.0">
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
2 <description>GSVA and other three single-sample GSA methods</description>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
3
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
4 <requirements>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
5 <requirement type="package" version="1.38.0">bioconductor-GSVA</requirement>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
6 <requirement type="package" version="1.0.12">r-pheatmap</requirement>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
7 <requirement type="package" version="1.20.3">r-getopt</requirement>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
8 </requirements>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
9
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
11 Rscript '$__tool_directory__/GSVA.R'
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
12 --expr '$expression_data'
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
13 --geneSet '$geneSet'
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
14 --method '$method'
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
15 --img_type '$imgfile.img_args.img_type'
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
16 --img_width '$imgfile.img_args.img_width'
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
17 --img_height '$imgfile.img_args.img_height'
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
18 --img_file '$output_img_file'
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
19 --GSVA_result '$GSVA_result'
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
20 ]]></command>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
21
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
22 <inputs>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
23 <param name="expression_data" type="data" format="csv" label="Gene expression data" help="A csv file containing a matrix of expression values where rows correspond to genes and columns correspond to samples." />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
24 <param name="geneSet" type="data" format="rdata" label="Gene Sets" help="An rdata file including a 'geneSet' variable (which is a geneSetCollection object)."/>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
25 <param name="method" type="select" label="Method" display="radio" help="Four single-sample methods: GSVA, ssGSEA, z-score and PLAGE. Details in the help section.">
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
26 <option value="gsva">GSVA</option>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
27 <option value="ssgsea">ssGSEA</option>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
28 <option value="zscore">z-score</option>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
29 <option value="plage">PLAGE</option>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
30 </param>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
31
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
32 <section name="imgfile" title="Heatmap options" expanded="false">
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
33 <conditional name="img_args">
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
34 <param name="img_type" type="select" label="Heatmap file type">
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
35 <option value="PNG" selected="true">PNG</option>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
36 <option value="PDF">PDF</option>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
37 <option value="JPG">JPG</option>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
38 </param>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
39
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
40 <when value="PNG">
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
41 <param name="img_width" type="integer" value="480" min="480" label="Img width(px)" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
42 <param name="img_height" type="integer" value="480" min="480" label="Img height(px)" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
43 </when>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
44
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
45 <when value="JPG">
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
46 <param name="img_width" type="integer" value="480" min="480" label="Img width(px)" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
47 <param name="img_height" type="integer" value="480" min="480" label="Img height(px)" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
48 </when>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
49
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
50 <when value="PDF">
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
51 <param name="img_width" type="integer" value="7" min="7" label="Img width(inches)" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
52 <param name="img_height" type="integer" value="7" min="7" label="Img height(inches)" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
53 </when>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
54
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
55 </conditional>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
56 </section>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
57
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
58 </inputs>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
59
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
60 <outputs>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
61 <data name="GSVA_result" format="csv" label="GSVA_enrich_result" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
62 <data format="pdf" name="output_img_file" label="GSVA_heatmap">
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
63 <change_format>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
64 <when input="imgfile.img_args.img_type" value="PNG" format="png"/>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
65 <when input="imgfile.img_args.img_type" value="JPG" format="jpg"/>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
66 </change_format>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
67 </data>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
68 </outputs>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
69
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
70 <tests>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
71 <test>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
72 <param name="expression_data" value="gsva_input2_GSE10245.csv" ftype="csv" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
73 <param name="geneSet" value="GeneSet_from_Msigdb_KEGG.rdata" ftype="rdata" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
74 <param name="method" value="gsva" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
75 <section name="imgfile">
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
76 <conditional name="img_args">
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
77 <param name="img_type" value="PNG" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
78 <param name="img_width" value="480" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
79 <param name="img_height" value="480" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
80 </conditional>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
81 </section>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
82 <output name="GSVA_result" file="GSVA_enrich_result.csv" ftype="csv" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
83 <output name="output_img_file" file="GSVA_heatmap.png" ftype="png" />
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
84 </test>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
85 </tests>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
86
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
87 <help><![CDATA[
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
88
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
89 .. class:: infomark
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
90
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
91 **What it does**
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
92
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
93 **GSVA** is a Gene Set Analysis R package that estimates variation of pathway activity over a sample population in an unsupervised manner. This tool includes four methods to analyze microarray and RNA-seq data.
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
94
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
95 - **GSVA**: Gene Set Variation Analysis (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.
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
96
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
97 - **PLAGE**: 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.
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
98
b83133fd91d5 Uploaded
mora-lab
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.
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
100
b83133fd91d5 Uploaded
mora-lab
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 and samples.
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
102
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
103 --------
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
104
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
105 =========
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
106 **Input**
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
107 =========
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
108
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
109 **Gene expression data**
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
110
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
111 A csv file including a matrix of expression values where rows correspond to genes and columns correspond to samples. Recommended gene id is Entrez ID.
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
112
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
113 **Gene Sets**
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
114
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
115 **Gene Sets** is an `rdata` file including a 'geneSet' variable (which is a geneSetCollection object built by the `GSEABase` package). You can use the **GeneSet from Msigdb/KEGG** tool to get this file. You must pay attention to set the same gene id type as in the gene expression dataset.
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
116
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
117 **Method**
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
118
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
119 Method to be used in the estimation of gene set enrichment scores per sample. By default this is set to `GSVA` but other options are `ssGSEA`, `z-score` and `PLAGE`. The latter two first standardize 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.
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
120
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
121 --------
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
122
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
123 ==========
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
124 **Output**
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
125 ==========
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
126
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
127 **1. A gene-set by sample matrix of enrichment scores**
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
128
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
129 ========= ========== ======== ======== ======== ==== =========
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
130 geneSet sample_1 sample_2 sample_3 sample_4 ... sample_n
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
131 ========= ========== ======== ======== ======== ==== =========
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
132 pathway_1
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
133 pathway_2
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
134 pathway_3
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
135 pathway_4
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
136 ...
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
137 pathway_n
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
138 ========= ========== ======== ======== ======== ==== =========
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
139
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
140
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
141 **2. A heatmap for the matrix of enrichment scores**
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
142
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
143 You can define the heatmap file type, width and height in the tool's input.
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
144
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
145 ]]></help>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
146
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
147 <citations>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
148 <citation type="doi">10.1186/1471-2105-14-7</citation>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
149 </citations>
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
150
b83133fd91d5 Uploaded
mora-lab
parents:
diff changeset
151 </tool>