Mercurial > repos > bimib > cobraxy
view COBRAxy/custom_data_generator.xml @ 30:3a331d28a2c7 draft
Uploaded
author | luca_milaz |
---|---|
date | Thu, 19 Sep 2024 09:28:09 +0000 |
parents | b61fc7f1b6ab |
children | fe40f555db0a |
line wrap: on
line source
<tool id="CustomDataGenerator" name="Custom Data Generator" version="2.0.0"> <macros> <import>marea_macros.xml</import> </macros> <requirements> <requirement type="package" version="1.24.4">numpy</requirement> <requirement type="package" version="2.0.3">pandas</requirement> <requirement type="package" version="0.29.0">cobra</requirement> <requirement type="package" version="5.2.2">lxml</requirement> </requirements> <command detect_errors="exit_code"> <![CDATA[ python $__tool_directory__/custom_data_generator.py --input $input --name $input.element_identifier --out_log $log --out_rules $rules --out_reactions $reactions --out_bounds $bounds --out_medium $medium ]]> </command> <inputs> <param name="input" argument="--input" type="data" format="xml, json" label="Custom model:" /> <param name="name" argument="--name" type="text" label="Model's name:" value="Model" help="Default: Model" /> </inputs> <outputs> <data format="txt" name="log" label="${tool.name} - Log" /> <data format="tabular" name="rules" label="rules" /> <data format="tabular" name="reactions" label="reactions" /> <data format="tabular" name="bounds" label="bounds" /> <data format="tabular" name="medium" label="medium" /> </outputs> <help> <![CDATA[ What it does ------------- This tool generates four files containing reactions, rules, reaction bounds and medium composition respectively, starting from a custom model in JSON or XML format. Reactions and rules can be used as inputs for the RAS and RPS generator tools. Accepted files: - A model: JSON or XML file reporting reactions and rules contained in the model. Output: ------------- The tool generates: - rules: reporting the rules for each reaction in the custom model given. Format: csv (tab separated). - reactions: reporting the reactions in the custom model given. Format: csv (tab separated). - reaction bounds: reporting the lower and upper bounds of each model reaction. Format: csv (tab separated). - medium composition: reporting the list of exchange/transport reactions. Format: csv (tab separated). - a log file (.txt). ]]> </help> <expand macro="citations" /> </tool>