forked from GMOD/jbrowse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compat_121.html
50 lines (46 loc) · 2.4 KB
/
compat_121.html
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content = "text/html; charset=utf-8">
<title>JBrowse</title>
<link rel="stylesheet" type="text/css" href="css/genome.css"></link>
<script type="text/javascript" src="src/dojo/dojo.js" data-dojo-config="async: 1, baseUrl: './src'"></script>
<script type="text/javascript" src="src/JBrowse/init.js"></script>
<script type="text/javascript">
window.onerror=function(msg){
document.body.setAttribute("JSError",msg);
}
var JBrowse;
require( [ 'JBrowse/Browser', 'dojo/io-query' ],
function (Browser,ioQuery) {
var queryParams = ioQuery.queryToObject( window.location.search.slice(1) );
var dataRoot = queryParams.data || 'data';
JBrowse = new Browser({
containerID: "GenomeBrowser",
refSeqs: dataRoot + "/refSeqs.js",
include: [
{ url: dataRoot + "/trackInfo.js", version: 0 }
],
plugins: [
"NeatHTMLFeatures",
"NeatCanvasFeatures",
"HideTrackLabels"
],
nameUrl: dataRoot + "/names/root.json",
defaultTracks: "DNA,gene,mRNA,noncodingRNA",
queryParams: queryParams,
location: queryParams.loc,
forceTracks: queryParams.tracks,
show_nav: queryParams.nav,
show_tracklist: queryParams.tracklist,
show_overview: queryParams.overview,
config_list: queryParams.config
});
});
</script>
</head>
<body>
<div id="GenomeBrowser" style="height: 100%; width: 100%; padding: 0; border: 0;"></div>
<div style="display: none">JBrowseDefaultMainPage</div>
</body>
</html>