Skip to content

Commit 4331903

Browse files
committed
Bug hunt: track vertical scroll is broken
1 parent 9318e3d commit 4331903

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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>

0 commit comments

Comments
 (0)