Previous changeset 62:ce8534417470 (2020-03-15) Next changeset 64:53b4fca5bdf9 (2020-03-16) |
Commit message:
Uploaded |
modified:
Marea/marea.xml |
b |
diff -r ce8534417470 -r b8cbc2122d55 Marea/marea.xml --- a/Marea/marea.xml Sun Mar 15 12:26:38 2020 -0400 +++ b/Marea/marea.xml Mon Mar 16 07:45:59 2020 -0400 |
b |
@@ -1,4 +1,4 @@ -<tool id="MaREA" name="Metabolic Reaction Enrichment Analysis" version="1.1.4"> +<tool id="MaREA" name="Metabolic Reaction Enrichment Analysis" version="1.0.8"> <macros> <import>marea_macros.xml</import> </macros> @@ -28,12 +28,12 @@ ${data.input_name} #end for --comparison ${cond.comparis.comparison} - + #if $cond.advanced.cond_map == 'true': + --custom_rules true + --custom_rule ${cond.advanced.cond_map.custom_rule} + --custom_map ${cond.advanced.cond_map.custom_map} + #end if #if $cond.advanced.choice == 'true': - #if $cond.advanced.cond_map.cond_map_choice == 'true': - --custom_rules true - --custom_map ${cond.advanced.cond_map.custom_map} - #end if --pValue ${cond.advanced.pValue} --fChange ${cond.advanced.fChange} --generate_svg ${cond.advanced.generateSvg} @@ -52,11 +52,12 @@ #if $cond.comparis.comparison == 'onevsmany' --control ${cond.comparis.controlgroup} #end if + #if $cond.advanced.cond_map == 'true': + --custom_rules true + --custom_rule ${cond.advanced.cond_map.custom_rule} + --custom_map ${cond.advanced.cond_map.custom_map} + #end if #if $cond.advanced.choice == 'true': - #if $cond.advanced.cond_map.cond_map_choice == 'true': - --custom_rules true - --custom_map ${cond.advanced.cond_map.custom_map} - #end if --pValue ${cond.advanced.pValue} --fChange ${cond.advanced.fChange} --generate_svg ${cond.advanced.generateSvg} @@ -99,11 +100,12 @@ <when value="false"></when> <when value="true"> <conditional name="cond_map"> - <param name="cond_map_choice" type="boolean" checked="false" label="Use custom map?" help="Use this option only if you have generated RAS using a custom set of rules"> + <param name="choice" type="boolean" checked="false" label="Use custom map and rules?" help="Use this option only if you have generated RAS using a custom set of rules"> <option value="false" selected="true">No</option> <option value="true">Yes</option> </param> - <when value="true"> + <when value="true"> + <param name="Custom_rule" argument="--custom_rule" type="data" format="tabular, csv, tsv, xml" label="Custom rules" /> <param name="Custom_map" argument="--custom_map" type="data" format="xml, svg" label="custom-map.svg"/> </when> </conditional> @@ -135,12 +137,13 @@ <when value="false"></when> <when value="true"> <conditional name="cond_map"> - <param name="cond_map_choice" type="boolean" checked="false" label="Use custom map?" help="Use this option only if you have generated RAS using a custom set of rules"> + <param name="choice" type="boolean" checked="false" label="Use custom map?" help="Use this option only if you have generated RAS using a custom set of rules"> <option value="false" selected="true">No</option> <option value="true">Yes</option> </param> - <when value="true"> - <param name="custom_map" argument="--custom_map" type="data" format="xml, svg" label="custom-map.svg"/> + <when value="true"> + <param name="Custom_rule" argument="--custom_rule" type="data" format="tabular, csv, tsv, xml" label="Custom rules" /> + <param name="Custom_map" argument="--custom_map" type="data" format="xml, svg" label="custom-map.svg"/> </when> </conditional> <param name="pValue" argument="--pValue" type="float" size="20" value="0.01" max="1" min="0" label="P-value threshold:" help="min value 0" /> |