annotate blast2html.html.jinja @ 127:532aa200dbe9

Version 1.0: Include documentation, license, etc. No code changes Update README, put appropriate text in the <help> section, add a <citation> tag.
author Jan Kanis <jan.code@jankanis.nl>
date Thu, 23 Jul 2015 12:08:51 +0200
parents 0fa962dd83b4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
126
0fa962dd83b4 Add README and license
Jan Kanis <jan.code@jankanis.nl>
parents: 124
diff changeset
1 {# -*- coding: utf-8 -*-
0fa962dd83b4 Add README and license
Jan Kanis <jan.code@jankanis.nl>
parents: 124
diff changeset
2
0fa962dd83b4 Add README and license
Jan Kanis <jan.code@jankanis.nl>
parents: 124
diff changeset
3 Copyright The Hyve B.V. 2014-2015
0fa962dd83b4 Add README and license
Jan Kanis <jan.code@jankanis.nl>
parents: 124
diff changeset
4 License: GPL version 3 or (at your option) any higher version
0fa962dd83b4 Add README and license
Jan Kanis <jan.code@jankanis.nl>
parents: 124
diff changeset
5 #}
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
6 <!DOCTYPE html>
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
7 <html>
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
8 <head>
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
9 <meta charset="UTF-8">
33
3bb5da68305e add test update script, add url to github page
Jan Kanis <jan.code@jankanis.nl>
parents: 27
diff changeset
10 <meta name=generator content="blast2html; see https://github.com/thehyve/blast2html/">
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
11
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
12 <title>Blast output</title>
16
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
13
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
14 <style>
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
15 body {
16
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
16 color: #333333;
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
17 font-family: Arial,Sans-Serif;
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
18 }
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
19
12
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
20 :link {
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
21 color: #336699;
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
22 }
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
23
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
24 .right {
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
25 float: right;
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
26 }
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
27
26
eee23a36c582 add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents: 24
diff changeset
28 /* Galaxy with html sanitization enabled strips the header of this html page. If so, show the user a warning.*/
eee23a36c582 add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents: 24
diff changeset
29 #strip_html_warning {
eee23a36c582 add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents: 24
diff changeset
30 display: none;
eee23a36c582 add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents: 24
diff changeset
31 }
eee23a36c582 add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents: 24
diff changeset
32
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
33 #content {
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
34 margin: 0 2em;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
35 padding: 0.5em;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
36 border: 1px solid #888888;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
37 background-color: #d3dff5;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
38 }
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
39
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
40 h1, h2, h3, h4, h5, h6 {
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
41 color: #2A6979;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
42 font-family: arial,verdana,sans-serif;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
43 letter-spacing: -1px;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
44 margin: 1.2em 0 0.3em;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
45 }
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
46
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
47 h1 {
111
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
48 font-size: 200%;
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
49 }
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
50
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
51 h2 {
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
52 font-size: 150%;
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
53 }
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
54
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
55 h1, h2 {
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
56 border-bottom: 1px solid #CCCCCC;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
57 padding-bottom: 0.1em;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
58 }
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
59
111
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
60 h3 {
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
61 font-size: 120%;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
62 font-weight: bold;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
63 }
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
64
111
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
65 h5.darkHeader {
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
66 color: #4D4D4D;
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
67 letter-spacing: 0;
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
68 font-weight: bold;
113
5d3840a1635e adjust header size
Jan Kanis <jan.code@jankanis.nl>
parents: 112
diff changeset
69 font-size: 108%;
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
70 }
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
71
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
72 #nodata {
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
73 font-weight: bold;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
74 }
20
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
75
21
9596fea636bb style changes
Jan Kanis <jan.code@jankanis.nl>
parents: 20
diff changeset
76 .index {
9596fea636bb style changes
Jan Kanis <jan.code@jankanis.nl>
parents: 20
diff changeset
77 margin-bottom: 3em;
9596fea636bb style changes
Jan Kanis <jan.code@jankanis.nl>
parents: 20
diff changeset
78 }
20
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
79 .index div.indexentry {
21
9596fea636bb style changes
Jan Kanis <jan.code@jankanis.nl>
parents: 20
diff changeset
80 margin: 1.2em 1.6em;
20
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
81 font-weight: bold;
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
82 font-size: 100%;
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
83 }
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
84
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
85 .headerdata {
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
86 font-size: 90%;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
87 }
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
88 .headerdata .param {
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
89 font-weight: bold;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
90 text-align: right;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
91 padding: 0 1em;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
92 }
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
93
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
94 .grey {
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
95 background-color: #eeeeee;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
96 border: 1px solid #cccccc;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
97 padding: 1em;
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
98 }
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
99
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
100 .white {
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
101 background-color: white;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
102 border: 1px solid #cccccc;
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
103 padding: 1.5em 2%;
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
104 }
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
105
8
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
106 .graphicrow {
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
107 clear: left;
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
108 width: 100%;
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
109 }
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
110
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
111 .graphicitem {
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
112 float: left;
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
113 }
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
114
12
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
115
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
116
16
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
117 .graphics .grey {
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
118 text-align: center;
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
119 }
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
120
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
121 .graphic {
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
122 background-color: white;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
123 border: 2px solid black;
20
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
124 padding: 1.5em;
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
125 margin: auto;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
126 }
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
127
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
128 .centered, .defline, div.legend, div.tablewrapper {
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
129 margin-left: auto;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
130 margin-right: auto;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
131 }
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
132
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
133 .defline {
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
134 background-color: white;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
135 border: 1px solid black;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
136 margin: .5em auto;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
137 padding-left: .2em;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
138 padding-right: .2em;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
139 max-width: 50em;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
140 text-align: left;
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
141 height: 2.8em;
53
4217bb9cf1d3 depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents: 33
diff changeset
142 overflow: hidden;
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
143 }
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
144
8
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
145 div.legend {
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
146 max-width: 40em;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
147 }
8
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
148 div.legend div {
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
149 width: 100%;
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
150 color: white;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
151 font-weight: bold;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
152 border-spacing: 0;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
153 }
8
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
154 div.legend div .graphicitem {
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
155 width: 20%;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
156 padding: 0;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
157 margin: 0;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
158 border: none;
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
159 }
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
160
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
161 div.tablewrapper {
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
162 width: 50%;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
163 min-width: 60em;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
164 }
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
165
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
166 /* For small widths we give the graphic 100% */
12
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
167 @media (max-width: 72.5em) {
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
168 div.tablewrapper {
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
169 width: 100%;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
170 min-width: 0px;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
171 }
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
172 }
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
173
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
174 .scale {
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
175 width: 100%;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
176 margin: .5em 0;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
177 font-weight: bold;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
178 }
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
179 .scale div {
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
180 color: red;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
181 text-align: left;
6
d20ce91e1297 slight update
Jan Kanis <jan.code@jankanis.nl>
parents: 5
diff changeset
182 }
8
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
183 .scale .graphicrow {
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
184 margin: .5em 0 .5em 0;
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
185 color: white;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
186 }
20
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
187 .scale .graphicitem {
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
188 position: relative;
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
189 }
8
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
190 .scale .graphicitem div {
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
191 margin: 0 1px;
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
192 padding: 0 2px;
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
193 text-align: right;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
194 background-color: red;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
195 color: white;
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
196 }
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
197 .scale .graphicitem:first-child div {
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
198 margin-left: 0px;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
199 }
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
200 .scale .graphicitem:last-child div {
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
201 margin-right: 0px;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
202 }
20
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
203 .scale .graphicitem .lastlabel {
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
204 position: absolute;
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
205 top: 0px;
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
206 left: 100%;
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
207 background-color: transparent;
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
208 color: red;
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
209 }
8
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
210
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
211 a.matchresult {
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
212 display: block;
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
213 margin: 0;
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
214 padding: 0;
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
215 }
8
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
216 div.matchrow {
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
217 margin-top: 4px;
6
d20ce91e1297 slight update
Jan Kanis <jan.code@jankanis.nl>
parents: 5
diff changeset
218 }
8
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
219 div.matchrow, div.matchitem {
beb83da5a6b7 div-ified graphics
Jan Kanis <jan.code@jankanis.nl>
parents: 7
diff changeset
220 height: 4px;
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
221 }
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
222
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
223
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
224 table.descriptiontable {
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
225 font-size: 85%;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
226 border: 1px solid #97b0c8;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
227 border-spacing: 0;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
228 color: #222222;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
229 line-height: 1.3em;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
230 background-color: white;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
231 }
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
232 table.descriptiontable col:first-child {
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
233 width: 100%;
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
234 }
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
235 table.descriptiontable tr:hover {
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
236 background-color: #D5DEE3;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
237 }
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
238 table.descriptiontable th {
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
239 color: #14376C;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
240 font-weight: normal;
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
241 background-color: #F0F0F0;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
242 background: linear-gradient(#FFFFFF, #F0F0F0);
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
243 border-bottom: 1px solid #D4DFE9;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
244 border-right: 1px solid #CFCFCF;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
245 border-left: 0px solid black;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
246 border-top: 0px solid black;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
247 }
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
248 table.descriptiontable td {
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
249 overflow: hidden;
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
250 text-align: center;
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
251 padding: .4em .8em;
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
252 }
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
253 table.descriptiontable td div {
9
bbdc8fb0de2b fix descriptiontable width
Jan Kanis <jan.code@jankanis.nl>
parents: 8
diff changeset
254 width: 1em;
bbdc8fb0de2b fix descriptiontable width
Jan Kanis <jan.code@jankanis.nl>
parents: 8
diff changeset
255 overflow: visible;
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
256 white-space: nowrap;
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
257 text-align: left;
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
258 }
12
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
259
7
9e7927673089 intermediate commit before converting some tables to divs
Jan Kanis <jan.code@jankanis.nl>
parents: 6
diff changeset
260
12
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
261
17
8e61627a87f1 make html more semantic
Jan Kanis <jan.code@jankanis.nl>
parents: 16
diff changeset
262 .alignments .white {
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
263 padding: 1.5em 1em;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
264 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
265
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
266 .alignment {
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
267 border-top: 1px solid black;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
268 padding-left: 1em;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
269 padding-right: 1em;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
270 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
271
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
272 div.linkheader {
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
273 padding-top: .2em;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
274 font-size: 85%;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
275 color: #14376C;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
276 }
12
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
277 div.linkheader a.linkheader {
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
278 margin-right: 1em;
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
279 }
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
280 div.linkheader .right a {
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
281 text-decoration: none;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
282 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
283
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
284 .title .hittitle {
16
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
285 color: #222222;
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
286 margin-bottom: .3em;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
287 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
288 .title .titleinfo {
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
289 font-size: 80%;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
290 margin-top: 0;
12
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
291 margin-bottom: .3em;
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
292 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
293 .title .titleinfo .b {
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
294 color: #606060;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
295 font-weight: bold;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
296 font-size: 90%;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
297 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
298
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
299 .moretitles {
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
300 margin: 1.2em;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
301 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
302 .moretitles .titleinfo {
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
303 margin: 0;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
304 padding: 0;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
305 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
306 .moretitles .hittitle {
12
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
307 margin: .4em 0 .2em 0;
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
308 padding: 0;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
309 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
310
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
311 a.showmoretitles {
12
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
312 font-size: 75%;
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
313 color: #336699;
12
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
314 font-weight: bold;
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
315 margin-top: 0;
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
316 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
317 a.showmoretitles:hover {
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
318 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
319
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
320 .hotspot {
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
321 color: #606060;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
322 font-family: verdana, arial, sans-serif;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
323 margin-bottom: 2.5em;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
324 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
325
12
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
326 .hotspot p.range {
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
327 font-size: 70%;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
328 margin-top: 0;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
329 margin-top: 1em;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
330 margin-bottom: .2em;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
331 }
12
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
332 .hotspot p.range span.range {
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
333 font-weight: bold;
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
334 }
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
335 .hotspot p.range a.range {
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
336 margin-left: .5em;
a459c754cdb5 add links, refactor, proper commandline arguments
Jan Kanis <jan.code@jankanis.nl>
parents: 11
diff changeset
337 }
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
338
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
339 table.hotspotstable {
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
340 border-top: 1px solid;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
341 border-bottom: 1px solid;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
342 text-align: left;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
343 border-collapse: collapse;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
344 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
345 table.hotspotstable th, table.hotspotstable td {
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
346 padding: .1em 1em;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
347 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
348 table.hotspotstable th {
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
349 font-size: 70%;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
350 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
351 table.hotspotstable td {
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
352 min-width: 7em;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
353 color: #222222;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
354 font-size: 80%;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
355 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
356
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
357 pre.alignmentgraphic {
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
358 color: #222222;
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
359 }
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
360
23
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
361 footer {
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
362 text-align: center;
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
363 color: #cccccc;
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
364 font-size: 70%;
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
365 margin-top: 1em;
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
366 }
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
367 footer :link {
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
368 color: #5588cc;
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
369 }
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
370
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
371 </style>
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
372
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
373 <script type="text/javascript">
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
374 function toggle_visibility(id) {
16
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
375 var e = document.getElementById(id);
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
376 if(e.style.display != 'block')
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
377 e.style.display = 'block';
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
378 else
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
379 e.style.display = 'none';
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
380 }
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
381 </script>
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
382
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
383 </head>
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
384
11
7660519f2dc9 proper layout for alignments, added some links
Jan Kanis <jan.code@jankanis.nl>
parents: 10
diff changeset
385
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
386 <body>
27
4e6ac737ba17 improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents: 26
diff changeset
387
4e6ac737ba17 improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents: 26
diff changeset
388 <div id="strip_html_warning">
4e6ac737ba17 improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents: 26
diff changeset
389 <!-- This div should be hidden by the header css block. Galaxy
4e6ac737ba17 improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents: 26
diff changeset
390 strips all css, breaking this page but making this warning
4e6ac737ba17 improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents: 26
diff changeset
391 visible. This warning contains some ugly old skool tabular html
4e6ac737ba17 improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents: 26
diff changeset
392 layout that is not stripped. -->
124
6719353162b0 change sanitize_all_html warning style
Jan Kanis <jan.code@jankanis.nl>
parents: 118
diff changeset
393 <table bgcolor="#FFE5C9" frame="border"><tr><td><font color="red"><b>
6719353162b0 change sanitize_all_html warning style
Jan Kanis <jan.code@jankanis.nl>
parents: 118
diff changeset
394 <font size=5><center>This html page seems to have been stripped by Galaxy.</center></font></font>
27
4e6ac737ba17 improve the galaxy html stripping warning; make sure the tool can find the template from within galaxy
Jan Kanis <jan.code@jankanis.nl>
parents: 26
diff changeset
395 Disable Galaxy's html sanitization feature to view the full page (see <font face=monospace>sanitize_all_html</font> in your galaxy's universe_wsgi.ini), or download this page instead of viewing it in Galaxy.
124
6719353162b0 change sanitize_all_html warning style
Jan Kanis <jan.code@jankanis.nl>
parents: 118
diff changeset
396 </b></td></tr></table>
26
eee23a36c582 add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents: 24
diff changeset
397 </div>
eee23a36c582 add a warning if galaxy strips the html header/stylesheet
Jan Kanis <jan.code@jankanis.nl>
parents: 24
diff changeset
398
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
399 <div id=content>
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
400
110
e17aae23cc1c report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents: 96
diff changeset
401 <section class=header>
e17aae23cc1c report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents: 96
diff changeset
402
e17aae23cc1c report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents: 96
diff changeset
403 <h1>Nucleotide Blast results</h1>
e17aae23cc1c report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents: 96
diff changeset
404
e17aae23cc1c report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents: 96
diff changeset
405 <table class=headerdata>
e17aae23cc1c report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents: 96
diff changeset
406 {% for param, value in params %}
e17aae23cc1c report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents: 96
diff changeset
407 <tr><td class=param>{{param}}:</td><td>{{value}}</td></tr>
e17aae23cc1c report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents: 96
diff changeset
408 {% endfor %}
e17aae23cc1c report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents: 96
diff changeset
409 </table>
e17aae23cc1c report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents: 96
diff changeset
410
e17aae23cc1c report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents: 96
diff changeset
411 </section>
e17aae23cc1c report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents: 96
diff changeset
412
111
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
413 {% if not blast.BlastOutput_iterations.findall('Iteration') %}
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
414 <section class=nodata>
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
415 <h2>No data</h2>
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
416 <div class=grey>
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
417 No matches
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
418 </div>
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
419 </section>
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
420
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
421 {% else %}
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
422
20
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
423 {% if blast.BlastOutput_iterations.findall('Iteration') | length > 1 %}
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
424 <section class=index>
111
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
425 <h2>Queries</h2>
20
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
426
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
427 {% for result in blast.BlastOutput_iterations.Iteration %}
53
4217bb9cf1d3 depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents: 33
diff changeset
428 <div class=indexentry><a href="#match{{result|nodeid}}">
20
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
429 {{result['Iteration_query-ID']}}: {{result['Iteration_query-def']}}
118
7f3f8c10f44b fix for Rikilt issues 8, 11, 12, 14
Jan Kanis <jan.code@jankanis.nl>
parents: 115
diff changeset
430 ({{result|len}} letters, {{result|hits|length}} hits)
20
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
431 </a></div>
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
432 {% endfor %}
21
9596fea636bb style changes
Jan Kanis <jan.code@jankanis.nl>
parents: 20
diff changeset
433
20
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
434 </section>
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
435 {% endif %}
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
436
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
437 {% for result in blast.BlastOutput_iterations.Iteration %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
438
53
4217bb9cf1d3 depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents: 33
diff changeset
439 <section class=match id=match{{result|nodeid}}>
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
440
111
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
441 <h2>Nucleotide Sequence ({{result|len}} letters)</h2>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
442
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
443 <section class=header>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
444
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
445 <table class=headerdata>
110
e17aae23cc1c report query parameters for each query
Jan Kanis <jan.code@jankanis.nl>
parents: 96
diff changeset
446 {% for param, value in result|params %}
23
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
447 <tr><td class=param>{{param}}:</td><td>{{value}}</td></tr>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
448 {% endfor %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
449 </table>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
450
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
451 </section>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
452
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
453 {% set hits = result|hits %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
454 {% if not hits %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
455 <section>
111
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
456 <h3>No Hits</h3>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
457 <div class=grey>
24
c8347745bbad use Iteration_message tag; also work with unexpected Hit_id values
Jan Kanis <jan.code@jankanis.nl>
parents: 23
diff changeset
458 <table class=headerdata>
c8347745bbad use Iteration_message tag; also work with unexpected Hit_id values
Jan Kanis <jan.code@jankanis.nl>
parents: 23
diff changeset
459 <tr><td class=param>Message:</td><td>{{result.Iteration_message}}</td></tr>
c8347745bbad use Iteration_message tag; also work with unexpected Hit_id values
Jan Kanis <jan.code@jankanis.nl>
parents: 23
diff changeset
460 </table>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
461 </div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
462 </section>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
463 {% else %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
464
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
465 <section class=graphics>
111
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
466 <h3>Graphic Summary</h3>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
467
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
468 <div class=grey>
111
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
469 <h4 class=centered>Distribution of {{result|length}} Blast Hits on the Query Sequence</h4>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
470
53
4217bb9cf1d3 depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents: 33
diff changeset
471 <div class=defline id=defline{{result|nodeid}}>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
472 Mouse-over to show defline and scores, click to show alignments
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
473 </div>
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
474
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
475 <div class=graphic>
111
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
476 <h5 class=darkHeader>Color key for alignment scores</h5>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
477 <div class=legend><div class=graphicrow>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
478 <div class=graphicitem style="background-color: {{colors[0]}}">&lt;40</div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
479 <div class=graphicitem style="background-color: {{colors[1]}}">40–50</div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
480 <div class=graphicitem style="background-color: {{colors[2]}}">50–80</div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
481 <div class=graphicitem style="background-color: {{colors[3]}}">80–200</div>
118
7f3f8c10f44b fix for Rikilt issues 8, 11, 12, 14
Jan Kanis <jan.code@jankanis.nl>
parents: 115
diff changeset
482 <div class=graphicitem style="background-color: {{colors[4]}}">≥200</div>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
483 </div></div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
484 <div style="clear: left"></div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
485
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
486 <div class=tablewrapper>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
487
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
488 <div class=scale>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
489 <div>query:</div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
490 <div class=graphicrow>
20
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
491 <div>
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
492 {% for s in result|queryscale %}
76
7d0d46168fd5 Format all numbers in a predictable way
Jan Kanis <jan.code@jankanis.nl>
parents: 75
diff changeset
493 <div class=graphicitem style="width: {{s.width|numfmt}}%">
20
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
494 {% if s.width > 3.0 %}
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
495 <div>{{s.label}}</div>
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
496 {% else %}
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
497 <div>&nbsp;</div>
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
498 <div class=lastlabel>{{s.label}}</div>
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
499 {% endif %}
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
500 </div>
53cd304c5f26 Add index for multiple results; fix layout of query ruler for edge case
Jan Kanis <jan.code@jankanis.nl>
parents: 19
diff changeset
501 {% endfor %}
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
502 </div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
503 </div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
504 <div style="clear: left"></div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
505 </div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
506
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
507 {% for line in result|match_colors %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
508 <a class=matchresult
53
4217bb9cf1d3 depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents: 33
diff changeset
509 href="#hit{{line.hit|nodeid}}"
4217bb9cf1d3 depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents: 33
diff changeset
510 onmouseover='document.getElementById("defline{{result|nodeid}}").innerHTML="{{line.defline|js_string_escape}}"'
4217bb9cf1d3 depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents: 33
diff changeset
511 onmouseout='document.getElementById("defline{{result|nodeid}}").innerHTML="Mouse-over to show defline and scores, click to show alignments"'
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
512 title="{{line.defline}}">
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
513 <div class="matchrow graphicrow">
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
514 {% for hit in line.colors %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
515 <div class="matchitem graphicitem"
76
7d0d46168fd5 Format all numbers in a predictable way
Jan Kanis <jan.code@jankanis.nl>
parents: 75
diff changeset
516 style="background-color: {{hit[1]}}; width: {{hit[0]|numfmt}}%"></div>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
517 {% endfor %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
518 </div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
519 </a>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
520
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
521 {% endfor %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
522 </div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
523 </div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
524 </div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
525 </section>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
526
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
527
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
528
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
529 <section class=descriptions>
111
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
530 <h3>Descriptions</h3>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
531
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
532 <div class=grey><div class=white>
111
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
533 <h5 class=darkHeader>Sequences producing significant alignments:</h5>
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
534
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
535 <table class=descriptiontable>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
536 <col/><col/><col/><col/><col/><col/><col/>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
537 <tr>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
538 <th>Description</th>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
539 <th>Max score</th>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
540 <th>Total score</th>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
541 <th>Query cover</th>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
542 <th>E value</th>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
543 <th>Ident</th>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
544 <th>Accession</th>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
545 </tr>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
546 {% for hit in result|hit_info %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
547 <tr>
53
4217bb9cf1d3 depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents: 33
diff changeset
548 <td><div><a href="#hit{{hit.hit|nodeid}}"
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
549 title="{{hit.title}}"
53
4217bb9cf1d3 depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents: 33
diff changeset
550 id="description{{hit.hit|nodeid}}">
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
551 {{hit.title}}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
552 </a></div></td>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
553 <td>{{hit.maxscore}}</td>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
554 <td>{{hit.totalscore}}</td>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
555 <td>{{hit.cover}}</td>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
556 <td>{{hit.e_value}}</td>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
557 <td>{{hit.ident}}</td>
95
4378d11f0ed7 implement configurable gene bank links
Jan Kanis <jan.code@jankanis.nl>
parents: 76
diff changeset
558 <td>{{hit.hit|genelink(hit.hit.Hit_accession)}}</td>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
559 </tr>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
560 {% endfor %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
561 </table>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
562
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
563 </div></div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
564 </section>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
565
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
566
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
567
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
568 <section class=alignments>
111
7aa28753d7b3 create document-wide h1 header, put other headers one size down
Jan Kanis <jan.code@jankanis.nl>
parents: 110
diff changeset
569 <h3>Alignments</h3>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
570
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
571 <div class=grey><div class=white>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
572 {% for hit in hits %}
53
4217bb9cf1d3 depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents: 33
diff changeset
573 <div class=alignment id=hit{{hit|nodeid}}>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
574
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
575 <div class=linkheader>
53
4217bb9cf1d3 depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents: 33
diff changeset
576 <div class=right><a href="#description{{hit|nodeid}}">Descriptions</a></div>
115
0c2a03f9740b make external gene bank name configurable
Jan Kanis <jan.code@jankanis.nl>
parents: 113
diff changeset
577 {{ hit|genelink(text_from='dbname', cssclass='linkheader', display_nolink=False) }}
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
578 </div>
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
579
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
580 <div class=title>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
581 <p class=hittitle>{{hit|firsttitle}}</p>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
582 <p class=titleinfo>
95
4378d11f0ed7 implement configurable gene bank links
Jan Kanis <jan.code@jankanis.nl>
parents: 76
diff changeset
583 <span class=b>Sequence ID:</span> {{ hit|genelink }}
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
584 <span class=b>Length:</span> {{hit.Hit_len}}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
585 <span class=b>Number of Matches:</span> {{hit.Hit_hsps.Hsp|length}}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
586 </p>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
587 </div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
588
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
589 {% if hit|othertitles|length %}
53
4217bb9cf1d3 depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents: 33
diff changeset
590 <a class=showmoretitles onclick="toggle_visibility('moretitles{{hit|nodeid|js_string_escape}}'); return false;" href=''>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
591 See {{hit|othertitles|length}} more title(s)
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
592 </a>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
593
53
4217bb9cf1d3 depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents: 33
diff changeset
594 <div class=moretitles id=moretitles{{hit|nodeid}} style="display: none">
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
595 {% for title in hit|othertitles %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
596 <div class=title>
96
02b795b784e1 fix bug; add comments
Jan Kanis <jan.code@jankanis.nl>
parents: 95
diff changeset
597 <p class=hittitle>{{title.Hit_def}}</p>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
598 <p class=titleinfo>
95
4378d11f0ed7 implement configurable gene bank links
Jan Kanis <jan.code@jankanis.nl>
parents: 76
diff changeset
599 <span class=b>Sequence ID:</span> {{ title|genelink }}
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
600 </p>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
601 </div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
602 {% endfor %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
603 </div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
604 {% endif %}
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
605
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
606 {% for hsp in hit.Hit_hsps.Hsp %}
53
4217bb9cf1d3 depend on python 3; fix internal links with multiple iterations
Jan Kanis <jan.code@jankanis.nl>
parents: 33
diff changeset
607 <div class=hotspot id=hotspot{{hsp|nodeid}}>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
608 <p class=range>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
609 <span class=range>Range {{hsp.Hsp_num}}: {{hsp['Hsp_hit-from']}} to {{hsp['Hsp_hit-to']}}</span>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
610 </p>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
611
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
612 <table class=hotspotstable>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
613 <tr>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
614 <th>Score</th><th>Expect</th><th>Identities</th><th>Gaps</th><th>Strand</th>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
615 </tr>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
616 <tr>
118
7f3f8c10f44b fix for Rikilt issues 8, 11, 12, 14
Jan Kanis <jan.code@jankanis.nl>
parents: 115
diff changeset
617 <td>{{hsp['Hsp_bit-score']}} bits ({{hsp.Hsp_score}})</td>
7f3f8c10f44b fix for Rikilt issues 8, 11, 12, 14
Jan Kanis <jan.code@jankanis.nl>
parents: 115
diff changeset
618 <td>{{hsp.Hsp_evalue}}</td>
7f3f8c10f44b fix for Rikilt issues 8, 11, 12, 14
Jan Kanis <jan.code@jankanis.nl>
parents: 115
diff changeset
619 <td>{{ hsp.Hsp_identity }}/{{ hsp|len }} ({{
75
4d2c25baf5a3 Fix rounding errors
Jan Kanis <jan.code@jankanis.nl>
parents: 73
diff changeset
620 ((hsp.Hsp_identity|float)/hsp|len) | fmt('.0%') }})</td>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
621 <td>{{ hsp.Hsp_gaps }}/{{ hsp|len
118
7f3f8c10f44b fix for Rikilt issues 8, 11, 12, 14
Jan Kanis <jan.code@jankanis.nl>
parents: 115
diff changeset
622 }} ({{ ((hsp.Hsp_gaps|float) / hsp|len) | fmt('.0%') }})</td>
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
623 <td>{{ hsp['Hsp_query-frame']|asframe }}/{{ hsp['Hsp_hit-frame']|asframe }}</td>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
624 </tr>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
625 </table>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
626
67
19c48f2ec775 wrap alignments if they are too long
Jan Kanis <jan.code@jankanis.nl>
parents: 53
diff changeset
627 {% for alignment_line in hsp|alignment_pre %}
19c48f2ec775 wrap alignments if they are too long
Jan Kanis <jan.code@jankanis.nl>
parents: 53
diff changeset
628 <pre class=alignmentgraphic>{{alignment_line}}</pre>
19c48f2ec775 wrap alignments if they are too long
Jan Kanis <jan.code@jankanis.nl>
parents: 53
diff changeset
629 {% endfor %}
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
630 </div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
631 {% endfor %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
632
16
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
633 </div>
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
634
19
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
635 {% endfor %}
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
636 </div></div>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
637 </section>
67ddcb807b7d make it work with multiple queries
Jan Kanis <jan.code@jankanis.nl>
parents: 17
diff changeset
638 {% endif %}
23
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
639 </section>
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
640 {% endfor %}
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
641 {% endif %}
10
2fbdf2eb27b4 All data is displayed now, still some formatting to do
Jan Kanis <jan.code@jankanis.nl>
parents: 9
diff changeset
642
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
643 </div>
23
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
644
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
645 <footer>
33
3bb5da68305e add test update script, add url to github page
Jan Kanis <jan.code@jankanis.nl>
parents: 27
diff changeset
646 This page was generated by <a href="https://github.com/thehyve/blast2html/">blast2html</a>.
23
6995a6f34f3f fix sectioning, add footer
Jan Kanis <jan.code@jankanis.nl>
parents: 22
diff changeset
647 </footer>
5
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
648 </body>
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
649 </html>
1df2bfce5c24 first features are working, partial match table
Jan Kanis <jan.code@jankanis.nl>
parents:
diff changeset
650
16
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
651 {#
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
652 Local Variables:
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
653 tab-width: 2
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
654 indent-tabs-mode: nil
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
655 End:
db7e4ee3be03 fix validation, reindent
Jan Kanis <jan.code@jankanis.nl>
parents: 13
diff changeset
656 #}