changeset 13:360df4999907 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pygenometracks commit b7df28a308484a4af1d33e0ddc2c4e391643ec1e
author iuc
date Tue, 28 Mar 2023 10:48:50 +0000
parents 14e7c35f3d00
children 59fd173ac850
files macros.xml pyGenomeTracks.xml test-data/bigwig_multiple.png test-data/test2.ini
diffstat 4 files changed, 33 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Wed Jan 25 15:33:12 2023 +0000
+++ b/macros.xml	Tue Mar 28 10:48:50 2023 +0000
@@ -1,6 +1,6 @@
 <macros>
     <token name="@TOOL_VERSION@">3.8</token>
-    <token name="@VERSION_SUFFIX@">0</token>
+    <token name="@VERSION_SUFFIX@">1</token>
     <xml name="requirements">
         <requirements>
             <requirement type="package" version="@TOOL_VERSION@">pygenometracks</requirement>
--- a/pyGenomeTracks.xml	Wed Jan 25 15:33:12 2023 +0000
+++ b/pyGenomeTracks.xml	Tue Mar 28 10:48:50 2023 +0000
@@ -426,8 +426,7 @@
 grid = $track.track_file_style_conditional.grid
 nans_to_zeros = $track.track_file_style_conditional.nans_to_zeros
 use_middle = $track.track_file_style_conditional.use_middle
-      #set $columns = len(open(str($track.track_file_style_conditional.track_input_bedgraph)).readline().split('\t'))
-      #if $columns > 4:
+      #if int(data_bedgraph.metadata.columns) > 4:
 file_type = bedgraph_matrix
 type = lines
       #else:
@@ -1513,6 +1512,18 @@
             </repeat>
             <repeat name="tracks">
                 <conditional name="track_file_style_conditional">
+                    <param name="track_file_style_selector" value="bedgraph_track_option" />
+                    <param name="track_input_bedgraph" value="bedgraph_chrx_2e6_5e6.bg,bedgraph2_X_2.5e6_3.5e6.bdg,tad_score.gz" />
+                    <param name="title" value="rep bed" />
+                    <param name="show_data" value="true" />
+                    <conditional name="type_conditional">
+                        <param name="type_selector" value="point_option" />
+                        <param name="width_point" value="2" />
+                    </conditional>
+                </conditional>
+            </repeat>
+            <repeat name="tracks">
+                <conditional name="track_file_style_conditional">
                     <param name="track_file_style_selector" value="bigwig_track_option" />
                     <param name="track_input_bigwig" value="bigwig_chrx_2e6_5e6.bw,bigwig_chrx_2e6_5e6.bw" ftype="bigwig" />
                     <param name="title" value="rep 1 test line" />
Binary file test-data/bigwig_multiple.png has changed
--- a/test-data/test2.ini	Wed Jan 25 15:33:12 2023 +0000
+++ b/test-data/test2.ini	Tue Mar 28 10:48:50 2023 +0000
@@ -1,5 +1,24 @@
 [x-axis]
 where = top
+[bedgraph_1]
+file = test-data/bedgraph_chrx_2e6_5e6.bg
+title = rep bed
+type = points:2.0
+height = 1.5
+color = black
+[bedgraph_1]
+file = test-data/bedgraph2_X_2.5e6_3.5e6.bdg
+title = rep bed
+type = points:2.0
+height = 1.5
+color = black
+[bedgraph_1]
+file = test-data/tad_score.gz
+title = rep bed
+file_type = bedgraph_matrix
+type = lines
+height = 1.5
+color = black
 [bigwig_1]
 file = test-data/bigwig_chrx_2e6_5e6.bw
 title = rep 1 test line