Note: To use update the 2 "url" fields to local file paths
pip install git+https://github.com/igvteam/juicebox-notebook.git
pwd
'/Users/dat/JuiceboxDevelopment/juicebox-notebook/examples'
import juicebox
juicebox.init()
b = juicebox.Browser(
{
"name": "GM12878",
"url": "/Users/dat/JuiceboxDevelopment/test_data/intra_nofrag_30.hic",
"tracks": [
{
"url": "/Users/dat/IGVDevelopment/test_data/WIG/ENCFF001EQU.bigWig",
"type": "wig",
"name": "CTCF",
"color": "rgb(22, 129, 198)"
}
]
}
)
import juicebox
juicebox.init()
b = juicebox.Browser({})
b.load_map({
"name": "GM12878",
"url": "/Volumes/GoogleDrive/Shared drives/IGV/TestData/juicebox/HCT-116_Untreated.hic"
})
b.load_track({
"url": "/Volumes/GoogleDrive/Shared drives/IGV/TestData/juicebox/CTCF_Untreated.bw",
"type": "wig",
"name": "CTCF",
"color": "rgb(22, 129, 198)"
})