BFAIR.mfa.INCA.parse_cobra_model¶
-
BFAIR.mfa.INCA.parse_cobra_model(model_file_name, model_id, date)[source]¶ Parses reaction- and metabolite information out of a cobra model saved as a .json or .sbml file and makes it compatible with the BFAIR.INCA tools
- Parameters
- model_file_namestr or path + str
Filename or path to file + filename of the cobra metabolic model
- model_idstr
Name of the model (for downstream reference)
- datestr
Date of model processing (for downstream reference)
- Returns
- model_datapandas.DataFrame
General information about the processed metabolic model
- reaction_datapandas.DataFrame
Information about the reactions in the metabolic model
- metabolite_datapandas.DataFrame
Information about the metabolites in the metabolic model
- Raises
- FileTypeError
File provided is not a .json or a .sbml file