comparison rrparser.xml @ 11:ac6c16ae1f88 draft default tip

planemo upload for repository https://github.com/brsynth/rrparser commit 01d525eee7e9fe6c9a3d89101c465c99928a71c2
author tduigou
date Mon, 07 Apr 2025 07:42:07 +0000
parents 3449d7bfee20
children
comparison
equal deleted inserted replaced
10:3449d7bfee20 11:ac6c16ae1f88
1 <tool id="rrparser" name="RRules Parser" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.2" license="MIT"> 1 <tool id="rrparser" name="RRules Parser" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.2" license="MIT">
2 <description>Retrieve the reaction rules from RetroRules</description> 2 <description>Retrieve the reaction rules from RetroRules</description>
3 <macros> 3 <macros>
4 <token name="@VERSION_SUFFIX@">3</token> 4 <token name="@VERSION_SUFFIX@">4</token>
5 <token name="@TOOL_VERSION@">2.7.0</token> 5 <token name="@TOOL_VERSION@">2.7.0</token>
6 </macros> 6 </macros>
7 <requirements> 7 <requirements>
8 <requirement type="package" version="@TOOL_VERSION@">rrparser</requirement> 8 <requirement type="package" version="@TOOL_VERSION@">rrparser</requirement>
9 </requirements> 9 </requirements>
67 <option value="in">EC numbers to keep</option> 67 <option value="in">EC numbers to keep</option>
68 <option value="out">EC numbers to remove</option> 68 <option value="out">EC numbers to remove</option>
69 </param> 69 </param>
70 <when value="no" /> 70 <when value="no" />
71 <when value="in"> 71 <when value="in">
72 <param name="input_ec_in" type="data" format="csv" label="File containing EC numbers" help="EC numbers on one line separted by a comma" /> 72 <param name="input_ec_in" type="data" format="txt" label="File containing EC numbers" help="EC numbers on one line separted by a comma" />
73 </when> 73 </when>
74 <when value="out"> 74 <when value="out">
75 <param name="input_ec_out" type="data" format="csv" label="File containing EC numbers" help="EC numbers on one line separted by a comma" /> 75 <param name="input_ec_out" type="data" format="txt" label="File containing EC numbers" help="EC numbers on one line separted by a comma" />
76 </when> 76 </when>
77 </conditional> 77 </conditional>
78 <param argument="--diameters" type="select" display="checkboxes" multiple="True" label="Select the diameters of the reactions rules" help=" Diameter of the sphere including the atoms around the reacting center (default is including all values: 2,4,6,8,10,12,14,16). The higher is the diameter, the more specific are the rules"> 78 <param argument="--diameters" type="select" display="checkboxes" multiple="True" label="Select the diameters of the reactions rules" help=" Diameter of the sphere including the atoms around the reacting center (default is including all values: 2,4,6,8,10,12,14,16). The higher is the diameter, the more specific are the rules">
79 <option selected="true" value="2">2</option> 79 <option selected="true" value="2">2</option>
80 <option selected="true" value="4">4</option> 80 <option selected="true" value="4">4</option>
122 <param name="file" value="rules_in.csv" /> 122 <param name="file" value="rules_in.csv" />
123 </conditional> 123 </conditional>
124 <section name="adv"> 124 <section name="adv">
125 <conditional name="input_conditional_ec"> 125 <conditional name="input_conditional_ec">
126 <param name="input_type" value="in"/> 126 <param name="input_type" value="in"/>
127 <param name="input_ec_in" value="ec.csv"/> 127 <param name="input_ec_in" value="ec.txt"/>
128 </conditional> 128 </conditional>
129 </section> 129 </section>
130 <output name="out_rules" file="test.4.output.csv" ftype="csv" compare="diff"/> 130 <output name="out_rules" file="test.4.output.csv" ftype="csv" compare="diff"/>
131 </test> 131 </test>
132 <test> 132 <test>
133 <!-- python -m rrparser -rules_file rules_in.csv -input-format csv -ecx ec.csv -diameters 2,4,6,8,10,12,14,16 -output-format csv -outfile test.5.output.csv --> 133 <!-- python -m rrparser -rules_file rules_in.csv -input-format csv -ecx ec.txt -diameters 2,4,6,8,10,12,14,16 -output-format csv -outfile test.5.output.csv -->
134 <conditional name="rules"> 134 <conditional name="rules">
135 <param name="type" value="rules-file"/> 135 <param name="type" value="rules-file"/>
136 <param name="file" value="rules_in.csv" /> 136 <param name="file" value="rules_in.csv" />
137 </conditional> 137 </conditional>
138 <section name="adv"> 138 <section name="adv">
139 <conditional name="input_conditional_ec"> 139 <conditional name="input_conditional_ec">
140 <param name="input_type" value="out"/> 140 <param name="input_type" value="out"/>
141 <param name="input_ec_out" value="ec.csv"/> 141 <param name="input_ec_out" value="ec.txt"/>
142 </conditional> 142 </conditional>
143 </section> 143 </section>
144 <output name="out_rules" file="test.5.output.csv" ftype="csv" compare="diff"/> 144 <output name="out_rules" file="test.5.output.csv" ftype="csv" compare="diff"/>
145 </test> 145 </test>
146 <test> 146 <test>