diff dimet_abundance_plot.xml @ 5:279ce0d93d53 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/DIMet commit b74312f0a6cb28e204f8633453e493fa0b2c89d8
author iuc
date Tue, 21 May 2024 13:45:48 +0000
parents 1df18470e3d0
children db1e58e44a5c
line wrap: on
line diff
--- a/dimet_abundance_plot.xml	Wed Mar 27 16:52:31 2024 +0000
+++ b/dimet_abundance_plot.xml	Tue May 21 13:45:48 2024 +0000
@@ -29,8 +29,8 @@
                 _target_: dimet.method.AbundancePlotConfig,
                 label: abundance_plot,
                 name: "Generate abundance plots",
-                barcolor: timepoint,
-                axisx: condition,
+                barcolor: '${output_options.bar_color}',
+                axisx: ${axisx},
                 axisx_labeltilt: '${output_options.axisx_labeltilt}',
                 height_each_subfig: '${output_options.height_each_subfig}',
                 palette:${output_options.palette},
@@ -66,6 +66,10 @@
                 <option value="pdf">Pdf</option>
                 <option value="svg">Svg</option>
             </param>
+            <param name="bar_color" type="select" value="timepoint" display="radio" label="Select output figure barcolor" help="Please enter at max 1 format">
+                    <option value="timepoint">timepoint</option>
+                    <option value="condition">condition</option>
+            </param>
             <param name="axisx_labeltilt" type="integer" min="0" max="180" value="70" label="X axis label tilt"
                    help="Default value is 70."/>
             <param name="width_each_subfig" type="float" min="1.0" max="15.0" value="3.0" label="width of subfig plots"
@@ -76,7 +80,6 @@
                    help="Default value is false."/>
             <param name="do_stripplot" type="boolean" value="false" label="add strip plot on abundance bar"
                    help="Default value is false."/>
-
         </section>
     </inputs>
     <outputs>
@@ -96,6 +99,8 @@
             <param name="metabolites_list" value="Fru1P"/>
             <section name="output_options">
                 <param name="axisx_labeltilt" value="70"/>
+                <param name="bar_color" value="timepoint"/>
+                <param name="axisx" value="condition"/>
                 <param name="palette" value="pastel"/>
                 <param name="width_each_subfig" value="3.0"/>
                 <param name="height_each_subfig" value="5.5"/>