diff templates/trackDb/layout.txt @ 24:fcc1021bd496 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 93e2e2fb59f99677425104a80c17f665fa7b2b4a-dirty
author yating-l
date Wed, 31 May 2017 11:35:16 -0400
parents c02720d1afee
children df42241d3731
line wrap: on
line diff
--- a/templates/trackDb/layout.txt	Tue May 09 15:42:43 2017 -0400
+++ b/templates/trackDb/layout.txt	Wed May 31 11:35:16 2017 -0400
@@ -1,14 +1,32 @@
 % for trackDb in trackDbs:
-    ## See this http://genome.ucsc.edu/goldenPath/help/hgTrackHubHelp.html
-    track ${trackDb.trackName}
-    longLabel ${trackDb.longLabel}
-    shortLabel ${trackDb.shortLabel}
-    bigDataUrl ${trackDb.trackDataURL}
-    type ${trackDb.trackType}
-    visibility ${trackDb.visibility}
-    thickDrawItem ${trackDb.thickDrawItem}
-    priority ${trackDb.priority}
-    color ${trackDb.track_color}
-    group ${trackDb.group_name.lower().replace(' ', '_')}
+    % if "bigWig" in trackDb.trackType:
+
+track ${trackDb.trackName}
+longLabel ${trackDb.longLabel}
+shortLabel ${trackDb.shortLabel}
+bigDataUrl ${trackDb.trackDataURL}
+visibility ${trackDb.visibility}
+priority ${trackDb.priority}
+color ${trackDb.track_color}
+group ${trackDb.group_name.lower().replace(' ', '_')}
+type ${trackDb.trackType}
+autoScale on
+maxHeightPixels 100:32:8
+windowingFunction mean+whiskers
 
+    % else:
+
+## See this http://genome.ucsc.edu/goldenPath/help/hgTrackHubHelp.html
+track ${trackDb.trackName}
+longLabel ${trackDb.longLabel}
+shortLabel ${trackDb.shortLabel}
+bigDataUrl ${trackDb.trackDataURL}
+type ${trackDb.trackType}
+visibility ${trackDb.visibility}
+thickDrawItem ${trackDb.thickDrawItem}
+priority ${trackDb.priority}
+color ${trackDb.track_color}
+group ${trackDb.group_name.lower().replace(' ', '_')}
+
+    % endif
 % endfor