changeset 63:b8cbc2122d55 draft

Uploaded
author bimib
date Mon, 16 Mar 2020 07:45:59 -0400
parents ce8534417470
children 53b4fca5bdf9
files Marea/marea.xml
diffstat 1 files changed, 18 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/Marea/marea.xml	Sun Mar 15 12:26:38 2020 -0400
+++ b/Marea/marea.xml	Mon Mar 16 07:45:59 2020 -0400
@@ -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" />