This repository was archived by the owner on May 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (45 loc) · 1.96 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>BioJS Human Genetic Varition Viewer Component</title>
<link rel="stylesheet" type="text/css" href="./resources/css/Biojs.HGVViewer.css" />
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55686868-1', 'auto');
ga('send', 'pageview');
</script>
<script type="text/javascript" src="./resources/dependencies/Biojs.js"></script>
<script type="text/javascript" src="./resources/dependencies/d3.v3.min.js"></script>
<script type="text/javascript" src="./resources/dependencies/queue.v1.min.js"></script>
<script type="text/javascript" src="./Biojs.HGVViewer.js"></script>
<script type="text/javascript">
window.onload = function(){
var hgvViewer = new Biojs.HGVViewer({
accession : "J3KP33",//"O15234",// "P00533",//O15234",//P15289",//"P45985",
baseUrl: "http://saket-choudhary.me/biojs/src/main/resources/data/hgv/",
target: "holder"
});
}
</script>
</head>
<body>
<div id="opening">
This is a demo page for the 'Human Genetic Variation Viewer' BioJS component.
<br/>
The default protein being displayed is 'J3KP33'.
<br/>
To display other proteins, append '?q=ProteinID'.
<br/>
For example:
<br/>
<br/>
<a href="?q=P00533">P00533</a>
<br/>
<a href="?q=P45985">P45985</a>
</div>
<div id="holder"></div>
</body>
</html>