changeset 1:0ea86f6bf2a1 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pygenometracks commit f834c2a294c002123ef0613dc703aca00201b5bf
author iuc
date Mon, 02 Jul 2018 19:32:13 -0400
parents 2074627b0f83
children c171f2b7d76e
files pyGenomeTracks.xml
diffstat 1 files changed, 18 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pyGenomeTracks.xml	Sat Jun 23 02:28:35 2018 -0400
+++ b/pyGenomeTracks.xml	Mon Jul 02 19:32:13 2018 -0400
@@ -1,4 +1,4 @@
-<tool id="pygenomeTracks" name="@BINARY@" version="@WRAPPER_VERSION@.0">
+<tool id="pygenomeTracks" name="@BINARY@" version="@WRAPPER_VERSION@.1">
     <description>plot genomic data tracks</description>
     <macros>
         <token name="@BINARY@">pyGenomeTracks</token>
@@ -21,6 +21,7 @@
     <configfiles>
         <configfile name="tracks_config">
 #if $x_axis.x_axis_select == "yes":
+#if $x_axis.where == 'top':
 [x-axis]
 #if $x_axis.fontsize:
 fontsize = $x_axis.fontsize
@@ -29,6 +30,7 @@
 where = $x_axis.where
 #end if
 #end if
+#end if
 #for $counter, $track in enumerate($tracks):
 #if $track.track_file_style_conditional.track_file_style_selector == "hic_matrix_option":
 
@@ -326,7 +328,20 @@
 height = $track.track_file_style_conditional.spacer_height
 #end if
 #end if
-#end for</configfile>
+#end for
+
+#if $x_axis.x_axis_select == "yes":
+#if $x_axis.where == 'bottom':
+[x-axis]
+#if $x_axis.fontsize:
+fontsize = $x_axis.fontsize
+#end if
+#if $x_axis.where:
+where = $x_axis.where
+#end if
+#end if
+#end if
+</configfile>
     </configfiles>
     <inputs>
         <expand macro="region" />
@@ -494,7 +509,7 @@
             <when value="yes">
                 <param name="fontsize" type="integer" value="" optional="True" label="Fontsize" />
                 <param name="where" type="select" optional="True" label="Where to place the x-axis">
-                    <option value="top">Top</option>
+                    <option value="top" >Top</option>
                     <option value="bottom">Bottom</option>
                 </param>
             </when>