annotate Marea/ras_generator.xml @ 47:3af9d394367c draft

Uploaded
author bimib
date Wed, 19 Feb 2020 10:44:52 -0500
parents 7aa966c488a4
children e4235b5231e4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
1 <tool id="MaREA RAS Generator" name="Expression2RAS" version="1.0.2">
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
2 <description>- Reaction Activity Scores computation</description>
45
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
3 <macros>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
4 <import>marea_macros.xml</import>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
5 </macros>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
6 <requirements>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
7 <requirement type="package" version="0.23.0">pandas</requirement>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
8 <requirement type="package" version="1.1.0">scipy</requirement>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
9 <requirement type="package" version="0.10.1">cobra</requirement>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
10 <requirement type="package" version="4.2.1">lxml</requirement>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
11 <requirement type="package" version="0.8.1">svglib</requirement>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
12 <requirement type="package" version="3.4.0">reportlab</requirement>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
13 </requirements>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
14 <command detect_errors="exit_code">
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
15 <![CDATA[
47
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
16 python $__tool_directory__/ras_generator.py
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
17 --rules_selector $cond_rule.rules_selector
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
18 --input $input
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
19 --none $none
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
20 --tool_dir $__tool_directory__
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
21 --out_log $log
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
22 --ras_output $ras_output
45
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
23 ]]>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
24 </command>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
25 <inputs>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
26 <conditional name="cond_rule">
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
27 <expand macro="options"/>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
28 <when value="HMRcore">
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
29 </when>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
30 <when value="Recon">
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
31 </when>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
32 <when value="Custom">
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
33 <param name="Custom_rules" type="data" format="tabular, csv, tsv, xml" label="Custom rules" />
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
34 <conditional name="cond_map">
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
35 <param name="yes_no" type="select" label="Custom map? (optional)">
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
36 <option value="no" selected="true">no</option>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
37 <option value="yes">yes</option>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
38 </param>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
39 <when value="yes">
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
40 <param name="Custom_map" argument="--custom_map" type="data" format="xml, svg" label="custom-map.svg"/>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
41 </when>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
42 <when value="no">
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
43 </when>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
44 </conditional>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
45 </when>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
46 </conditional>
47
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
47 <param name="input" argument="--input" type="data" format="tabular, csv, tsv" label="Gene Expression dataset:" />
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
48 <param name="name" argument="--name" type="text" label="Dataset's name:" value="Dataset" help="Default: Dataset" />
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
49 <param name="none" argument="--none" type="boolean" truevalue="true" falsevalue="false" checked="true" label="(A and NaN) solved as (A)?" />
45
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
50 </inputs>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
51
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
52 <outputs>
47
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
53 <data format="txt" name="log" label="Expression2RAS - $name - Log" />
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
54 <data format="tabular" name="ras_output" label="$name RAS"/>
45
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
55 </outputs>
47
3af9d394367c Uploaded
bimib
parents: 45
diff changeset
56
45
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
57 <help>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
58 <![CDATA[
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
59
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
60 What it does
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
61 -------------
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
62 ]]>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
63 </help>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
64 <expand macro="citations" />
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
65 </tool>
7aa966c488a4 Uploaded
bimib
parents:
diff changeset
66