-
Notifications
You must be signed in to change notification settings - Fork 44
/
index.html
67 lines (65 loc) · 3.38 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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
body { background: #2A313A; font-family: Verdana; font-size: 14px; margin: 0; }
.container { background: white; position: relative; width: 1020px; top: 10px; left: 50%; margin-left: -510px; padding-bottom: 1px; border-radius: 5px; }
.head { background: #5F8CB0; width: 100%; height: 40px; border-bottom: 1px solid black; border-radius: 5px 5px 0 0; }
.head h1 { color: white; font-size: 30px; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.75); margin-left: 10px; }
.wrap { margin: 10px auto; width: 1000px; }
.info p { padding: 0 16px; }
.fork { position: absolute; top: 0; right: 0; border: 0; }
.help { font-weight: bold; text-align: center; }
</style>
</head>
<body>
<a class="fork" href="https://github.com/DECIPHER-genomics/Genoverse" target="_blank"><img 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 class="help">If you have any questions or need help, please raise an issue at <a href="https://github.com/DECIPHER-genomics/Genoverse" target="_blank">https://github.com/DECIPHER-genomics/Genoverse</a></p>
</div>
</div>
<script src="dist/genoverse.js"></script>
<script>
new Genoverse({
container : '#genoverse', // Where to inject Genoverse (css/jQuery selector/DOM element)
// If no genome supplied, it must have at least chromosomeSize, e.g.:
// chromosomeSize : 249250621, // chromosome 1, human
genome : 'GRCh38', // see js/genomes/
chr : 13,
start : 32296945,
end : 32370557,
plugins : [ 'controlPanel', [ 'karyotype', { showAssembly: true }], 'trackControls', 'resizer', 'focusRegion', 'fullscreen', 'tooltips', 'fileDrop' ],
tracks : [
[ 'Scaleline', { strand: false }],
'Scalebar',
{
name : 'Sequence',
controller : 'Sequence',
model : 'Sequence.Ensembl',
view : 'Sequence',
100000 : false,
resizable : 'auto'
},
'Gene',
{
name : 'Regulatory Features',
url : '//rest.ensembl.org/overlap/region/human/__CHR__:__START__-__END__?feature=regulatory;content-type=application/json',
resizable : 'auto',
model : { dataRequestLimit : 5000000 },
setFeatureColor : function (f) { f.color = '#AAA'; }
},
'dbSNP'
]
});
</script>
</body>
</html>