annotate reduce-model.xml @ 0:78b7443af284 draft

planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
author iuc
date Sun, 02 Oct 2022 19:27:33 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
1 <tool id="straindesign_reduce_model" name="StrainDesign reduce-model" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" license="@LICENCE@">
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
2 <description>Delete gene in a biological model</description>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
3 <macros>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
4 <import>macros.xml</import>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
5 </macros>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
7 <expand macro="stdio"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
9 python -m straindesign reduce-model
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
10 @CMD_INPUT_MODEL@
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
11 #if str($sd_strategy.sd_cond) == 'yes'
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
12 --input-straindesign-file '$sd_strategy.sd_tsv'
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
13 --parameter-strategy-str '$sd_strategy.sd_strategy_str'
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
14 #end if
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
15 --output-file-sbml '$output_sbml'
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
16 #if str($input_gene_str) != ''
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
17 --input-gene-str #echo $input_gene_str
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
18 #end if
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
19 ]]></command>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
20 <expand macro="env_variables"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
21 <inputs>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
22 <expand macro="input_model_sbml"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
23 <conditional name="sd_strategy">
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
24 <param name="sd_cond" type="select" label="Fill with the output of StrainDesign simulate-deletion">
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
25 <option value="no" selected="True">no</option>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
26 <option value="yes" >yes</option>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
27 </param>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
28 <when value="yes">
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
29 <param name="sd_tsv" type="data" format="tabular" label="StrainDesign simulate-deletion output" help="TSV input file"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
30 <param name="sd_strategy_str" type="select" label="Strategy" help="Choose which genes will be deleted automatically">
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
31 <option value="yield-max" selected="True">Yield Max</option>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
32 <option value="gene-max">Gene Max</option>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
33 <option value="gene-min"> Gene Min</option>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
34 </param>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
35 </when>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
36 <when value="no"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
37 </conditional>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
38 <param name="input_gene_str" type="text" value="" label="Gene IDs" help="Multiple genes are separated by space">
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
39 <validator type="regex" message="No special characters allowed">^(?:[ \w.-])*$</validator>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
40 </param>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
41 </inputs>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
42 <outputs>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
43 <data name="output_sbml" format="sbml" label="${tool.name}" />
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
44 </outputs>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
45 <tests>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
46 <test>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
47 <!-- test 1 -->
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
48 <param name="model" ftype="sbml" value="iAF1260.xml.gz"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
49 <param name="input_gene_str" value="b4208 b4208 b3919"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
50 <output name="output_sbml" ftype="sbml">
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
51 <assert_contents>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
52 <is_valid_xml/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
53 <not_has_text text="b4208"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
54 <not_has_text text="b3919"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
55 </assert_contents>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
56 </output>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
57 </test>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
58 <test>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
59 <!-- test 2 -->
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
60 <param name="model" ftype="sbml" value="iAF1260.xml.gz"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
61 <param name="sd_cond" value="yes"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
62 <param name="sd_tsv" ftype="tabular" value="simulate_deletion.butanol.iAF1260.tsv"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
63 <output name="output_sbml" ftype="sbml">
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
64 <assert_contents>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
65 <is_valid_xml/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
66 <not_has_text text="b3919"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
67 <not_has_text text="b0529"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
68 </assert_contents>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
69 </output>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
70 </test>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
71 <test>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
72 <!-- test 3 -->
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
73 <param name="model" ftype="sbml" value="iAF1260.xml.gz"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
74 <param name="sd_cond" value="yes"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
75 <param name="sd_tsv" ftype="tabular" value="simulate_deletion.butanol.iAF1260.tsv"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
76 <param name="input_gene_str" value="b4208 b4208 b3919"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
77 <output name="output_sbml" ftype="sbml">
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
78 <assert_contents>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
79 <is_valid_xml/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
80 <not_has_text text="b4208"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
81 <not_has_text text="b3919"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
82 <not_has_text text="b0529"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
83 </assert_contents>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
84 </output>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
85 </test>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
86 </tests>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
87 <help><![CDATA[
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
88 @HELP_TITLE@
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
89
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
90 This tool deletes some genes provided either from **simulate-deletion¨** or provided by their ids, in a biological model (SBML format).
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
91 If you provide a TSV file coming from the **simulate-deletion** commands either the file is cleanned by hand and contains one line or the program tries to identify which genes will be deleted by applying the suited strategy:
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
92 * yield-max: the combination of genes with the maximum amount of yiel is taken
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
93 * gene-max: the combination of genes with the maximum number of genes is taken
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
94 * gene-min: the combination of genes with the minimum number of genes is taken
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
95
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
96 @HELP_LINK@
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
97 ]]></help>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
98 <expand macro="creator"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
99 <expand macro="citation"/>
78b7443af284 planemo upload for repository https://github.com/brsynth/straindesign commit 593e182e67109bd8649ddec5bf5b97d1a4531b3f
iuc
parents:
diff changeset
100 </tool>