Skip to content

Commit

Permalink
added additional igv.js tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
WalshKieran committed Aug 22, 2024
1 parent c6b22d2 commit 6271cf8
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion frontend/src/lib/components/genome.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,27 @@
import { asyncReadable } from '@square/svelte-store';
let browserContainer = document.createElement('div')
let browser = asyncReadable(undefined, async () => igv.createBrowser(browserContainer, {genome: 'hg38', trackDefaults: { annotation: { autoHeight: true, maxHeight: 150}}}))
let browser = asyncReadable(undefined, async () => igv.createBrowser(browserContainer, {
genome: 'hg38',
trackDefaults: { annotation: { autoHeight: true, maxHeight: 100}},
tracks:[{
name: "Ensembl (release 94)",
type: "annotation",
url: "https://s3.amazonaws.com/igv.org.genomes/hg38/Homo_sapiens.GRCh38.94.chr.gff3.gz",
indexURL: "https://s3.amazonaws.com/igv.org.genomes/hg38/Homo_sapiens.GRCh38.94.chr.gff3.gz.csi",
displayMode: "EXPANDED",
color: "purple"
},{
name: "Fantom5",
type: "annotation",
format: "bigBed",
url: "https://d33ldq8s2ek4w8.cloudfront.net/bithub/fantom5.bb",
displayMode: "EXPANDED",
color: "crimson"
},
]
}))
</script>

<script>
Expand Down

0 comments on commit 6271cf8

Please sign in to comment.