-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathst_prevalence.html
More file actions
executable file
·239 lines (214 loc) · 9.53 KB
/
st_prevalence.html
File metadata and controls
executable file
·239 lines (214 loc) · 9.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>GPS :: Global Pneumococcal Sequencing Project</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,300,600' rel='stylesheet'
type='text/css'>
<!-- fonts, icons for bootstrap -->
<link href="https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link href="css/styles.min.css" rel="stylesheet">
<!-- HTML5 Support for IE -->
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script>
<![endif]-->
<!-- Favicon -->
<link rel="shortcut icon" href="gps.ico">
<style type="text/css">
#map-canvas {
height: 500px;
}
</style>
<script type="text/javascript">
var map;
var geocoder;
function initialize() {
geocoder = new google.maps.Geocoder();
var latlng = new google.maps.LatLng(-34.397, 150.644);
var mapOptions = {
zoom: 2,
center: latlng
}
map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions);
$.ajax({
cache: false,
async: true,
dataType: "json",
url: "metadata_countries.json",
success: function (address) {
$.each(address, function (i, addr) {
$.getJSON('https://maps.googleapis.com/maps/api/geocode/json?address=' + addr + '&sensor=false', null, function (data) {
if (data.results[0]) {
var p = data.results[0].geometry.location;
var latlng = new google.maps.LatLng(p.lat, p.lng);
var marker = new google.maps.Marker({
position: latlng,
map: map
});
var infowindow = new google.maps.InfoWindow(
{
content: addr,
size: new google.maps.Size(50, 50)
});
google.maps.event.addListener(marker, 'click', function () { infowindow.open(map, marker); });
}
else {
console.log(addr + ' not found')
}
});
});
}
});
}
function placeMarker(location, text) {
var marker = new google.maps.Marker({
position: location,
map: map
});
if (text != undefined) {
var infowindow = new google.maps.InfoWindow(
{
content: text,
size: new google.maps.Size(50, 50)
});
}
google.maps.event.addListener(marker, 'click', function () { infowindow.open(map, marker); });
map.setCenter(location);
}
function showAddressInMap(address) {
$.each(address, function (i, addr) {
$.getJSON('https://maps.googleapis.com/maps/api/geocode/json?address=' + addr + '&sensor=false', null, function (data) {
if (data.results[0]) {
var p = data.results[0].geometry.location;
var latlng = new google.maps.LatLng(p.lat, p.lng);
placeMarker(p, addr);
}
});
});
}
//google.maps.event.addDomListener(window, 'load', initialize);
</script>
</head>
<body>
<!-- Header Starts -->
<header>
<div class="container">
<div class="row">
<div class="logo">
<h1><i class=""></i><a href="index.html"><span class="color">GPS</span></a></h1>
<div class="hmeta">Global Pneumococcal Sequencing Project</div>
</div>
</div>
</div>
</header>
<!-- Navigation bar starts -->
<div class="navbar navbar-default bs-docs-nav top-menu" role="banner">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
<ul class="nav navbar-nav">
<li class="active">
<a id="home" href="index.html">
<!-- <i class="fa fa-home blue"> </i> --> Home
</a>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
About <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li class=""><a id="summary" href="project_outline.html">Project Outline</a></li>
<li class=""><a id="summary" href="the_team.html">The Team</a></li>
<li class=""><a id="founders" href="partners.html">Project Partners </a></li>
<li class=""><a id="substudies" href="substudies.html">Sub-studies</a></li>
</ul>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Resources <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class=""><a id="resources_overview" href="resources_overview.html">Overview</a></li>
<li class=""><a id="sampling_map" href="sampling_map.html">Countries</a></li>
<li class=""><a id="GPSC_lineages" href="GPSC_lineages.html">Strains</a></li>
<li class=""><a id="serotypes" href="serotypes.html">Serotypes</a></li>
<!-- <li class=""><a id="public_database" href="/public_database.html">Database (public)</a></li> -->
<li class=""><a id="pmen" href="pmen.html">PMEN Clones</a></li>
<li class=""><a id="isolate_bank_request" href="isolate_bank_request.html">Isolate Bank Request</a></li>
</ul>
</li>
<li><a id="publications" href="publications.html">Publications</a></li>
<li><a id="capacity_building" href="capacity_building.html">Capacity Building</a></li>
<li><a id="gps-database-overview" href="gps-database-overview" target="_blank">GPS Database</a></li>
<li><a id="gps-visualiser" href="gps-visualiser" target="_blank">GPS Visualiser</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Training <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class=""><a id="bioinformatics_training" href="bioinformatics_training.html">Bioinformatics Training</a></li>
<li class=""><a id="training_browser_based" href="training_drag_and_drop.html">Drag and Drop Tools</a></li>
<li class=""><a id="training_command_line" href="training_command_line.html">Command Line</a></li>
</ul>
</li>
<li><a id="contact" href="contact.html">Contact</a></li>
</ul>
</nav>
</div>
</div>
<!-- Navigation bar ends -->
<div id="content">
<section>
<div class="container content justify">
<header>
<h1><i class="fa fa-circle lblue"></i> Serotype prevalence </h1>
</header>
<div>
<script type='text/javascript' src='https://public.tableausoftware.com/javascripts/api/viz_v1.js'></script>
<div class='tableauPlaceholder' style='width: 100%; height: 500px;'><noscript><a href='#'><img alt='Sheet 1 '
src='https://public.tableausoftware.com/static/images/GP/GPS_serotype_prevalence/Sheet1/1_rss.png'
style='border: none' /></a></noscript><object class='tableauViz' width='100%' height='500'
style='display:none;'>
<param name='host_url' value='https%3A%2F%2Fpublic.tableausoftware.com%2F' />
<param name='site_root' value='' />
<param name='name' value='GPS_serotype_prevalence/Sheet1' />
<param name='tabs' value='no' />
<param name='toolbar' value='yes' />
<param name='static_image'
value='https://public.tableausoftware.com/static/images/GP/GPS_serotype_prevalence/Sheet1/1.png' />
<param name='animate_transition' value='yes' />
<param name='display_static_image' value='yes' />
<param name='display_spinner' value='yes' />
<param name='display_overlay' value='yes' />
<param name='display_count' value='yes' /></object></div>
</div>
</section>
</div>
<div id="modal"></div>
<footer>
<div class="container">
<div class="row copy">
<div class="col-lg-7 col-md-7 col-sm-12 copy-left">
<span>GPS © 2022</span> -
<a href="cookiespolicy.html" onclick="">Cookies policy</a> | <a href="legal.html">Terms & Conditions.</a>
</div>
<div class="col-lg-5 col-md-5 col-sm-12 copy-right">
This site is hosted by the <a href="https://www.sanger.ac.uk/">Wellcome Trust Sanger Institute</a>
</div>
</div>
</div>
<div class="clearfix"></div>
</footer>
<script type="text/javascript" src="https://code.jquery.com/jquery-latest.min.js"></script>
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script>
<script src="js/custom.min.js"></script>
<script type="text/javascript" src="/zxtm/piwik2.js"></script>
</body>
</html>