Mercurial > repos > iuc > gem_extract_exchange
annotate gem_extract_exchange.xml @ 0:4b6367cb2d53 draft default tip
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
| author | iuc |
|---|---|
| date | Fri, 13 Dec 2024 21:31:36 +0000 |
| parents | |
| children |
| rev | line source |
|---|---|
|
0
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
1 <tool id="gem_extract_exchange" name="Get exchange bounds" version="@VERSION@" profile="@PROFILE@"> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
2 <description> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
3 of a GEM |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
4 </description> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
5 <macros> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
6 <import>gem_macros.xml</import> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
7 </macros> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
8 <expand macro="requirements"/> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
9 <expand macro="version_command_cobra"/> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
10 <command> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
11 python '$__tool_directory__/gem_extract_exchange.py' |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
12 --cb_model_location '${cb_model_location}' |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
13 -output '${output}' |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
14 </command> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
15 <inputs> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
16 <expand macro="input_model"/> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
17 </inputs> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
18 <outputs> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
19 <expand macro="output"/> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
20 </outputs> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
21 <tests> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
22 <!-- Test 1: Valid minimal GEM model --> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
23 <test> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
24 <param name="cb_model_location" value="textbook_model_cobrapy.xml"/> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
25 <output name="output" file="textbook_model_cobrapy_exchange.csv"/> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
26 </test> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
27 <!-- Test 2: Invalid model format --> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
28 <test expect_failure="true"> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
29 <param name="cb_model_location" value="invalid_format.txt"/> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
30 <assert_stderr> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
31 <has_text text="The model could not be read"/> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
32 </assert_stderr> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
33 </test> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
34 <expand macro="test_invalid_model"/> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
35 </tests> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
36 <help><![CDATA[ |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
37 GEM Extract Exchange Bounds |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
38 |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
39 Overview |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
40 |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
41 This tool extracts the exchange reactions and their associated bounds from a Genome-scale Metabolic (GEM) model in SBML format. The extracted exchange reactions are saved in a CSV file for further analysis or modification. Exchange reactions represent interactions between the metabolic network and the external environment, often used to simulate fluxes of metabolites in and out of the system. |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
42 |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
43 Inputs |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
44 |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
45 - `Model to extract exchange for`: This should be an SBML file containing the GEM model. The tool will identify and extract only the exchange reactions (reactions responsible for importing/exporting metabolites). |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
46 |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
47 Outputs |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
48 |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
49 - `GEM exchange reactions`: A CSV file with the following columns: |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
50 - `reaction_id`: The ID of the exchange reaction. |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
51 - `reaction_name`: The name of the exchange reaction. |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
52 - `reaction_stoichiometry`: The stoichiometry of the reaction. |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
53 - `lower_bound`: The lower bound of the exchange flux (typically representing the uptake limit). |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
54 - `upper_bound`: The upper bound of the exchange flux (typically representing the secretion limit). |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
55 ]]></help> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
56 <citations> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
57 <expand macro="citation_cobrapy"/> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
58 </citations> |
|
4b6367cb2d53
planemo upload for repository https://github.com/AlmaasLab/elixir-galaxy-tools-systemsbiology commit 3f7bec1264a86e1488ee1315dbac0f44675f5171
iuc
parents:
diff
changeset
|
59 </tool> |
