view templates/trackDb/layout.txt @ 27:cdd33c5c8ac1 draft

planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 05fc99e5a081e3f2a0f152ad952ba60c50661229
author yating-l
date Mon, 10 Jul 2017 12:28:50 -0400
parents df42241d3731
children 7e8a8b732db3
line wrap: on
line source

% 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:

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