Mercurial > repos > rmarenco > hubarchivecreator
diff templates/trackDb/layout.txt @ 26:df42241d3731 draft
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit c11beb58525fe6453a2180fe7783f6e8b0151901-dirty
author | yating-l |
---|---|
date | Mon, 03 Jul 2017 17:30:20 -0400 |
parents | fcc1021bd496 |
children | cdd33c5c8ac1 |
line wrap: on
line diff
--- a/templates/trackDb/layout.txt Fri Jun 02 17:36:24 2017 -0400 +++ b/templates/trackDb/layout.txt Mon Jul 03 17:30:20 2017 -0400 @@ -14,6 +14,54 @@ maxHeightPixels 100:32:8 windowingFunction mean+whiskers + % elif "bigBed 12 +" 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/protein/$$ +urlLabel ${trackDb.database} Details: + % elif "UniProt" in trackDb.database: +url http://www.uniprot.org/uniprot/$$ +urlLabel ${trackDb.database} Details: + % elif "FlyBase" in trackDb.database: +url http://flybase.org/reports/$$ +urlLabel ${trackDb.database} Details: + % else: +url https://www.ncbi.nlm.nih.gov/gquery/?term=$$ +urlLabel NCBI Details: + % 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: + % else: +url https://www.ncbi.nlm.nih.gov/gquery/?term=$$ +urlLabel NCBI Details: + % endif + % else: ## See this http://genome.ucsc.edu/goldenPath/help/hgTrackHubHelp.html @@ -27,6 +75,6 @@ priority ${trackDb.priority} color ${trackDb.track_color} group ${trackDb.group_name.lower().replace(' ', '_')} - +searchIndex name % endif % endfor