annotate COBRAxy/marea.xml @ 24:c5dbdbb64cef draft

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