forked from DECIPHER-genomics/Genoverse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
combined.html
38 lines (37 loc) · 1.34 KB
/
combined.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
<script type="text/javascript" src="js/genoverse.combined.js">
{
// 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,
// 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>