annotate simulate-deletion.xml @ 0:14747c55330c draft

planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
author tduigou
date Mon, 15 May 2023 14:05:52 +0000
parents
children 6b3e0996185f
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"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
7 <expand macro="stdio"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
9 python -m straindesign simulate-deletion
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
10 @CMD_INPUT_MODEL@
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
11 @CMD_INPUT_PATHWAY@
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
12 @CMD_INPUT_MEDIUM@
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
13 @CMD_BIOMASS_RXN_ID@
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
14 @CMD_TARGET_RXN_ID@
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
15 --strategy '$input_strategy.strategy'
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
16 #if str($input_strategy.strategy) == 'ko':
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
17 --substrate-rxn-id '$input_strategy.substrate_rxn_id'
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
18 #if $input_strategy.annotate:
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
19 --email '$__user_email__'
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
20 #end if
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
21 #end if
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
22 #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
23 --max-time '$max_time_cond.max_time'
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
24 #end if
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
25 --max-knockouts '$max_knockouts'
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
26 --output-file-tsv '$output_tsv'
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
27 ]]></command>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
28 <expand macro="env_variables"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
29 <inputs>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
30 <expand macro="input_model_sbml"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
31 <expand macro="input_pathway_sbml"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
32 <expand macro="input_medium_tsv"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
33 <expand macro="input_biomass_rxn_id"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
34 <expand macro="input_target_rxn_id"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
35 <conditional name="input_strategy">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
36 <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
37 <option value="ko" selected="True">Gene knockouts</option>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
38 <option value="ou" >Reaction knockouts</option>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
39 </param>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
40 <when value="ko">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
41 <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
42 <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
43 <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
44 </param>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
45 <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
46 </when>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
47 <when value="ou">
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 </conditional>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
50 <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
51 <conditional name="max_time_cond">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
52 <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
53 <option value="no" selected="True">no</option>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
54 <option value="yes" >yes</option>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
55 </param>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
56 <when value="yes">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
57 <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
58 </when>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
59 <when value="no"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
60 </conditional>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
61 </inputs>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
62 <outputs>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
63 <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
64 </outputs>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
65 <tests>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
66 <test>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
67 <!-- test 1 -->
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
68 <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
69 <param name="pathway" ftype="sbml" value="butanol.xml" />
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
70 <param name="medium" ftype="tabular" value="butanol.tsv" />
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
71 <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
72 <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
73 <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
74 <param name="max_time_param" value="yes"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
75 <param name="max_time" value="5"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
76 <output name="output_tsv" ftype="tabular">
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
77 <assert_contents>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
78 <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
79 </assert_contents>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
80 </output>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
81 </test>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
82 </tests>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
83 <help><![CDATA[
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
84 @HELP_TITLE@
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
85
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
86 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
87 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
88 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
89
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
90 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
91
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
92 @HELP_LINK@
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
93 ]]></help>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
94 <expand macro="creator"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
95 <expand macro="citation"/>
14747c55330c planemo upload for repository https://github.com/brsynth/straindesign commit 38e681e9ebc7bb75ea44f314b48761bf25403420
tduigou
parents:
diff changeset
96 </tool>