changeset 437:44f91eba4776 draft

Uploaded
author francesco_lapi
date Wed, 10 Sep 2025 15:42:39 +0000
parents 13e99c8e4e81
children 8091c0c1ca54
files COBRAxy/flux_simulation_beta.xml
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/COBRAxy/flux_simulation_beta.xml	Wed Sep 10 15:35:55 2025 +0000
+++ b/COBRAxy/flux_simulation_beta.xml	Wed Sep 10 15:42:39 2025 +0000
@@ -46,6 +46,9 @@
         --seed $seed
         --output_type "${",".join(map(str, $output_types))}"
         --output_type_analysis "${",".join(map(str, $output_types_analysis))}"
+        #if 'FVA' in $output_types_analysis:
+            --fva_percentage $fva_params.fva_percentage
+        #end if
         --out_log $log
         ]]>
     </command>
@@ -100,6 +103,15 @@
             <option value="FVA" selected="false">FVA</option>
             <option value="sensitivity" selected="false">Sensitivity reaction knock-out (Biomass)</option>
         </param>
+
+        <conditional name="fva_params">
+            <param name="show_fva_options" type="hidden" value="#echo 'FVA' in str($output_types_analysis)#"/>
+            <when value="True">
+                <param name="fva_percentage" argument="--fva_percentage" type="float" label="FVA percentage of optimum:" 
+                       value="1.0" min="0.0" max="1.0" 
+                       help="Percentage of the optimal objective value to use as constraint in FVA (0.0-1.0). Default is 1.0 (100% of optimum)."/>
+            </when>
+        </conditional>
     </inputs>
 
     <outputs>