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