Login

Smart json modificator (cobra)

TASK
Typing name :  TASK.gws_gena.SmartCobra Brick :  gws_gena v

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.

Input

File

Output

Model Modified
Model modified.

Configuration

prompt

Type : open_ai_chat_param