Smart json modificator (cobra)
Generate an json model with modifications asked.
This task is still in beta version.
This task uses openAI API to generate python code that modify a genome scale metabolic model stored in a json format; using cobra library. This code is then automatically executed.
Here are few examples of what you can ask for: Please change the id of the metabolite "xxx" by "yyy" Please change the id of the reaction "xxx" by "yyy" Please change the id of the gene "xxx" by "yyy" with the function cobra.manipulation.modify.rename_genes
The data of the model is not transferered to OpenAI, only the provided text.