# HG changeset patch # User luca_milaz # Date 1758548523 0 # Node ID 6a7010997b321e99ba43a6b97f630c527ff083eb # Parent f8c3d9f28f649d76676a538e80cb7d7df2fed7b2 Uploaded diff -r f8c3d9f28f64 -r 6a7010997b32 COBRAxy/flux_simulation_beta.xml --- a/COBRAxy/flux_simulation_beta.xml Wed Sep 17 14:52:40 2025 +0000 +++ b/COBRAxy/flux_simulation_beta.xml Mon Sep 22 13:42:03 2025 +0000 @@ -36,15 +36,24 @@ --name $names #end if - --thinning 0 - #if $algorithm_param.algorithm == 'OPTGP': - --thinning $algorithm_param.thinning + #if $sampling_params.enable_sampling == 'True': + --thinning 0 + #if $sampling_params.algorithm_param.algorithm == 'OPTGP': + --thinning $sampling_params.algorithm_param.thinning + #end if + --algorithm $sampling_params.algorithm_param.algorithm + --n_batches $sampling_params.n_batches + --n_samples $sampling_params.n_samples + --output_type "${",".join(map(str, $sampling_params.output_types))}" + #else: + --thinning 0 + --algorithm CBS + --n_batches 1 + --n_samples 0 + --output_type "mean" #end if - --algorithm $algorithm_param.algorithm - --n_batches $n_batches - --n_samples $n_samples + --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): @@ -79,30 +88,40 @@ - - - - + + + + - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + @@ -132,18 +151,20 @@ ------------- This tool generates flux distributions for each samples using: -1. a sampling-based strategy: CBS (Corner-based sampling) or OPTGP (Improved Artificial Centering Hit-and-Run sampler) algorithms. -2. an optimization-based strategy: parsimonious-FBA (optimized by Biomass), FVA (with configurable optimality percentage), Biomass sensitivity analysis (single reaction knock-out) +1. a sampling-based strategy (optional): CBS (Corner-based sampling) or OPTGP (Improved Artificial Centering Hit-and-Run sampler) algorithms. +2. an optimization-based strategy: parsimonious-FBA (optimized by Biomass), FVA (with configurable optimality percentage), Biomass sensitivity analysis (single reaction knock-out) Two upload modes are supported: 1. **Model + bounds**: Upload one base model (tabular file) and multiple bound files (one per context/cell type) 2. **Multiple complete models**: Upload multiple complete model files, each with integrated bounds -It can return sampled fluxes by applying summary statistics: +**Sampling (optional)**: When enabled, it can return sampled fluxes by applying summary statistics: - mean - median - quantiles (0.25, 0.50, 0.75) +**Optimization**: Always available with FVA as the default analysis method. + Output: ------------- @@ -158,5 +179,4 @@ - - + \ No newline at end of file