diff hicPlotAverageRegions.xml @ 6:5fb461d15c31 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 2a0943e78bdc8ebb13f181399206a9eea37ed78f"
author iuc
date Tue, 16 Mar 2021 15:35:10 +0000
parents 0dff8b5011c0
children ea5d67ec94ab
line wrap: on
line diff
--- a/hicPlotAverageRegions.xml	Fri Dec 11 21:17:40 2020 +0000
+++ b/hicPlotAverageRegions.xml	Tue Mar 16 15:35:10 2021 +0000
@@ -1,4 +1,4 @@
-<tool id="hicexplorer_hicplotaverageregions" name="@BINARY@" version="@WRAPPER_VERSION@.0">
+<tool id="hicexplorer_hicplotaverageregions" name="@BINARY@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
     <description>plot the average regions from hicAverageRegions</description>
     <macros>
         <token name="@BINARY@">hicPlotAverageRegions</token>
@@ -32,22 +32,21 @@
 ]]>
     </command>
     <inputs>
-        <param argument="--matrix" type="data" format='zip' label="Average regions matrix computed by hicAverageRegions"/>
-        <param argument="--log1p" type="boolean" truevalue="--log1p" falsevalue="" checked="false" label="Plot the log1p of the matrix values (log(Hi-C contacts+1)). This option is recommended."/>
-        <param argument="--log" type="boolean" truevalue="--log" falsevalue="" checked="false" label="Plot the log of the matrix values. (log(Hi-C contacts))"/>
+        <param argument="--matrix" type="data" format='zip' label="Average regions matrix computed by hicAverageRegions" />
+        <param argument="--log1p" type="boolean" truevalue="--log1p" falsevalue="" checked="false" label="Plot the log1p of the matrix values (log(Hi-C contacts+1)). This option is recommended." />
+        <param argument="--log" type="boolean" truevalue="--log" falsevalue="" checked="false" label="Plot the log of the matrix values. (log(Hi-C contacts))" />
 
         <expand macro="colormap" />
 
-        <param argument="--vMin" type="float" optional="true" label="vMin" help="Minimum value of the plotted score."/>
-        <param argument="--vMax" type="float" optional="true" label="vMax" help="Maximum value of the plotted score."/>
+        <param argument="--vMin" type="float" optional="true" label="vMin" help="Minimum value of the plotted score." />
+        <param argument="--vMax" type="float" optional="true" label="vMax" help="Maximum value of the plotted score." />
 
         <param name="image_file_format" type="select" label="Image output format">
             <option value="png" selected="True">png</option>
             <option value="svg">svg</option>
             <option value="pdf">pdf</option>
         </param>
-        <param name='dpi' type='integer' label='DPI for image' help='Change the default resolution of the plot.' optional='true'/>
-
+        <expand macro="dpi" />
     </inputs>
     <outputs>
         <data format="png" name="outFileName" from_work_dir="plot" label="${tool.name} [${on_string}]: Plot">
@@ -56,44 +55,39 @@
                 <when input="image_file_format" value="pdf" format="pdf" />
             </change_format>
         </data>
-
     </outputs>
     <tests>
         <test>
-            <param name="matrix" value="hicAverageRegions/result_range_100000.npz" ftype="zip"/>
-            <param name="colormap" value="RdYlBu_r"/>
+            <param name="matrix" value="hicAverageRegions/result_range_100000.npz" ftype="zip" />
+            <param name="colormap" value="RdYlBu_r" />
             <param name='dpi' value='10' />
-            <output name="outFileName" file="hicPlotAverageRegions/defaults.png" ftype="png" compare="sim_size"/>
+            <output name="outFileName" file="hicPlotAverageRegions/defaults.png" ftype="png" compare="sim_size" />
         </test>
         <test>
-            <param name="matrix" value="hicAverageRegions/result_range_100000.npz" ftype="zip"/>
-            <param name="colormap" value="RdYlBu_r"/>
-            <param name="log" value="True"/>
+            <param name="matrix" value="hicAverageRegions/result_range_100000.npz" ftype="zip" />
+            <param name="colormap" value="RdYlBu_r" />
+            <param name="log" value="True" />
             <param name='dpi' value='10' />
-
-
-            <output name="outFileName" file="hicPlotAverageRegions/defaults_log.png" ftype="png" compare="sim_size"/>
+            <output name="outFileName" file="hicPlotAverageRegions/defaults_log.png" ftype="png" compare="sim_size" />
         </test>
         <test>
-            <param name="matrix" value="hicAverageRegions/result_range_100000.npz" ftype="zip"/>
-            <param name="colormap" value="RdYlBu_r"/>
-            <param name="log1p" value="True"/>
+            <param name="matrix" value="hicAverageRegions/result_range_100000.npz" ftype="zip" />
+            <param name="colormap" value="RdYlBu_r" />
+            <param name="log1p" value="True" />
             <param name='dpi' value='10' />
-
-
-            <output name="outFileName" file="hicPlotAverageRegions/defaults_log1p.png" ftype="png" compare="sim_size"/>
+            <output name="outFileName" file="hicPlotAverageRegions/defaults_log1p.png" ftype="png" compare="sim_size" />
         </test>
         <test>
-            <param name="matrix" value="hicAverageRegions/result_range_100000.npz" ftype="zip"/>
-            <param name="colormap" value="plasma"/>
-            <param name="vMax" value="20"/>
-            <param name="vMin" value="10"/>
+            <param name="matrix" value="hicAverageRegions/result_range_100000.npz" ftype="zip" />
+            <param name="colormap" value="plasma" />
+            <param name="vMax" value="20" />
+            <param name="vMin" value="10" />
             <param name='dpi' value='10' />
-
-            <output name="outFileName" file="hicPlotAverageRegions/defaults_log_vmin_vmax.png" ftype="png" compare="sim_size"/>
+            <output name="outFileName" file="hicPlotAverageRegions/defaults_log_vmin_vmax.png" ftype="png" compare="sim_size" />
         </test>
     </tests>
     <help><![CDATA[
+
 Plot of hicAverageRegions matrix
 ================================
 hicPlotAverage regions plots the data computed by hicAverageRegions. It shows the summed up and averaged regions around all given reference points. This is useful to determine the difference between samples if the TAD configuration is equal or changed.
@@ -102,6 +96,6 @@
 | For more information about HiCExplorer please consider our documentation on readthedocs.io_
 
 .. _readthedocs.io: http://hicexplorer.readthedocs.io/en/latest/index.html
-]]></help>
+]]>    </help>
     <expand macro="citations" />
 </tool>