-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit aa360c9
Showing
7 changed files
with
15,602 additions
and
0 deletions.
There are no files selected for viewing
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 @@ | ||
.DS_Store |
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,93 @@ | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<title>HiC Contact Map</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" /> | ||
<link | ||
rel="stylesheet" | ||
type="text/css" | ||
href="https://cdn.jsdelivr.net/npm/juicebox.js@2.4.3/dist/css/juicebox.css" | ||
/> | ||
<script src="https://cdn.jsdelivr.net/npm/juicebox.js@2.4.3/dist/juicebox.min.js"></script> | ||
<style> | ||
.app-container-wrapper { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.header-wrapper { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
.stats-wrapper { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
button { | ||
background-color: inherit; | ||
float: left; | ||
border: none; | ||
outline: none; | ||
cursor: pointer; | ||
padding: 14px 16px; | ||
transition: 0.3s; | ||
font-size: 17px; | ||
min-width: 90px; | ||
margin: 8px; | ||
} | ||
|
||
button:hover { | ||
background-color: #ddd; | ||
} | ||
|
||
button.active { | ||
background-color: rgb(168, 168, 168); | ||
} | ||
|
||
.scaffold-heading { | ||
font-size: 24px; | ||
margin: 8px; | ||
font-weight: 500; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div class="app-container-wrapper"> | ||
<div id="app-container"></div> | ||
</div> | ||
</body> | ||
<script> | ||
const currentURLSegments = window.location.href.split("/"); | ||
currentURLSegments.pop(); | ||
const baseURL = currentURLSegments.join("/"); | ||
|
||
const container = document.getElementById("app-container"); | ||
const config = { | ||
syncDatasets: false, | ||
browsers: [ | ||
{ | ||
backgroundColor: "255,255,255", | ||
url: `${baseURL}/FI1.hic`, | ||
name: "FI1.hic", | ||
state: "1,1,1,0,0,1,NONE", | ||
tracks: [ | ||
{ | ||
name: "Scaffolds", | ||
url: `${baseURL}/bedpe/FI1.assembly.bedpe`, | ||
}, | ||
], | ||
}, | ||
], | ||
}; | ||
juicebox.init(container, config).then(function (hicBrowser) {}); | ||
</script> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
chr1 x1 x2 chr2 y1 y2 name score strand1 strand2 color | ||
assembly 0 7872677 assembly 0 7872677 CP031385.1 . . . 0,0,255 | ||
assembly 7872678 15477813 assembly 7872678 15477813 CP031386.1 . . . 0,0,255 | ||
assembly 15477814 21679764 assembly 15477814 21679764 CP031387.1 . . . 0,0,255 | ||
assembly 21679765 24932186 assembly 21679765 24932186 CP031388.1 . . . 0,0,255 | ||
assembly 24932187 28367111 assembly 24932187 28367111 CP031389.1 . . . 0,0,255 | ||
assembly 28367112 31784748 assembly 28367112 31784748 CP031390.1 . . . 0,0,255 | ||
assembly 31784749 34970729 assembly 31784749 34970729 CP031391.1 . . . 0,0,255 | ||
assembly 34970730 35023689 assembly 34970730 35023689 CP031392.1 . . . 0,0,255 |
Oops, something went wrong.