annotate cobraxy-9688ad27287b/COBRAxy/marea.xml @ 92:fdf713bb5772 draft

Uploaded
author luca_milaz
date Sun, 13 Oct 2024 11:39:53 +0000
parents a48b2e06ebe7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
90
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
1 <tool id="MaREA" name="Metabolic Reaction Enrichment Analysis" version="2.0.0">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
2 <macros>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
3 <import>marea_macros.xml</import>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
4 </macros>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
5
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
6 <requirements>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
7 <requirement type="package" version="1.24.4">numpy</requirement>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
8 <requirement type="package" version="2.0.3">pandas</requirement>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
9 <requirement type="package" version="5.2.2">lxml</requirement>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
10 <requirement type="package" version="1.10.1">scipy</requirement>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
11 <requirement type="package" version="1.5.1">svglib</requirement>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
12 <requirement type="package" version="2.2.3">pyvips</requirement>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
13 <requirement type="package" version="2.7.1">cairosvg</requirement>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
14 <requirement type="package" version="0.29.0">cobra</requirement>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
15 </requirements>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
16
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
17 <command detect_errors="exit_code">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
18 <![CDATA[
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
19 python $__tool_directory__/marea.py
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
20
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
21 --tool_dir $__tool_directory__
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
22 --option $cond.type_selector
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
23 --out_log $log
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
24
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
25 #if $cond.type_selector == 'datasets':
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
26
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
27 --using_RAS $cond.using_ras.check
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
28 --using_RPS $cond.using_rps.check
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
29
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
30 #if $cond.using_ras.check == 'true':
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
31 --input_datas
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
32 #for $data in $cond.using_ras.input_datasets:
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
33 ${data.input}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
34 #end for
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
35
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
36 --names
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
37 #for $data in $cond.using_ras.input_datasets:
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
38 ${data.input_name}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
39 #end for
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
40 #end if
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
41
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
42 #if $cond.using_rps.check == 'true':
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
43 --input_datas_rps
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
44 #for $data in $cond.using_rps.input_datasets_rps:
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
45 ${data.input_rps}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
46 #end for
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
47
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
48 --names_rps
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
49 #for $data in $cond.using_rps.input_datasets_rps:
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
50 ${data.input_name_rps}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
51 #end for
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
52 #end if
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
53
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
54 #elif $cond.type_selector == 'dataset_class':
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
55
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
56 --using_RAS $cond.using_ras_all.check
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
57 --using_RPS $cond.using_rps_all.check
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
58
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
59 #if $cond.using_ras_all.check == 'true':
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
60 --input_data ${cond.using_ras_all.input_data}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
61 --input_class ${cond.using_ras_all.input_class}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
62 #end if
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
63
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
64 #if $cond.using_rps_all.check == 'true':
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
65 --input_data_rps ${cond.using_rps_all.input_data_rps}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
66 --input_class_rps ${cond.using_rps_all.input_class_rps}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
67 #end if
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
68 #end if
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
69
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
70 --comparison ${comparis.comparison}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
71 #if $comparis.comparison == 'onevsmany'
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
72 --control '${cond.comparis.controlgroup}'
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
73 #end if
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
74
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
75 --choice_map '${cond_choice_map.choice_map}'
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
76 #if $cond_choice_map.choice_map == 'Custom':
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
77 --custom_map ${cond_choice_map.custom_map}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
78 #end if
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
79
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
80 #if $advanced.choice == 'true':
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
81 --pValue ${advanced.pValue}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
82 --fChange ${advanced.fChange}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
83 --generate_svg ${advanced.generateSvg}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
84 --generate_pdf ${advanced.generatePdf}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
85 --net ${advanced.netRPS}
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
86 #else
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
87 --pValue 0.05
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
88 --fChange 1.2
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
89 --generate_svg false
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
90 --generate_pdf true
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
91 --net false
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
92 #end if
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
93 ]]>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
94 </command>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
95
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
96 <inputs>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
97 <conditional name="cond">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
98 <param name="type_selector" argument="--option" type="select" label="Input format:">
a48b2e06ebe7 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>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
100 <option value="dataset_class">RAS of all samples + sample group specification</option>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
101 </param>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
102
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
103 <when value="datasets">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
104 <conditional name = "using_ras">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
105 <param name = "check" argument = "--using_ras" type = "boolean" checked = "true" label = "Using RAS datasets." />
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
106
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
107 <when value = "true">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
108 <repeat name="input_datasets" title="RAS dataset" min="2">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
109 <param name="input" argument="--input_datas" type="data" format="tabular, csv, tsv" label="add dataset" />
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
110 <param name="input_name" argument="--names" type="text" label="Dataset's name:" value="Dataset" help="Default: Dataset" />
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
111 </repeat>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
112 </when>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
113 </conditional>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
114
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
115 <conditional name = "using_rps">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
116 <param name = "check" argument = "--using_rps" type = "boolean" checked = "false" label = "Using RPS datasets." />
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
117
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
118 <when value = "true">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
119 <repeat name="input_datasets_rps" title="RPS dataset" min="2">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
120 <param name="input_rps" argument="--input_datas_rps" type="data" format="tabular, csv, tsv" label="add dataset" />
a48b2e06ebe7 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" />
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
122 </repeat>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
123 </when>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
124 </conditional>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
125 </when>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
126
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
127 <when value="dataset_class">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
128 <conditional name = "using_ras_all">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
129 <param name = "check" argument = "--using_ras_all" type = "boolean" checked = "true" label = "Using RAS datasets." />
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
130
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
131 <when value = "true">
a48b2e06ebe7 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" />
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
133 <param name="input_class" argument="--input_class" type="data" format="tabular, csv, tsv" label="Sample group specification" />
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
134 </when>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
135 </conditional>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
136
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
137 <conditional name = "using_rps_all">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
138 <param name = "check" argument = "--using_rps_all" type = "boolean" checked = "false" label = "Using RPS datasets." />
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
139
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
140 <when value = "true">
a48b2e06ebe7 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" />
a48b2e06ebe7 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" />
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
143 </when>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
144 </conditional>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
145 </when>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
146 </conditional>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
147
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
148 <conditional name="comparis">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
149 <param name="comparison" argument="--comparison" type="select" label="Groups comparison:">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
150 <option value="manyvsmany" selected="true">One vs One</option>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
151 <option value="onevsrest">One vs All</option>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
152 <option value="onevsmany">One vs Control</option>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
153 </param>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
154 <when value="onevsmany">
a48b2e06ebe7 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"/>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
156 </when>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
157 </conditional>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
158
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
159 <conditional name="cond_choice_map">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
160 <param name="choice_map" argument="--choice_map" type="select" label="Choose metabolic map:">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
161 <option value="HMRcore" selected="true">HMRcore</option>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
162 <option value="ENGRO2">ENGRO2</option>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
163 <option value="Custom">Custom</option>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
164 </param>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
165
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
166 <when value="Custom">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
167 <param name="custom_map" argument="--custom_map" type="data" format="xml, svg" label="custom-map.svg"/>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
168 </when>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
169 </conditional>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
170
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
171 <conditional name="advanced">
a48b2e06ebe7 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.">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
173 <option value="true" selected="true">No</option>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
174 <option value="false">Yes</option>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
175 </param>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
176
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
177 <when value="true">
a48b2e06ebe7 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" />
a48b2e06ebe7 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" />
a48b2e06ebe7 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?" />
a48b2e06ebe7 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?" />
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
182
a48b2e06ebe7 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" />
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
184 </when>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
185 </conditional>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
186 </inputs>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
187
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
188 <outputs>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
189 <data format="txt" name="log" label="MaREA - Log" />
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
190 <collection name="results" type="list" label="MaREA - Results">
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
191 <discover_datasets pattern="__name_and_ext__" directory="result"/>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
192 </collection>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
193 </outputs>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
194
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
195 <help>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
196 <![CDATA[
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
197
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
198 What it does
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
199 -------------
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
200
a48b2e06ebe7 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.
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
202
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
203 Accepted files are:
a48b2e06ebe7 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");
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
205 - option 2) one RAS dataset and one group-file specifying the group each sample belongs to.
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
206
a48b2e06ebe7 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).
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
208
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
209 Column header: sample ID.
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
210 Row header: reaction ID.
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
211
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
212 Optional files:
a48b2e06ebe7 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.
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
214
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
215 The tool generates:
a48b2e06ebe7 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;
a48b2e06ebe7 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;
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
218 - 3) a log file (.txt).
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
219
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
220 Output options:
a48b2e06ebe7 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’).
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
222
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
223 Alternative options are:
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
224 - comparison of each group vs. the rest of samples (option ‘One vs Rest’)
a48b2e06ebe7 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.
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
226
a48b2e06ebe7 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".
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
228
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
229 Example input
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
230 -------------
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
231
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
232 "RAS of group 1 + RAS of group 2 + ... + RAS of group N" option:
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
233
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
234 RAS Dataset 1:
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
235
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
236 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
237 | Reaction ID| TCGAA62670 | TCGAA62671 | TCGAA62672 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
238 +============+================+================+================+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
239 | r1642 | 0.523167 | 0.371355 | 0.925661 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
240 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
241 | r1643 | 0.568765 | 0.765567 | 0.456789 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
242 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
243 | r1640 | 0.876545 | 0.768933 | 0.987654 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
244 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
245 | r1641 | 0.456788 | 0.876543 | 0.876542 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
246 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
247 | r1646 | 0.876543 | 0.786543 | 0.897654 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
248 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
249
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
250 RAS Dataset 2:
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
251
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
252 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
253 | Reaction ID| TCGAA62670 | TCGAA62671 | TCGAA62672 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
254 +============+================+================+================+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
255 | r1642 | 0.523167 | 0.371355 | 0.925661 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
256 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
257 | r1643 | 0.568765 | 0.765567 | 0.456789 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
258 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
259 | r1640 | 0.876545 | 0.768933 | 0.987654 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
260 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
261 | r1641 | 0.456788 | 0.876543 | 0.876542 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
262 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
263 | r1646 | 0.876543 | 0.786543 | 0.897654 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
264 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
265
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
266 "RAS of all samples + sample group specification" option:
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
267
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
268 RAS Dataset:
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
269
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
270 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
271 | Reaction ID| TCGAA62670 | TCGAA62671 | TCGAA62672 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
272 +============+================+================+================+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
273 | r1642 | 0.523167 | 0.371355 | 0.925661 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
274 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
275 | r1643 | 0.568765 | 0.765567 | 0.456789 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
276 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
277 | r1640 | 0.876545 | 0.768933 | 0.987654 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
278 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
279 | r1641 | 0.456788 | 0.876543 | 0.876542 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
280 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
281 | r1646 | 0.876543 | 0.786543 | 0.897654 |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
282 +------------+----------------+----------------+----------------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
283
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
284 Group-file
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
285
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
286 +---------------+-----------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
287 | Patient ID | Class |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
288 +===============+===========+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
289 | TCGAAA3529 | MSI |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
290 +---------------+-----------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
291 | TCGAA62671 | MSS |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
292 +---------------+-----------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
293 | TCGAA62672 | MSI |
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
294 +---------------+-----------+
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
295
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
296 Advanced options
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
297 ----------------
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
298
a48b2e06ebe7 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
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
300
a48b2e06ebe7 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;
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
302
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
303
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
304 .. class:: infomark
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
305
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
306 **TIP**: If your data is not TAB delimited, use `Convert delimiters to TAB`_.
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
307
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
308 .. class:: infomark
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
309
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
310 **TIP**: If your dataset is not split into classes, use MaREA cluster analysis.
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
311
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
312 .. class:: infomark
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
313
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
314 **TIP**: This tool using the RAS scores computed by Ras generator tool.
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
315
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
316 @REFERENCE@
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
317
a48b2e06ebe7 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
a48b2e06ebe7 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
a48b2e06ebe7 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
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
321
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
322 ]]>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
323 </help>
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
324 <expand macro="citations" />
a48b2e06ebe7 Uploaded
luca_milaz
parents:
diff changeset
325 </tool>