annotate simulate-deletion.xml @ 2:6b3e0996185f draft default tip

planemo upload for repository https://github.com/brsynth/straindesign commit 628dbf7f95517f13542059ac4a9de58da440f1c6
author tduigou
date Tue, 23 Jul 2024 19:26:22 +0000
parents 14747c55330c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
1 <tool id="straindesign_simulate_deletion" name="StrainDesign simulate-deletion" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" license="@LICENCE@">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
2 <description>Search genes to delete in a biological model</description>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
3 <macros>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
4 <import>macros.xml</import>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
5 </macros>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
6 <expand macro="requirements"/>
2
6b3e0996185f planemo upload for repository https://github.com/brsynth/straindesign commit 628dbf7f95517f13542059ac4a9de58da440f1c6
tduigou
parents: 0
diff changeset
7 <!--
0
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
8 <expand macro="stdio"/>
2
6b3e0996185f planemo upload for repository https://github.com/brsynth/straindesign commit 628dbf7f95517f13542059ac4a9de58da440f1c6
tduigou
parents: 0
diff changeset
9 -->
0
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
11 python -m straindesign simulate-deletion
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
12 @CMD_INPUT_MODEL@
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
13 @CMD_INPUT_PATHWAY@
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
14 @CMD_INPUT_MEDIUM@
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
15 @CMD_BIOMASS_RXN_ID@
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
16 @CMD_TARGET_RXN_ID@
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
17 --strategy '$input_strategy.strategy'
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
18 #if str($input_strategy.strategy) == 'ko':
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
19 --substrate-rxn-id '$input_strategy.substrate_rxn_id'
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
20 #if $input_strategy.annotate:
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
21 --email '$__user_email__'
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
22 #end if
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
23 #end if
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
24 #if str($max_time_cond.max_time_param) == 'yes':
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
25 --max-time '$max_time_cond.max_time'
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
26 #end if
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
27 --max-knockouts '$max_knockouts'
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
28 --output-file-tsv '$output_tsv'
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
29 ]]></command>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
30 <expand macro="env_variables"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
31 <inputs>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
32 <expand macro="input_model_sbml"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
33 <expand macro="input_pathway_sbml"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
34 <expand macro="input_medium_tsv"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
35 <expand macro="input_biomass_rxn_id"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
36 <expand macro="input_target_rxn_id"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
37 <conditional name="input_strategy">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
38 <param name="strategy" type="select" label="Strategy" help="Genes or Reactions to delete">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
39 <option value="ko" selected="True">Gene knockouts</option>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
40 <option value="ou" >Reaction knockouts</option>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
41 </param>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
42 <when value="ko">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
43 <param name="substrate_rxn_id" type="text" value="" label="Substrate reaction ID" help="Reaction ID contains no special characters">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
44 <validator type="empty_field" message="Substrate reaction ID is required"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
45 <validator type="regex" message="No special characters allowed">^(?:[a-zA-Z_])(?:[\w.-])*$</validator>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
46 </param>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
47 <param name="annotate" type="boolean" label="Annotate the genes" checked="false" help="Please agree to use your email for query the NCBI website to annotate the genes"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
48 </when>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
49 <when value="ou">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
50 </when>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
51 </conditional>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
52 <param name="max_knockouts" type="integer" min="1" max="10" value="3" label="Number of items deleted to consider"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
53 <conditional name="max_time_cond">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
54 <param name="max_time_param" type="select" label="Time out" help="Limit scan time">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
55 <option value="no" selected="True">no</option>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
56 <option value="yes" >yes</option>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
57 </param>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
58 <when value="yes">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
59 <param name="max_time" type="integer" min="5" max="120" value="10" label="minutes"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
60 </when>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
61 <when value="no"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
62 </conditional>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
63 </inputs>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
64 <outputs>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
65 <data name="output_tsv" format="tabular" label="${tool.name}(${input_strategy.strategy})" />
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
66 </outputs>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
67 <tests>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
68 <test>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
69 <!-- test 1 -->
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
70 <param name="model" ftype="sbml" value="iAF1260.xml.gz" />
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
71 <param name="pathway" ftype="sbml" value="butanol.xml" />
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
72 <param name="medium" ftype="tabular" value="butanol.tsv" />
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
73 <param name="biomass_rxn_id" value="BIOMASS_Ec_iAF1260_core_59p81M" />
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
74 <param name="target_rxn_id" value="EX_1btol_e" />
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
75 <param name="substrate_rxn_id" value="EX_glc__D_e" />
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
76 <param name="max_time_param" value="yes"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
77 <param name="max_time" value="5"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
78 <output name="output_tsv" ftype="tabular">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
79 <assert_contents>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
80 <has_line_matching expression="^reactions\tgenes\tsize\tfva_min\tfva_max\ttarget_flux\tbiomass_flux\tyield\tfitness$"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
81 </assert_contents>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
82 </output>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
83 </test>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
84 </tests>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
85 <help><![CDATA[
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
86 @HELP_TITLE@
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
87
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
88 This tool helps to identify gene's deletions in a biological model to optimize the reaction of a targeted compound.
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
89 The medium composition can be modified with a TSV file formatted as following: no header, with these columns "reaction id, lower_bound, upper_bound".
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
90 The strategies "ko" and "ou" find genes and reactions respectively to delete.
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
91
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
92 Disclaimer: if you want to annotate the genes with their names, your email address will be used by the library Biopython to request the NCBI website.
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
93
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
94 @HELP_LINK@
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
95 ]]></help>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
96 <expand macro="creator"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
97 <expand macro="citation"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
98 </tool>