Mercurial > repos > rmarenco > hubarchivecreator
comparison 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 |
comparison
equal
deleted
inserted
replaced
28:6aa28a85cc38 | 29:7e8a8b732db3 |
---|---|
1 % for trackDb in trackDbs: | 1 % for trackDb in trackDbs: |
2 % if "bigWig" in trackDb.trackType: | 2 ## See this http://genome.ucsc.edu/goldenPath/help/hgTrackHubHelp.html |
3 % for key in trackDb: | |
4 ${key} ${trackDb.get(key)} | |
5 % endfor | |
3 | 6 |
4 track ${trackDb.trackName} | |
5 longLabel ${trackDb.longLabel} | |
6 shortLabel ${trackDb.shortLabel} | |
7 bigDataUrl ${trackDb.trackDataURL} | |
8 visibility ${trackDb.visibility} | |
9 priority ${trackDb.priority} | |
10 color ${trackDb.track_color} | |
11 group ${trackDb.group_name.lower().replace(' ', '_')} | |
12 type ${trackDb.trackType} | |
13 autoScale on | |
14 maxHeightPixels 100:32:8 | |
15 windowingFunction mean+whiskers | |
16 | |
17 % elif "bigBed 12 +" in trackDb.trackType and trackDb.database: | |
18 | |
19 track ${trackDb.trackName} | |
20 longLabel ${trackDb.longLabel} | |
21 shortLabel ${trackDb.shortLabel} | |
22 bigDataUrl ${trackDb.trackDataURL} | |
23 type ${trackDb.trackType} | |
24 visibility ${trackDb.visibility} | |
25 thickDrawItem ${trackDb.thickDrawItem} | |
26 priority ${trackDb.priority} | |
27 color ${trackDb.track_color} | |
28 group ${trackDb.group_name.lower().replace(' ', '_')} | |
29 searchIndex name | |
30 % if "NCBI" in trackDb.database: | |
31 url https://www.ncbi.nlm.nih.gov/protein/$$ | |
32 urlLabel ${trackDb.database} Details: | |
33 iframeUrl https://www.ncbi.nlm.nih.gov/protein/$$ | |
34 iframeOptions height='600' width='800' | |
35 % elif "UniProt" in trackDb.database: | |
36 url http://www.uniprot.org/uniprot/$$ | |
37 urlLabel ${trackDb.database} Details: | |
38 iframeUrl http://www.uniprot.org/uniprot/$$ | |
39 iframeOptions height='600' width='800' | |
40 % elif "FlyBase" in trackDb.database: | |
41 url http://flybase.org/reports/$$ | |
42 urlLabel ${trackDb.database} Details: | |
43 iframeUrl http://flybase.org/reports/$$ | |
44 iframeOptions height='600' width='800' | |
45 % else: | |
46 url https://www.ncbi.nlm.nih.gov/gquery/?term=$$ | |
47 urlLabel NCBI Details: | |
48 iframeUrl https://www.ncbi.nlm.nih.gov/gquery/?term=$$ | |
49 iframeOptions height='600' width='800' | |
50 % endif | |
51 | |
52 % elif "bigPsl" in trackDb.trackType and trackDb.database: | |
53 | |
54 track ${trackDb.trackName} | |
55 longLabel ${trackDb.longLabel} | |
56 shortLabel ${trackDb.shortLabel} | |
57 bigDataUrl ${trackDb.trackDataURL} | |
58 type ${trackDb.trackType} | |
59 visibility ${trackDb.visibility} | |
60 thickDrawItem ${trackDb.thickDrawItem} | |
61 priority ${trackDb.priority} | |
62 color ${trackDb.track_color} | |
63 group ${trackDb.group_name.lower().replace(' ', '_')} | |
64 searchIndex name | |
65 % if "NCBI" in trackDb.database: | |
66 url https://www.ncbi.nlm.nih.gov/nuccore/$$ | |
67 urlLabel NCBI Details: | |
68 iframeUrl https://www.ncbi.nlm.nih.gov/nuccore/$$ | |
69 iframeOptions height='600' width='800' | |
70 % else: | |
71 url https://www.ncbi.nlm.nih.gov/gquery/?term=$$ | |
72 urlLabel NCBI Details: | |
73 iframeUrl https://www.ncbi.nlm.nih.gov/gquery/?term=$$ | |
74 iframeOptions height='600' width='800' | |
75 % endif | |
76 | |
77 % else: | |
78 | |
79 ## See this http://genome.ucsc.edu/goldenPath/help/hgTrackHubHelp.html | |
80 track ${trackDb.trackName} | |
81 longLabel ${trackDb.longLabel} | |
82 shortLabel ${trackDb.shortLabel} | |
83 bigDataUrl ${trackDb.trackDataURL} | |
84 type ${trackDb.trackType} | |
85 visibility ${trackDb.visibility} | |
86 thickDrawItem ${trackDb.thickDrawItem} | |
87 priority ${trackDb.priority} | |
88 color ${trackDb.track_color} | |
89 group ${trackDb.group_name.lower().replace(' ', '_')} | |
90 searchIndex name | |
91 % endif | |
92 % endfor | 7 % endfor |