BFAIR.mfa.sampling.find_biomass_reaction

BFAIR.mfa.sampling.find_biomass_reaction(model, biomass_string=['Biomass', 'BIOMASS', 'biomass'])[source]

Identifies the biomass reaction(s) in a metabolic model.

Parameters
modelcobra.Model

Metabolic model.

biomass_stringstr or list

String denoting at least a part of the name of the biomass function of the metabolic model or a list containing multiple possibilities to be tested. Preset to [“Biomass”, “BIOMASS”, “biomass”].

Returns
biomass_reaction_idslist

Reaction(s) containing the input string.