0
|
1 <tool id="mogsa" name="mogsa" version="0.1.0">
|
|
2 <description>Integrative single sample gene-set analysis of multiple omics data</description>
|
|
3
|
|
4 <requirements>
|
|
5 <requirement type="package" version="1.20.3">r-getopt</requirement>
|
|
6 <requirement type="package" version="1.24.0">bioconductor-mogsa</requirement>
|
|
7 <requirement type="package" version="4.2.3">r-openxlsx</requirement>
|
|
8 </requirements>
|
|
9
|
|
10 <command detect_errors="exit_code"><![CDATA[
|
|
11 Rscript '$__tool_directory__/mogsa.R'
|
|
12 --data_file '$data_file'
|
|
13 --geneSet_file '$geneSet'
|
|
14 --design_file '$desigin'
|
|
15 --PC_number '$pc_number'
|
|
16 --w_data '$adv.w_data'
|
|
17 --proc_row '$adv.proc_row'
|
|
18 --ks_B '$adv.ks_B'
|
|
19 --p_adjust_method '$adv.p_adjust_method'
|
|
20 --output_file1 '$mogsa_result_geneSetScoreMatrix'
|
|
21 --output_file2 '$mogsa_result_pvalueMatrix'
|
|
22
|
|
23 ]]></command>
|
|
24
|
|
25 <inputs>
|
|
26 <param name="data_file" type="data" format="xlsx" label="Omics data" help="An Excel file including multiple omics datasets. Each sheet has one matrix for omics data. See help section for more details." />
|
|
27 <param name="desigin" type="data" format="CSV" label="Design" help="A csv file with three columns for sample, label and color. See help section for more details."/>
|
|
28 <param name="geneSet" type="data" format="rdata" label="Gene Set" help="An rdata file including a 'geneSet' variable that is a geneSetCollection object. See help section for more details."/>
|
|
29 <param name="pc_number" type="integer" value="3" min="2" label="PC number" help="Number of principal components to be used." />
|
|
30
|
|
31 <section name="adv" title="Advance Options">
|
|
32 <param name="w_data" type="select" label="The weights of each separate dataset" >
|
|
33 <option value="uniform">no weighting</option>
|
|
34 <option value="lambda1">weighted by the reverse of the first eigenvalue of each individual dataset</option>
|
|
35 <option value="inertia" selected="true">weighted by the reverse of the total inertia</option>
|
|
36 </param>
|
|
37 <param name="proc_row" type="select" label="Preprocessing of rows of datasets">
|
|
38 <option value="none">no preprocessing</option>
|
|
39 <option value="center">center only</option>
|
|
40 <option value="center_ssq1" selected="true">center and scale (sum of squared values equals 1)</option>
|
|
41 <option value="center_ssqN">center and scale (sum of squared values equals the number of columns)</option>
|
|
42 <option value="center_ssqNm1">center and scale (sum of squared values equals the number of columns - 1) </option>
|
|
43 </param>
|
|
44 <param name="ks_B" type="integer" value="1000" min="100" label="The number of bootstrapping samples" help="An integer to indicate the number of bootstrapping samples to calculate the p-value of KS statistic." />
|
|
45 <param name="p_adjust_method" type="select" label="P-value adjustment method">
|
|
46 <option value="holm">holm</option>
|
|
47 <option value="hochberg">hochberg</option>
|
|
48 <option value="hommel">hommel</option>
|
|
49 <option value="bonferroni">bonferroni</option>
|
|
50 <option value="BH" selected="true" >BH</option>
|
|
51 <option value="BY">BY</option>
|
|
52 <option value="fdr">fdr</option>
|
|
53 <option value="none">none</option>
|
|
54 </param>
|
|
55 </section>
|
|
56
|
|
57 </inputs>
|
|
58
|
|
59 <outputs>
|
|
60 <data name="mogsa_result_geneSetScoreMatrix" format="csv" label="mogsa_result_geneSetScoreMatrix" />
|
|
61 <data name="mogsa_result_pvalueMatrix" format="csv" label="mogsa_result_pvalueMatrix" />
|
|
62 </outputs>
|
|
63
|
|
64 <help><![CDATA[
|
|
65
|
|
66 .. class:: infomark
|
|
67
|
|
68 **What it does**
|
|
69
|
|
70 mogsa (Multiple Omics data integration and Gene Set Analysis) is an integrative multi-omics single-sample gene set analysis method.
|
|
71 The method learns a low dimensional representation of most variant correlated features (genes, proteins, etc.) across multiple omics data sets, transforms the features onto the same scale and calculates an integrated gene-set score from the most informative features in each data type. mogsa does not require filtering data to the intersection of features (gene IDs); therefore, all molecular features, including those that lack annotation may be included in the analysis.
|
|
72
|
|
73 ---------
|
|
74
|
|
75 ==========
|
|
76 **Inputs**
|
|
77 ==========
|
|
78
|
|
79 Basic Options
|
|
80 --------------
|
|
81
|
|
82 **Omics data**
|
|
83
|
|
84 **Omics data** refers to an excel file with multiple sheets, each of them including a different matrix of omics data. Sheet names are the source of omics data. The matrix must have the same rownames and colnames, where rows are genes and columns are samples.
|
|
85
|
|
86 **Design**
|
|
87
|
|
88 **Design** refers to a csv file, which has three columns called `sample` and `label`. The `sample` column corresponds to omics data, and `label` is for different type of `sample`.
|
|
89
|
|
90 **Gene Set**
|
|
91
|
|
92 **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 omics dataset (the gene IDs should be the same as in the rownames of omics data).
|
|
93
|
|
94 **PC number**
|
|
95
|
|
96 In practice, one needs to determine how many PCs should be retained in the step of reconstructing the gene set score matrix. In our results, we plot a scree plot of the eigenvalues, which result from the multivariate analysis. We can take the better number of PC as input. Default as 3.
|
|
97
|
|
98 Advanced Options
|
|
99 -----------------
|
|
100
|
|
101 **The weights of each separate dataset**
|
|
102 The weights of each separate dataset should be one of uniform - no weighting, lambda1 - weighted by the reverse of the first eigenvalue of each individual dataset, or inertia - weighted by the reverse of the total inertia.
|
|
103
|
|
104 MFA (multiple factorial analysis) corresponds to choosing `lambda1`.
|
|
105
|
|
106 **Preprocessing of rows of datasets**
|
|
107 Preprocessing of rows of datasets, should be one of none - no preprocessing, center - center only, center_ssq1 - center and scale (sum of squared values equals 1), center_ssqN - center and scale (sum of squared values equals the number of columns), center_ssqNm1 - center and scale (sum of squared values equals the number of columns - 1).
|
|
108
|
|
109 MFA (multiple factorial analysis) corresponds to choosing `center_ssq1`.
|
|
110
|
|
111 **The number of bootstrapping samples**
|
|
112 An integer to indicate the number of bootstrapping samples to calculate the p-value of the KS statistic. Default is 1000.
|
|
113
|
|
114 **P-value adjustment method**
|
|
115 Choose one method to adjust p-value among: `"BH"`, `"holm"`, `"hochberg"`, `"hommel"`, `"bonferroni"`, `"BY"`, `"fdr"` and `"none"`. Default is `"BH"`.
|
|
116
|
|
117 ------
|
|
118
|
|
119 ==========
|
|
120 **Output**
|
|
121 ==========
|
|
122
|
|
123 1. gene set score matrix,
|
|
124 2. P-value matrix
|
|
125
|
|
126 ]]></help>
|
|
127
|
|
128 <citations>
|
|
129 <citation type="doi">10.1074/mcp.TIR118.001251</citation>
|
|
130 </citations>
|
|
131
|
|
132 </tool>
|