forked from DECIPHER-genomics/Genoverse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (71 loc) · 3.6 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
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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="examples/genoverse.org/styles.css" />
</head>
<body>
<a href="https://github.com/eugenebragin/Genoverse"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" alt="Fork me on GitHub"></a>
<div class="container">
<div class="head"><h1>Genoverse - interactive HTML5 genome browser</h1></div>
<div class="wrap">
<div id="genoverse"></div>
</div>
<div class="info">
<p>Genoverse is a portable, customizable, back-end independent JavaScript and HTML5 based genome browser which allows the user to explore data interactively.</p>
<p>Data is visualized in the browser, meaning Genoverse can be installed on any website and show data from a wide range of online or local sources.</p>
<p>Genoverse works with a variety of formats, such as XML, JSON, GFF, GFF3, BED (try drag-n-drop one), and can be customized to parse and display any data source as required.</p>
<p style="font-weight:bold; text-align:center;">If you have any questions or need help, please contact us <a href="mailto:[email protected]">[email protected]</a></p>
</div>
</div>
<script type="text/javascript" src="js/genoverse.combined.js">
{
container : '#genoverse', // Where to inject Genoverse (css/jQuery selector)
// If no genome supplied, it must have at least chromosomeSize, e.g.:
// chromosomeSize : 249250621, // chromosome 1, human
genome : 'grch37', // see js/genomes/
plugins : [ 'controlPanel', 'karyotype', 'trackControls', 'resizer', 'tooltips', 'fileDrop' ],
tracks : [
Genoverse.Track.Scalebar,
Genoverse.Track.extend({
name : 'Sequence',
controller : Genoverse.Track.Controller.Sequence,
model : Genoverse.Track.Model.Sequence.Ensembl,
view : Genoverse.Track.View.Sequence,
100000 : false,
resizable : 'auto'
}),
Genoverse.Track.extend({
name : 'Genes',
height : 200,
info : 'Ensembl API genes & transcripts, see <a href="http://beta.rest.ensembl.org/" target="_blank">beta.rest.ensembl.org</a> for more details',
// Different settings for different zoom level
2000000: { // This one applies when > 2M base-pairs per screen
labels : false
},
100000: { // more than 100K but less then 2M
labels : true,
model : Genoverse.Track.Model.Gene.Ensembl,
view : Genoverse.Track.View.Gene.Ensembl
},
1: { // > 1 base-pair, but less then 100K
labels : true,
model : Genoverse.Track.Model.Transcript.Ensembl,
view : Genoverse.Track.View.Transcript.Ensembl
}
})
]
}
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-34315286-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>