diff plotHeatmap.xml @ 17:0d6dfbd66443 draft

planemo upload for repository https://github.com/deeptools/deepTools/tree/master/galaxy/wrapper/ commit b1f975422b307927bbbe245d57609e9464d5d5c8-dirty
author bgruening
date Thu, 15 Feb 2018 08:29:45 -0500
parents c1ff5c446073
children 010e58e9d822
line wrap: on
line diff
--- a/plotHeatmap.xml	Mon Feb 05 11:46:03 2018 -0500
+++ b/plotHeatmap.xml	Thu Feb 15 08:29:45 2018 -0500
@@ -46,9 +46,14 @@
                     --missingDataColor '$advancedOpt.missingDataColor'
                 #end if
 
-                #if str($advancedOpt.colorMap).strip() != "":
-                    --colorMap #echo " ".join(str($advancedOpt.colorMap).strip().split(","))#
+                #set colorMap = []
+                #for $cmap in $advancedOpt.colorMapRepeat:
+                    #silent $colorMap.append(str($cmap.colorMap))
+                #end for
+                #if len($colorMap) > 0:
+                    --colorMap #echo " ".join($colorMap)#
                 #end if
+
                 --alpha '$advancedOpt.alpha'
                 #if str($advancedOpt.colorList).strip() != "":
                     --colorList $advancedOpt.colorList
@@ -93,6 +98,8 @@
                     --plotTitle '$advancedOpt.plotTitle'
                 #end if
 
+                --labelRotation '$advancedOpt.labelRotation'
+
                 $advancedOpt.perGroup
 
                 @KMEANS_CLUSTERING@
@@ -136,7 +143,10 @@
                     Also color names can be used, see a list here: http://packages.python.org/ete2/reference/reference_svgcolors.html.
                     Alternatively colors can be specified using the #rrggbb notation." />
 
-                <expand macro="colorMap" />
+                <repeat name="colorMapRepeat" title="Colormap to use for each sample"
+                    help="A different colormap can be applied to each column of the heatmap. If you select fewer colormaps than you have samples in your matrix, then the select colormap(s) will be repeated (e.g., if you select one colormap then it will be applied to all samples).">
+                    <expand macro="colorMap" />
+                </repeat>
                 <param argument="--alpha" type="float" value="1.0" min="0.0"
                     max="1.0" optional="True"
                     label="Alpha channel (transparency)"
@@ -196,6 +206,7 @@
                           For example, label_1 &quot;label 2&quot;" />
 
                 <expand macro="plotTitle" />
+                <expand macro="labelRotation" />
                 <param argument="--perGroup" type="boolean" truevalue="--perGroup" falsevalue=""
                     label="Make one plot per group of regions"
                     help="The default is to make one plot per bigWig file, i.e., all samples next to each other. Choosing this option will make one plot per group of regions."/>