File tree Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Expand file tree Collapse file tree 1 file changed +53
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < title > dev - alignment - jquery cleanse</ title >
5
+ </ head >
6
+
7
+ < body >
8
+
9
+ < div id ="igv-container " style ="padding-top: 50px;padding-bottom: 20px; height: auto "> </ div >
10
+
11
+ < script type ="module ">
12
+
13
+ import igv from "../../js/index.js"
14
+
15
+ const config =
16
+ {
17
+ "genome" : "hg19" ,
18
+ "locus" : "chr1:155155389" ,
19
+ "tracks" :
20
+ [
21
+ {
22
+ "type" : "alignment" ,
23
+ "url" : "gs://genomics-public-data/platinum-genomes/bam/NA12878_S1.bam" ,
24
+ "indexURL" : "gs://genomics-public-data/platinum-genomes/bam/NA12878_S1.bam.bai" ,
25
+ "name" : "NA12878" ,
26
+ "format" : "bam" ,
27
+ "sort" :
28
+ {
29
+ "chr" : "chr1" ,
30
+ "position" : 155155389 ,
31
+ "option" : "BASE" ,
32
+ "direction" : "ASC"
33
+ } ,
34
+ groupBy : "strand" ,
35
+ height : 256 ,
36
+ filter :
37
+ {
38
+ mq : 30
39
+ }
40
+ }
41
+ ]
42
+ }
43
+
44
+ igv . createBrowser ( document . getElementById ( 'igv-container' ) , config ) . then ( browser => {
45
+ console . log ( `browser ${ browser . guid } is good to go` )
46
+ } )
47
+
48
+
49
+ </ script >
50
+
51
+ </ body >
52
+
53
+ </ html >
You can’t perform that action at this time.
0 commit comments