annotate rpfba.xml @ 5:beabdc945670 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 162ee89a8e36033f32973d72dfc1b11ca27da61f
author tduigou
date Fri, 01 Dec 2023 14:29:59 +0000
parents f297590100c8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
1 <tool id="rptools_rpfba" name="Flux balance analysis" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.09">
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
2 <description>for the RetroPath2.0 heterologous pathways</description>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
3 <macros>
2
082cd90e7254 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 1
diff changeset
4 <import>macros.xml</import>
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
5 </macros>
2
082cd90e7254 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 1
diff changeset
6 <expand macro="requirements"/>
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
7 <stdio>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
8 <regex match="WARNING" level="warning" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
9 <regex match="ERROR" level="fatal" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
10 </stdio>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
12 python -m rptools.rpfba '$pathway' '$model' '$compartment_id' '$pathway_with_fba'
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
13 #if str($adv.merge) == "true":
4
f297590100c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 387d0dd233c1d9948152a2d4af9e69ad10fe1b6a
tduigou
parents: 3
diff changeset
14 --merge '$output_merge'
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
15 #end if
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
16 --objective_rxn_id '$objective_rxn_id'
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
17 --sim '$input_sim_type.sim_type'
5
beabdc945670 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 162ee89a8e36033f32973d72dfc1b11ca27da61f
tduigou
parents: 4
diff changeset
18 #if str($adv.with_orphan_species) == "true":
beabdc945670 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 162ee89a8e36033f32973d72dfc1b11ca27da61f
tduigou
parents: 4
diff changeset
19 --with_orphan_species
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
20 #end if
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
21 --log "error"
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
22 #if str($input_sim_type.sim_type)=="fba"
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
23 --fraction_of 0.0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
24 #else
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
25 --fraction_of '$input_sim_type.fraction_of'
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
26 #end if
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
27 --biomass_rxn_id '$biomass_rxn_id'
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
28 ]]></command>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
29 <inputs>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
30 <param name="pathway" type="data" format="sbml" label="Pathway (rpSBML)" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
31 <param name="model" type="data" format="sbml" label="Model (SBML)" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
32 <param name="compartment_id" type="text" label="SBML compartment ID" value="c" >
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
33 <validator type="empty_field" message="A compartment ID is required"/>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
34 </param>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
35 <param name="objective_rxn_id" type="text" value="rxn_target" label="Reaction ID to optimise" >
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
36 <validator type="empty_field" message="Reaction ID is required"/>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
37 </param>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
38 <param name="biomass_rxn_id" type="text" label="Biomass reaction ID" value="" >
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
39 <validator type="empty_field" message="Biomass reaction ID is required"/>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
40 </param>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
41 <conditional name="input_sim_type">
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
42 <param name="sim_type" type="select" label="Constraint based simulation type">
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
43 <option value="fraction" selected="true">Fraction of Reaction</option>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
44 <option value="fba" >FBA</option>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
45 <option value="pfba">Parsimonious FBA</option>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
46 </param>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
47 <when value="fraction">
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
48 <param name="fraction_of" type="float" value="0.75" min="0" max="1.0" label="Fraction of the optimum" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
49 </when>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
50 <when value="pfba">
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
51 <param name="fraction_of" type="float" value="0.95" min="0" max="1.0" label="Fraction of the optimum" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
52 </when>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
53 <when value="fba">
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
54 </when>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
55 </conditional>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
56 <section name="adv" title="Advanced Options" expanded="false">
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
57 <param name="merge" type="boolean" label="Output the merged model?" checked="false" display="checkboxes" />
5
beabdc945670 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 162ee89a8e36033f32973d72dfc1b11ca27da61f
tduigou
parents: 4
diff changeset
58 <param name="with_orphan_species" type="boolean" label="Add metabolites that are only consumed or produced?" checked="false" />
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
59 </section>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
60 </inputs>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
61 <outputs>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
62 <data name="pathway_with_fba" format="sbml" label="${tool.name}(${input_sim_type.sim_type}) - ${pathway.name}" />
4
f297590100c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 387d0dd233c1d9948152a2d4af9e69ad10fe1b6a
tduigou
parents: 3
diff changeset
63 <data name="output_merge" format="sbml" label="${tool.name}(${input_sim_type.sim_type}) - ${pathway.name} - merge">
f297590100c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 387d0dd233c1d9948152a2d4af9e69ad10fe1b6a
tduigou
parents: 3
diff changeset
64 <filter>adv['merge']</filter>
f297590100c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 387d0dd233c1d9948152a2d4af9e69ad10fe1b6a
tduigou
parents: 3
diff changeset
65 </data>
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
66 </outputs>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
67 <tests>
4
f297590100c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 387d0dd233c1d9948152a2d4af9e69ad10fe1b6a
tduigou
parents: 3
diff changeset
68 <test expect_num_outputs="1">
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
69 <!-- test 1: check if identical outputs are produced with R_BIOMASS__3 biomass name ID and BiGG model (iCN718) -->
1
5d35eea4f75d planemo upload commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents: 0
diff changeset
70 <param name="pathway" value="rp_001_0001_rpfba_in.xml" />
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
71 <param name="model" value="iCN718.xml.gz" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
72 <param name="biomass_rxn_id" value="R_BIOMASS__3" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
73 <output name="pathway_with_fba" >
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
74 <assert_contents>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
75 <is_valid_xml />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
76 <!--check fba_fraction value-->
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
77 <has_text text="5.54302" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
78 <!--check fba_biomass value-->
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
79 <has_text text="1.31359" />
4
f297590100c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 387d0dd233c1d9948152a2d4af9e69ad10fe1b6a
tduigou
parents: 3
diff changeset
80 <has_n_lines n="455" />
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
81 </assert_contents>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
82 </output>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
83 </test>
4
f297590100c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 387d0dd233c1d9948152a2d4af9e69ad10fe1b6a
tduigou
parents: 3
diff changeset
84 <test expect_num_outputs="1">
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
85 <!-- test 2: check if identical outputs are produced with R_BIOMASS__3 biomass name ID and BiGG model (iCN718) and sim_type=fba-->
1
5d35eea4f75d planemo upload commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents: 0
diff changeset
86 <param name="pathway" value="rp_001_0001_rpfba_in.xml" />
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
87 <param name="model" value="iCN718.xml.gz" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
88 <param name="biomass_rxn_id" value="R_BIOMASS__3" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
89 <conditional name="input_sim_type">
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
90 <param name="sim_type" value="fba"/>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
91 </conditional>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
92 <output name="pathway_with_fba" >
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
93 <assert_contents>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
94 <is_valid_xml />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
95 <!--check fba_fba value-->
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
96 <has_text text="16.47058" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
97 <not_has_text text="fba_fraction" />
4
f297590100c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 387d0dd233c1d9948152a2d4af9e69ad10fe1b6a
tduigou
parents: 3
diff changeset
98 <has_n_lines n="415" />
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
99 </assert_contents>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
100 </output>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
101 </test>
4
f297590100c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 387d0dd233c1d9948152a2d4af9e69ad10fe1b6a
tduigou
parents: 3
diff changeset
102 <test expect_num_outputs="1">
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
103 <!-- test 3: check if identical outputs are produced with R_DM_biomass_c biomass name ID and BiGG model (iCN718) and sim_type=pfba-->
1
5d35eea4f75d planemo upload commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents: 0
diff changeset
104 <param name="pathway" value="rp_001_0001_rpfba_in.xml" />
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
105 <param name="model" value="iCN718.xml.gz" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
106 <param name="biomass_rxn_id" value="R_DM_biomass_c" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
107 <conditional name="input_sim_type">
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
108 <param name="sim_type" value="pfba"/>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
109 </conditional>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
110 <output name="pathway_with_fba" >
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
111 <assert_contents>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
112 <is_valid_xml />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
113 <!--check fba_pfba value-->
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
114 <has_text text="2623.54248" />
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
115 <not_has_text text="fba_fraction" />
4
f297590100c8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 387d0dd233c1d9948152a2d4af9e69ad10fe1b6a
tduigou
parents: 3
diff changeset
116 <has_n_lines n="415" />
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
117 </assert_contents>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
118 </output>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
119 </test>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
120 </tests>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
121 <help><![CDATA[
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
122 FBA
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
123 =====
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
124
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
125
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
126 Flux balance analysis is a mathematical approach for analyzing the flow of metabolites through a metabolic network. It is performed for heterologous pathways generated by RetroPath2.0. The tool performs the following steps:
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
127
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
128 - Merges a user-defined GEM SBML model with each given heterologous pathway individually.
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
129 - Performs FBA using the CobraPy package. Three different analysis methods are proposed; two of which are native CobraPy methods - standard FBA and Parsimonious FBA, the other one proposed is an in-house analysis method named "Fraction of Reaction".
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
130
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
131 The "Fraction of Reaction" method involves performing FBA using the "Source Reaction" as the objective function (by default the biomass reaction is specified, which refers to the rate at which all of the biomass precursors are made in the correct proportions). Then the flux of that reaction has its upper and lower bounds set to the same value, determined as a "Fraction of the source reaction" (default is 75% of its optimum). Thereafter, the objective is set to the target reaction followed by performing FBA once again. The tool uses the FBC package to manage the objective and flux bounds.
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
132 For the first two, the user must specify the name(s) of reaction(s) that the model will optimize to, while for the latter the user must provide the target reaction but also another source reaction that will be restricted.
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
133 Using the Advanced Options, the user can specify the name of the heterologous pathway as created by "Pathways to SBML" and the compartment ID of the heterologous pathway. The user may obtain a merged version of the resulting model, or the heterologous pathway only using the "output the merged model ?" boolean parameter. Using the "Maximize the Objective?", the user may choose to maximize or minimize the objective (biomass production in this case) in the model.
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
134
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
135 NOTE: In order to FBA works correctly, some of chemical species have to be ignored. These species are selected according to the following criteria:
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
136
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
137 - pathway species has not been found in the model (neither by its ID nor its InChIKey),
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
138 - the species is not the target, and
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
139 - the species is only consumed or produced with the heterologue pathway.
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
140
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
141 .. image:: https://raw.githubusercontent.com/Galaxy-SynBioCAD/rpFBA/standalone/galaxy/img/rpFBA.png
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
142 :width: 60 %
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
143 :align: center
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
144
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
145 |
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
146
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
147 The above figure illustrates the steps in the tool's calculation of FBA. The pathway is merged with a GEM SBML model and using the FBC package and CobraPy FBA is performed and the fluxes saved to the SBML file.
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
148
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
149 Input
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
150 -----
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
151
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
152 Required:
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
153
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
154 * **Pathway (rpSBML)**\ : SBML file that contains an heterologous pathway
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
155 * **Model (SBML)**\ : GEM SBML model file
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
156 * **Biomass reaction ID**\ : (string) biomass reaction ID that will be restricted in the "fraction" simulation type. This parameter is ignored for "fba" and "pfba"
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
157
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
158 Optional:
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
159
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
160 * **SBML compartment ID**\ : (string, default='c') Model compartment id (e.g. 'c' or 'MNXC3')
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
161 * **reaction ID to optimise**\ : (string, default=rxn_target) reaction ID to optimise. This parameters is required in all simulation type
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
162 * **Constraint based simulation type**\ : (string, default=Fraction of Reaction) The type of constraint based modelling method. Valid options include: Fraction of Reaction, FBA, Parsimonious FBA.
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
163 * **Fraction of the optimum**\ : (float, default=0.75) Portion of the maximal flux used to set the maximal and minimal bounds for the source reaction of the "fraction" simulation type.
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
164
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
165 Advanced options:
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
166
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
167 * **Output the merged model?**\ : (boolean, default=False) output the full merged model instead of heterologous pathway only
5
beabdc945670 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 162ee89a8e36033f32973d72dfc1b11ca27da61f
tduigou
parents: 4
diff changeset
168 * **With Orphan Species?**\ : (boolean, default=False) add metabolites that are only consumed or produced
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
169 ]]></help>
2
082cd90e7254 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 1
diff changeset
170 <expand macro="creator"/>
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
171 <citations>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
172 <citation type="doi">10.1186/1752-0509-7-74</citation>
2
082cd90e7254 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 1
diff changeset
173 <citation type="doi">10.1515/jib-2016-290</citation>
082cd90e7254 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 1
diff changeset
174 <citation type="doi">10.1038/s41467-022-32661-x</citation>
0
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
175 </citations>
21349603013a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
176 </tool>