diff templates/trackDb/layout.txt @ 29:7e8a8b732db3 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1a81ebd0ddea950b84af3fc830e9267a4814b29f
author yating-l
date Wed, 16 May 2018 18:04:20 -0400
parents cdd33c5c8ac1
children
line wrap: on
line diff
--- a/templates/trackDb/layout.txt	Mon Jul 10 17:08:38 2017 -0400
+++ b/templates/trackDb/layout.txt	Wed May 16 18:04:20 2018 -0400
@@ -1,92 +1,7 @@
 % for trackDb in trackDbs:
-    % 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
-
-    % elif "bigBed 12 +" in trackDb.trackType and trackDb.database:
+## See this http://genome.ucsc.edu/goldenPath/help/hgTrackHubHelp.html
+    % for key in trackDb:
+${key} ${trackDb.get(key)}
+    % endfor
 
-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(' ', '_')}
-searchIndex name
-        % if "NCBI" in trackDb.database:
-url https://www.ncbi.nlm.nih.gov/protein/$$
-urlLabel ${trackDb.database} Details:
-iframeUrl https://www.ncbi.nlm.nih.gov/protein/$$
-iframeOptions height='600' width='800'
-        % elif "UniProt" in trackDb.database:
-url http://www.uniprot.org/uniprot/$$
-urlLabel ${trackDb.database} Details:
-iframeUrl http://www.uniprot.org/uniprot/$$
-iframeOptions height='600' width='800'
-        % elif "FlyBase" in trackDb.database:
-url http://flybase.org/reports/$$
-urlLabel ${trackDb.database} Details:
-iframeUrl http://flybase.org/reports/$$
-iframeOptions height='600' width='800'
-        % else:
-url https://www.ncbi.nlm.nih.gov/gquery/?term=$$
-urlLabel NCBI Details:
-iframeUrl https://www.ncbi.nlm.nih.gov/gquery/?term=$$
-iframeOptions height='600' width='800'
-        % endif
-        
-    % elif "bigPsl" in trackDb.trackType and trackDb.database:
-    
-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(' ', '_')}
-searchIndex name
-    % if "NCBI" in trackDb.database:
-url https://www.ncbi.nlm.nih.gov/nuccore/$$
-urlLabel NCBI Details:
-iframeUrl https://www.ncbi.nlm.nih.gov/nuccore/$$
-iframeOptions height='600' width='800'
-    % else:
-url https://www.ncbi.nlm.nih.gov/gquery/?term=$$
-urlLabel NCBI Details:
-iframeUrl https://www.ncbi.nlm.nih.gov/gquery/?term=$$
-iframeOptions height='600' width='800'
-    % endif
-
-    % 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(' ', '_')}
-searchIndex name
-    % endif
 % endfor