Skip to content

Commit

Permalink
Bug hunt: track vertical scroll is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
turner committed Jan 14, 2025
1 parent 9318e3d commit 4331903
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions dev/alignment/alignment-jquery-cleans.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>dev - alignment - jquery cleanse</title>
</head>

<body>

<div id="igv-container" style="padding-top: 50px;padding-bottom: 20px; height: auto"></div>

<script type="module">

import igv from "../../js/index.js"

const config =
{
"genome": "hg19",
"locus": "chr1:155155389",
"tracks":
[
{
"type": "alignment",
"url": "gs://genomics-public-data/platinum-genomes/bam/NA12878_S1.bam",
"indexURL": "gs://genomics-public-data/platinum-genomes/bam/NA12878_S1.bam.bai",
"name": "NA12878",
"format": "bam",
"sort":
{
"chr": "chr1",
"position": 155155389,
"option": "BASE",
"direction": "ASC"
},
groupBy: "strand",
height: 256,
filter:
{
mq: 30
}
}
]
}

igv.createBrowser(document.getElementById('igv-container'), config).then(browser => {
console.log(`browser ${ browser.guid } is good to go`)
})


</script>

</body>

</html>

0 comments on commit 4331903

Please sign in to comment.