|
1
|
1 <tool id="quantp" name="QuanTP" version="1.1.0">
|
|
0
|
2 <description>Correlation between protein and transcript abundances</description>
|
|
|
3 <requirements>
|
|
|
4 <requirement type="package" version="1.10.4">r-data.table</requirement>
|
|
|
5 <requirement type="package" version="3.0.1">r-gplots</requirement>
|
|
|
6 <requirement type="package" version="0.7.6">r-dplyr</requirement>
|
|
|
7 <requirement type="package" version="3.0.0">r-ggplot2</requirement>
|
|
|
8 <requirement type="package" version="0.4.5">r-ggfortify</requirement>
|
|
|
9 <requirement type="package" version="4.8.0">r-plotly</requirement>
|
|
|
10 <requirement type="package" version="0.6.1.2">r-d3heatmap</requirement>
|
|
|
11 </requirements>
|
|
|
12 <command detect_errors="exit_code"><![CDATA[
|
|
|
13 Rscript '$__tool_directory__/quantp.r'
|
|
|
14 $experiment_design_option.sample_type
|
|
|
15 $experiment_design_option.method_type
|
|
|
16 $experiment_design_option.exp_design
|
|
|
17 '$pe_exp'
|
|
|
18 '$te_exp'
|
|
|
19 $experiment_design_option.correction_method
|
|
|
20 $cooksd_upper
|
|
|
21 $nclust
|
|
|
22 $hm_nclust
|
|
|
23 $experiment_design_option.volcano_with
|
|
|
24 '$html_file'
|
|
|
25 '$html_file.files_path'
|
|
|
26 ]]></command>
|
|
|
27 <inputs>
|
|
|
28 <param name="pe_exp" type="data" format="tabular" label="Input Protein Abundance File" help="Protein abundance input file"/>
|
|
|
29 <param name="te_exp" type="data" format="tabular" label="Input RNA Abundance File" help="Transcript abundance input file"/>
|
|
|
30 <conditional name="experiment_design_option">
|
|
|
31 <param name="sample_type" type="select" label="Select data input type" help="If the input files already have fold-change values, select Log fold-change. Else, select abundances and the tool will perform the fold-change analysis">
|
|
|
32 <option value="multiple" selected="True">Abundances from different conditions with or without replicates (in multiple columns)</option>
|
|
|
33 <option value="logfold">Log fold-change values (or single condition abundance without replicates in single column) data</option>
|
|
|
34 </param>
|
|
|
35 <when value="logfold">
|
|
|
36 <param name="exp_design" type="hidden" value="none" />
|
|
|
37 <param name="method_type" type="hidden" value="none" />
|
|
|
38 <param name="correction_method" type="hidden" value="none" />
|
|
|
39 <param name="volcano_with" type="hidden" value="pval" />
|
|
|
40 </when>
|
|
|
41 <when value="multiple">
|
|
|
42 <param name="exp_design" type="data" format="tabular" help="Please check the format of the experiment design file">
|
|
|
43 <label>Experiment design File (Please see the format below)</label>
|
|
|
44 </param>
|
|
|
45 <param name="method_type" type="select" label="Data summarization method" help="Perform T-Test on selecting Mean; Wilcoxon Ranksum Test on selecting Median">
|
|
|
46 <option value="mean" selected="True">Mean (Default)</option>
|
|
|
47 <option value="median">Median</option>
|
|
|
48 </param>
|
|
|
49 <param name="correction_method" type="select" label="Multiple testing correction method">
|
|
|
50 <option value="BH" selected="True">Benjamini and Hochberg (BH) (Default)</option>
|
|
|
51 <option value="holm">Holm</option>
|
|
|
52 <option value="hochberg">Hochberg</option>
|
|
|
53 <option value="hommel">Hommel</option>
|
|
|
54 <option value="bonferroni">Bonferroni</option>
|
|
|
55 <option value="BY">Benjamini and Yekutieli (BY)</option>
|
|
|
56 <option value="none">None</option>
|
|
|
57 </param>
|
|
|
58 <param name="volcano_with" type="select" display="radio" label="Volcano plot with p-value or adjusted p-value">
|
|
|
59 <option value="pval" selected="True">P-value (Default)</option>
|
|
|
60 <option value="adj_pval">Adjusted P-value</option>
|
|
|
61 </param>
|
|
|
62 </when>
|
|
|
63 </conditional>
|
|
|
64 <param name="cooksd_upper" type="integer" value="4" optional="false" >
|
|
|
65 <label>Influential Observation cutoff: Observations > value * mean of Cook's distances (Default: "4" * mean(Cook's Distance))</label>
|
|
|
66 </param>
|
|
|
67 <param name="nclust" type="select" label="K-mean clustering: Number of clusters">
|
|
|
68 <option value="1">1</option>
|
|
|
69 <option value="2">2</option>
|
|
|
70 <option value="3">3</option>
|
|
|
71 <option value="4" selected="True">4</option>
|
|
|
72 <option value="5">5</option>
|
|
|
73 <option value="6">6</option>
|
|
|
74 <option value="7">7</option>
|
|
|
75 <option value="8">8</option>
|
|
|
76 <option value="9">9</option>
|
|
|
77 <option value="10">10</option>
|
|
|
78 </param>
|
|
|
79
|
|
|
80 <param name="hm_nclust" type="select" label="Hierarchical clustering: Number of clusters (from Heatmap)">
|
|
|
81 <option value="1">1</option>
|
|
|
82 <option value="2">2</option>
|
|
|
83 <option value="3">3</option>
|
|
|
84 <option value="4">4</option>
|
|
|
85 <option value="5" selected="True">5</option>
|
|
|
86 <option value="6">6</option>
|
|
|
87 <option value="7">7</option>
|
|
|
88 <option value="8">8</option>
|
|
|
89 <option value="9">9</option>
|
|
|
90 <option value="10">10</option>
|
|
|
91 </param>
|
|
|
92 </inputs>
|
|
|
93 <outputs>
|
|
|
94 <data format="html" name="html_file" label="protein transcript correlation on ${pe_exp.name} and ${te_exp.name}"/>
|
|
|
95 </outputs>
|
|
|
96 <tests>
|
|
|
97 <test>
|
|
|
98 <conditional name="experiment_design_option">
|
|
|
99 <param name="sample_type" value="multiple"/>
|
|
|
100 <param name="method_type" value="mean"/>
|
|
|
101 <param name="exp_design" value="exp_design_file.tabular" ftype="tabular" />
|
|
|
102 <param name="correction_method" value="BH"/>
|
|
|
103 <param name="volcano_with" value="pval"/>
|
|
|
104 </conditional>
|
|
|
105 <param name="pe_exp" value="protein_data.tabular" ftype="tabular" />
|
|
|
106 <param name="te_exp" value="transcript_data.tabular" ftype="tabular" />
|
|
|
107 <param name="cooksd_upper" value="4"/>
|
|
|
108 <param name="nclust" value="4"/>
|
|
|
109 <param name="hm_nclust" value="5"/>
|
|
|
110 <output name="html_file">
|
|
|
111 <assert_contents>
|
|
|
112 <has_text text="SAMPLE DISTRIBUTION" />
|
|
|
113 </assert_contents>
|
|
|
114 </output>
|
|
|
115 </test>
|
|
|
116 </tests>
|
|
|
117 <help><![CDATA[
|
|
|
118
|
|
|
119 **What it does**
|
|
|
120
|
|
|
121 QuanTP correlates *transcript abundance* and *protein abundance* to examine the association between them.
|
|
|
122
|
|
|
123 It either takes in the log fold-change of abundances as input or raw abundances from different conditions where it calculates the log ratios of abundances between two conditions.
|
|
|
124
|
|
|
125 Transcript input file can be generated from the quantitative RNA-Seq study whereas Protein input file can be generated from quantitative analysis of mass-spectrometry-based protein data.
|
|
|
126
|
|
|
127 -----
|
|
|
128
|
|
|
129 **Input file formats**
|
|
|
130
|
|
|
131 **Protein data file**
|
|
|
132
|
|
|
133 First column - Gene
|
|
|
134
|
|
|
135 Following columns - Abundance values (or log fold-change values)
|
|
|
136
|
|
|
137 Example of Protein input file
|
|
|
138
|
|
|
139 ====== ========= ========= ========= ========= ========= ========= ========= =========
|
|
|
140 Gene sample1 sample2 sample3 sample4 sample5 sample6 sample7 sample8
|
|
|
141 ------ --------- --------- --------- --------- --------- --------- --------- ---------
|
|
|
142 GeneX value value value value value value value value
|
|
|
143 GeneY value value value value value value value value
|
|
|
144 GeneZ value value value value value value value value
|
|
|
145 ====== ========= ========= ========= ========= ========= ========= ========= =========
|
|
|
146
|
|
|
147
|
|
|
148 **Transcript data file**
|
|
|
149
|
|
|
150 First column - Gene
|
|
|
151
|
|
|
152 Following columns - Abundance values (or log fold-change values)
|
|
|
153
|
|
|
154 Example of Transcript input file
|
|
|
155
|
|
|
156 ====== ========= ========= ========= ========= ========= ========= ========= =========
|
|
|
157 Gene sample1 sample2 sample3 sample4 sample5 sample6 sample7 sample8
|
|
|
158 ------ --------- --------- --------- --------- --------- --------- --------- ---------
|
|
|
159 GeneX value value value value value value value value
|
|
|
160 GeneY value value value value value value value value
|
|
|
161 GeneZ value value value value value value value value
|
|
|
162 ====== ========= ========= ========= ========= ========= ========= ========= =========
|
|
|
163
|
|
|
164
|
|
|
165 **Data input type**
|
|
|
166
|
|
|
167 If data input type is abundance, experiment design file is required.
|
|
|
168
|
|
|
169 Example of experiment design file
|
|
|
170
|
|
|
171 ======== =========
|
|
|
172 case groupA
|
|
|
173 control groupB
|
|
|
174 sample1 groupA
|
|
|
175 sample2 groupA
|
|
|
176 sample3 groupA
|
|
|
177 sample4 groupA
|
|
|
178 sample5 groupB
|
|
|
179 sample6 groupB
|
|
|
180 sample7 groupB
|
|
|
181 sample8 groupB
|
|
|
182 ======== =========
|
|
|
183
|
|
|
184 Note: No title/header in experiment design file and the first two lines of the experiment design must have keyword "case" and "control"
|
|
|
185
|
|
|
186 ]]>
|
|
|
187 </help>
|
|
|
188 <citations>
|
|
|
189 <citation type="bibtex">
|
|
|
190 @misc{QuanTP: A software resource for quantitative proteo-transcriptomic comparative data analysis and informatics,
|
|
|
191 author={Praveen Kumar, Priyabrata Panigrahi, James Johnson, Wanda Weber, Subina Mehta, Ray Sajulga, Caleb Easterly, Brian Crooker, Mohammad Heydarian, Krishanpal Anamika, Timothy Griffin, and Pratik Jagtap},
|
|
|
192 year={2018},
|
|
|
193 title={QuanTP}
|
|
|
194 }
|
|
|
195 </citation>
|
|
|
196 </citations>
|
|
|
197 </tool>
|