annotate COBRAxy/marea.xml @ 93:7e703e546998 draft

Uploaded
author luca_milaz
date Sun, 13 Oct 2024 11:41:34 +0000
parents
children 84b31c9100ad
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
93
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
1 <tool id="MaREA" name="Metabolic Reaction Enrichment Analysis" version="2.0.0">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
2 <macros>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
3 <import>marea_macros.xml</import>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
4 </macros>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
5
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
6 <requirements>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
7 <requirement type="package" version="1.24.4">numpy</requirement>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
8 <requirement type="package" version="2.0.3">pandas</requirement>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
9 <requirement type="package" version="5.2.2">lxml</requirement>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
10 <requirement type="package" version="1.10.1">scipy</requirement>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
11 <requirement type="package" version="1.5.1">svglib</requirement>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
12 <requirement type="package" version="2.2.3">pyvips</requirement>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
13 <requirement type="package" version="2.7.1">cairosvg</requirement>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
14 <requirement type="package" version="0.29.0">cobra</requirement>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
15 </requirements>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
16
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
17 <command detect_errors="exit_code">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
18 <![CDATA[
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
19 python $__tool_directory__/marea.py
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
20
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
21 --tool_dir $__tool_directory__
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
22 --option $cond.type_selector
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
23 --out_log $log
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
24
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
25 #if $cond.type_selector == 'datasets':
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
26
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
27 --using_RAS $cond.using_ras.check
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
28 --using_RPS $cond.using_rps.check
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
29
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
30 #if $cond.using_ras.check == 'true':
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
31 --input_datas
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
32 #for $data in $cond.using_ras.input_datasets:
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
33 ${data.input}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
34 #end for
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
35
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
36 --names
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
37 #for $data in $cond.using_ras.input_datasets:
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
38 ${data.input_name}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
39 #end for
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
40 #end if
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
41
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
42 #if $cond.using_rps.check == 'true':
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
43 --input_datas_rps
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
44 #for $data in $cond.using_rps.input_datasets_rps:
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
45 ${data.input_rps}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
46 #end for
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
47
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
48 --names_rps
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
49 #for $data in $cond.using_rps.input_datasets_rps:
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
50 ${data.input_name_rps}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
51 #end for
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
52 #end if
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
53
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
54 #elif $cond.type_selector == 'dataset_class':
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
55
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
56 --using_RAS $cond.using_ras_all.check
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
57 --using_RPS $cond.using_rps_all.check
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
58
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
59 #if $cond.using_ras_all.check == 'true':
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
60 --input_data ${cond.using_ras_all.input_data}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
61 --input_class ${cond.using_ras_all.input_class}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
62 #end if
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
63
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
64 #if $cond.using_rps_all.check == 'true':
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
65 --input_data_rps ${cond.using_rps_all.input_data_rps}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
66 --input_class_rps ${cond.using_rps_all.input_class_rps}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
67 #end if
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
68 #end if
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
69
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
70 --comparison ${comparis.comparison}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
71 #if $comparis.comparison == 'onevsmany'
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
72 --control '${cond.comparis.controlgroup}'
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
73 #end if
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
74
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
75 --choice_map '${cond_choice_map.choice_map}'
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
76 #if $cond_choice_map.choice_map == 'Custom':
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
77 --custom_map ${cond_choice_map.custom_map}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
78 #end if
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
79
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
80 #if $advanced.choice == 'true':
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
81 --pValue ${advanced.pValue}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
82 --fChange ${advanced.fChange}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
83 --generate_svg ${advanced.generateSvg}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
84 --generate_pdf ${advanced.generatePdf}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
85 --net ${advanced.netRPS}
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
86 #else
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
87 --pValue 0.05
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
88 --fChange 1.2
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
89 --generate_svg false
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
90 --generate_pdf true
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
91 --net false
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
92 #end if
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
93 ]]>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
94 </command>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
95
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
96 <inputs>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
97 <conditional name="cond">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
98 <param name="type_selector" argument="--option" type="select" label="Input format:">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
99 <option value="datasets" selected="true">RAS of group 1 + RAS of group 2 + ... + RAS of group N</option>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
100 <option value="dataset_class">RAS of all samples + sample group specification</option>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
101 </param>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
102
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
103 <when value="datasets">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
104 <conditional name = "using_ras">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
105 <param name = "check" argument = "--using_ras" type = "boolean" checked = "true" label = "Using RAS datasets." />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
106
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
107 <when value = "true">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
108 <repeat name="input_datasets" title="RAS dataset" min="2">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
109 <param name="input" argument="--input_datas" type="data" format="tabular, csv, tsv" label="add dataset" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
110 <param name="input_name" argument="--names" type="text" label="Dataset's name:" value="Dataset" help="Default: Dataset" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
111 </repeat>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
112 </when>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
113 </conditional>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
114
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
115 <conditional name = "using_rps">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
116 <param name = "check" argument = "--using_rps" type = "boolean" checked = "false" label = "Using RPS datasets." />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
117
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
118 <when value = "true">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
119 <repeat name="input_datasets_rps" title="RPS dataset" min="2">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
120 <param name="input_rps" argument="--input_datas_rps" type="data" format="tabular, csv, tsv" label="add dataset" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
121 <param name="input_name_rps" argument="--names_rps" type="text" label="Dataset's name:" value="Dataset" help="Default: Dataset" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
122 </repeat>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
123 </when>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
124 </conditional>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
125 </when>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
126
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
127 <when value="dataset_class">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
128 <conditional name = "using_ras_all">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
129 <param name = "check" argument = "--using_ras_all" type = "boolean" checked = "true" label = "Using RAS datasets." />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
130
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
131 <when value = "true">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
132 <param name="input_data" argument="--input_data" type="data" format="tabular, csv, tsv" label="RAS of all samples" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
133 <param name="input_class" argument="--input_class" type="data" format="tabular, csv, tsv" label="Sample group specification" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
134 </when>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
135 </conditional>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
136
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
137 <conditional name = "using_rps_all">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
138 <param name = "check" argument = "--using_rps_all" type = "boolean" checked = "false" label = "Using RPS datasets." />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
139
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
140 <when value = "true">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
141 <param name="input_data_rps" argument="--input_data_rps" type="data" format="tabular, csv, tsv" label="RPS of all samples" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
142 <param name="input_class_rps" argument="--input_class_rps" type="data" format="tabular, csv, tsv" label="Sample group specification" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
143 </when>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
144 </conditional>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
145 </when>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
146 </conditional>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
147
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
148 <conditional name="comparis">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
149 <param name="comparison" argument="--comparison" type="select" label="Groups comparison:">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
150 <option value="manyvsmany" selected="true">One vs One</option>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
151 <option value="onevsrest">One vs All</option>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
152 <option value="onevsmany">One vs Control</option>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
153 </param>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
154 <when value="onevsmany">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
155 <param name="controlgroup" argument="--controlgroup" type="text" label="Control group label:" value="0" help="Name of group label to be compared to others"/>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
156 </when>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
157 </conditional>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
158
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
159 <conditional name="cond_choice_map">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
160 <param name="choice_map" argument="--choice_map" type="select" label="Choose metabolic map:">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
161 <option value="HMRcore" selected="true">HMRcore</option>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
162 <option value="ENGRO2">ENGRO2</option>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
163 <option value="Custom">Custom</option>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
164 </param>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
165
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
166 <when value="Custom">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
167 <param name="custom_map" argument="--custom_map" type="data" format="xml, svg" label="custom-map.svg"/>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
168 </when>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
169 </conditional>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
170
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
171 <conditional name="advanced">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
172 <param name="choice" type="boolean" checked="false" label="Use advanced options?" help="Use this options to choose custom parameters for evaluation: pValue, Fold-Change threshold, how to solve (A and NaN) and specify output maps.">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
173 <option value="true" selected="true">No</option>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
174 <option value="false">Yes</option>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
175 </param>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
176
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
177 <when value="true">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
178 <param name="pValue" argument="--pValue" type="float" size="20" value="0.05" max="1" min="0" label="P-value threshold:" help="min value 0" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
179 <param name="fChange" argument="--fChange" type="float" size="20" value="1.2" min="1" label="Fold-Change threshold:" help="min value 1" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
180 <param name="generateSvg" argument="--generateSvg" type="boolean" checked="false" label="Generate SVG map" help="should the program generate an editable svg map of the processes?" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
181 <param name="generatePdf" argument="--generatePdf" type="boolean" checked="true" label="Generate PDF map" help="should the program return a non editable (but displayble) pdf map of the processes?" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
182
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
183 <param name="netRPS" argument="--net" type="boolean" checked="false" label="Should RPS enrichment use net values?" help="If checked and RPS datasets are present the arrow tips of a reversible arrow will be colored with the net contribution of both directions' RPS values" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
184 </when>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
185 </conditional>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
186 </inputs>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
187
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
188 <outputs>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
189 <data format="txt" name="log" label="MaREA - Log" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
190 <collection name="results" type="list" label="MaREA - Results">
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
191 <discover_datasets pattern="__name_and_ext__" directory="result"/>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
192 </collection>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
193 </outputs>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
194
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
195 <help>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
196 <![CDATA[
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
197
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
198 What it does
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
199 -------------
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
200
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
201 This tool analyzes and visualizes differences in the Reaction Activity Scores (RASs) of groups of samples, as computed by the Expression2RAS tool, of groups of samples.
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
202
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
203 Accepted files are:
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
204 - option 1) two or more RAS datasets, each referring to samples in a given group. The user can specify a label for each group (as e.g. "classA" and "classB");
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
205 - option 2) one RAS dataset and one group-file specifying the group each sample belongs to.
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
206
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
207 RAS datasets format: tab-separated text files, reporting the RAS value of each reaction (row) for a given sample (column).
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
208
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
209 Column header: sample ID.
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
210 Row header: reaction ID.
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
211
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
212 Optional files:
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
213 - custom svg map. Graphical elements must have the same IDs of reactions. See HmrCore svg map for an example.
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
214
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
215 The tool generates:
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
216 - 1) a tab-separated file: reporting fold-change and p-values of reaction activity scores (RASs) between a pair of conditions/classes;
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
217 - 2) a metabolic map file (downloadable as .svg): visualizing up- and down-regulated reactions between a pair of conditions/classes;
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
218 - 3) a log file (.txt).
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
219
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
220 Output options:
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
221 To calculate P-Values and Fold-Changes and to enrich maps, comparisons are performed for each possible pair of groups (default option ‘One vs One’).
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
222
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
223 Alternative options are:
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
224 - comparison of each group vs. the rest of samples (option ‘One vs Rest’)
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
225 - comparison of each group vs. a control group (option ‘One vs Control). If this option is selected the user must indicate the control group label.
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
226
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
227 Output files will be named as classA_vs_classB. Reactions will conventionally be reported as up-regulated (down-regulated) if they are significantly more (less) active in class having label "classA".
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
228
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
229 Example input
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
230 -------------
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
231
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
232 "RAS of group 1 + RAS of group 2 + ... + RAS of group N" option:
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
233
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
234 RAS Dataset 1:
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
235
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
236 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
237 | Reaction ID| TCGAA62670 | TCGAA62671 | TCGAA62672 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
238 +============+================+================+================+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
239 | r1642 | 0.523167 | 0.371355 | 0.925661 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
240 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
241 | r1643 | 0.568765 | 0.765567 | 0.456789 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
242 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
243 | r1640 | 0.876545 | 0.768933 | 0.987654 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
244 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
245 | r1641 | 0.456788 | 0.876543 | 0.876542 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
246 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
247 | r1646 | 0.876543 | 0.786543 | 0.897654 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
248 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
249
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
250 RAS Dataset 2:
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
251
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
252 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
253 | Reaction ID| TCGAA62670 | TCGAA62671 | TCGAA62672 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
254 +============+================+================+================+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
255 | r1642 | 0.523167 | 0.371355 | 0.925661 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
256 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
257 | r1643 | 0.568765 | 0.765567 | 0.456789 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
258 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
259 | r1640 | 0.876545 | 0.768933 | 0.987654 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
260 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
261 | r1641 | 0.456788 | 0.876543 | 0.876542 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
262 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
263 | r1646 | 0.876543 | 0.786543 | 0.897654 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
264 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
265
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
266 "RAS of all samples + sample group specification" option:
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
267
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
268 RAS Dataset:
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
269
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
270 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
271 | Reaction ID| TCGAA62670 | TCGAA62671 | TCGAA62672 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
272 +============+================+================+================+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
273 | r1642 | 0.523167 | 0.371355 | 0.925661 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
274 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
275 | r1643 | 0.568765 | 0.765567 | 0.456789 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
276 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
277 | r1640 | 0.876545 | 0.768933 | 0.987654 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
278 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
279 | r1641 | 0.456788 | 0.876543 | 0.876542 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
280 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
281 | r1646 | 0.876543 | 0.786543 | 0.897654 |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
282 +------------+----------------+----------------+----------------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
283
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
284 Group-file
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
285
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
286 +---------------+-----------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
287 | Patient ID | Class |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
288 +===============+===========+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
289 | TCGAAA3529 | MSI |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
290 +---------------+-----------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
291 | TCGAA62671 | MSS |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
292 +---------------+-----------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
293 | TCGAA62672 | MSI |
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
294 +---------------+-----------+
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
295
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
296 Advanced options
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
297 ----------------
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
298
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
299 P-Value threshold: the threshold used for significance Kolmogorov-Smirnov (KS) test, to verify whether the distributions of RASs over the samples in two sets are significantly different
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
300
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
301 Fold-Change threshold: threshold of the fold-change between the average RAS of two groups. Among the reactions that pass the KS test, only fold-change values larger than the indicated threshold will be visualized on the output metabolic map;
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
302
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
303
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
304 .. class:: infomark
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
305
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
306 **TIP**: If your data is not TAB delimited, use `Convert delimiters to TAB`_.
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
307
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
308 .. class:: infomark
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
309
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
310 **TIP**: If your dataset is not split into classes, use MaREA cluster analysis.
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
311
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
312 .. class:: infomark
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
313
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
314 **TIP**: This tool using the RAS scores computed by Ras generator tool.
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
315
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
316 @REFERENCE@
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
317
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
318 .. _Ras tool: http://bimib.disco.unimib.it:5555/?tool_id=toolshed.g2.bx.psu.edu%2Frepos%2Fbimib%2Fmarea%2FMaREA+RAS+Generator%2F1.0.6&version=1.0.6&__identifer=auulv6gbp76
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
319 .. _Convert delimiters to TAB: http://bimib.disco.unimib.it:5555/?tool_id=Convert+characters1&version=1.0.0&__identifer=76g7trea4j6
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
320 .. _MaREA cluster analysis: http://bimib.disco.unimib.it:5555/?tool_id=toolshed.g2.bx.psu.edu%2Frepos%2Fbimib%2Fmarea%2FMaREA_cluester%2F1.1.2&version=1.1.2&__identifer=lxbyzn2me9
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
321
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
322 ]]>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
323 </help>
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
324 <expand macro="citations" />
7e703e546998 Uploaded
luca_milaz
parents:
diff changeset
325 </tool>