-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test case for tabix indexed gff file without file extensions
- Loading branch information
Showing
4 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta name="author" content="Jim Robinson"> | ||
<link rel="shortcut icon" href="https://igv.org/web/https://igv.org/web/img/favicon.ico"> | ||
<title>igv.js</title> | ||
</head> | ||
|
||
<body> | ||
|
||
<p> | ||
|
||
<h1>Test a tabix indexed GFF file with no extension</h1> | ||
|
||
<div id="igvDiv" style="padding-top: 10px;padding-bottom: 10px; border:1px solid lightgray"></div> | ||
|
||
<script type="module"> | ||
|
||
import igv from "https://cdn.jsdelivr.net/npm/[email protected]/dist/igv.esm.min.js"; | ||
|
||
var options = | ||
{ | ||
genome: "hg38", | ||
locus: "myc", | ||
tracks: | ||
[ | ||
{ | ||
name: "Genes", | ||
format: "gff3", | ||
url: `bgzipped_gff`, | ||
indexURL: `bgzipped_gff_index` | ||
} | ||
] | ||
}; | ||
|
||
var igvDiv = document.getElementById("igvDiv"); | ||
|
||
igv.createBrowser(igvDiv, options) | ||
.then(function (browser) { | ||
console.log("Created IGV browser"); | ||
}) | ||
|
||
|
||
</script> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters