charlesrocabert / gbapy

Growth balance analysis in Python
GNU General Public License v3.0
1 stars 0 forks source link

Protein negativity #6

Open charlesrocabert opened 2 months ago

charlesrocabert commented 2 months ago

To ensure protein positivity (i.e. $p > 0$), you must check positivity for $f$. Indeed, $p = \mu \rho f \odot \tau(f)$ (see Dourado et al. 2023).

In all your models, reactions are irreversible and necessarily $f > 0$. So the only problem you should have is $f$ values getting close to zero or being slightly negative.

Can you create a small notebook to show me how you get negative protein values?

fumer100 commented 2 months ago

Ok, I found my mistake 🤦‍♂️ I put this part image before the calculation of next_f, image so it would correct it, but then due to Gcc_f it got negative again.