annotate Marea/marea.xml @ 31:944e15aa970a draft

Uploaded
author bimib
date Tue, 15 Oct 2019 12:22:43 -0400
parents 9fcb0e8d6d47
children b795e3e163e0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
1 <tool id="MaREA" name="Metabolic Reaction Enrichment Analysis" version="1.0.3">
26
100c116d0d25 Uploaded
bimib
parents: 16
diff changeset
2 <description></description>
16
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
3 <macros>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
4 <import>marea_macros.xml</import>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
5 </macros>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
6 <requirements>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
7 <requirement type="package" version="0.23.0">pandas</requirement>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
8 <requirement type="package" version="1.1.0">scipy</requirement>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
9 <requirement type="package" version="0.10.1">cobra</requirement>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
10 <requirement type="package" version="4.2.1">lxml</requirement>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
11 <requirement type="package" version="0.8.1">svglib</requirement>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
12 <requirement type="package" version="3.4.0">reportlab</requirement>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
13 </requirements>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
14 <command detect_errors="exit_code">
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
15 <![CDATA[
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
16 python $__tool_directory__/marea.py
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
17 --rules_selector $cond_rule.rules_selector
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
18 #if $cond_rule.rules_selector == 'Custom':
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
19 --custom ${cond_rule.Custom_rules}
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
20 --yes_no ${cond_rule.cond_map.yes_no}
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
21 #if $cond_rule.cond_map.yes_no == 'yes':
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
22 --custom_map $cond_rule.cond_map.Custom_map
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
23 #end if
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
24 #end if
31
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
25
16
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
26 --tool_dir $__tool_directory__
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
27 --option $cond.type_selector
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
28 --out_log $log
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
29
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
30 #if $cond.type_selector == 'datasets':
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
31 --input_datas
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
32 #for $data in $cond.input_Datasets:
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
33 ${data.input}
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
34 #end for
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
35 --names
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
36 #for $data in $cond.input_Datasets:
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
37 ${data.input_name}
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
38 #end for
31
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
39 #if $cond.advanced.choice == 'true':
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
40 --none ${cond.advanced.None}
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
41 --pValue ${cond.advanced.pValue}
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
42 --fChange ${cond.advanced.fChange}
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
43 --generate_svg ${cond.advanced.generateSvg}
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
44 --generate_pdf ${cond.advanced.generatePdf}
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
45 --generate_ras ${cond.advanced.generateRas}
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
46 #else
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
47 --none true
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
48 --pValue 0.05
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
49 --fChange 1.5
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
50 --generate_svg false
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
51 --generate_pdf true
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
52 --generate_ras false
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
53 #end if
16
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
54 #elif $cond.type_selector == 'dataset_class':
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
55 --input_data ${input_data}
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
56 --input_class ${input_class}
31
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
57 #if $cond.advanced.choice == 'true':
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
58 --none ${cond.advanced.None}
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
59 --pValue ${cond.advanced.pValue}
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
60 --fChange ${cond.advanced.fChange}
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
61 --generate_svg ${cond.advanced.generateSvg}
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
62 --generate_pdf ${cond.advanced.generatePdf}
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
63 --generate_ras ${cond.advanced.generateRas}
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
64 #else
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
65 --none true
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
66 --pValue 0.05
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
67 --fChange 1.5
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
68 --generate_svg false
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
69 --generate_pdf true
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
70 --generate_ras false
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
71 #end if
16
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
72 #end if
28
e6831924df01 small fixes (elbow plot and output managment)
bimib
parents: 26
diff changeset
73 #if $cond.type_selector == 'datasets_rasonly':
e6831924df01 small fixes (elbow plot and output managment)
bimib
parents: 26
diff changeset
74 --input_datas ${input_Datasets}
e6831924df01 small fixes (elbow plot and output managment)
bimib
parents: 26
diff changeset
75 --single_ras_file $ras_single
31
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
76 --none ${cond.advanced.None}
28
e6831924df01 small fixes (elbow plot and output managment)
bimib
parents: 26
diff changeset
77 #end if
16
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
78 ]]>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
79 </command>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
80
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
81 <inputs>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
82 <conditional name="cond_rule">
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
83 <expand macro="options"/>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
84 <when value="HMRcore">
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
85 </when>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
86 <when value="Recon">
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
87 </when>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
88 <when value="Custom">
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
89 <param name="Custom_rules" type="data" format="tabular, csv, tsv, xml" label="Custom rules" />
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
90 <conditional name="cond_map">
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
91 <param name="yes_no" type="select" label="Custom map? (optional)">
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
92 <option value="no" selected="true">no</option>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
93 <option value="yes">yes</option>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
94 </param>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
95 <when value="yes">
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
96 <param name="Custom_map" argument="--custom_map" type="data" format="xml, svg" label="custom-map.svg"/>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
97 </when>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
98 <when value="no">
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
99 </when>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
100 </conditional>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
101 </when>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
102 </conditional>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
103 <conditional name="cond">
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
104 <param name="type_selector" argument="--option" type="select" label="Input format:">
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
105 <option value="datasets" selected="true">RNAseq of group 1 + RNAseq of group 2 + ... + RNAseq of group N</option>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
106 <option value="dataset_class">RNAseq of all samples + sample group specification</option>
28
e6831924df01 small fixes (elbow plot and output managment)
bimib
parents: 26
diff changeset
107 <option value="datasets_rasonly" selected="true">RNAseq dataset</option>
16
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
108 </param>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
109 <when value="datasets">
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
110 <repeat name="input_Datasets" title="RNAseq" min="2">
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
111 <param name="input" argument="--input_datas" type="data" format="tabular, csv, tsv" label="add dataset" />
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
112 <param name="input_name" argument="--names" type="text" label="Dataset's name:" value="Dataset" help="Default: Dataset" />
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
113 </repeat>
31
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
114 <conditional name="advanced">
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
115 <param name="choice" type="boolean" checked="false" label="Use advanced options?" help="Use this options to choose custom rules for evaluation: pValue, Fold-Change threshold, how to solve (A and NaN) and specify output maps.">
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
116 <option value="true" selected="true">No</option>
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
117 <option value="false">Yes</option>
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
118 </param>
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
119 <when value="false">
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
120 </when>
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
121 <when value="true">
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
122 <param name="None" argument="--none" type="boolean" truevalue="true" falsevalue="false" checked="true" label="(A and NaN) solved as (A)?" />
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
123 <param name="pValue" argument="--pValue" type="float" size="20" value="0.01" max="1" min="0" label="P-value threshold:" help="min value 0" />
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
124 <param name="fChange" argument="--fChange" type="float" size="20" value="1.2" min="1" label="Fold-Change threshold:" help="min value 1" />
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
125 <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?" />
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
126 <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?" />
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
127 <param name="generateRas" argument="--generateRas" type="boolean" checked="false" label="Generate Reaction Activity Score for each table" help="Generate Reaction Activity Score for each table" />
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
128 </when>
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
129 </conditional>
16
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
130 </when>
28
e6831924df01 small fixes (elbow plot and output managment)
bimib
parents: 26
diff changeset
131 <when value="datasets_rasonly">
e6831924df01 small fixes (elbow plot and output managment)
bimib
parents: 26
diff changeset
132 <param name="input_Datasets" argument="--input_datas" type="data" format="tabular, csv, tsv" label="add dataset" />
31
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
133 <param name="input_name" argument="--names" type="text" label="Dataset's name:" value="Dataset" help="Default: Dataset" />
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
134 <param name="None" argument="--none" type="boolean" truevalue="true" falsevalue="false" checked="true" label="(A and NaN) solved as (A)?" />
28
e6831924df01 small fixes (elbow plot and output managment)
bimib
parents: 26
diff changeset
135 </when>
16
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
136 <when value="dataset_class">
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
137 <param name="input_data" argument="--input_data" type="data" format="tabular, csv, tsv" label="RNAseq of all samples" />
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
138 <param name="input_class" argument="--input_class" type="data" format="tabular, csv, tsv" label="Sample group specification" />
31
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
139 <conditional name="advanced">
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
140 <param name="choice" type="boolean" checked="false" label="Use advanced options?" help="Use this options to choose custom rules for evaluation: pValue, Fold-Change threshold, how to solve (A and NaN) and specify output maps.">
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
141 <option value="true" selected="true">No</option>
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
142 <option value="false">Yes</option>
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
143 </param>
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
144 <when value="false">
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
145 </when>
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
146 <when value="true">
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
147 <param name="None" argument="--none" type="boolean" truevalue="true" falsevalue="false" checked="true" label="(A and NaN) solved as (A)?" />
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
148 <param name="pValue" argument="--pValue" type="float" size="20" value="0.01" max="1" min="0" label="P-value threshold:" help="min value 0" />
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
149 <param name="fChange" argument="--fChange" type="float" size="20" value="1.2" min="1" label="Fold-Change threshold:" help="min value 1" />
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
150 <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?" />
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
151 <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?" />
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
152 <param name="generateRas" argument="--generateRas" type="boolean" checked="false" label="Generate Reaction Activity Score for each table" help="Generate Reaction Activity Score for each table" />
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
153 </when>
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
154 </conditional>
16
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
155 </when>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
156 </conditional>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
157
31
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
158
28
e6831924df01 small fixes (elbow plot and output managment)
bimib
parents: 26
diff changeset
159
31
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
160
16
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
161 </inputs>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
162
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
163 <outputs>
31
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
164 <data format="txt" name="log" label="MaREA - Log" />
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
165 <data format="tabular" name="ras_single" label="MaREA - RAS - ${cond.input_name}">
28
e6831924df01 small fixes (elbow plot and output managment)
bimib
parents: 26
diff changeset
166 <filter>cond['type_selector'] == "datasets_rasonly"</filter>
e6831924df01 small fixes (elbow plot and output managment)
bimib
parents: 26
diff changeset
167 </data>
31
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
168 <collection name="results" type="list" label="MaREA - Results">
28
e6831924df01 small fixes (elbow plot and output managment)
bimib
parents: 26
diff changeset
169 <filter>cond['type_selector'] == "datasets" or cond['type_selector'] == "dataset_class"</filter>
16
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
170 <discover_datasets pattern="__name_and_ext__" directory="result"/>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
171 </collection>
31
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
172 <collection name="ras" type="list" label="MaREA - RAS list" format_source="tabular">
944e15aa970a Uploaded
bimib
parents: 29
diff changeset
173 <filter>cond['type_selector'] != "datasets_rasonly" and cond['advanced']['choice'] and cond['advanced']['generateRas']</filter>
16
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
174 <discover_datasets pattern="__name_and_ext__" directory="ras" format="tabular"/>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
175 </collection>
28
e6831924df01 small fixes (elbow plot and output managment)
bimib
parents: 26
diff changeset
176
16
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
177 </outputs>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
178 <tests>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
179 <test>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
180 <param name="pValue" value="0.56"/>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
181 <output name="log" file="log.txt"/>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
182 </test>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
183 </tests>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
184 <help>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
185 <![CDATA[
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
186
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
187 What it does
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
188 -------------
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
189
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
190 This tool analyzes RNA-seq dataset(s) as described in Graudenzi et al."`MaREA`_: Metabolic feature extraction, enrichment and visualization of RNAseq data" bioRxiv (2018): 248724.
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
191
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
192 Accepted files are:
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
193 - option 1) two or more RNA-seq datasets, each referring to samples in a given condition/class. The user can specify a label for each class (as e.g. "*classA*" and "*classB*");
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
194 - option 2) one RNA dataset and one class-file specifying the class/condition each sample belongs to.
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
195
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
196 Optional files:
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
197 - custom GPR (Gene-Protein-Reaction) rules. Two accepted formats:
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
198
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
199 * (Cobra Toolbox and CobraPy compliant) xml of metabolic model;
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
200 * .csv file specifyig for each reaction ID (column 1) the corresponding GPR rule (column 2).
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
201 - custom svg map. Graphical elements must have the same IDs of reactions. See HmrCore svg map for an example.
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
202
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
203 The tool generates:
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
204 1) a tab-separated file: reporting fold-change and p-values of reaction activity scores (RASs) between a pair of conditions/classes;
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
205 2) a metabolic map file (downlodable as .svg): visualizing up- and down-regulated reactions between a pair of conditions/classes;
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
206 3) a log file (.txt).
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
207
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
208 RNA-seq datasets format: tab-separated text files, reporting the expression level (e.g., TPM, RPKM, ...) of each gene (row) for a given sample (column). Header: sample ID.
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
209
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
210 Class-file format: each row of the class-file reports the sample ID (column1) and the label of the class/condition the sample belongs to (column 2).
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
211
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
212 To calculate P-Values and Fold-Changes and to generate maps, comparisons are performed for each possible pair of classes.
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
213
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
214 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".
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
215
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
216
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
217 Example input
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
218 -------------
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
219
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
220 **"Custom Rules"** option:
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
221
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
222 Custom Rules Dastaset:
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
223
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
224 @CUSTOM_RULES_EXEMPLE@
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
225
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
226 **"RNAseq of group 1 + RNAseq of group 2 + ... + RNAseq of group N"** option:
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
227
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
228 RNA-seq Dataset 1:
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
229
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
230 @DATASET_EXEMPLE1@
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
231
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
232 RNA-seq Dataset 2:
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
233
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
234 @DATASET_EXEMPLE2@
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
235
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
236 **"RNAseq of all samples + sample group specification"** option:
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
237
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
238 RNA-seq Dataset:
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
239
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
240 @DATASET_EXEMPLE1@
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
241
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
242 Class-file:
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
243
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
244 +------------+------------+
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
245 | Patient_ID | class |
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
246 +============+============+
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
247 | TCGAAA3529 | MSI |
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
248 +------------+------------+
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
249 | TCGAA62671 | MSS |
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
250 +------------+------------+
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
251 | TCGAA62672 | MSI |
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
252 +------------+------------+
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
253
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
254 |
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
255
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
256 .. class:: infomark
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
257
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
258 **TIP**: If your data is not TAB delimited, use `Convert delimiters to TAB`_.
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
259
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
260 .. class:: infomark
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
261
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
262 **TIP**: If your dataset is not split into classes, use `MaREA cluster analysis`_.
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
263
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
264 @REFERENCE@
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
265
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
266 .. _MaREA: https://www.biorxiv.org/content/early/2018/01/16/248724
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
267 .. _Convert delimiters to TAB: https://usegalaxy.org/?tool_id=Convert+characters1&version=1.0.0&__identifer=6t22teyofhj
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
268 .. _MaREA cluster analysis: http://link del tool di cluster.org
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
269
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
270 ]]>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
271 </help>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
272 <expand macro="citations" />
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
273 </tool>
c71ac0bb12de Uploaded
bimib
parents: 13
diff changeset
274