annotate Marea/ras_generator.xml @ 89:84da46340c39 draft default tip

Uploaded
author bimib
date Mon, 07 Jun 2021 14:15:45 +0000
parents 66432fdf1768
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
88
66432fdf1768 Uploaded
bimib
parents:
diff changeset
1 <tool id="MaREA RAS Generator" name="Expression2RAS" version="1.0.7">
66432fdf1768 Uploaded
bimib
parents:
diff changeset
2 <description>- Reaction Activity Scores computation</description>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
3 <macros>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
4 <import>marea_macros.xml</import>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
5 </macros>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
6 <requirements>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
7 <requirement type="package" version="0.25.3">pandas</requirement>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
8 <requirement type="package" version="1.6.3">scipy</requirement>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
9 <requirement type="package" version="4.6.3">lxml</requirement>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
10 <requirement type="package" version="1.1.0">svglib</requirement>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
11 <requirement type="package" version="3.5.67">reportlab</requirement>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
12 </requirements>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
13 <command detect_errors="exit_code">
66432fdf1768 Uploaded
bimib
parents:
diff changeset
14 <![CDATA[
66432fdf1768 Uploaded
bimib
parents:
diff changeset
15 python $__tool_directory__/ras_generator.py
66432fdf1768 Uploaded
bimib
parents:
diff changeset
16 --rules_selector $cond_rule.rules_selector
66432fdf1768 Uploaded
bimib
parents:
diff changeset
17 --input $input
66432fdf1768 Uploaded
bimib
parents:
diff changeset
18 --none $none
66432fdf1768 Uploaded
bimib
parents:
diff changeset
19 --tool_dir $__tool_directory__
66432fdf1768 Uploaded
bimib
parents:
diff changeset
20 --out_log $log
66432fdf1768 Uploaded
bimib
parents:
diff changeset
21 --ras_output $ras_output
66432fdf1768 Uploaded
bimib
parents:
diff changeset
22 #if $cond_rule.rules_selector == 'Custom'
66432fdf1768 Uploaded
bimib
parents:
diff changeset
23 --custom $cond_rule.Custom_rules
66432fdf1768 Uploaded
bimib
parents:
diff changeset
24 #end if
66432fdf1768 Uploaded
bimib
parents:
diff changeset
25 ]]>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
26 </command>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
27 <inputs>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
28 <conditional name="cond_rule">
66432fdf1768 Uploaded
bimib
parents:
diff changeset
29 <expand macro="options"/>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
30 <when value="HMRcore">
66432fdf1768 Uploaded
bimib
parents:
diff changeset
31 </when>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
32 <when value="Recon">
66432fdf1768 Uploaded
bimib
parents:
diff changeset
33 </when>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
34 <when value="Custom">
66432fdf1768 Uploaded
bimib
parents:
diff changeset
35 <param name="Custom_rules" type="data" format="tabular, csv, tsv, xml" label="Custom rules" />
66432fdf1768 Uploaded
bimib
parents:
diff changeset
36 </when>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
37 </conditional>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
38 <param name="input" argument="--input" type="data" format="tabular, csv, tsv" label="Gene Expression dataset:" />
66432fdf1768 Uploaded
bimib
parents:
diff changeset
39 <param name="name" argument="--name" type="text" label="Dataset's name:" value="Dataset" help="Default: Dataset" />
66432fdf1768 Uploaded
bimib
parents:
diff changeset
40 <param name="none" argument="--none" type="boolean" truevalue="true" falsevalue="false" checked="true" label="(A and NaN) solved as (A)?" />
66432fdf1768 Uploaded
bimib
parents:
diff changeset
41 </inputs>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
42
66432fdf1768 Uploaded
bimib
parents:
diff changeset
43 <outputs>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
44 <data format="txt" name="log" label="Expression2RAS - $name - Log" />
66432fdf1768 Uploaded
bimib
parents:
diff changeset
45 <data format="tabular" name="ras_output" label="$name RAS"/>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
46 </outputs>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
47
66432fdf1768 Uploaded
bimib
parents:
diff changeset
48 <help>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
49 <![CDATA[
66432fdf1768 Uploaded
bimib
parents:
diff changeset
50
66432fdf1768 Uploaded
bimib
parents:
diff changeset
51 What it does
66432fdf1768 Uploaded
bimib
parents:
diff changeset
52 -------------
66432fdf1768 Uploaded
bimib
parents:
diff changeset
53
66432fdf1768 Uploaded
bimib
parents:
diff changeset
54 This tool computes Reaction Activity Scores from gene expression (RNA-seq) dataset(s), as described in Graudenzi et al. Integration of transcriptomic data and metabolic networks in cancer samples reveals highly significant prognostic power. Journal of Biomedical Informatics, 2018, 87: 37-49.
66432fdf1768 Uploaded
bimib
parents:
diff changeset
55
66432fdf1768 Uploaded
bimib
parents:
diff changeset
56 Accepted files:
66432fdf1768 Uploaded
bimib
parents:
diff changeset
57 - A gene expression dataset
66432fdf1768 Uploaded
bimib
parents:
diff changeset
58
66432fdf1768 Uploaded
bimib
parents:
diff changeset
59 Format:
66432fdf1768 Uploaded
bimib
parents:
diff changeset
60 Tab-separated text file reporting the normalized expression level (e.g., TPM, RPKM, ...) of each gene (row) for a given sample (column).
66432fdf1768 Uploaded
bimib
parents:
diff changeset
61 Column header: sample ID.
66432fdf1768 Uploaded
bimib
parents:
diff changeset
62 Row header: gene ID.
66432fdf1768 Uploaded
bimib
parents:
diff changeset
63
66432fdf1768 Uploaded
bimib
parents:
diff changeset
64
66432fdf1768 Uploaded
bimib
parents:
diff changeset
65 Optional files:
66432fdf1768 Uploaded
bimib
parents:
diff changeset
66 - custom GPR (Gene-Protein-Reaction) rules. Two accepted formats:
66432fdf1768 Uploaded
bimib
parents:
diff changeset
67
66432fdf1768 Uploaded
bimib
parents:
diff changeset
68 * (Cobra Toolbox and CobraPy compliant) xml of metabolic model;
66432fdf1768 Uploaded
bimib
parents:
diff changeset
69 * .csv file specifyig for each reaction ID (column 1) the corresponding GPR rule (column 2).
66432fdf1768 Uploaded
bimib
parents:
diff changeset
70
66432fdf1768 Uploaded
bimib
parents:
diff changeset
71 Computation option ‘(A and NaN) solved as (A)’:
66432fdf1768 Uploaded
bimib
parents:
diff changeset
72 In case of missing expression value, referred to as NaN (Not a Number), for a gene joined with an AND operator in a given GPR rule, the rule ‘A and NaN’
66432fdf1768 Uploaded
bimib
parents:
diff changeset
73
66432fdf1768 Uploaded
bimib
parents:
diff changeset
74 If YES is selected: the GPR will be solved as A.
66432fdf1768 Uploaded
bimib
parents:
diff changeset
75
66432fdf1768 Uploaded
bimib
parents:
diff changeset
76 If NO is selected: the GPR will be disregarded tout-court (i.e., treated as NaN).
66432fdf1768 Uploaded
bimib
parents:
diff changeset
77
66432fdf1768 Uploaded
bimib
parents:
diff changeset
78 Example input
66432fdf1768 Uploaded
bimib
parents:
diff changeset
79 -------------
66432fdf1768 Uploaded
bimib
parents:
diff changeset
80
66432fdf1768 Uploaded
bimib
parents:
diff changeset
81 Custom GPR rules:
66432fdf1768 Uploaded
bimib
parents:
diff changeset
82
66432fdf1768 Uploaded
bimib
parents:
diff changeset
83 +------------+--------------------------------------+
66432fdf1768 Uploaded
bimib
parents:
diff changeset
84 | id | rule (with entrez-id |
66432fdf1768 Uploaded
bimib
parents:
diff changeset
85 +============+======================================+
66432fdf1768 Uploaded
bimib
parents:
diff changeset
86 | r1642 | 155060 or 10357 |
66432fdf1768 Uploaded
bimib
parents:
diff changeset
87 +------------+--------------------------------------+
66432fdf1768 Uploaded
bimib
parents:
diff changeset
88 | r1643 | 155060 or 100134869 |
66432fdf1768 Uploaded
bimib
parents:
diff changeset
89 +------------+--------------------------------------+
66432fdf1768 Uploaded
bimib
parents:
diff changeset
90 | r1640 | 155060 and 100134869 or 10357 |
66432fdf1768 Uploaded
bimib
parents:
diff changeset
91 +------------+--------------------------------------+
66432fdf1768 Uploaded
bimib
parents:
diff changeset
92
66432fdf1768 Uploaded
bimib
parents:
diff changeset
93 RNA-seq dataset:
66432fdf1768 Uploaded
bimib
parents:
diff changeset
94
66432fdf1768 Uploaded
bimib
parents:
diff changeset
95 +------------+----------------+----------------+----------------+
66432fdf1768 Uploaded
bimib
parents:
diff changeset
96 | Hugo_ID | TCGAA62670 | TCGAA62671 | TCGAA62672 |
66432fdf1768 Uploaded
bimib
parents:
diff changeset
97 +============+================+================+================+
66432fdf1768 Uploaded
bimib
parents:
diff changeset
98 | HGNC:24086 | 0.523167 | 0.371355 | 0.925661 |
66432fdf1768 Uploaded
bimib
parents:
diff changeset
99 +------------+----------------+----------------+----------------+
66432fdf1768 Uploaded
bimib
parents:
diff changeset
100 | HGNC:24086 | 0.568765 | 0.765567 | 0.456789 |
66432fdf1768 Uploaded
bimib
parents:
diff changeset
101 +------------+----------------+----------------+----------------+
66432fdf1768 Uploaded
bimib
parents:
diff changeset
102 | HGNC:9876 | 0.876545 | 0.768933 | 0.987654 |
66432fdf1768 Uploaded
bimib
parents:
diff changeset
103 +------------+----------------+----------------+----------------+
66432fdf1768 Uploaded
bimib
parents:
diff changeset
104 | HGNC:9 | 0.456788 | 0.876543 | 0.876542 |
66432fdf1768 Uploaded
bimib
parents:
diff changeset
105 +------------+----------------+----------------+----------------+
66432fdf1768 Uploaded
bimib
parents:
diff changeset
106 | HGNC:23 | 0.876543 | 0.786543 | 0.897654 |
66432fdf1768 Uploaded
bimib
parents:
diff changeset
107 +------------+----------------+----------------+----------------+
66432fdf1768 Uploaded
bimib
parents:
diff changeset
108
66432fdf1768 Uploaded
bimib
parents:
diff changeset
109 ]]>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
110 </help>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
111 <expand macro="citations" />
66432fdf1768 Uploaded
bimib
parents:
diff changeset
112 </tool>
66432fdf1768 Uploaded
bimib
parents:
diff changeset
113