annotate rpextractsink.xml @ 4:a21285560b16 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 387d0dd233c1d9948152a2d4af9e69ad10fe1b6a
author tduigou
date Thu, 23 Nov 2023 14:27:46 +0000
parents d9287c69a7f4
children 904324338682
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
1 <tool id="rptools_rpextractsink" name="Sink from SBML" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.09">
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
2 <description>Generate the RetroPath2.0 sink file from an SBML input</description>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
3 <macros>
2
caf2b5731a5e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
4 <import>macros.xml</import>
0
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
5 </macros>
2
caf2b5731a5e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
6 <expand macro="requirements"/>
0
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
7 <stdio>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
8 <regex match="Could not retreive any species in the compartment" level="fatal" />
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
9 </stdio>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
11 python -m rptools.rpextractsink
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
12 '$input'
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
13 '$sink'
3
d9287c69a7f4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 044274b46d50a1d0e3708e80e0dfecf1de653c65
tduigou
parents: 2
diff changeset
14 --compartment-id '$compartment_id'
0
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
15 $adv.remove_dead_end
3
d9287c69a7f4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 044274b46d50a1d0e3708e80e0dfecf1de653c65
tduigou
parents: 2
diff changeset
16 $adv.standalone
0
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
17 --cache-dir "\${TMPDIR:-.}"
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
18 ]]></command>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
19 <inputs>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
20 <param name="input" type="data" format="sbml" optional="false" label="Strain" help="The structure of metabolites present in the chosen chassis strain in SBML format" />
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
21 <param name="compartment_id" type="text" value="c" label="SBML compartment ID" help="Specify the compartment from which to extract the sink molecules. The default are for BiGG models (cytosol)" >
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
22 <validator type="empty_field" message="SBML compartment ID is required"/>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
23 </param>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
24 <section name="adv" title="Advanced Options" expanded="false">
3
d9287c69a7f4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 044274b46d50a1d0e3708e80e0dfecf1de653c65
tduigou
parents: 2
diff changeset
25 <param argument="--remove_dead_end" type="boolean" truevalue="--remove-dead-end" falsevalue="" checked="true" label="Remove dead-end metabolites using FVA evaluation?" help="Perform FVA (Flux Variability Analysis) evaluation to remove dead end metabolites" />
d9287c69a7f4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 044274b46d50a1d0e3708e80e0dfecf1de653c65
tduigou
parents: 2
diff changeset
26 <param argument="--standalone" type="boolean" truevalue="--standalone" falsevalue="" checked="true" label="Do not connect to Internet" help="If True, do not retrieve InChI from Internet" />
0
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
27 </section>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
28 </inputs>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
29 <outputs>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
30 <data name="sink" format="csv" metadata_source="input" label="Sink - ${input.name}" />
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
31 </outputs>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
32 <tests>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
33 <test>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
34 <!-- test 1: check if identical outputs are produced with iCN718 model input -->
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
35 <param name="input" value="iCN718.xml.gz" />
3
d9287c69a7f4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 044274b46d50a1d0e3708e80e0dfecf1de653c65
tduigou
parents: 2
diff changeset
36 <output name="sink" md5="5ff3987609142e828ec8e3c97b8dab12" />
0
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
37 </test>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
38 </tests>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
39 <help><![CDATA[
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
40 Sink from SBML
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
41 =================
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
42
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
43 Sink refers to the collection of chemical species used by the restrosynthesis algorithm of `RetroPath2.0 <https://doi.org/10.1016/j.ymben.2017.12.002>`_ to finish metabolic route exploration. This tool uses an SBML (Systems Biology Markup Language) file of the desired chassis organism, parses all the molecules within a specified compartment (example: cytosol, Golgi apparatus, nucleus, etc) and uses its MIRIAM (Minimal Information Requested In the Annotation of Models) annotation to find their InChI (International Chemical Identifier) structures. In *Advanced Options*, You can use *Remove dead-end metabolites using FVA evaluation?* to conduct Flux Variability Analysis to remove metabolites that lack the requisite flux that would account for their production or consumption within the metabolic network.
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
44
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
45 The user can also specify the compartment from which the tool will extract the chemical species. The default is 'c', the BiGG code for the cytosol. If the user wishes to upload an SBML file from another source, then this value must be changed.
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
46
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
47 The results are written to a RetroPath2.0 friendly CSV file format that can be used as sink input.
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
48
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
49 Input
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
50 -----
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
51
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
52 Required:
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
53
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
54 * **Strain**\ : The structure of metabolites present in the chosen chassis strain in SBML format.
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
55 * **SBML compartment ID**\ : (string, default: c) Specify the compartment from which to extract the sink molecules. The default are for BiGG models (cytosol).
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
56
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
57 Advanced options:
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
58
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
59 * **Remove dead-end metabolites using FVA evaluation?**\ : (boolean, default: True) Perform FVA (Flux Variability Analysis) evaluation to remove dead end metabolites.
3
d9287c69a7f4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 044274b46d50a1d0e3708e80e0dfecf1de653c65
tduigou
parents: 2
diff changeset
60 * **Do not connect to Internet**: (boolean, default: False) If True, do not retrieve InChI from Internet
0
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
61
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
62 Output
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
63 ------
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
64
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
65 * **Sink**\ : CSV file containing a collection of chemical species used by the restrosynthesis algorithm of `RetroPath2.0 <https://doi.org/10.1016/j.ymben.2017.12.002>`_.
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
66 ]]></help>
2
caf2b5731a5e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
67 <expand macro="creator"/>
0
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
68 <citations>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
69 <citation type="doi">10.1038/nbt1156</citation>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
70 <citation type="doi">10.1016/j.ymben.2017.12.002</citation>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
71 <citation type="doi">10.1186/1752-0509-7-74</citation>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
72 <citation type="doi">10.1093/bioinformatics/btn051</citation>
2
caf2b5731a5e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 2333b7b56422febf439cd9f4cd3e6eda858b2690
tduigou
parents: 0
diff changeset
73 <citation type="doi">10.1038/s41467-022-32661-x</citation>
0
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
74 </citations>
b803ac9d24ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rptools commit 3bc34bfc82850daa2229724c396dcd9454039273-dirty
tduigou
parents:
diff changeset
75 </tool>