# HG changeset patch
# User luca_milaz
# Date 1757583894 0
# Node ID be26d1c603a012a08588ade391fd9fe99979a635
# Parent  9f35a69fab5212ec1f690ab5a977cd3d71641b58
Uploaded
diff -r 9f35a69fab52 -r be26d1c603a0 COBRAxy/flux_simulation_beta.xml
--- a/COBRAxy/flux_simulation_beta.xml	Thu Sep 11 09:35:19 2025 +0000
+++ b/COBRAxy/flux_simulation_beta.xml	Thu Sep 11 09:44:54 2025 +0000
@@ -46,6 +46,11 @@
         --seed $seed
         --output_type "${",".join(map(str, $output_types))}"
         --output_type_analysis "${",".join(map(str, $output_types_analysis))}"
+        
+        #if 'FVA' in str($output_types_analysis):
+            --perc_opt $fva_params.optimality_fraction
+        #end if
+        
         --out_log $log
         ]]>
     
@@ -100,6 +105,18 @@
             
             
         
+
+        
+            
+            
+                
+            
+            
+                
+            
+        
+
     
 
     
@@ -127,7 +144,7 @@
 
 Flux analysis can be performed over the metabolic model:
    - parsimonious-FBA (optimized by Biomass)
-   - FVA
+   - FVA (with configurable optimality percentage)
    - Biomass sensitivity analysis (single reaction knock-out)
 
 Output:
@@ -139,6 +156,7 @@
 
 **TIP**: The Batches parameter helps maintain memory efficiency. For 10,000 samples, use n_samples=1,000 and n_batches=10.
 **TIP**: The Thinning parameter for OPTGP helps converge to stationary distribution.
+**TIP**: FVA optimality percentage allows you to explore suboptimal flux ranges. 100% restricts to optimal solutions, while lower values (e.g., 90%) allow broader flux ranges.
 ]]>